chartjs-test-utils 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * chartjs-test-utils v0.4.0
2
+ * chartjs-test-utils v0.5.0
3
3
  * https://github.com/chartjs/chartjs-test-utils#readme
4
4
  * (c) 2022 chartjs-plugin-annotation Contributors
5
5
  * Released under the MIT License
@@ -178,7 +178,7 @@ var pixelmatch_1 = pixelmatch;
178
178
  const defaultOptions = {
179
179
  threshold: 0.1, // matching threshold (0 to 1); smaller is more sensitive
180
180
  includeAA: false, // whether to skip anti-aliasing detection
181
- alpha: 0.1, // opacity of original image in diff ouput
181
+ alpha: 0.1, // opacity of original image in diff output
182
182
  aaColor: [255, 255, 0], // color of anti-aliased pixels in diff output
183
183
  diffColor: [255, 0, 0], // color of different pixels in diff output
184
184
  diffColorAlt: null, // whether to detect dark on light differences between img1 and img2 and set an alternative color to differentiate between the two
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "chartjs-test-utils",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Chart.js test utils",
5
+ "type": "module",
5
6
  "main": "dist/chartjs-test-utils.js",
6
7
  "module": "dist/chartjs-test-utils.js",
7
8
  "scripts": {
@@ -30,21 +31,21 @@
30
31
  },
31
32
  "homepage": "https://github.com/chartjs/chartjs-test-utils#readme",
32
33
  "devDependencies": {
33
- "@rollup/plugin-commonjs": "^20.0.0",
34
- "@rollup/plugin-node-resolve": "^13.0.0",
35
- "eslint": "^7.20.0",
34
+ "@rollup/plugin-commonjs": "^22.0.2",
35
+ "@rollup/plugin-node-resolve": "^14.1.0",
36
+ "eslint": "^8.21.0",
36
37
  "eslint-config-chartjs": "^0.3.0",
37
38
  "eslint-plugin-es": "^4.1.0",
38
39
  "esm": "^3.2.25",
39
- "mocha": "^8.3.0",
40
- "rollup": "^2.39.0"
40
+ "mocha": "^10.0.0",
41
+ "rollup": "^2.77.2"
41
42
  },
42
43
  "dependencies": {
43
- "pixelmatch": "^5.2.1"
44
+ "pixelmatch": "^5.3.0"
44
45
  },
45
46
  "peerDependencies": {
46
- "jasmine": "^3.6.4",
47
- "karma": "^6.1.1",
48
- "karma-jasmine": "^4.0.1"
47
+ "jasmine": ">=3.0.0",
48
+ "karma": ">=6.0.0",
49
+ "karma-jasmine": ">=4.0.0"
49
50
  }
50
51
  }