Skip to content

Commit cf44120

Browse files
authored
Bump 1.4.0, update deps, fix some fixtures (#708)
1 parent 80f43f7 commit cf44120

File tree

8 files changed

+816
-685
lines changed

8 files changed

+816
-685
lines changed

package-lock.json

Lines changed: 805 additions & 678 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "chartjs-plugin-annotation",
33
"homepage": "https://www.chartjs.org/chartjs-plugin-annotation/index",
44
"description": "Annotations for Chart.js",
5-
"version": "1.3.1",
5+
"version": "1.4.0",
66
"author": "Evert Timberg <[email protected]>",
77
"license": "MIT",
88
"main": "dist/chartjs-plugin-annotation.js",
@@ -40,7 +40,7 @@
4040
"@typescript-eslint/parser": "^5.4.0",
4141
"chart.js": "^3.1.0",
4242
"chartjs-plugin-autocolors": "^0.0.5",
43-
"chartjs-test-utils": "^0.3.0",
43+
"chartjs-test-utils": "^0.4.0",
4444
"concurrently": "^7.0.0",
4545
"cross-env": "^7.0.3",
4646
"eslint": "^8.2.0",

test/fixtures/label/boxLocation.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
module.exports = {
2-
threshold: 0.2,
3-
tolerance: 0.0071,
42
config: {
53
type: 'scatter',
64
options: {
@@ -108,5 +106,8 @@ module.exports = {
108106
}
109107
}
110108
}
109+
},
110+
options: {
111+
spriteText: true
111112
}
112113
};
5.54 KB
Loading

test/fixtures/label/decoration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
tolerance: 0.0350,
2+
tolerance: 0.036,
33
config: {
44
type: 'scatter',
55
options: {

test/fixtures/point/boxLocation.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module.exports = {
2-
tolerance: 0.0075,
32
config: {
43
type: 'scatter',
54
options: {
@@ -65,5 +64,8 @@ module.exports = {
6564
}
6665
}
6766
}
67+
},
68+
options: {
69+
spriteText: true
6870
}
6971
};
3.59 KB
Loading

test/integration/ts/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"typescript-4.2": "npm:[email protected]",
1515
"typescript-4.3": "npm:[email protected]",
1616
"typescript-4.4": "npm:[email protected]",
17-
"typescript-4.5": "npm:[email protected]"
17+
"typescript-4.5": "npm:[email protected]",
18+
"typescript-4.6": "npm:[email protected]"
1819
}
1920
}

0 commit comments

Comments
 (0)