vis-util 6.0.0 → 6.0.2

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.
Files changed (56) hide show
  1. package/declarations/css-shim.d.ts +2 -0
  2. package/declarations/css-shim.d.ts.map +1 -0
  3. package/declarations/shared/configurator-types.d.ts.map +1 -1
  4. package/declarations/shared/index.d.ts +2 -1
  5. package/declarations/shared/index.d.ts.map +1 -1
  6. package/declarations/util.d.ts +3 -3
  7. package/declarations/util.d.ts.map +1 -1
  8. package/esnext/esm/vis-util.js +7 -6
  9. package/esnext/esm/vis-util.js.map +1 -1
  10. package/esnext/esm/vis-util.min.js +3 -3
  11. package/esnext/esm/vis-util.min.js.map +1 -1
  12. package/esnext/esm/vis-util.min.mjs +3 -3
  13. package/esnext/esm/vis-util.min.mjs.map +1 -1
  14. package/esnext/esm/vis-util.mjs +7 -6
  15. package/esnext/esm/vis-util.mjs.map +1 -1
  16. package/esnext/umd/vis-util.cjs +7 -6
  17. package/esnext/umd/vis-util.cjs.map +1 -1
  18. package/esnext/umd/vis-util.js +7 -6
  19. package/esnext/umd/vis-util.js.map +1 -1
  20. package/esnext/umd/vis-util.min.cjs +3 -3
  21. package/esnext/umd/vis-util.min.cjs.map +1 -1
  22. package/esnext/umd/vis-util.min.js +3 -3
  23. package/esnext/umd/vis-util.min.js.map +1 -1
  24. package/package.json +101 -99
  25. package/peer/esm/vis-util.js +1587 -460
  26. package/peer/esm/vis-util.js.map +1 -1
  27. package/peer/esm/vis-util.min.js +4 -4
  28. package/peer/esm/vis-util.min.js.map +1 -1
  29. package/peer/esm/vis-util.min.mjs +4 -4
  30. package/peer/esm/vis-util.min.mjs.map +1 -1
  31. package/peer/esm/vis-util.mjs +1587 -460
  32. package/peer/esm/vis-util.mjs.map +1 -1
  33. package/peer/umd/vis-util.cjs +1587 -460
  34. package/peer/umd/vis-util.cjs.map +1 -1
  35. package/peer/umd/vis-util.js +1587 -460
  36. package/peer/umd/vis-util.js.map +1 -1
  37. package/peer/umd/vis-util.min.cjs +4 -4
  38. package/peer/umd/vis-util.min.cjs.map +1 -1
  39. package/peer/umd/vis-util.min.js +4 -4
  40. package/peer/umd/vis-util.min.js.map +1 -1
  41. package/standalone/esm/vis-util.js +1587 -460
  42. package/standalone/esm/vis-util.js.map +1 -1
  43. package/standalone/esm/vis-util.min.js +4 -4
  44. package/standalone/esm/vis-util.min.js.map +1 -1
  45. package/standalone/esm/vis-util.min.mjs +4 -4
  46. package/standalone/esm/vis-util.min.mjs.map +1 -1
  47. package/standalone/esm/vis-util.mjs +1587 -460
  48. package/standalone/esm/vis-util.mjs.map +1 -1
  49. package/standalone/umd/vis-util.cjs +1587 -460
  50. package/standalone/umd/vis-util.cjs.map +1 -1
  51. package/standalone/umd/vis-util.js +1587 -460
  52. package/standalone/umd/vis-util.js.map +1 -1
  53. package/standalone/umd/vis-util.min.cjs +4 -4
  54. package/standalone/umd/vis-util.min.cjs.map +1 -1
  55. package/standalone/umd/vis-util.min.js +4 -4
  56. package/standalone/umd/vis-util.min.js.map +1 -1
package/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "name": "vis-util",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "utilitie collection for visjs",
5
- "browser": "./peer/umd/vis-util.min.cjs",
6
- "jsnext": "./esnext/esm/vis-util.mjs",
7
- "main": "./peer/umd/vis-util.cjs",
8
- "module": "./peer/esm/vis-util.mjs",
9
- "types": "./declarations/index.d.ts",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/visjs/vis-util.git"
5
+ "keywords": [
6
+ "util",
7
+ "vis",
8
+ "vis.js"
9
+ ],
10
+ "homepage": "https://github.com/visjs/vis-util",
11
+ "bugs": {
12
+ "url": "https://github.com/visjs/vis-util/issues"
13
13
  },
14
+ "license": "(Apache-2.0 OR MIT)",
14
15
  "author": "Alex de Mulder <alexdemulder@gmail.com>",
