vis-util 6.0.0 → 6.0.1

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 (55) 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.map +1 -1
  5. package/declarations/util.d.ts +3 -3
  6. package/declarations/util.d.ts.map +1 -1
  7. package/esnext/esm/vis-util.js +7 -6
  8. package/esnext/esm/vis-util.js.map +1 -1
  9. package/esnext/esm/vis-util.min.js +3 -3
  10. package/esnext/esm/vis-util.min.js.map +1 -1
  11. package/esnext/esm/vis-util.min.mjs +3 -3
  12. package/esnext/esm/vis-util.min.mjs.map +1 -1
  13. package/esnext/esm/vis-util.mjs +7 -6
  14. package/esnext/esm/vis-util.mjs.map +1 -1
  15. package/esnext/umd/vis-util.cjs +7 -6
  16. package/esnext/umd/vis-util.cjs.map +1 -1
  17. package/esnext/umd/vis-util.js +7 -6
  18. package/esnext/umd/vis-util.js.map +1 -1
  19. package/esnext/umd/vis-util.min.cjs +3 -3
  20. package/esnext/umd/vis-util.min.cjs.map +1 -1
  21. package/esnext/umd/vis-util.min.js +3 -3
  22. package/esnext/umd/vis-util.min.js.map +1 -1
  23. package/package.json +100 -99
  24. package/peer/esm/vis-util.js +1587 -460
  25. package/peer/esm/vis-util.js.map +1 -1
  26. package/peer/esm/vis-util.min.js +4 -4
  27. package/peer/esm/vis-util.min.js.map +1 -1
  28. package/peer/esm/vis-util.min.mjs +4 -4
  29. package/peer/esm/vis-util.min.mjs.map +1 -1
  30. package/peer/esm/vis-util.mjs +1587 -460
  31. package/peer/esm/vis-util.mjs.map +1 -1
  32. package/peer/umd/vis-util.cjs +1587 -460
  33. package/peer/umd/vis-util.cjs.map +1 -1
  34. package/peer/umd/vis-util.js +1587 -460
  35. package/peer/umd/vis-util.js.map +1 -1
  36. package/peer/umd/vis-util.min.cjs +4 -4
  37. package/peer/umd/vis-util.min.cjs.map +1 -1
  38. package/peer/umd/vis-util.min.js +4 -4
  39. package/peer/umd/vis-util.min.js.map +1 -1
  40. package/standalone/esm/vis-util.js +1587 -460
  41. package/standalone/esm/vis-util.js.map +1 -1
  42. package/standalone/esm/vis-util.min.js +4 -4
  43. package/standalone/esm/vis-util.min.js.map +1 -1
  44. package/standalone/esm/vis-util.min.mjs +4 -4
  45. package/standalone/esm/vis-util.min.mjs.map +1 -1
  46. package/standalone/esm/vis-util.mjs +1587 -460
  47. package/standalone/esm/vis-util.mjs.map +1 -1
  48. package/standalone/umd/vis-util.cjs +1587 -460
  49. package/standalone/umd/vis-util.cjs.map +1 -1
  50. package/standalone/umd/vis-util.js +1587 -460
  51. package/standalone/umd/vis-util.js.map +1 -1
  52. package/standalone/umd/vis-util.min.cjs +4 -4
  53. package/standalone/umd/vis-util.min.cjs.map +1 -1
  54. package/standalone/umd/vis-util.min.js +4 -4
  55. 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.1",
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>",
@@ -31,56 +32,26 @@
31
32
  "Max <nanodeath@gmail.com>",
32
33
  "Zuko Mgwili <zuko.mgwili@chillisoft.co.za>"
33
34
  ],
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
- }
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/visjs/vis-util.git"
70
38
  },
