@thewhitehaven04/chartjs-plugin-zoom 2.2.5 → 2.2.7

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,6 +1,6 @@
1
1
  /*!
2
- * @thewhitehaven04/chartjs-plugin-zoom v2.2.4
3
- * https://www.chartjs.org/chartjs-plugin-zoom/2.2.4/
2
+ * @thewhitehaven04/chartjs-plugin-zoom v2.2.7
3
+ * https://www.chartjs.org/chartjs-plugin-zoom/2.2.7/
4
4
  * (c) 2016-2026 chartjs-plugin-zoom Contributors
5
5
  * Released under the MIT License
6
6
  */
@@ -1046,7 +1046,7 @@ function hammerOptionsChanged(oldOptions, newOptions) {
1046
1046
  return false;
1047
1047
  }
1048
1048
 
1049
- var version = "2.2.4";
1049
+ var version = "2.2.7";
1050
1050
 
1051
1051
  const defaults = {
1052
1052
  pan: {
package/package.json CHANGED
@@ -1,26 +1,30 @@
1
1
  {
2
2
  "name": "@thewhitehaven04/chartjs-plugin-zoom",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "description": "A fork of the ChartJS Zoom plugin that enables zoom and pan functionality in Chart.js charts",
5
5
  "homepage": "https://www.chartjs.org/chartjs-plugin-zoom/",
6
- "bugs": {
7
- "url": "https://github.com/thewhitehaven04/chartjs-plugin-zoom/issues"
8
- },
9
6
  "repository": {
10
7
  "type": "git",
11
8
  "url": "https://github.com/thewhitehaven04/chartjs-plugin-zoom.git"
12
9
  },
13
10
  "license": "MIT",
14
11
  "type": "module",
12
+ "jsdelivr": "dist/@thewhitehaven04/chartjs-plugin-zoom.min.js",
13
+ "unpkg": "dist/@thewhitehaven04/chartjs-plugin-zoom.min.js",
15
14
  "main": "dist/@thewhitehaven04/chartjs-plugin-zoom.js",
16
- "types": "types/",
17
- "directories": {
18
- "doc": "docs",
19
- "test": "test"
15
+ "module": "dist/@thewhitehaven04/chartjs-plugin-zoom.esm.js",
16
+ "types": "dist/src/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/@thewhitehaven04/chartjs-plugin-zoom-esm.js",
21
+ "require": "./dist/@thewhitehaven04/chartjs-plugin-zoom.js"
22
+ }
20
23
  },
21
24
  "files": [
22
25
  "dist/*.js",
23
- "types/*.d.ts"
26
+ "dist/*.d.ts",
27
+ "dist/*.map"
24
28
  ],
25
29
  "scripts": {
26
30
  "autobuild": "rollup -c -w",
@@ -96,8 +100,5 @@
96
100
  },
97
101
  "peerDependencies": {
98
102
  "chart.js": ">=3.2.0"
99
- },
100
- "jsdelivr": "dist/@thewhitehaven04/chartjs-plugin-zoom.min.js",
101
- "unpkg": "dist/@thewhitehaven04/chartjs-plugin-zoom.min.js",
102
- "module": "dist/@thewhitehaven04/chartjs-plugin-zoom.esm.js"
103
+ }
103
104
  }