15
16
  "contributors": [
16
17
  "Tomáš Vyčítal <tom.vycital@gmail.com>",
17
- "Alex de Mulder <alexdemulder@gmail.com>",
18
18
  "Tomina <tomina@vycital.eu>",
19
+ "Alex de Mulder <alexdemulder@gmail.com>",
19
20
  "jos <wjosdejong@gmail.com>",
20
21
  "Alexander Wunschik <alex@wunschik.net>",
21
22
  "wimrijnders <wrijnders@gmail.com>",
@@ -26,61 +27,32 @@
26
27
  "Ludo Stellingwerff <ludo@almende.org>",
27
28
  "Preetham G R <preetham1290@gmail.com>",
28
29
  "Ben Morton <ben.morton91@gmail.com>",
30
+ "Sergey Vohmyanin <delagen@gmail.com>",
29
31
  "Greg Kubisa <gkubisa@gmail.com>",
30
32
  "Kelvin Del Monte <kdelmonten@gmail.com>",
31
33
  "Max <nanodeath@gmail.com>",
32
34
  "Zuko Mgwili <zuko.mgwili@chillisoft.co.za>"
33
35
  ],
34
- "type": "module",
35
- "scripts": {
36
- "build": "run-s build:types build:code build:docs",
37
- "build:code": "rollup --config rollup.build.js",
38
- "build:docs": "typedoc",
39
- "build:types": "tsc -p tsconfig.types.json",
40
- "clean": "shx rm -rf \"{coverage,declarations,docs,esnext,peer,reports,standalone}\" \"index.{d.ts,js}\"",
41
- "style": "prettier --check .",
42
- "style-fix": "prettier --write .",
43
- "lint": "eslint --ext .js,.ts .",
44
- "lint-fix": "eslint --fix --ext .js,.ts .",
45
- "prepublishOnly": "npm run build",
46
- "test": "run-s test:unit test:types:check-dts test:types:tsc test:interop",
47
- "test:coverage": "cross-env BABEL_ENV=test-cov nyc mocha",
48
- "test:interop": "node interop.js",
49
- "test:interop:debug": "npm run test:interop -- --fail-command \"$SHELL\"",
50
- "test:types:check-dts": "check-dts",
51
- "test:types:tsc": "tsc --noemit --project tsconfig.check.json",
52
- "test:unit": "cross-env BABEL_ENV=test mocha",
53
- "type-check": "run-s test:types:*",
54
- "version": "npm run contributors:update && git add package.json",
55
- "contributors:update": "git-authors-cli",
56
- "preparepublish": "npm run contributors:update",
57
- "prepare": "husky"
58
- },
59
- "lint-staged": {
60
- "*.*": "prettier --write",
61
- "*.{js,ts}": "eslint --fix",
62
- ".*.*": "prettier --write",
63
- ".*.{js,ts}": "eslint --fix"
64
- },
65
- "config": {
66
- "snap-shot-it": {
67
- "sortSnapshots": true,
68
- "useRelativePath": true
69
- }
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/visjs/vis-util.git"
70
39
  },