71
- "engines": {
72
- "node": ">=8"
39
+ "funding": {
40
+ "type": "opencollective",
41
+ "url": "https://opencollective.com/visjs"
73
42
  },
74
- "keywords": [
75
- "util",
76
- "vis",
77
- "vis.js"
43
+ "files": [
44
+ "LICENSE*",
45
+ "standalone",
46
+ "peer",
47
+ "esnext",
48
+ "declarations"
78
49
  ],
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",
50
+ "type": "module",
51
+ "main": "./peer/umd/vis-util.cjs",
52
+ "module": "./peer/esm/vis-util.mjs",
53
+ "browser": "./peer/umd/vis-util.min.cjs",
54
+ "types": "./declarations/index.d.ts",
84
55
  "exports": {
85
56
  ".": {
86
57
  "import": "./peer/esm/vis-util.mjs",
@@ -202,56 +173,86 @@
202
173
  "require": "./esnext/umd/vis-util.min.cjs",
203
174
  "types": "./declarations/index.d.ts"
204
175
  },
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"
176
+ "./standalone/styles/*": {
177
+ "default": "./standalone/styles/*",
178
+ "types": "./declarations/css-shim.d.ts"
179
+ },
180
+ "./peer/styles/*": {
181
+ "default": "./peer/styles/*",
182
+ "types": "./declarations/css-shim.d.ts"
183
+ },
184
+ "./esnext/styles/*": {
185
+ "default": "./esnext/styles/*",
186
+ "types": "./declarations/css-shim.d.ts"
187
+ }
224
188
  },
225
- "peerDependencies": {
226
- "@egjs/hammerjs": "^2.0.0",
227
- "component-emitter": "^1.3.0 || ^2.0.0"
189
+ "scripts": {
190
+ "build": "npm run build:types && npm run build:code && npm run build:docs",
191
+ "build:code": "rollup --config rollup.build.js",
192
+ "build:docs": "typedoc",
193
+ "build:types": "tsc -p tsconfig.types.json",
194
+ "clean": "shx rm -rf \"{coverage,declarations,docs,esnext,peer,reports,standalone}\" \"index.{d.ts,js}\"",
195
+ "style": "oxfmt --check .",
196
+ "style-fix": "oxfmt .",
197
+ "lint": "oxlint --report-unused-disable-directives-severity error .",
198
+ "lint-fix": "oxlint --report-unused-disable-directives-severity error --fix .",
199
+ "prepublishOnly": "npm run build",
200
+ "test": "npm run test:unit && npm run test:types:tsc && npm run test:interop",
201
+ "test:coverage": "cross-env BABEL_ENV=test-cov nyc mocha",
202
+ "test:interop": "node interop.js",
203
+ "test:interop:debug": "npm run test:interop -- --fail-command \"$SHELL\"",
204
+ "test:types:tsc": "tsc --noemit",
205
+ "test:unit": "cross-env BABEL_ENV=test mocha",
206
+ "type-check": "npm run test:types:tsc",
207
+ "version": "npm run contributors:update && git add package.json",
208
+ "contributors:update": "git-authors-cli",
209
+ "preparepublish": "npm run contributors:update",
210
+ "prepare": "husky"
228
211
  },
229
212
  "devDependencies": {
230
213
  "@egjs/hammerjs": "2.0.17",
231
- "@types/chai": "5.2.2",
214
+ "@types/chai": "5.2.3",
232
215
  "@types/jsdom-global": "3.0.7",
233
216
  "@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",
217
+ "@types/node": "24.13.3",
218
+ "@types/sinon": "22.0.0",
238
219
  "component-emitter": "2.0.0",
239
- "cross-env": "7.0.3",
240
- "eslint": "8.55.0",
241
- "git-authors-cli": "1.0.52",
220
+ "cross-env": "10.1.0",
221
+ "git-authors-cli": "1.0.54",
242
222
  "husky": "9.1.7",
243
- "jsdom": "26.1.0",
223
+ "jsdom": "30.0.1",
244
224
  "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",
225
+ "lint-staged": "17.3.0",
226
+ "mocha": "11.7.6",
227
+ "nyc": "18.0.0",
228
+ "oxfmt": "0.61.0",
229
+ "oxlint": "1.76.0",
230
+ "oxlint-tsgolint": "7.0.2001",
231
+ "semantic-release": "25.0.8",
232
+ "shx": "0.4.0",
233
+ "sinon": "22.1.0",
253
234
  "snap-shot-it": "7.9.10",
254
- "typedoc": "0.28.5",
255
- "vis-dev-utils": "5.0.0"
256
- }
235
+ "typedoc": "0.28.20",
236
+ "vis-dev-utils": "7.1.4"
237
+ },
238
+ "peerDependencies": {
239
+ "@egjs/hammerjs": "^2.0.0",
240
+ "component-emitter": "^1.3.0 || ^2.0.0"
241
+ },
242
+ "lint-staged": {
243
+ "*.{js,ts,css,html,json,md,yml,yaml}": "oxfmt --no-error-on-unmatched-pattern",
244
+ "*.{js,ts}": "oxlint --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --fix",
245
+ ".*.{js,ts,css,html,json,md,yml,yaml}": "oxfmt --no-error-on-unmatched-pattern",
246
+ ".*.{js,ts}": "oxlint --no-error-on-unmatched-pattern --report-unused-disable-directives-severity error --fix"
247
+ },
248
+ "config": {
249
+ "snap-shot-it": {
250
+ "sortSnapshots": true,
251
+ "useRelativePath": true
252
+ }
253
+ },
254
+ "engines": {
255
+ "node": ">=8"
256
+ },
257
+ "jsnext": "./esnext/esm/vis-util.mjs"
257
258
  }