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.
- package/declarations/css-shim.d.ts +2 -0
- package/declarations/css-shim.d.ts.map +1 -0
- package/declarations/shared/configurator-types.d.ts.map +1 -1
- package/declarations/shared/index.d.ts.map +1 -1
- package/declarations/util.d.ts +3 -3
- package/declarations/util.d.ts.map +1 -1
- package/esnext/esm/vis-util.js +7 -6
- package/esnext/esm/vis-util.js.map +1 -1
- package/esnext/esm/vis-util.min.js +3 -3
- package/esnext/esm/vis-util.min.js.map +1 -1
- package/esnext/esm/vis-util.min.mjs +3 -3
- package/esnext/esm/vis-util.min.mjs.map +1 -1
- package/esnext/esm/vis-util.mjs +7 -6
- package/esnext/esm/vis-util.mjs.map +1 -1
- package/esnext/umd/vis-util.cjs +7 -6
- package/esnext/umd/vis-util.cjs.map +1 -1
- package/esnext/umd/vis-util.js +7 -6
- package/esnext/umd/vis-util.js.map +1 -1
- package/esnext/umd/vis-util.min.cjs +3 -3
- package/esnext/umd/vis-util.min.cjs.map +1 -1
- package/esnext/umd/vis-util.min.js +3 -3
- package/esnext/umd/vis-util.min.js.map +1 -1
- package/package.json +100 -99
- package/peer/esm/vis-util.js +1587 -460
- package/peer/esm/vis-util.js.map +1 -1
- package/peer/esm/vis-util.min.js +4 -4
- package/peer/esm/vis-util.min.js.map +1 -1
- package/peer/esm/vis-util.min.mjs +4 -4
- package/peer/esm/vis-util.min.mjs.map +1 -1
- package/peer/esm/vis-util.mjs +1587 -460
- package/peer/esm/vis-util.mjs.map +1 -1
- package/peer/umd/vis-util.cjs +1587 -460
- package/peer/umd/vis-util.cjs.map +1 -1
- package/peer/umd/vis-util.js +1587 -460
- package/peer/umd/vis-util.js.map +1 -1
- package/peer/umd/vis-util.min.cjs +4 -4
- package/peer/umd/vis-util.min.cjs.map +1 -1
- package/peer/umd/vis-util.min.js +4 -4
- package/peer/umd/vis-util.min.js.map +1 -1
- package/standalone/esm/vis-util.js +1587 -460
- package/standalone/esm/vis-util.js.map +1 -1
- package/standalone/esm/vis-util.min.js +4 -4
- package/standalone/esm/vis-util.min.js.map +1 -1
- package/standalone/esm/vis-util.min.mjs +4 -4
- package/standalone/esm/vis-util.min.mjs.map +1 -1
- package/standalone/esm/vis-util.mjs +1587 -460
- package/standalone/esm/vis-util.mjs.map +1 -1
- package/standalone/umd/vis-util.cjs +1587 -460
- package/standalone/umd/vis-util.cjs.map +1 -1
- package/standalone/umd/vis-util.js +1587 -460
- package/standalone/umd/vis-util.js.map +1 -1
- package/standalone/umd/vis-util.min.cjs +4 -4
- package/standalone/umd/vis-util.min.cjs.map +1 -1
- package/standalone/umd/vis-util.min.js +4 -4
- 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.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "utilitie collection for visjs",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"url": "https://github.com/visjs/vis-util
|
|
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
|
-
"
|
|
35
|
-
|
|
36
|
-
"
|
|
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
|
-
"
|
|
72
|
-
"
|
|
39
|
+
"funding": {
|
|
40
|
+
"type": "opencollective",
|
|
41
|
+
"url": "https://opencollective.com/visjs"
|
|
73
42
|
},
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
43
|
+
"files": [
|
|
44
|
+
"LICENSE*",
|
|
45
|
+
"standalone",
|
|
46
|
+
"peer",
|
|
47
|
+
"esnext",
|
|
48
|
+
"declarations"
|
|
78
49
|
],
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
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/*":
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"esnext"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
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.
|
|
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.
|
|
235
|
-
"@types/sinon": "
|
|
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": "
|
|
240
|
-
"
|
|
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": "
|
|
223
|
+
"jsdom": "30.0.1",
|
|
244
224
|
"jsdom-global": "3.0.2",
|
|
245
|
-
"lint-staged": "
|
|
246
|
-
"mocha": "11.7.
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
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.
|
|
255
|
-
"vis-dev-utils": "
|
|
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
|
}
|