71
- "engines": {
72
- "node": ">=8"
40
+ "funding": {
41
+ "type": "opencollective",
42
+ "url": "https://opencollective.com/visjs"
73
43
  },
74
- "keywords": [
75
- "util",
76
- "vis",
77
- "vis.js"
44
+ "files": [
45
+ "LICENSE*",
46
+ "standalone",
47
+ "peer",
48
+ "esnext",
49
+ "declarations"
78
50
  ],
79
- "license": "(Apache-2.0 OR MIT)",
80
- "bugs": {
81
- "url": "https://github.com/visjs/vis-util/issues"
82
- },
83
- "homepage": "https://github.com/visjs/vis-util",
51
+ "type": "module",
52
+ "main": "./peer/umd/vis-util.cjs",
53
+ "module": "./peer/esm/vis-util.mjs",
54
+ "browser": "./peer/umd/vis-util.min.cjs",
55
+ "types": "./declarations/index.d.ts",
84
56
  "exports": {
85
57
  ".": {
86
58
  "import": "./peer/esm/vis-util.mjs",
@@ -202,56 +174,86 @@
202
174
  "require": "./esnext/umd/vis-util.min.cjs",
203
175
  "types": "./declarations/index.d.ts"
204
176
  },
205
- "./standalone/styles/*": "./standalone/styles/*",
206
- "./peer/styles/*": "./peer/styles/*",
207
- "./esnext/styles/*": "./esnext/styles/*"
208
- },
209
- "files": [
210
- "LICENSE*",
211
- "standalone",
212
- "peer",
213
- "esnext",
214
- "declarations"
215
- ],
216
- "funding": {
217
- "type": "opencollective",
218
- "url": "https://opencollective.com/visjs"
219
- },
220
- "volta": {
221
- "node": "24.3.0",
222
- "npm": "11.4.2",
223
- "pnpm": "10.12.4"
177
+ "./standalone/styles/*": {
178
+ "default": "./standalone/styles/*",
179
+ "types": "./declarations/css-shim.d.ts"
180
+ },
181
+ "./peer/styles/*": {
182
+ "default": "./peer/styles/*",
183
+ "types": "./declarations/css-shim.d.ts"
184
+ },
185
+ "./esnext/styles/*": {
186
+ "default": "./esnext/styles/*",
187
+ "types": "./declarations/css-shim.d.ts"
188
+ }
224
189
  },
225
- "peerDependencies": {
226
- "@egjs/hammerjs": "^2.0.0",
227
- "component-emitter": "^1.3.0 || ^2.0.0"
190
+ "scripts": {
191
+ "build": "npm run build:types && npm run build:code && npm run build:docs",
192
+ "build:code": "rollup --config rollup.build.js",
193
+ "build:docs": "typedoc",
194
+ "build:types": "tsc -p tsconfig.types.json",
195
+ "clean": "shx rm -rf \"{coverage,declarations,docs,esnext,peer,reports,standalone}\" \"index.{d.ts,js}\"",
196
+ "style": "oxfmt --check .",
197
+ "style-fix": "oxfmt .",
198
+ "lint": "oxlint --report-unused-disable-directives-severity error .",
199
+ "lint-fix": "oxlint --report-unused-disable-directives-severity error --fix .",
200
+ "prepublishOnly": "npm run build",
201
+ "test": "npm run test:unit && npm run test:types:tsc && npm run test:interop",
202
+ "test:coverage": "cross-env BABEL_ENV=test-cov nyc mocha",
203
+ "test:interop": "node interop.js",
204
+ "test:interop:debug": "npm run test:interop -- --fail-command \"$SHELL\"",
205
+ "test:types:tsc": "tsc --noemit",
206
+ "test:unit": "cross-env BABEL_ENV=test mocha",
207
+ "type-check": "npm run test:types:tsc",
208
+ "version": "npm run contributors:update && git add package.json",
209
+ "contributors:update": "git-authors-cli",
210
+ "preparepublish": "npm run contributors:update",
211
+ "prepare": "husky"
228
212
  },
229
213
  "devDependencies": {
230
214
  "@egjs/hammerjs": "2.0.17",
231
- "@types/chai": "5.2.2",
215
+ "@types/chai": "5.2.3",
232
216
  "@types/jsdom-global": "3.0.7",
233
217
  "@types/mocha": "10.0.10",
234
- "@types/node": "24.0.3",
235
- "@types/sinon": "17.0.4",
236
- "assert": "2.1.0",
237
- "check-dts": "0.9.0",
218
+ "@types/node": "24.13.3",
219
+ "@types/sinon": "22.0.0",
238
220
  "component-emitter": "2.0.0",
239
- "cross-env": "7.0.3",
240
- "eslint": "8.55.0",
241
- "git-authors-cli": "1.0.52",
221
+ "cross-env": "10.1.0",
222
+ "git-authors-cli": "1.0.54",
242
223
  "husky": "9.1.7",
243
- "jsdom": "26.1.0",
224
+ "jsdom": "30.0.1",
244
225
  "jsdom-global": "3.0.2",
245
- "lint-staged": "16.1.2",
246
- "mocha": "11.7.0",
247
- "npm-run-all": "4.1.5",
248
- "nyc": "17.1.0",
249
- "sazerac": "2.0.0",
250
- "semantic-release": "24.2.5",
251
- "shx": "^0.4.0",
252
- "sinon": "21.0.0",
226
+ "lint-staged": "17.3.0",
227
+ "mocha": "11.7.6",
228
+ "nyc": "18.0.0",
229
+ "oxfmt": "0.61.0",
230
+ "oxlint": "1.76.0",
231
+ "oxlint-tsgolint": "7.0.2001",
232
+ "semantic-release": "25.0.8",
233
+ "shx": "0.4.0",
234
+ "sinon": "22.1.0",
253
235
  "snap-shot-it": "7.9.10",
254
- "typedoc": "0.28.5",
255
- "vis-dev-utils": "5.0.0"
256
- }
236
+ "typedoc": "0.28.20",
237
+ "vis-dev-utils": "7.1.4"
238
+ },
239
+ "peerDependencies": {
240
+ "@egjs/hammerjs": "^2.0.0",
241
+ "component-emitter": "^1.3.0 || ^2.0.0"
242
+ },
243
+ "lint-staged": {
244
+ "*.{js,ts,css,html,json,md,yml,yaml}": "oxfmt --no-error-on-unmatched-pattern",
245
+ "*.{js,ts}": "oxlint --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --fix",
246
+ ".*.{js,ts,css,html,json,md,yml,yaml}": "oxfmt --no-error-on-unmatched-pattern",
247
+ ".*.{js,ts}": "oxlint --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --fix"
248
+ },
249
+ "config": {
250
+ "snap-shot-it": {
251
+ "sortSnapshots": true,
252
+ "useRelativePath": true
253
+ }
254
+ },
255
+ "engines": {
256
+ "node": ">=8"
257
+ },
258
+ "jsnext": "./esnext/esm/vis-util.mjs"
257
259
  }