vis-dev-utils 6.0.16 → 7.0.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.
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * Development utilities for the Vis family projects.
8
8
  *
9
- * @version 6.0.16
10
- * @date 2026-07-23T18:20:31.879Z
9
+ * @version 7.0.0
10
+ * @date 2026-07-23T18:44:40.020Z
11
11
  *
12
12
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
13
13
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * Development utilities for the Vis family projects.
8
8
  *
9
- * @version 6.0.16
10
- * @date 2026-07-23T18:20:31.879Z
9
+ * @version 7.0.0
10
+ * @date 2026-07-23T18:44:40.020Z
11
11
  *
12
12
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
13
13
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
package/bin/ci-utils.js CHANGED
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * Development utilities for the Vis family projects.
8
8
  *
9
- * @version 6.0.16
10
- * @date 2026-07-23T18:20:31.879Z
9
+ * @version 7.0.0
10
+ * @date 2026-07-23T18:44:40.020Z
11
11
  *
12
12
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
13
13
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * Development utilities for the Vis family projects.
8
8
  *
9
- * @version 6.0.16
10
- * @date 2026-07-23T18:20:31.879Z
9
+ * @version 7.0.0
10
+ * @date 2026-07-23T18:44:40.020Z
11
11
  *
12
12
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
13
13
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * Development utilities for the Vis family projects.
8
8
  *
9
- * @version 6.0.16
10
- * @date 2026-07-23T18:20:31.879Z
9
+ * @version 7.0.0
10
+ * @date 2026-07-23T18:44:40.020Z
11
11
  *
12
12
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
13
13
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * Development utilities for the Vis family projects.
6
6
  *
7
- * @version 6.0.16
8
- * @date 2026-07-23T18:20:31.879Z
7
+ * @version 7.0.0
8
+ * @date 2026-07-23T18:44:40.020Z
9
9
  *
10
10
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11
11
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * Development utilities for the Vis family projects.
6
6
  *
7
- * @version 6.0.16
8
- * @date 2026-07-23T18:20:31.879Z
7
+ * @version 7.0.0
8
+ * @date 2026-07-23T18:44:40.020Z
9
9
  *
10
10
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11
11
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-dev-utils",
3
- "version": "6.0.16",
3
+ "version": "7.0.0",
4
4
  "description": "Development utilities for the Vis family projects.",
5
5
  "homepage": "http://visjs.org/",
6
6
  "license": "(Apache-2.0 OR MIT)",
@@ -63,9 +63,6 @@
63
63
  "./dist/interop/base-config.json": {
64
64
  "import": "./dist/interop/base-config.json",
65
65
  "require": "./dist/interop/base-config.json"
66
- },
67
- "./eslint-shareable-config": {
68
- "require": "./eslint-shareable-config/index.cjs"
69
66
  }
70
67
  },
71
68
  "bin": {
@@ -79,8 +76,7 @@
79
76
  "babel-preset",
80
77
  "bin",
81
78
  "declarations",
82
- "dist",
83
- "eslint-shareable-config"
79
+ "dist"
84
80
  ],
85
81
  "dependencies": {
86
82
  "fs-extra": "11.3.6"
@@ -97,17 +93,10 @@
97
93
  "@rollup/plugin-node-resolve": "16.0.3",
98
94
  "@rollup/plugin-terser": "0.4.4",
99
95
  "@rollup/plugin-typescript": "12.3.0",
100
- "@typescript-eslint/eslint-plugin": "5.62.0",
101
- "@typescript-eslint/parser": "5.62.0",
102
96
  "babel-plugin-istanbul": "8.0.0",
103
97
  "chai": "6.2.2",
104
98
  "cheerio": "1.2.0",
105
99
  "css-select": "7.0.0",
106
- "eslint-config-prettier": "9.1.2",
107
- "eslint-plugin-cypress": "2.15.2",
108
- "eslint-plugin-eslint-comments": "3.2.0",
109
- "eslint-plugin-jsdoc": "51.4.1",
110
- "eslint-plugin-prettier": "4.2.5",
111
100
  "find-up": "7.0.0",
112
101
  "globby": "14.1.0",
113
102
  "jimp": "1.6.1",
@@ -1,254 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es6: true,
5
- mocha: false,
6
- node: false,
7
- },
8
-
9
- parser: "@typescript-eslint/parser",
10
- parserOptions: {
11
- sourceType: "module",
12
- ecmaVersion: 2020,
13
- project: "./tsconfig.lint.json",
14
- },
15
-
16
- plugins: [
17
- "@typescript-eslint",
18
- "cypress",
19
- "eslint-comments",
20
- "jsdoc",
21
- "prettier",
22
- ],
23
-
24
- extends: ["plugin:eslint-comments/recommended"],
25
-
26
- rules: {
27
- "eslint-comments/no-unused-disable": "error",
28
- "eslint-comments/require-description": [
29
- "warn",
30
- {
31
- ignore: [
32
- // There's no need to duplicate the message when reenabling the rule.
33
- "eslint-enable",
34
- ],
35
- },
36
- ],
37
- },
38
-
39
- overrides: [
40
- // config files
41
- {
42
- files: ["./*.*"],
43
- env: {
44
- browser: false,
45
- node: true,
46
- },
47
- },
48
-
49
- // JavaScript, TypeScript
50
- {
51
- files: ["**/*.js", "**/*.ts"],
52
- extends: ["eslint:recommended"],
53
- rules: {
54
- "no-var": "error",
55
- "prefer-const": "error",
56
-
57
- "no-console": [
58
- "error",
59
- {
60
- allow: [
61
- "debug",
62
- "error",
63
- "group",
64
- "groupCollapsed",
65
- "groupEnd",
66
- "info",
67
- "warn",
68
- ],
69
- },
70
- ],
71
- },
72
- },
73
-
74
- // JavaScript
75
- {
76
- files: ["**/*.js"],
77
- rules: {},
78
- settings: {
79
- jsdoc: {
80
- mode: "jsdoc",
81
- },
82
- },
83
- },
84
-
85
- // TypeScript
86
- {
87
- files: ["**/*.ts"],
88
- extends: [
89
- "eslint:recommended",
90
- "plugin:@typescript-eslint/eslint-recommended",
91
- "plugin:@typescript-eslint/recommended",
92
- ],
93
- rules: {
94
- // Class related.
95
- "@typescript-eslint/naming-convention": [
96
- "error",
97
- {
98
- selector: "memberLike",
99
- modifiers: ["private", "protected"],
100
- format: null,
101
- leadingUnderscore: "require",
102
- },
103
- {
104
- selector: "memberLike",
105
- modifiers: ["public"],
106
- format: null,
107
- leadingUnderscore: "forbid",
108
- },
109
- ],
110
- "@typescript-eslint/no-useless-constructor": "error",
111
- // "@typescript-eslint/prefer-readonly": "error",
112
- // "@typescript-eslint/prefer-readonly-parameter-types": "warn",
113
-
114
- // Other.
115
- "@typescript-eslint/no-unnecessary-type-assertion": "error",
116
- "@typescript-eslint/prefer-includes": "error",
117
-
118
- // This reports hoisted code, I have no idea why it's on by default.
119
- "@typescript-eslint/no-use-before-define": "off",
120
- // This is really crazy if you want to work with JavaScript and
121
- // especially with legacy code.
122
- "@typescript-eslint/no-explicit-any": "off",
123
- // Empty functions are useful sometimes.
124
- "@typescript-eslint/no-empty-function": "off",
125
- // Enforcing this would be a very good thing but with some of the
126
- // functions I just have no idea how to type them, so disable for now.
127
- "@typescript-eslint/explicit-module-boundary-types": "off",
128
- // This would be a breaking change for little gain. Though there
129
- // definitely is some merit in this.
130
- "@typescript-eslint/ban-types": "off",
131
-
132
- // Various rules to ensure TSDoc is okay.
133
- "jsdoc/no-types": "error",
134
- "jsdoc/require-hyphen-before-param-description": "error",
135
- "jsdoc/require-param-type": "off",
136
- "jsdoc/require-returns-type": "off",
137
- "jsdoc/check-tag-names": [
138
- "error",
139
- { definedTags: ["remarks", "typeParam"] },
140
- ],
141
- },
142
- settings: {
143
- jsdoc: {
144
- mode: "typescript",
145
- structuredTags: {
146
- typeParam: {
147
- name: true,
148
- type: false,
149
- },
150
- },
151
- },
152
- },
153
- },
154
-
155
- // docs JavaScript, TypeScript
156
- {
157
- files: ["**/*.js", "**/*.ts"],
158
- extends: ["plugin:jsdoc/recommended"],
159
- rules: {
160
- "jsdoc/check-indentation": "warn",
161
- "jsdoc/check-syntax": "warn",
162
- "jsdoc/check-tag-names": ["error", { definedTags: ["remarks"] }],
163
- "jsdoc/empty-tags": "warn",
164
- "jsdoc/require-description": "warn",
165
- "jsdoc/require-jsdoc": "warn",
166
- },
167
- settings: {
168
- jsdoc: {
169
- tagNamePreference: {
170
- inheritdoc: "inheritDoc",
171
- typeparam: "typeParam",
172
- },
173
- },
174
- },
175
- },
176
- // docs JavaScript
177
- {
178
- files: ["**/*.js"],
179
- rules: {},
180
- settings: {
181
- jsdoc: {
182
- mode: "jsdoc",
183
- },
184
- },
185
- },
186
- // docs TypeScript
187
- {
188
- files: ["**/*.ts"],
189
- rules: {
190
- // Various rules to ensure TSDoc is okay.
191
- "jsdoc/no-types": "error",
192
- "jsdoc/require-hyphen-before-param-description": "error",
193
- "jsdoc/require-param-type": "off",
194
- "jsdoc/require-returns-type": "off",
195
- "jsdoc/check-tag-names": [
196
- "error",
197
- { definedTags: ["remarks", "typeParam"] },
198
- ],
199
- },
200
- settings: {
201
- jsdoc: {
202
- mode: "typescript",
203
- structuredTags: {
204
- typeParam: {
205
- name: true,
206
- type: false,
207
- },
208
- },
209
- },
210
- },
211
- },
212
- // docs not required
213
- {
214
- files: ["./cypress/**/*", "./test/**/*"],
215
- rules: {
216
- "jsdoc/require-jsdoc": "off",
217
- },
218
- },
219
-
220
- // tests
221
- {
222
- files: ["./test/**/*"],
223
- env: {
224
- mocha: true,
225
- node: true,
226
- },
227
- },
228
- {
229
- files: ["./cypress/**/*"],
230
- env: {
231
- "cypress/globals": true,
232
- browser: true,
233
- es6: true,
234
- mocha: true,
235
- node: true,
236
- },
237
- rules: {
238
- "@typescript-eslint/no-namespace": "off",
239
- },
240
- },
241
-
242
- // Prettier (has to be last)
243
- {
244
- files: ["**/*.{js,ts}"],
245
- extends: ["prettier"],
246
- },
247
- {
248
- files: ["**/*"],
249
- rules: {
250
- "no-unexpected-multiline": "off",
251
- },
252
- },
253
- ],
254
- };