oxlint 1.38.0 → 1.40.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.
- package/configuration_schema.json +1 -1
- package/dist/bindings.js +26 -26
- package/dist/cli.js +5 -5
- package/dist/index.d.ts +6 -9
- package/dist/index.js +9 -11
- package/dist/lint.js +43 -19
- package/dist/plugins.js +2 -2
- package/package.json +10 -10
|
@@ -721,4 +721,4 @@
|
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
723
|
"markdownDescription": "Oxlint Configuration File\n\nThis configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).\n\nUsage: `oxlint -c oxlintrc.json --import-plugin`\n\n::: danger NOTE\n\nOnly the `.json` format is supported. You can use comments in configuration files.\n\n:::\n\nExample\n\n`.oxlintrc.json`\n\n```json\n{\n\"$schema\": \"./node_modules/oxlint/configuration_schema.json\",\n\"plugins\": [\"import\", \"typescript\", \"unicorn\"],\n\"env\": {\n\"browser\": true\n},\n\"globals\": {\n\"foo\": \"readonly\"\n},\n\"settings\": {\n},\n\"rules\": {\n\"eqeqeq\": \"warn\",\n\"import/no-cycle\": \"error\",\n\"react/self-closing-comp\": [\"error\", { \"html\": false }]\n},\n\"overrides\": [\n{\n\"files\": [\"*.test.ts\", \"*.spec.ts\"],\n\"rules\": {\n\"@typescript-eslint/no-explicit-any\": \"off\"\n}\n}\n]\n}\n```"
|
|
724
|
-
}
|
|
724
|
+
}
|
package/dist/bindings.js
CHANGED
|
@@ -36,7 +36,7 @@ function requireNative() {
|
|
|
36
36
|
}
|
|
37
37
|
try {
|
|
38
38
|
let binding = require("@oxlint/android-arm64"), bindingPackageVersion = require("@oxlint/android-arm64/package.json").version;
|
|
39
|
-
if (bindingPackageVersion !== "1.
|
|
39
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
40
40
|
return binding;
|
|
41
41
|
} catch (e) {
|
|
42
42
|
loadErrors.push(e);
|
|
@@ -49,7 +49,7 @@ function requireNative() {
|
|
|
49
49
|
}
|
|
50
50
|
try {
|
|
51
51
|
let binding = require("@oxlint/android-arm-eabi"), bindingPackageVersion = require("@oxlint/android-arm-eabi/package.json").version;
|
|
52
|
-
if (bindingPackageVersion !== "1.
|
|
52
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
53
53
|
return binding;
|
|
54
54
|
} catch (e) {
|
|
55
55
|
loadErrors.push(e);
|
|
@@ -63,7 +63,7 @@ function requireNative() {
|
|
|
63
63
|
}
|
|
64
64
|
try {
|
|
65
65
|
let binding = require("@oxlint/win32-x64-gnu"), bindingPackageVersion = require("@oxlint/win32-x64-gnu/package.json").version;
|
|
66
|
-
if (bindingPackageVersion !== "1.
|
|
66
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
67
67
|
return binding;
|
|
68
68
|
} catch (e) {
|
|
69
69
|
loadErrors.push(e);
|
|
@@ -76,7 +76,7 @@ function requireNative() {
|
|
|
76
76
|
}
|
|
77
77
|
try {
|
|
78
78
|
let binding = require("@oxlint/win32-x64"), bindingPackageVersion = require("@oxlint/win32-x64/package.json").version;
|
|
79
|
-
if (bindingPackageVersion !== "1.
|
|
79
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
80
80
|
return binding;
|
|
81
81
|
} catch (e) {
|
|
82
82
|
loadErrors.push(e);
|
|
@@ -90,7 +90,7 @@ function requireNative() {
|
|
|
90
90
|
}
|
|
91
91
|
try {
|
|
92
92
|
let binding = require("@oxlint/win32-ia32"), bindingPackageVersion = require("@oxlint/win32-ia32/package.json").version;
|
|
93
|
-
if (bindingPackageVersion !== "1.
|
|
93
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
94
94
|
return binding;
|
|
95
95
|
} catch (e) {
|
|
96
96
|
loadErrors.push(e);
|
|
@@ -103,7 +103,7 @@ function requireNative() {
|
|
|
103
103
|
}
|
|
104
104
|
try {
|
|
105
105
|
let binding = require("@oxlint/win32-arm64"), bindingPackageVersion = require("@oxlint/win32-arm64/package.json").version;
|
|
106
|
-
if (bindingPackageVersion !== "1.
|
|
106
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
107
107
|
return binding;
|
|
108
108
|
} catch (e) {
|
|
109
109
|
loadErrors.push(e);
|
|
@@ -117,7 +117,7 @@ function requireNative() {
|
|
|
117
117
|
}
|
|
118
118
|
try {
|
|
119
119
|
let binding = require("@oxlint/darwin-universal"), bindingPackageVersion = require("@oxlint/darwin-universal/package.json").version;
|
|
120
|
-
if (bindingPackageVersion !== "1.
|
|
120
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
121
121
|
return binding;
|
|
122
122
|
} catch (e) {
|
|
123
123
|
loadErrors.push(e);
|
|
@@ -130,7 +130,7 @@ function requireNative() {
|
|
|
130
130
|
}
|
|
131
131
|
try {
|
|
132
132
|
let binding = require("@oxlint/darwin-x64"), bindingPackageVersion = require("@oxlint/darwin-x64/package.json").version;
|
|
133
|
-
if (bindingPackageVersion !== "1.
|
|
133
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
134
134
|
return binding;
|
|
135
135
|
} catch (e) {
|
|
136
136
|
loadErrors.push(e);
|
|
@@ -143,7 +143,7 @@ function requireNative() {
|
|
|
143
143
|
}
|
|
144
144
|
try {
|
|
145
145
|
let binding = require("@oxlint/darwin-arm64"), bindingPackageVersion = require("@oxlint/darwin-arm64/package.json").version;
|
|
146
|
-
if (bindingPackageVersion !== "1.
|
|
146
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
147
147
|
return binding;
|
|
148
148
|
} catch (e) {
|
|
149
149
|
loadErrors.push(e);
|
|
@@ -157,7 +157,7 @@ function requireNative() {
|
|
|
157
157
|
}
|
|
158
158
|
try {
|
|
159
159
|
let binding = require("@oxlint/freebsd-x64"), bindingPackageVersion = require("@oxlint/freebsd-x64/package.json").version;
|
|
160
|
-
if (bindingPackageVersion !== "1.
|
|
160
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
161
161
|
return binding;
|
|
162
162
|
} catch (e) {
|
|
163
163
|
loadErrors.push(e);
|
|
@@ -170,7 +170,7 @@ function requireNative() {
|
|
|
170
170
|
}
|
|
171
171
|
try {
|
|
172
172
|
let binding = require("@oxlint/freebsd-arm64"), bindingPackageVersion = require("@oxlint/freebsd-arm64/package.json").version;
|
|
173
|
-
if (bindingPackageVersion !== "1.
|
|
173
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
174
174
|
return binding;
|
|
175
175
|
} catch (e) {
|
|
176
176
|
loadErrors.push(e);
|
|
@@ -184,7 +184,7 @@ function requireNative() {
|
|
|
184
184
|
}
|
|
185
185
|
try {
|
|
186
186
|
let binding = require("@oxlint/linux-x64-musl"), bindingPackageVersion = require("@oxlint/linux-x64-musl/package.json").version;
|
|
187
|
-
if (bindingPackageVersion !== "1.
|
|
187
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
188
188
|
return binding;
|
|
189
189
|
} catch (e) {
|
|
190
190
|
loadErrors.push(e);
|
|
@@ -197,7 +197,7 @@ function requireNative() {
|
|
|
197
197
|
}
|
|
198
198
|
try {
|
|
199
199
|
let binding = require("@oxlint/linux-x64-gnu"), bindingPackageVersion = require("@oxlint/linux-x64-gnu/package.json").version;
|
|
200
|
-
if (bindingPackageVersion !== "1.
|
|
200
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
201
201
|
return binding;
|
|
202
202
|
} catch (e) {
|
|
203
203
|
loadErrors.push(e);
|
|
@@ -211,7 +211,7 @@ function requireNative() {
|
|
|
211
211
|
}
|
|
212
212
|
try {
|
|
213
213
|
let binding = require("@oxlint/linux-arm64-musl"), bindingPackageVersion = require("@oxlint/linux-arm64-musl/package.json").version;
|
|
214
|
-
if (bindingPackageVersion !== "1.
|
|
214
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
215
215
|
return binding;
|
|
216
216
|
} catch (e) {
|
|
217
217
|
loadErrors.push(e);
|
|
@@ -224,7 +224,7 @@ function requireNative() {
|
|
|
224
224
|
}
|
|
225
225
|
try {
|
|
226
226
|
let binding = require("@oxlint/linux-arm64-gnu"), bindingPackageVersion = require("@oxlint/linux-arm64-gnu/package.json").version;
|
|
227
|
-
if (bindingPackageVersion !== "1.
|
|
227
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
228
228
|
return binding;
|
|
229
229
|
} catch (e) {
|
|
230
230
|
loadErrors.push(e);
|
|
@@ -238,7 +238,7 @@ function requireNative() {
|
|
|
238
238
|
}
|
|
239
239
|
try {
|
|
240
240
|
let binding = require("@oxlint/linux-arm-musleabihf"), bindingPackageVersion = require("@oxlint/linux-arm-musleabihf/package.json").version;
|
|
241
|
-
if (bindingPackageVersion !== "1.
|
|
241
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
242
242
|
return binding;
|
|
243
243
|
} catch (e) {
|
|
244
244
|
loadErrors.push(e);
|
|
@@ -251,7 +251,7 @@ function requireNative() {
|
|
|
251
251
|
}
|
|
252
252
|
try {
|
|
253
253
|
let binding = require("@oxlint/linux-arm-gnueabihf"), bindingPackageVersion = require("@oxlint/linux-arm-gnueabihf/package.json").version;
|
|
254
|
-
if (bindingPackageVersion !== "1.
|
|
254
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
255
255
|
return binding;
|
|
256
256
|
} catch (e) {
|
|
257
257
|
loadErrors.push(e);
|
|
@@ -265,7 +265,7 @@ function requireNative() {
|
|
|
265
265
|
}
|
|
266
266
|
try {
|
|
267
267
|
let binding = require("@oxlint/linux-loong64-musl"), bindingPackageVersion = require("@oxlint/linux-loong64-musl/package.json").version;
|
|
268
|
-
if (bindingPackageVersion !== "1.
|
|
268
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
269
269
|
return binding;
|
|
270
270
|
} catch (e) {
|
|
271
271
|
loadErrors.push(e);
|
|
@@ -278,7 +278,7 @@ function requireNative() {
|
|
|
278
278
|
}
|
|
279
279
|
try {
|
|
280
280
|
let binding = require("@oxlint/linux-loong64-gnu"), bindingPackageVersion = require("@oxlint/linux-loong64-gnu/package.json").version;
|
|
281
|
-
if (bindingPackageVersion !== "1.
|
|
281
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
282
282
|
return binding;
|
|
283
283
|
} catch (e) {
|
|
284
284
|
loadErrors.push(e);
|
|
@@ -292,7 +292,7 @@ function requireNative() {
|
|
|
292
292
|
}
|
|
293
293
|
try {
|
|
294
294
|
let binding = require("@oxlint/linux-riscv64-musl"), bindingPackageVersion = require("@oxlint/linux-riscv64-musl/package.json").version;
|
|
295
|
-
if (bindingPackageVersion !== "1.
|
|
295
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
296
296
|
return binding;
|
|
297
297
|
} catch (e) {
|
|
298
298
|
loadErrors.push(e);
|
|
@@ -305,7 +305,7 @@ function requireNative() {
|
|
|
305
305
|
}
|
|
306
306
|
try {
|
|
307
307
|
let binding = require("@oxlint/linux-riscv64-gnu"), bindingPackageVersion = require("@oxlint/linux-riscv64-gnu/package.json").version;
|
|
308
|
-
if (bindingPackageVersion !== "1.
|
|
308
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
309
309
|
return binding;
|
|
310
310
|
} catch (e) {
|
|
311
311
|
loadErrors.push(e);
|
|
@@ -319,7 +319,7 @@ function requireNative() {
|
|
|
319
319
|
}
|
|
320
320
|
try {
|
|
321
321
|
let binding = require("@oxlint/linux-ppc64-gnu"), bindingPackageVersion = require("@oxlint/linux-ppc64-gnu/package.json").version;
|
|
322
|
-
if (bindingPackageVersion !== "1.
|
|
322
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
323
323
|
return binding;
|
|
324
324
|
} catch (e) {
|
|
325
325
|
loadErrors.push(e);
|
|
@@ -332,7 +332,7 @@ function requireNative() {
|
|
|
332
332
|
}
|
|
333
333
|
try {
|
|
334
334
|
let binding = require("@oxlint/linux-s390x-gnu"), bindingPackageVersion = require("@oxlint/linux-s390x-gnu/package.json").version;
|
|
335
|
-
if (bindingPackageVersion !== "1.
|
|
335
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
336
336
|
return binding;
|
|
337
337
|
} catch (e) {
|
|
338
338
|
loadErrors.push(e);
|
|
@@ -346,7 +346,7 @@ function requireNative() {
|
|
|
346
346
|
}
|
|
347
347
|
try {
|
|
348
348
|
let binding = require("@oxlint/openharmony-arm64"), bindingPackageVersion = require("@oxlint/openharmony-arm64/package.json").version;
|
|
349
|
-
if (bindingPackageVersion !== "1.
|
|
349
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
350
350
|
return binding;
|
|
351
351
|
} catch (e) {
|
|
352
352
|
loadErrors.push(e);
|
|
@@ -359,7 +359,7 @@ function requireNative() {
|
|
|
359
359
|
}
|
|
360
360
|
try {
|
|
361
361
|
let binding = require("@oxlint/openharmony-x64"), bindingPackageVersion = require("@oxlint/openharmony-x64/package.json").version;
|
|
362
|
-
if (bindingPackageVersion !== "1.
|
|
362
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
363
363
|
return binding;
|
|
364
364
|
} catch (e) {
|
|
365
365
|
loadErrors.push(e);
|
|
@@ -372,7 +372,7 @@ function requireNative() {
|
|
|
372
372
|
}
|
|
373
373
|
try {
|
|
374
374
|
let binding = require("@oxlint/openharmony-arm"), bindingPackageVersion = require("@oxlint/openharmony-arm/package.json").version;
|
|
375
|
-
if (bindingPackageVersion !== "1.
|
|
375
|
+
if (bindingPackageVersion !== "1.40.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.40.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
376
376
|
return binding;
|
|
377
377
|
} catch (e) {
|
|
378
378
|
loadErrors.push(e);
|
package/dist/cli.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as lint } from "./bindings.js";
|
|
2
|
-
let loadPlugin = null,
|
|
2
|
+
let loadPlugin = null, setupRuleConfigs = null, lintFile = null;
|
|
3
3
|
function loadPluginWrapper(path, pluginName, pluginNameIsAlias) {
|
|
4
|
-
return loadPlugin === null ? import("./plugins.js").then((mod) => ({loadPlugin, lintFile,
|
|
4
|
+
return loadPlugin === null ? import("./plugins.js").then((mod) => ({loadPlugin, lintFile, setupRuleConfigs} = mod, loadPlugin(path, pluginName, pluginNameIsAlias))) : loadPlugin(path, pluginName, pluginNameIsAlias);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return
|
|
6
|
+
function setupRuleConfigsWrapper(optionsJSON) {
|
|
7
|
+
return setupRuleConfigs(optionsJSON);
|
|
8
8
|
}
|
|
9
9
|
function lintFileWrapper(filePath, bufferId, buffer, ruleIds, optionsIds, settingsJSON, globalsJSON) {
|
|
10
10
|
return lintFile(filePath, bufferId, buffer, ruleIds, optionsIds, settingsJSON, globalsJSON);
|
|
11
11
|
}
|
|
12
|
-
await lint(process.argv.slice(2), loadPluginWrapper,
|
|
12
|
+
await lint(process.argv.slice(2), loadPluginWrapper, setupRuleConfigsWrapper, lintFileWrapper) || (process.exitCode = 1);
|
|
13
13
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -2538,8 +2538,8 @@ interface TSConstructorType extends Span {
|
|
|
2538
2538
|
}
|
|
2539
2539
|
interface TSMappedType extends Span {
|
|
2540
2540
|
type: "TSMappedType";
|
|
2541
|
-
key:
|
|
2542
|
-
constraint:
|
|
2541
|
+
key: BindingIdentifier;
|
|
2542
|
+
constraint: TSType;
|
|
2543
2543
|
nameType: TSType | null;
|
|
2544
2544
|
typeAnnotation: TSType | null;
|
|
2545
2545
|
optional: TSMappedTypeModifierOperator | false;
|
|
@@ -2632,7 +2632,7 @@ type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+
|
|
|
2632
2632
|
type LogicalOperator = "||" | "&&" | "??";
|
|
2633
2633
|
type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
|
|
2634
2634
|
type UpdateOperator = "++" | "--";
|
|
2635
|
-
type ModuleKind = "script" | "module";
|
|
2635
|
+
type ModuleKind = "script" | "module" | "commonjs";
|
|
2636
2636
|
type Node$1 = Program | IdentifierName | IdentifierReference | BindingIdentifier | LabelIdentifier | ThisExpression | ArrayExpression | ObjectExpression | ObjectProperty | TemplateLiteral | TaggedTemplateExpression | TemplateElement | ComputedMemberExpression | StaticMemberExpression | PrivateFieldExpression | CallExpression | NewExpression | MetaProperty | SpreadElement | UpdateExpression | UnaryExpression | BinaryExpression | PrivateInExpression | LogicalExpression | ConditionalExpression | AssignmentExpression | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression | Super | AwaitExpression | ChainExpression | ParenthesizedExpression | Directive | Hashbang | BlockStatement | VariableDeclaration | VariableDeclarator | EmptyStatement | ExpressionStatement | IfStatement | DoWhileStatement | WhileStatement | ForStatement | ForInStatement | ForOfStatement | ContinueStatement | BreakStatement | ReturnStatement | WithStatement | SwitchStatement | SwitchCase | LabeledStatement | ThrowStatement | TryStatement | CatchClause | DebuggerStatement | AssignmentPattern | ObjectPattern | BindingProperty | ArrayPattern | BindingRestElement | Function$1 | FunctionBody | ArrowFunctionExpression | YieldExpression | Class | ClassBody | MethodDefinition | PropertyDefinition | PrivateIdentifier | StaticBlock | AccessorProperty | ImportExpression | ImportDeclaration | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute | ExportNamedDeclaration | ExportDefaultDeclaration | ExportAllDeclaration | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral | NullLiteral | NumericLiteral | StringLiteral | BigIntLiteral | RegExpLiteral | JSXElement | JSXOpeningElement | JSXClosingElement | JSXFragment | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName | JSXMemberExpression | JSXExpressionContainer | JSXEmptyExpression | JSXAttribute | JSXSpreadAttribute | JSXIdentifier | JSXSpreadChild | JSXText | TSThisParameter | TSEnumDeclaration | TSEnumBody | TSEnumMember | TSTypeAnnotation | TSLiteralType | TSConditionalType | TSUnionType | TSIntersectionType | TSParenthesizedType | TSTypeOperator | TSArrayType | TSIndexedAccessType | TSTupleType | TSNamedTupleMember | TSOptionalType | TSRestType | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference | TSQualifiedName | TSTypeParameterInstantiation | TSTypeParameter | TSTypeParameterDeclaration | TSTypeAliasDeclaration | TSClassImplements | TSInterfaceDeclaration | TSInterfaceBody | TSPropertySignature | TSIndexSignature | TSCallSignatureDeclaration | TSMethodSignature | TSConstructSignatureDeclaration | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate | TSModuleDeclaration | TSGlobalDeclaration | TSModuleBlock | TSTypeLiteral | TSInferType | TSTypeQuery | TSImportType | TSImportTypeQualifiedName | TSFunctionType | TSConstructorType | TSMappedType | TSTemplateLiteralType | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | Decorator | TSExportAssignment | TSNamespaceExportDeclaration | TSInstantiationExpression | JSDocNullableType | JSDocNonNullableType | JSDocUnknownType | ParamPattern;
|
|
2637
2637
|
//#endregion
|
|
2638
2638
|
//#region src-js/generated/visitor.d.ts
|
|
@@ -3882,9 +3882,7 @@ interface Plugin {
|
|
|
3882
3882
|
meta?: {
|
|
3883
3883
|
name?: string;
|
|
3884
3884
|
};
|
|
3885
|
-
rules:
|
|
3886
|
-
[key: string]: Rule;
|
|
3887
|
-
};
|
|
3885
|
+
rules: Record<string, Rule>;
|
|
3888
3886
|
}
|
|
3889
3887
|
/**
|
|
3890
3888
|
* Linter rule.
|
|
@@ -3964,10 +3962,9 @@ interface LanguageOptions$1 {
|
|
|
3964
3962
|
/**
|
|
3965
3963
|
* Source type.
|
|
3966
3964
|
*
|
|
3967
|
-
*
|
|
3968
|
-
* - `'commonjs'` is only supported in ESLint compatibility mode.
|
|
3965
|
+
* `'unambiguous'` is not supported in ESLint compatibility mode.
|
|
3969
3966
|
*/
|
|
3970
|
-
type SourceType = "script" | "module" | "
|
|
3967
|
+
type SourceType = "script" | "module" | "commonjs" | "unambiguous";
|
|
3971
3968
|
/**
|
|
3972
3969
|
* Value of a property in `globals` object.
|
|
3973
3970
|
*
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,6 @@ function defineRule(rule) {
|
|
|
21
21
|
report: { value: eslintContext.report }
|
|
22
22
|
}), ObjectSetPrototypeOf(context, ObjectGetPrototypeOf(eslintContext)), beforeHook !== null && beforeHook() === !1 ? EMPTY_VISITOR : visitor), rule;
|
|
23
23
|
}
|
|
24
|
-
let cwd = null;
|
|
25
24
|
const FILE_CONTEXT = ObjectFreeze({
|
|
26
25
|
get filename() {
|
|
27
26
|
throw Error("Cannot access `context.filename` in `createOnce`");
|
|
@@ -36,10 +35,10 @@ const FILE_CONTEXT = ObjectFreeze({
|
|
|
36
35
|
throw Error("Cannot call `context.getPhysicalFilename` in `createOnce`");
|
|
37
36
|
},
|
|
38
37
|
get cwd() {
|
|
39
|
-
|
|
38
|
+
throw Error("Cannot access `context.cwd` in `createOnce`");
|
|
40
39
|
},
|
|
41
40
|
getCwd() {
|
|
42
|
-
|
|
41
|
+
throw Error("Cannot call `context.getCwd` in `createOnce`");
|
|
43
42
|
},
|
|
44
43
|
get sourceCode() {
|
|
45
44
|
throw Error("Cannot access `context.sourceCode` in `createOnce`");
|
|
@@ -208,6 +207,7 @@ function getItOnly() {
|
|
|
208
207
|
if (itOnly === null) throw Error("To use `only`, use `RuleTester` with a test framework that provides `it.only()` like Mocha, or provide a custom `it.only` function by assigning it to `RuleTester.itOnly`");
|
|
209
208
|
return itOnly;
|
|
210
209
|
}
|
|
210
|
+
const EMPTY_LANGUAGE_OPTIONS = {};
|
|
211
211
|
let sharedConfig = {};
|
|
212
212
|
const TEST_CASE_PROP_KEYS = new Set([
|
|
213
213
|
"code",
|
|
@@ -410,7 +410,9 @@ function lint(test, plugin) {
|
|
|
410
410
|
lintFileImpl(filename, 0, null, [0], [optionsId], "{}", globalsJSON);
|
|
411
411
|
let ruleId = `${plugin.meta.name}/${ObjectKeys(plugin.rules)[0]}`;
|
|
412
412
|
return diagnostics.map((diagnostic) => {
|
|
413
|
-
let
|
|
413
|
+
let line, column, endLine, endColumn;
|
|
414
|
+
({line, column} = getLineColumnFromOffset(diagnostic.start)), {line: endLine, column: endColumn} = getLineColumnFromOffset(diagnostic.end);
|
|
415
|
+
let node = getNodeByRangeIndex(diagnostic.start);
|
|
414
416
|
return {
|
|
415
417
|
ruleId,
|
|
416
418
|
message: diagnostic.message,
|
|
@@ -430,16 +432,12 @@ function lint(test, plugin) {
|
|
|
430
432
|
}
|
|
431
433
|
function getParseOptions(test) {
|
|
432
434
|
let parseOptions = {}, languageOptions = test.languageOptions;
|
|
433
|
-
if (languageOptions
|
|
434
|
-
if (languageOptions.parser != null) throw Error("Custom parsers are not supported");
|
|
435
|
+
if (languageOptions ??= EMPTY_LANGUAGE_OPTIONS, languageOptions.parser != null) throw Error("Custom parsers are not supported");
|
|
435
436
|
let { sourceType } = languageOptions;
|
|
436
437
|
if (sourceType != null) {
|
|
437
|
-
if (test.eslintCompat === !0)
|
|
438
|
-
if (sourceType === "commonjs") sourceType = "script";
|
|
439
|
-
else if (sourceType === "unambiguous") throw Error("'unambiguous' source type is not supported in ESLint compatibility mode.\nDisable ESLint compatibility mode by setting `eslintCompat` to `false` in the config / test case.");
|
|
440
|
-
} else if (sourceType === "commonjs") throw Error("'commonjs' source type is only supported in ESLint compatibility mode.\nEnable ESLint compatibility mode by setting `eslintCompat` to `true` in the config / test case.");
|
|
438
|
+
if (test.eslintCompat === !0 && sourceType === "unambiguous") throw Error("'unambiguous' source type is not supported in ESLint compatibility mode.\nDisable ESLint compatibility mode by setting `eslintCompat` to `false` in the config / test case.");
|
|
441
439
|
parseOptions.sourceType = sourceType;
|
|
442
|
-
}
|
|
440
|
+
} else test.eslintCompat === !0 && (parseOptions.sourceType = "module");
|
|
443
441
|
let { parserOptions } = languageOptions;
|
|
444
442
|
if (parserOptions != null) {
|
|
445
443
|
parserOptions.ignoreNonFatalErrors === !0 && (parseOptions.ignoreNonFatalErrors = !0);
|
package/dist/lint.js
CHANGED
|
@@ -335,7 +335,7 @@ function getLineColumnFromOffsetUnchecked(offset) {
|
|
|
335
335
|
column: offset - lineStartIndices[low - 1]
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
function getOffsetFromLineColumn(loc) {
|
|
338
|
+
function getOffsetFromLineColumn$1(loc) {
|
|
339
339
|
if (typeof loc == "object" && loc) {
|
|
340
340
|
let { line, column } = loc;
|
|
341
341
|
if (typeof line == "number" && typeof column == "number" && (line | 0) === line && (column | 0) === column) {
|
|
@@ -399,11 +399,13 @@ const TokenProto = ObjectCreate(ObjectPrototype, { loc: {
|
|
|
399
399
|
enumerable: !0
|
|
400
400
|
} });
|
|
401
401
|
function parseTokens() {
|
|
402
|
-
|
|
402
|
+
tsModule === null && (tsModule = createRequire(import.meta.url)("./typescript.cjs"), tsSyntaxKind = tsModule.SyntaxKind);
|
|
403
|
+
let isTs = buffer[2147483612] === 1, isJsx = buffer[2147483613] === 1, scriptKind = isTs ? isJsx ? tsModule.ScriptKind.TSX : tsModule.ScriptKind.TS : isJsx ? tsModule.ScriptKind.JSX : tsModule.ScriptKind.JS;
|
|
404
|
+
return convertTokens(tsModule.createSourceFile(filePath, sourceText, {
|
|
403
405
|
jsDocParsingMode: tsModule.JSDocParsingMode.ParseNone,
|
|
404
406
|
languageVersion: tsModule.ScriptTarget.Latest,
|
|
405
407
|
setExternalModuleIndicator: void 0
|
|
406
|
-
}, !0,
|
|
408
|
+
}, !0, scriptKind));
|
|
407
409
|
}
|
|
408
410
|
function convertTokens(tsAst) {
|
|
409
411
|
let tokens$1 = [];
|
|
@@ -3391,8 +3393,8 @@ function deserializeTSEnumDeclaration(pos) {
|
|
|
3391
3393
|
type: "TSEnumDeclaration",
|
|
3392
3394
|
id: null,
|
|
3393
3395
|
body: null,
|
|
3394
|
-
const: deserializeBool(pos +
|
|
3395
|
-
declare: deserializeBool(pos +
|
|
3396
|
+
const: deserializeBool(pos + 80),
|
|
3397
|
+
declare: deserializeBool(pos + 81),
|
|
3396
3398
|
start,
|
|
3397
3399
|
end,
|
|
3398
3400
|
range: [start, end],
|
|
@@ -4415,17 +4417,13 @@ function deserializeTSMappedType(pos) {
|
|
|
4415
4417
|
nameType: null,
|
|
4416
4418
|
typeAnnotation: null,
|
|
4417
4419
|
optional: null,
|
|
4418
|
-
readonly: deserializeOptionTSMappedTypeModifierOperator(pos +
|
|
4420
|
+
readonly: deserializeOptionTSMappedTypeModifierOperator(pos + 93),
|
|
4419
4421
|
start,
|
|
4420
4422
|
end,
|
|
4421
4423
|
range: [start, end],
|
|
4422
4424
|
parent
|
|
4423
|
-
},
|
|
4424
|
-
key.parent =
|
|
4425
|
-
let { constraint } = typeParameter;
|
|
4426
|
-
constraint !== null && (constraint.parent = parent);
|
|
4427
|
-
let optional = deserializeOptionTSMappedTypeModifierOperator(pos + 52);
|
|
4428
|
-
return optional === null && (optional = !1), node.key = key, node.constraint = constraint, node.nameType = deserializeOptionTSType(pos + 16), node.typeAnnotation = deserializeOptionTSType(pos + 32), node.optional = optional, parent = previousParent, node;
|
|
4425
|
+
}, optional = deserializeOptionTSMappedTypeModifierOperator(pos + 92);
|
|
4426
|
+
return optional === null && (optional = !1), node.key = deserializeBindingIdentifier(pos + 8), node.constraint = deserializeTSType(pos + 40), node.nameType = deserializeOptionTSType(pos + 56), node.typeAnnotation = deserializeOptionTSType(pos + 72), node.optional = optional, parent = previousParent, node;
|
|
4429
4427
|
}
|
|
4430
4428
|
function deserializeTSMappedTypeModifierOperator(pos) {
|
|
4431
4429
|
switch (uint8[pos]) {
|
|
@@ -4725,6 +4723,7 @@ function deserializeModuleKind(pos) {
|
|
|
4725
4723
|
switch (uint8[pos]) {
|
|
4726
4724
|
case 0: return "script";
|
|
4727
4725
|
case 1: return "module";
|
|
4726
|
+
case 3: return "commonjs";
|
|
4728
4727
|
default: throw Error(`Unexpected discriminant ${uint8[pos]} for ModuleKind`);
|
|
4729
4728
|
}
|
|
4730
4729
|
}
|
|
@@ -11398,8 +11397,11 @@ const ENV_AMD = {
|
|
|
11398
11397
|
"waitsForPromise"
|
|
11399
11398
|
],
|
|
11400
11399
|
writable: []
|
|
11400
|
+
}, ENV_AUDIOWORKLET = {
|
|
11401
|
+
readonly: /* @__PURE__ */ "AbortController.AbortSignal.AsyncDisposableStack.AudioWorkletGlobalScope.AudioWorkletProcessor.ByteLengthQueuingStrategy.CompressionStream.CountQueuingStrategy.DecompressionStream.DisposableStack.Event.EventTarget.MessageEvent.MessagePort.PaintWorkletGlobalScope.QuotaExceededError.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.SuppressedError.Temporal.TextDecoderStream.TextEncoderStream.TransformStream.TransformStreamDefaultController.UserActivation.WebAssembly.WorkletGlobalScope.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.console.currentFrame.currentTime.port.registerProcessor.sampleRate".split("."),
|
|
11402
|
+
writable: []
|
|
11401
11403
|
}, ENV_BROWSER = {
|
|
11402
|
-
readonly: /* @__PURE__ */ "AI.AICreateMonitor.AITextSession.AbortController.AbortSignal.AbsoluteOrientationSensor.AbstractRange.Accelerometer.AnalyserNode.Animation.AnimationEffect.AnimationEvent.AnimationPlaybackEvent.AnimationTimeline.AsyncDisposableStack.Attr.Audio.AudioBuffer.AudioBufferSourceNode.AudioContext.AudioData.AudioDecoder.AudioDestinationNode.AudioEncoder.AudioListener.AudioNode.AudioParam.AudioParamMap.AudioProcessingEvent.AudioScheduledSourceNode.AudioSinkInfo.AudioWorklet.AudioWorkletGlobalScope.AudioWorkletNode.AudioWorkletProcessor.AuthenticatorAssertionResponse.AuthenticatorAttestationResponse.AuthenticatorResponse.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BarProp.BarcodeDetector.BaseAudioContext.BatteryManager.BeforeUnloadEvent.BiquadFilterNode.Blob.BlobEvent.Bluetooth.BluetoothCharacteristicProperties.BluetoothDevice.BluetoothRemoteGATTCharacteristic.BluetoothRemoteGATTDescriptor.BluetoothRemoteGATTServer.BluetoothRemoteGATTService.BluetoothUUID.BroadcastChannel.BrowserCaptureMediaStreamTrack.ByteLengthQueuingStrategy.CDATASection.CSPViolationReportBody.CSS.CSSAnimation.CSSConditionRule.CSSContainerRule.CSSCounterStyleRule.CSSFontFaceRule.CSSFontFeatureValuesRule.CSSFontPaletteValuesRule.CSSFunctionDeclarations.CSSFunctionDescriptors.CSSFunctionRule.CSSGroupingRule.CSSImageValue.CSSImportRule.CSSKeyframeRule.CSSKeyframesRule.CSSKeywordValue.CSSLayerBlockRule.CSSLayerStatementRule.CSSMarginRule.CSSMathClamp.CSSMathInvert.CSSMathMax.CSSMathMin.CSSMathNegate.CSSMathProduct.CSSMathSum.CSSMathValue.CSSMatrixComponent.CSSMediaRule.CSSNamespaceRule.CSSNestedDeclarations.CSSNumericArray.CSSNumericValue.CSSPageDescriptors.CSSPageRule.CSSPerspective.CSSPositionTryDescriptors.CSSPositionTryRule.CSSPositionValue.CSSPropertyRule.CSSRotate.CSSRule.CSSRuleList.CSSScale.CSSScopeRule.CSSSkew.CSSSkewX.CSSSkewY.CSSStartingStyleRule.CSSStyleDeclaration.CSSStyleRule.CSSStyleSheet.CSSStyleValue.CSSSupportsRule.CSSTransformComponent.CSSTransformValue.CSSTransition.CSSTranslate.CSSUnitValue.CSSUnparsedValue.CSSVariableReferenceValue.CSSViewTransitionRule.Cache.CacheStorage.CanvasCaptureMediaStream.CanvasCaptureMediaStreamTrack.CanvasGradient.CanvasPattern.CanvasRenderingContext2D.CaptureController.CaretPosition.ChannelMergerNode.ChannelSplitterNode.ChapterInformation.CharacterBoundsUpdateEvent.CharacterData.Clipboard.ClipboardChangeEvent.ClipboardEvent.ClipboardItem.CloseEvent.CloseWatcher.CommandEvent.Comment.CompositionEvent.CompressionStream.ConstantSourceNode.ContentVisibilityAutoStateChangeEvent.ConvolverNode.CookieChangeEvent.CookieDeprecationLabel.CookieStore.CookieStoreManager.CountQueuingStrategy.CreateMonitor.Credential.CredentialsContainer.CropTarget.Crypto.CryptoKey.CustomElementRegistry.CustomEvent.CustomStateSet.DOMError.DOMException.DOMImplementation.DOMMatrix.DOMMatrixReadOnly.DOMParser.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectList.DOMRectReadOnly.DOMStringList.DOMStringMap.DOMTokenList.DataTransfer.DataTransferItem.DataTransferItemList.DecompressionStream.DelayNode.DelegatedInkTrailPresenter.DeviceMotionEvent.DeviceMotionEventAcceleration.DeviceMotionEventRotationRate.DeviceOrientationEvent.DevicePosture.DisposableStack.Document.DocumentFragment.DocumentPictureInPicture.DocumentPictureInPictureEvent.DocumentTimeline.DocumentType.DragEvent.DynamicsCompressorNode.EditContext.Element.ElementInternals.EncodedAudioChunk.EncodedVideoChunk.ErrorEvent.Event.EventCounts.EventSource.EventTarget.External.EyeDropper.FeaturePolicy.FederatedCredential.Fence.FencedFrameConfig.FetchLaterResult.File.FileList.FileReader.FileSystem.FileSystemDirectoryEntry.FileSystemDirectoryHandle.FileSystemDirectoryReader.FileSystemEntry.FileSystemFileEntry.FileSystemFileHandle.FileSystemHandle.FileSystemObserver.FileSystemWritableFileStream.FocusEvent.FontData.FontFace.FontFaceSet.FontFaceSetLoadEvent.FormData.FormDataEvent.FragmentDirective.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.GainNode.Gamepad.GamepadAxisMoveEvent.GamepadButton.GamepadButtonEvent.GamepadEvent.GamepadHapticActuator.GamepadPose.Geolocation.GeolocationCoordinates.GeolocationPosition.GeolocationPositionError.GravitySensor.Gyroscope.HID.HIDConnectionEvent.HIDDevice.HIDInputReportEvent.HTMLAllCollection.HTMLAnchorElement.HTMLAreaElement.HTMLAudioElement.HTMLBRElement.HTMLBaseElement.HTMLBodyElement.HTMLButtonElement.HTMLCanvasElement.HTMLCollection.HTMLDListElement.HTMLDataElement.HTMLDataListElement.HTMLDetailsElement.HTMLDialogElement.HTMLDirectoryElement.HTMLDivElement.HTMLDocument.HTMLElement.HTMLEmbedElement.HTMLFencedFrameElement.HTMLFieldSetElement.HTMLFontElement.HTMLFormControlsCollection.HTMLFormElement.HTMLFrameElement.HTMLFrameSetElement.HTMLHRElement.HTMLHeadElement.HTMLHeadingElement.HTMLHtmlElement.HTMLIFrameElement.HTMLImageElement.HTMLInputElement.HTMLLIElement.HTMLLabelElement.HTMLLegendElement.HTMLLinkElement.HTMLMapElement.HTMLMarqueeElement.HTMLMediaElement.HTMLMenuElement.HTMLMetaElement.HTMLMeterElement.HTMLModElement.HTMLOListElement.HTMLObjectElement.HTMLOptGroupElement.HTMLOptionElement.HTMLOptionsCollection.HTMLOutputElement.HTMLParagraphElement.HTMLParamElement.HTMLPictureElement.HTMLPreElement.HTMLProgressElement.HTMLQuoteElement.HTMLScriptElement.HTMLSelectElement.HTMLSelectedContentElement.HTMLSlotElement.HTMLSourceElement.HTMLSpanElement.HTMLStyleElement.HTMLTableCaptionElement.HTMLTableCellElement.HTMLTableColElement.HTMLTableElement.HTMLTableRowElement.HTMLTableSectionElement.HTMLTemplateElement.HTMLTextAreaElement.HTMLTimeElement.HTMLTitleElement.HTMLTrackElement.HTMLUListElement.HTMLUnknownElement.HTMLVideoElement.HashChangeEvent.Headers.Highlight.HighlightRegistry.History.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBFactory.IDBIndex.IDBKeyRange.IDBObjectStore.IDBOpenDBRequest.IDBRequest.IDBTransaction.IDBVersionChangeEvent.IIRFilterNode.IdentityCredential.IdentityCredentialError.IdentityProvider.IdleDeadline.IdleDetector.Image.ImageBitmap.ImageBitmapRenderingContext.ImageCapture.ImageData.ImageDecoder.ImageTrack.ImageTrackList.Ink.InputDeviceCapabilities.InputDeviceInfo.InputEvent.IntegrityViolationReportBody.IntersectionObserver.IntersectionObserverEntry.Keyboard.KeyboardEvent.KeyboardLayoutMap.KeyframeEffect.LanguageDetector.LargestContentfulPaint.LaunchParams.LaunchQueue.LayoutShift.LayoutShiftAttribution.LinearAccelerationSensor.Location.Lock.LockManager.MIDIAccess.MIDIConnectionEvent.MIDIInput.MIDIInputMap.MIDIMessageEvent.MIDIOutput.MIDIOutputMap.MIDIPort.MathMLElement.MediaCapabilities.MediaCapabilitiesInfo.MediaDeviceInfo.MediaDevices.MediaElementAudioSourceNode.MediaEncryptedEvent.MediaError.MediaKeyError.MediaKeyMessageEvent.MediaKeySession.MediaKeyStatusMap.MediaKeySystemAccess.MediaKeys.MediaList.MediaMetadata.MediaQueryList.MediaQueryListEvent.MediaRecorder.MediaRecorderErrorEvent.MediaSession.MediaSource.MediaSourceHandle.MediaStream.MediaStreamAudioDestinationNode.MediaStreamAudioSourceNode.MediaStreamEvent.MediaStreamTrack.MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioStats.MediaStreamTrackEvent.MediaStreamTrackGenerator.MediaStreamTrackProcessor.MediaStreamTrackVideoStats.MessageChannel.MessageEvent.MessagePort.MimeType.MimeTypeArray.ModelGenericSession.ModelManager.MouseEvent.MutationEvent.MutationObserver.MutationRecord.NamedNodeMap.NavigateEvent.Navigation.NavigationActivation.NavigationCurrentEntryChangeEvent.NavigationDestination.NavigationHistoryEntry.NavigationPreloadManager.NavigationTransition.Navigator.NavigatorLogin.NavigatorManagedData.NavigatorUAData.NetworkInformation.Node.NodeFilter.NodeIterator.NodeList.NotRestoredReasonDetails.NotRestoredReasons.Notification.NotifyPaintEvent.OTPCredential.Observable.OfflineAudioCompletionEvent.OfflineAudioContext.OffscreenCanvas.OffscreenCanvasRenderingContext2D.Option.OrientationSensor.OscillatorNode.OverconstrainedError.PERSISTENT.PageRevealEvent.PageSwapEvent.PageTransitionEvent.PannerNode.PasswordCredential.Path2D.PaymentAddress.PaymentManager.PaymentMethodChangeEvent.PaymentRequest.PaymentRequestUpdateEvent.PaymentResponse.Performance.PerformanceElementTiming.PerformanceEntry.PerformanceEventTiming.PerformanceLongAnimationFrameTiming.PerformanceLongTaskTiming.PerformanceMark.PerformanceMeasure.PerformanceNavigation.PerformanceNavigationTiming.PerformanceObserver.PerformanceObserverEntryList.PerformancePaintTiming.PerformanceResourceTiming.PerformanceScriptTiming.PerformanceServerTiming.PerformanceTiming.PeriodicSyncManager.PeriodicWave.PermissionStatus.Permissions.PictureInPictureEvent.PictureInPictureWindow.Plugin.PluginArray.PointerEvent.PopStateEvent.Presentation.PresentationAvailability.PresentationConnection.PresentationConnectionAvailableEvent.PresentationConnectionCloseEvent.PresentationConnectionList.PresentationReceiver.PresentationRequest.PressureObserver.PressureRecord.ProcessingInstruction.Profiler.ProgressEvent.PromiseRejectionEvent.ProtectedAudience.PublicKeyCredential.PushManager.PushSubscription.PushSubscriptionOptions.QuotaExceededError.RTCCertificate.RTCDTMFSender.RTCDTMFToneChangeEvent.RTCDataChannel.RTCDataChannelEvent.RTCDtlsTransport.RTCEncodedAudioFrame.RTCEncodedVideoFrame.RTCError.RTCErrorEvent.RTCIceCandidate.RTCIceTransport.RTCPeerConnection.RTCPeerConnectionIceErrorEvent.RTCPeerConnectionIceEvent.RTCRtpReceiver.RTCRtpScriptTransform.RTCRtpSender.RTCRtpTransceiver.RTCSctpTransport.RTCSessionDescription.RTCStatsReport.RTCTrackEvent.RadioNodeList.Range.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.RelativeOrientationSensor.RemotePlayback.ReportBody.ReportingObserver.Request.ResizeObserver.ResizeObserverEntry.ResizeObserverSize.Response.RestrictionTarget.SVGAElement.SVGAngle.SVGAnimateElement.SVGAnimateMotionElement.SVGAnimateTransformElement.SVGAnimatedAngle.SVGAnimatedBoolean.SVGAnimatedEnumeration.SVGAnimatedInteger.SVGAnimatedLength.SVGAnimatedLengthList.SVGAnimatedNumber.SVGAnimatedNumberList.SVGAnimatedPreserveAspectRatio.SVGAnimatedRect.SVGAnimatedString.SVGAnimatedTransformList.SVGAnimationElement.SVGCircleElement.SVGClipPathElement.SVGComponentTransferFunctionElement.SVGDefsElement.SVGDescElement.SVGElement.SVGEllipseElement.SVGFEBlendElement.SVGFEColorMatrixElement.SVGFEComponentTransferElement.SVGFECompositeElement.SVGFEConvolveMatrixElement.SVGFEDiffuseLightingElement.SVGFEDisplacementMapElement.SVGFEDistantLightElement.SVGFEDropShadowElement.SVGFEFloodElement.SVGFEFuncAElement.SVGFEFuncBElement.SVGFEFuncGElement.SVGFEFuncRElement.SVGFEGaussianBlurElement.SVGFEImageElement.SVGFEMergeElement.SVGFEMergeNodeElement.SVGFEMorphologyElement.SVGFEOffsetElement.SVGFEPointLightElement.SVGFESpecularLightingElement.SVGFESpotLightElement.SVGFETileElement.SVGFETurbulenceElement.SVGFilterElement.SVGForeignObjectElement.SVGGElement.SVGGeometryElement.SVGGradientElement.SVGGraphicsElement.SVGImageElement.SVGLength.SVGLengthList.SVGLineElement.SVGLinearGradientElement.SVGMPathElement.SVGMarkerElement.SVGMaskElement.SVGMatrix.SVGMetadataElement.SVGNumber.SVGNumberList.SVGPathElement.SVGPatternElement.SVGPoint.SVGPointList.SVGPolygonElement.SVGPolylineElement.SVGPreserveAspectRatio.SVGRadialGradientElement.SVGRect.SVGRectElement.SVGSVGElement.SVGScriptElement.SVGSetElement.SVGStopElement.SVGStringList.SVGStyleElement.SVGSwitchElement.SVGSymbolElement.SVGTSpanElement.SVGTextContentElement.SVGTextElement.SVGTextPathElement.SVGTextPositioningElement.SVGTitleElement.SVGTransform.SVGTransformList.SVGUnitTypes.SVGUseElement.SVGViewElement.Scheduler.Scheduling.Screen.ScreenDetailed.ScreenDetails.ScreenOrientation.ScriptProcessorNode.ScrollTimeline.SecurityPolicyViolationEvent.Selection.Sensor.SensorErrorEvent.Serial.SerialPort.ServiceWorker.ServiceWorkerContainer.ServiceWorkerRegistration.ShadowRoot.SharedStorage.SharedStorageAppendMethod.SharedStorageClearMethod.SharedStorageDeleteMethod.SharedStorageModifierMethod.SharedStorageSetMethod.SharedStorageWorklet.SharedWorker.SnapEvent.SourceBuffer.SourceBufferList.SpeechGrammar.SpeechGrammarList.SpeechRecognition.SpeechRecognitionErrorEvent.SpeechRecognitionEvent.SpeechSynthesis.SpeechSynthesisErrorEvent.SpeechSynthesisEvent.SpeechSynthesisUtterance.SpeechSynthesisVoice.StaticRange.StereoPannerNode.Storage.StorageBucket.StorageBucketManager.StorageEvent.StorageManager.StylePropertyMap.StylePropertyMapReadOnly.StyleSheet.StyleSheetList.SubmitEvent.Subscriber.SubtleCrypto.Summarizer.SuppressedError.SyncManager.TEMPORARY.TaskAttributionTiming.TaskController.TaskPriorityChangeEvent.TaskSignal.Text.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextEvent.TextFormat.TextFormatUpdateEvent.TextMetrics.TextTrack.TextTrackCue.TextTrackCueList.TextTrackList.TextUpdateEvent.TimeEvent.TimeRanges.ToggleEvent.Touch.TouchEvent.TouchList.TrackEvent.TransformStream.TransformStreamDefaultController.TransitionEvent.Translator.TreeWalker.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.UIEvent.URL.URLPattern.URLSearchParams.USB.USBAlternateInterface.USBConfiguration.USBConnectionEvent.USBDevice.USBEndpoint.USBInTransferResult.USBInterface.USBIsochronousInTransferPacket.USBIsochronousInTransferResult.USBIsochronousOutTransferPacket.USBIsochronousOutTransferResult.USBOutTransferResult.UserActivation.VTTCue.VTTRegion.ValidityState.VideoColorSpace.VideoDecoder.VideoEncoder.VideoFrame.VideoPlaybackQuality.ViewTimeline.ViewTransition.ViewTransitionTypeSet.Viewport.VirtualKeyboard.VirtualKeyboardGeometryChangeEvent.VisibilityStateEntry.VisualViewport.WGSLLanguageFeatures.WakeLock.WakeLockSentinel.WaveShaperNode.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArrayObject.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WebTransportReceiveStream.WebTransportSendStream.WheelEvent.Window.WindowControlsOverlay.WindowControlsOverlayGeometryChangeEvent.Worker.Worklet.WorkletGlobalScope.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.XMLDocument.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestUpload.XMLSerializer.XPathEvaluator.XPathExpression.XPathResult.XRAnchor.XRAnchorSet.XRBoundedReferenceSpace.XRCPUDepthInformation.XRCamera.XRDOMOverlayState.XRDepthInformation.XRFrame.XRHand.XRHitTestResult.XRHitTestSource.XRInputSource.XRInputSourceArray.XRInputSourceEvent.XRInputSourcesChangeEvent.XRJointPose.XRJointSpace.XRLayer.XRLightEstimate.XRLightProbe.XRPose.XRRay.XRReferenceSpace.XRReferenceSpaceEvent.XRRenderState.XRRigidTransform.XRSession.XRSessionEvent.XRSpace.XRSystem.XRTransientInputHitTestResult.XRTransientInputHitTestSource.XRView.XRViewerPose.XRViewport.XRWebGLBinding.XRWebGLDepthInformation.XRWebGLLayer.XSLTProcessor.addEventListener.ai.alert.atob.blur.btoa.caches.cancelAnimationFrame.cancelIdleCallback.clearInterval.clearTimeout.clientInformation.close.closed.confirm.console.cookieStore.createImageBitmap.credentialless.crossOriginIsolated.crypto.currentFrame.currentTime.customElements.devicePixelRatio.dispatchEvent.document.documentPictureInPicture.event.external.fence.fetch.fetchLater.find.focus.frameElement.frames.getComputedStyle.getScreenDetails.getSelection.history.indexedDB.innerHeight.innerWidth.isSecureContext.launchQueue.length.localStorage.locationbar.matchMedia.menubar.model.moveBy.moveTo.name.navigation.navigator.offscreenBuffering.open.opener.origin.originAgentCluster.outerHeight.outerWidth.pageXOffset.pageYOffset.parent.performance.personalbar.postMessage.print.prompt.queryLocalFonts.queueMicrotask.registerProcessor.removeEventListener.reportError.requestAnimationFrame.requestIdleCallback.resizeBy.resizeTo.sampleRate.scheduler.screen.screenLeft.screenTop.screenX.screenY.scroll.scrollBy.scrollTo.scrollX.scrollY.scrollbars.self.sessionStorage.setInterval.setTimeout.sharedStorage.showDirectoryPicker.showOpenFilePicker.showSaveFilePicker.speechSynthesis.status.statusbar.stop.structuredClone.styleMedia.toolbar.top.trustedTypes.viewport.visualViewport.when.window".split("."),
|
|
11404
|
+
readonly: /* @__PURE__ */ "AI.AICreateMonitor.AITextSession.AbortController.AbortSignal.AbsoluteOrientationSensor.AbstractRange.Accelerometer.AnalyserNode.Animation.AnimationEffect.AnimationEvent.AnimationPlaybackEvent.AnimationTimeline.AsyncDisposableStack.Attr.Audio.AudioBuffer.AudioBufferSourceNode.AudioContext.AudioData.AudioDecoder.AudioDestinationNode.AudioEncoder.AudioListener.AudioNode.AudioParam.AudioParamMap.AudioProcessingEvent.AudioScheduledSourceNode.AudioSinkInfo.AudioWorklet.AudioWorkletNode.AuthenticatorAssertionResponse.AuthenticatorAttestationResponse.AuthenticatorResponse.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BarProp.BarcodeDetector.BaseAudioContext.BatteryManager.BeforeUnloadEvent.BiquadFilterNode.Blob.BlobEvent.Bluetooth.BluetoothCharacteristicProperties.BluetoothDevice.BluetoothRemoteGATTCharacteristic.BluetoothRemoteGATTDescriptor.BluetoothRemoteGATTServer.BluetoothRemoteGATTService.BluetoothUUID.BroadcastChannel.BrowserCaptureMediaStreamTrack.ByteLengthQueuingStrategy.CDATASection.CSPViolationReportBody.CSS.CSSAnimation.CSSConditionRule.CSSContainerRule.CSSCounterStyleRule.CSSFontFaceRule.CSSFontFeatureValuesRule.CSSFontPaletteValuesRule.CSSFunctionDeclarations.CSSFunctionDescriptors.CSSFunctionRule.CSSGroupingRule.CSSImageValue.CSSImportRule.CSSKeyframeRule.CSSKeyframesRule.CSSKeywordValue.CSSLayerBlockRule.CSSLayerStatementRule.CSSMarginRule.CSSMathClamp.CSSMathInvert.CSSMathMax.CSSMathMin.CSSMathNegate.CSSMathProduct.CSSMathSum.CSSMathValue.CSSMatrixComponent.CSSMediaRule.CSSNamespaceRule.CSSNestedDeclarations.CSSNumericArray.CSSNumericValue.CSSPageDescriptors.CSSPageRule.CSSPerspective.CSSPositionTryDescriptors.CSSPositionTryRule.CSSPositionValue.CSSPropertyRule.CSSRotate.CSSRule.CSSRuleList.CSSScale.CSSScopeRule.CSSSkew.CSSSkewX.CSSSkewY.CSSStartingStyleRule.CSSStyleDeclaration.CSSStyleProperties.CSSStyleRule.CSSStyleSheet.CSSStyleValue.CSSSupportsRule.CSSTransformComponent.CSSTransformValue.CSSTransition.CSSTranslate.CSSUnitValue.CSSUnparsedValue.CSSVariableReferenceValue.CSSViewTransitionRule.Cache.CacheStorage.CanvasCaptureMediaStream.CanvasCaptureMediaStreamTrack.CanvasGradient.CanvasPattern.CanvasRenderingContext2D.CaptureController.CaretPosition.ChannelMergerNode.ChannelSplitterNode.ChapterInformation.CharacterBoundsUpdateEvent.CharacterData.Clipboard.ClipboardChangeEvent.ClipboardEvent.ClipboardItem.CloseEvent.CloseWatcher.CommandEvent.Comment.CompositionEvent.CompressionStream.ConstantSourceNode.ContentVisibilityAutoStateChangeEvent.ConvolverNode.CookieChangeEvent.CookieDeprecationLabel.CookieStore.CookieStoreManager.CountQueuingStrategy.CreateMonitor.Credential.CredentialsContainer.CropTarget.Crypto.CryptoKey.CustomElementRegistry.CustomEvent.CustomStateSet.DOMError.DOMException.DOMImplementation.DOMMatrix.DOMMatrixReadOnly.DOMParser.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectList.DOMRectReadOnly.DOMStringList.DOMStringMap.DOMTokenList.DataTransfer.DataTransferItem.DataTransferItemList.DecompressionStream.DelayNode.DelegatedInkTrailPresenter.DeviceMotionEvent.DeviceMotionEventAcceleration.DeviceMotionEventRotationRate.DeviceOrientationEvent.DevicePosture.DigitalCredential.DisposableStack.Document.DocumentFragment.DocumentPictureInPicture.DocumentPictureInPictureEvent.DocumentTimeline.DocumentType.DragEvent.DynamicsCompressorNode.EditContext.Element.ElementInternals.EncodedAudioChunk.EncodedVideoChunk.ErrorEvent.Event.EventCounts.EventSource.EventTarget.External.EyeDropper.FeaturePolicy.FederatedCredential.Fence.FencedFrameConfig.FetchLaterResult.File.FileList.FileReader.FileSystem.FileSystemDirectoryEntry.FileSystemDirectoryHandle.FileSystemDirectoryReader.FileSystemEntry.FileSystemFileEntry.FileSystemFileHandle.FileSystemHandle.FileSystemObserver.FileSystemWritableFileStream.FocusEvent.FontData.FontFace.FontFaceSet.FontFaceSetLoadEvent.FormData.FormDataEvent.FragmentDirective.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.GainNode.Gamepad.GamepadAxisMoveEvent.GamepadButton.GamepadButtonEvent.GamepadEvent.GamepadHapticActuator.GamepadPose.Geolocation.GeolocationCoordinates.GeolocationPosition.GeolocationPositionError.GravitySensor.Gyroscope.HID.HIDConnectionEvent.HIDDevice.HIDInputReportEvent.HTMLAllCollection.HTMLAnchorElement.HTMLAreaElement.HTMLAudioElement.HTMLBRElement.HTMLBaseElement.HTMLBodyElement.HTMLButtonElement.HTMLCanvasElement.HTMLCollection.HTMLDListElement.HTMLDataElement.HTMLDataListElement.HTMLDetailsElement.HTMLDialogElement.HTMLDirectoryElement.HTMLDivElement.HTMLDocument.HTMLElement.HTMLEmbedElement.HTMLFencedFrameElement.HTMLFieldSetElement.HTMLFontElement.HTMLFormControlsCollection.HTMLFormElement.HTMLFrameElement.HTMLFrameSetElement.HTMLHRElement.HTMLHeadElement.HTMLHeadingElement.HTMLHtmlElement.HTMLIFrameElement.HTMLImageElement.HTMLInputElement.HTMLLIElement.HTMLLabelElement.HTMLLegendElement.HTMLLinkElement.HTMLMapElement.HTMLMarqueeElement.HTMLMediaElement.HTMLMenuElement.HTMLMetaElement.HTMLMeterElement.HTMLModElement.HTMLOListElement.HTMLObjectElement.HTMLOptGroupElement.HTMLOptionElement.HTMLOptionsCollection.HTMLOutputElement.HTMLParagraphElement.HTMLParamElement.HTMLPictureElement.HTMLPreElement.HTMLProgressElement.HTMLQuoteElement.HTMLScriptElement.HTMLSelectElement.HTMLSelectedContentElement.HTMLSlotElement.HTMLSourceElement.HTMLSpanElement.HTMLStyleElement.HTMLTableCaptionElement.HTMLTableCellElement.HTMLTableColElement.HTMLTableElement.HTMLTableRowElement.HTMLTableSectionElement.HTMLTemplateElement.HTMLTextAreaElement.HTMLTimeElement.HTMLTitleElement.HTMLTrackElement.HTMLUListElement.HTMLUnknownElement.HTMLVideoElement.HashChangeEvent.Headers.Highlight.HighlightRegistry.History.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBFactory.IDBIndex.IDBKeyRange.IDBObjectStore.IDBOpenDBRequest.IDBRecord.IDBRequest.IDBTransaction.IDBVersionChangeEvent.IIRFilterNode.IdentityCredential.IdentityCredentialError.IdentityProvider.IdleDeadline.IdleDetector.Image.ImageBitmap.ImageBitmapRenderingContext.ImageCapture.ImageData.ImageDecoder.ImageTrack.ImageTrackList.Ink.InputDeviceCapabilities.InputDeviceInfo.InputEvent.IntegrityViolationReportBody.InterestEvent.IntersectionObserver.IntersectionObserverEntry.Keyboard.KeyboardEvent.KeyboardLayoutMap.KeyframeEffect.LanguageDetector.LargestContentfulPaint.LaunchParams.LaunchQueue.LayoutShift.LayoutShiftAttribution.LinearAccelerationSensor.Location.Lock.LockManager.MIDIAccess.MIDIConnectionEvent.MIDIInput.MIDIInputMap.MIDIMessageEvent.MIDIOutput.MIDIOutputMap.MIDIPort.MathMLElement.MediaCapabilities.MediaCapabilitiesInfo.MediaDeviceInfo.MediaDevices.MediaElementAudioSourceNode.MediaEncryptedEvent.MediaError.MediaKeyError.MediaKeyMessageEvent.MediaKeySession.MediaKeyStatusMap.MediaKeySystemAccess.MediaKeys.MediaList.MediaMetadata.MediaQueryList.MediaQueryListEvent.MediaRecorder.MediaRecorderErrorEvent.MediaSession.MediaSource.MediaSourceHandle.MediaStream.MediaStreamAudioDestinationNode.MediaStreamAudioSourceNode.MediaStreamEvent.MediaStreamTrack.MediaStreamTrackAudioSourceNode.MediaStreamTrackAudioStats.MediaStreamTrackEvent.MediaStreamTrackGenerator.MediaStreamTrackProcessor.MediaStreamTrackVideoStats.MessageChannel.MessageEvent.MessagePort.MimeType.MimeTypeArray.ModelGenericSession.ModelManager.MouseEvent.MutationEvent.MutationObserver.MutationRecord.NamedNodeMap.NavigateEvent.Navigation.NavigationActivation.NavigationCurrentEntryChangeEvent.NavigationDestination.NavigationHistoryEntry.NavigationPrecommitController.NavigationPreloadManager.NavigationTransition.Navigator.NavigatorLogin.NavigatorManagedData.NavigatorUAData.NetworkInformation.Node.NodeFilter.NodeIterator.NodeList.NotRestoredReasonDetails.NotRestoredReasons.Notification.NotifyPaintEvent.OTPCredential.Observable.OfflineAudioCompletionEvent.OfflineAudioContext.OffscreenCanvas.OffscreenCanvasRenderingContext2D.Option.OrientationSensor.OscillatorNode.OverconstrainedError.PERSISTENT.PageRevealEvent.PageSwapEvent.PageTransitionEvent.PannerNode.PasswordCredential.Path2D.PaymentAddress.PaymentManager.PaymentMethodChangeEvent.PaymentRequest.PaymentRequestUpdateEvent.PaymentResponse.Performance.PerformanceElementTiming.PerformanceEntry.PerformanceEventTiming.PerformanceLongAnimationFrameTiming.PerformanceLongTaskTiming.PerformanceMark.PerformanceMeasure.PerformanceNavigation.PerformanceNavigationTiming.PerformanceObserver.PerformanceObserverEntryList.PerformancePaintTiming.PerformanceResourceTiming.PerformanceScriptTiming.PerformanceServerTiming.PerformanceTiming.PeriodicSyncManager.PeriodicWave.PermissionStatus.Permissions.PictureInPictureEvent.PictureInPictureWindow.Plugin.PluginArray.PointerEvent.PopStateEvent.Presentation.PresentationAvailability.PresentationConnection.PresentationConnectionAvailableEvent.PresentationConnectionCloseEvent.PresentationConnectionList.PresentationReceiver.PresentationRequest.PressureObserver.PressureRecord.ProcessingInstruction.Profiler.ProgressEvent.PromiseRejectionEvent.ProtectedAudience.PublicKeyCredential.PushManager.PushSubscription.PushSubscriptionOptions.QuotaExceededError.RTCCertificate.RTCDTMFSender.RTCDTMFToneChangeEvent.RTCDataChannel.RTCDataChannelEvent.RTCDtlsTransport.RTCEncodedAudioFrame.RTCEncodedVideoFrame.RTCError.RTCErrorEvent.RTCIceCandidate.RTCIceTransport.RTCPeerConnection.RTCPeerConnectionIceErrorEvent.RTCPeerConnectionIceEvent.RTCRtpReceiver.RTCRtpScriptTransform.RTCRtpSender.RTCRtpTransceiver.RTCSctpTransport.RTCSessionDescription.RTCStatsReport.RTCTrackEvent.RadioNodeList.Range.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.RelativeOrientationSensor.RemotePlayback.ReportBody.ReportingObserver.Request.ResizeObserver.ResizeObserverEntry.ResizeObserverSize.Response.RestrictionTarget.SVGAElement.SVGAngle.SVGAnimateElement.SVGAnimateMotionElement.SVGAnimateTransformElement.SVGAnimatedAngle.SVGAnimatedBoolean.SVGAnimatedEnumeration.SVGAnimatedInteger.SVGAnimatedLength.SVGAnimatedLengthList.SVGAnimatedNumber.SVGAnimatedNumberList.SVGAnimatedPreserveAspectRatio.SVGAnimatedRect.SVGAnimatedString.SVGAnimatedTransformList.SVGAnimationElement.SVGCircleElement.SVGClipPathElement.SVGComponentTransferFunctionElement.SVGDefsElement.SVGDescElement.SVGElement.SVGEllipseElement.SVGFEBlendElement.SVGFEColorMatrixElement.SVGFEComponentTransferElement.SVGFECompositeElement.SVGFEConvolveMatrixElement.SVGFEDiffuseLightingElement.SVGFEDisplacementMapElement.SVGFEDistantLightElement.SVGFEDropShadowElement.SVGFEFloodElement.SVGFEFuncAElement.SVGFEFuncBElement.SVGFEFuncGElement.SVGFEFuncRElement.SVGFEGaussianBlurElement.SVGFEImageElement.SVGFEMergeElement.SVGFEMergeNodeElement.SVGFEMorphologyElement.SVGFEOffsetElement.SVGFEPointLightElement.SVGFESpecularLightingElement.SVGFESpotLightElement.SVGFETileElement.SVGFETurbulenceElement.SVGFilterElement.SVGForeignObjectElement.SVGGElement.SVGGeometryElement.SVGGradientElement.SVGGraphicsElement.SVGImageElement.SVGLength.SVGLengthList.SVGLineElement.SVGLinearGradientElement.SVGMPathElement.SVGMarkerElement.SVGMaskElement.SVGMatrix.SVGMetadataElement.SVGNumber.SVGNumberList.SVGPathElement.SVGPatternElement.SVGPoint.SVGPointList.SVGPolygonElement.SVGPolylineElement.SVGPreserveAspectRatio.SVGRadialGradientElement.SVGRect.SVGRectElement.SVGSVGElement.SVGScriptElement.SVGSetElement.SVGStopElement.SVGStringList.SVGStyleElement.SVGSwitchElement.SVGSymbolElement.SVGTSpanElement.SVGTextContentElement.SVGTextElement.SVGTextPathElement.SVGTextPositioningElement.SVGTitleElement.SVGTransform.SVGTransformList.SVGUnitTypes.SVGUseElement.SVGViewElement.Scheduler.Scheduling.Screen.ScreenDetailed.ScreenDetails.ScreenOrientation.ScriptProcessorNode.ScrollTimeline.SecurityPolicyViolationEvent.Selection.Sensor.SensorErrorEvent.Serial.SerialPort.ServiceWorker.ServiceWorkerContainer.ServiceWorkerRegistration.ShadowRoot.SharedStorage.SharedStorageAppendMethod.SharedStorageClearMethod.SharedStorageDeleteMethod.SharedStorageModifierMethod.SharedStorageSetMethod.SharedStorageWorklet.SharedWorker.SnapEvent.SourceBuffer.SourceBufferList.SpeechGrammar.SpeechGrammarList.SpeechRecognition.SpeechRecognitionErrorEvent.SpeechRecognitionEvent.SpeechRecognitionPhrase.SpeechSynthesis.SpeechSynthesisErrorEvent.SpeechSynthesisEvent.SpeechSynthesisUtterance.SpeechSynthesisVoice.StaticRange.StereoPannerNode.Storage.StorageBucket.StorageBucketManager.StorageEvent.StorageManager.StylePropertyMap.StylePropertyMapReadOnly.StyleSheet.StyleSheetList.SubmitEvent.Subscriber.SubtleCrypto.Summarizer.SuppressedError.SyncManager.TEMPORARY.TaskAttributionTiming.TaskController.TaskPriorityChangeEvent.TaskSignal.Temporal.Text.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextEvent.TextFormat.TextFormatUpdateEvent.TextMetrics.TextTrack.TextTrackCue.TextTrackCueList.TextTrackList.TextUpdateEvent.TimeEvent.TimeRanges.ToggleEvent.Touch.TouchEvent.TouchList.TrackEvent.TransformStream.TransformStreamDefaultController.TransitionEvent.Translator.TreeWalker.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.UIEvent.URL.URLPattern.URLSearchParams.USB.USBAlternateInterface.USBConfiguration.USBConnectionEvent.USBDevice.USBEndpoint.USBInTransferResult.USBInterface.USBIsochronousInTransferPacket.USBIsochronousInTransferResult.USBIsochronousOutTransferPacket.USBIsochronousOutTransferResult.USBOutTransferResult.UserActivation.VTTCue.VTTRegion.ValidityState.VideoColorSpace.VideoDecoder.VideoEncoder.VideoFrame.VideoPlaybackQuality.ViewTimeline.ViewTransition.ViewTransitionTypeSet.Viewport.VirtualKeyboard.VirtualKeyboardGeometryChangeEvent.VisibilityStateEntry.VisualViewport.WGSLLanguageFeatures.WakeLock.WakeLockSentinel.WaveShaperNode.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArrayObject.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WebTransportReceiveStream.WebTransportSendStream.WheelEvent.Window.WindowControlsOverlay.WindowControlsOverlayGeometryChangeEvent.Worker.Worklet.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.XMLDocument.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestUpload.XMLSerializer.XPathEvaluator.XPathExpression.XPathResult.XRAnchor.XRAnchorSet.XRBoundedReferenceSpace.XRCPUDepthInformation.XRCamera.XRDOMOverlayState.XRDepthInformation.XRFrame.XRHand.XRHitTestResult.XRHitTestSource.XRInputSource.XRInputSourceArray.XRInputSourceEvent.XRInputSourcesChangeEvent.XRJointPose.XRJointSpace.XRLayer.XRLightEstimate.XRLightProbe.XRPose.XRRay.XRReferenceSpace.XRReferenceSpaceEvent.XRRenderState.XRRigidTransform.XRSession.XRSessionEvent.XRSpace.XRSystem.XRTransientInputHitTestResult.XRTransientInputHitTestSource.XRView.XRViewerPose.XRViewport.XRWebGLBinding.XRWebGLDepthInformation.XRWebGLLayer.XSLTProcessor.addEventListener.ai.alert.atob.blur.btoa.caches.cancelAnimationFrame.cancelIdleCallback.clearInterval.clearTimeout.clientInformation.close.closed.confirm.console.cookieStore.createImageBitmap.credentialless.crossOriginIsolated.crypto.customElements.devicePixelRatio.dispatchEvent.document.documentPictureInPicture.event.external.fence.fetch.fetchLater.find.focus.frameElement.frames.getComputedStyle.getScreenDetails.getSelection.history.indexedDB.innerHeight.innerWidth.isSecureContext.launchQueue.length.localStorage.locationbar.matchMedia.menubar.model.moveBy.moveTo.name.navigation.navigator.offscreenBuffering.open.opener.origin.originAgentCluster.outerHeight.outerWidth.pageXOffset.pageYOffset.parent.performance.personalbar.postMessage.print.prompt.queryLocalFonts.queueMicrotask.removeEventListener.reportError.requestAnimationFrame.requestIdleCallback.resizeBy.resizeTo.scheduler.screen.screenLeft.screenTop.screenX.screenY.scroll.scrollBy.scrollTo.scrollX.scrollY.scrollbars.self.sessionStorage.setInterval.setTimeout.sharedStorage.showDirectoryPicker.showOpenFilePicker.showSaveFilePicker.speechSynthesis.status.statusbar.stop.structuredClone.styleMedia.toolbar.top.trustedTypes.viewport.visualViewport.when.window".split("."),
|
|
11403
11405
|
writable: /* @__PURE__ */ "location.onabort.onafterprint.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onappinstalled.onauxclick.onbeforeinput.onbeforeinstallprompt.onbeforematch.onbeforeprint.onbeforetoggle.onbeforeunload.onbeforexrselect.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncommand.oncontentvisibilityautostatechange.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondevicemotion.ondeviceorientation.ondeviceorientationabsolute.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onformdata.ongamepadconnected.ongamepaddisconnected.ongotpointercapture.onhashchange.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onlanguagechange.onload.onloadeddata.onloadedmetadata.onloadstart.onlostpointercapture.onmessage.onmessageerror.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onmousewheel.onoffline.ononline.onpagehide.onpagereveal.onpageshow.onpageswap.onpaste.onpause.onplay.onplaying.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointermove.onpointerout.onpointerover.onpointerrawupdate.onpointerup.onpopstate.onprogress.onratechange.onrejectionhandled.onreset.onresize.onscroll.onscrollend.onscrollsnapchange.onscrollsnapchanging.onsearch.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectionchange.onselectstart.onslotchange.onstalled.onstorage.onsubmit.onsuspend.ontimeupdate.ontoggle.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onunhandledrejection.onunload.onvolumechange.onwaiting.onwheel".split(".")
|
|
11404
11406
|
}, ENV_BUILTIN = {
|
|
11405
11407
|
readonly: /* @__PURE__ */ "AggregateError.Array.ArrayBuffer.Atomics.BigInt.BigInt64Array.BigUint64Array.Boolean.DataView.Date.Error.EvalError.FinalizationRegistry.Float16Array.Float32Array.Float64Array.Function.Infinity.Int16Array.Int32Array.Int8Array.Intl.Iterator.JSON.Map.Math.NaN.Number.Object.Promise.Proxy.RangeError.ReferenceError.Reflect.RegExp.Set.SharedArrayBuffer.String.Symbol.SyntaxError.TypeError.URIError.Uint16Array.Uint32Array.Uint8Array.Uint8ClampedArray.WeakMap.WeakRef.WeakSet.decodeURI.decodeURIComponent.encodeURI.encodeURIComponent.escape.eval.globalThis.isFinite.isNaN.parseFloat.parseInt.undefined.unescape".split("."),
|
|
@@ -11702,7 +11704,7 @@ const ENV_AMD = {
|
|
|
11702
11704
|
],
|
|
11703
11705
|
writable: []
|
|
11704
11706
|
}, ENV_NODE = {
|
|
11705
|
-
readonly: /* @__PURE__ */ "AbortController.AbortSignal.AsyncDisposableStack.Blob.BroadcastChannel.Buffer.ByteLengthQueuingStrategy.CloseEvent.CompressionStream.CountQueuingStrategy.Crypto.CryptoKey.CustomEvent.DOMException.DecompressionStream.DisposableStack.Event.EventTarget.File.FormData.Headers.MessageChannel.MessageEvent.MessagePort.Navigator.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.Request.Response.SubtleCrypto.SuppressedError.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TransformStream.TransformStreamDefaultController.URL.URLPattern.URLSearchParams.WebAssembly.WebSocket.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.__dirname.__filename.atob.btoa.clearImmediate.clearInterval.clearTimeout.console.crypto.fetch.global.module.navigator.performance.process.queueMicrotask.require.setImmediate.setInterval.setTimeout.structuredClone".split("."),
|
|
11707
|
+
readonly: /* @__PURE__ */ "AbortController.AbortSignal.AsyncDisposableStack.Blob.BroadcastChannel.Buffer.ByteLengthQueuingStrategy.CloseEvent.CompressionStream.CountQueuingStrategy.Crypto.CryptoKey.CustomEvent.DOMException.DecompressionStream.DisposableStack.ErrorEvent.Event.EventTarget.File.FormData.Headers.MessageChannel.MessageEvent.MessagePort.Navigator.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.Request.Response.Storage.SubtleCrypto.SuppressedError.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TransformStream.TransformStreamDefaultController.URL.URLPattern.URLSearchParams.WebAssembly.WebSocket.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.__dirname.__filename.atob.btoa.clearImmediate.clearInterval.clearTimeout.console.crypto.fetch.global.localStorage.module.navigator.performance.process.queueMicrotask.require.sessionStorage.setImmediate.setInterval.setTimeout.structuredClone".split("."),
|
|
11706
11708
|
writable: ["exports"]
|
|
11707
11709
|
}, ENV_PHANTOMJS = {
|
|
11708
11710
|
readonly: [],
|
|
@@ -11752,7 +11754,7 @@ const ENV_AMD = {
|
|
|
11752
11754
|
],
|
|
11753
11755
|
writable: []
|
|
11754
11756
|
}, ENV_SERVICEWORKER = {
|
|
11755
|
-
readonly: /* @__PURE__ */ "AI.AICreateMonitor.AbortController.AbortPaymentEvent.AbortSignal.AsyncDisposableStack.BackgroundFetchEvent.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BackgroundFetchUpdateUIEvent.BarcodeDetector.Blob.BroadcastChannel.ByteLengthQueuingStrategy.CSSSkewX.CSSSkewY.Cache.CacheStorage.CanMakePaymentEvent.CanvasGradient.CanvasPattern.Client.Clients.CloseEvent.CompressionStream.CookieStore.CookieStoreManager.CountQueuingStrategy.CreateMonitor.CropTarget.Crypto.CryptoKey.CustomEvent.DOMException.DOMMatrix.DOMMatrixReadOnly.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectReadOnly.DOMStringList.DecompressionStream.DisposableStack.ErrorEvent.Event.EventSource.EventTarget.ExtendableCookieChangeEvent.ExtendableEvent.ExtendableMessageEvent.FetchEvent.File.FileList.FileReader.FileSystemDirectoryHandle.FileSystemFileHandle.FileSystemHandle.FileSystemWritableFileStream.FontFace.FormData.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.Headers.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBFactory.IDBIndex.IDBKeyRange.IDBObjectStore.IDBOpenDBRequest.IDBRequest.IDBTransaction.IDBVersionChangeEvent.ImageBitmap.ImageBitmapRenderingContext.ImageData.InstallEvent.LanguageDetector.Lock.LockManager.MediaCapabilities.MessageChannel.MessageEvent.MessagePort.NavigationPreloadManager.NavigatorUAData.NetworkInformation.Notification.NotificationEvent.Observable.OffscreenCanvas.OffscreenCanvasRenderingContext2D.Path2D.PaymentRequestEvent.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.PerformanceServerTiming.PeriodicSyncEvent.PeriodicSyncManager.PermissionStatus.Permissions.PromiseRejectionEvent.PushEvent.PushManager.PushMessageData.PushSubscription.PushSubscriptionChangeEvent.PushSubscriptionOptions.QuotaExceededError.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.ReportBody.ReportingObserver.Request.Response.RestrictionTarget.Scheduler.SecurityPolicyViolationEvent.ServiceWorker.ServiceWorkerGlobalScope.ServiceWorkerRegistration.StorageBucket.StorageBucketManager.StorageManager.Subscriber.SubtleCrypto.SuppressedError.SyncEvent.SyncManager.TaskController.TaskPriorityChangeEvent.TaskSignal.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextMetrics.TransformStream.TransformStreamDefaultController.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.URL.URLPattern.URLSearchParams.UserActivation.WGSLLanguageFeatures.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArrayObject.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WindowClient.WorkerGlobalScope.WorkerLocation.WorkerNavigator.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.addEventListener.ai.atob.btoa.caches.clearInterval.clearTimeout.clients.console.cookieStore.createImageBitmap.crossOriginIsolated.crypto.dispatchEvent.fetch.fonts.importScripts.indexedDB.isSecureContext.location.navigator.origin.performance.queueMicrotask.registration.removeEventListener.reportError.scheduler.self.serviceWorker.setInterval.setTimeout.skipWaiting.structuredClone.trustedTypes.when".split("."),
|
|
11757
|
+
readonly: /* @__PURE__ */ "AI.AICreateMonitor.AbortController.AbortPaymentEvent.AbortSignal.AsyncDisposableStack.BackgroundFetchEvent.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BackgroundFetchUpdateUIEvent.BarcodeDetector.Blob.BroadcastChannel.ByteLengthQueuingStrategy.CSSSkewX.CSSSkewY.Cache.CacheStorage.CanMakePaymentEvent.CanvasGradient.CanvasPattern.Client.Clients.CloseEvent.CompressionStream.CookieStore.CookieStoreManager.CountQueuingStrategy.CreateMonitor.CropTarget.Crypto.CryptoKey.CustomEvent.DOMException.DOMMatrix.DOMMatrixReadOnly.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectReadOnly.DOMStringList.DecompressionStream.DisposableStack.ErrorEvent.Event.EventSource.EventTarget.ExtendableCookieChangeEvent.ExtendableEvent.ExtendableMessageEvent.FetchEvent.File.FileList.FileReader.FileSystemDirectoryHandle.FileSystemFileHandle.FileSystemHandle.FileSystemWritableFileStream.FontFace.FontFaceSet.FontFaceSetLoadEvent.FormData.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.Headers.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBFactory.IDBIndex.IDBKeyRange.IDBObjectStore.IDBOpenDBRequest.IDBRecord.IDBRequest.IDBTransaction.IDBVersionChangeEvent.ImageBitmap.ImageBitmapRenderingContext.ImageData.InstallEvent.LanguageDetector.Lock.LockManager.MediaCapabilities.MessageChannel.MessageEvent.MessagePort.NavigationPreloadManager.NavigatorUAData.NetworkInformation.Notification.NotificationEvent.Observable.OffscreenCanvas.OffscreenCanvasRenderingContext2D.Path2D.PaymentRequestEvent.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.PerformanceServerTiming.PeriodicSyncEvent.PeriodicSyncManager.PermissionStatus.Permissions.ProgressEvent.PromiseRejectionEvent.PushEvent.PushManager.PushMessageData.PushSubscription.PushSubscriptionChangeEvent.PushSubscriptionOptions.QuotaExceededError.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.ReportBody.ReportingObserver.Request.Response.RestrictionTarget.Scheduler.SecurityPolicyViolationEvent.ServiceWorker.ServiceWorkerContainer.ServiceWorkerGlobalScope.ServiceWorkerRegistration.StorageBucket.StorageBucketManager.StorageManager.Subscriber.SubtleCrypto.SuppressedError.SyncEvent.SyncManager.TaskController.TaskPriorityChangeEvent.TaskSignal.Temporal.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextMetrics.TransformStream.TransformStreamDefaultController.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.URL.URLPattern.URLSearchParams.UserActivation.WGSLLanguageFeatures.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArrayObject.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WebTransportReceiveStream.WebTransportSendStream.WindowClient.WorkerGlobalScope.WorkerLocation.WorkerNavigator.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.addEventListener.ai.atob.btoa.caches.clearInterval.clearTimeout.clients.console.cookieStore.createImageBitmap.crossOriginIsolated.crypto.dispatchEvent.fetch.fonts.importScripts.indexedDB.isSecureContext.location.navigator.origin.performance.queueMicrotask.registration.removeEventListener.reportError.scheduler.self.serviceWorker.setInterval.setTimeout.skipWaiting.structuredClone.trustedTypes.when".split("."),
|
|
11756
11758
|
writable: [
|
|
11757
11759
|
"onabortpayment",
|
|
11758
11760
|
"onactivate",
|
|
@@ -11770,6 +11772,8 @@ const ENV_AMD = {
|
|
|
11770
11772
|
"onmessageerror",
|
|
11771
11773
|
"onnotificationclick",
|
|
11772
11774
|
"onnotificationclose",
|
|
11775
|
+
"onoffline",
|
|
11776
|
+
"ononline",
|
|
11773
11777
|
"onpaymentrequest",
|
|
11774
11778
|
"onperiodicsync",
|
|
11775
11779
|
"onpush",
|
|
@@ -11779,7 +11783,7 @@ const ENV_AMD = {
|
|
|
11779
11783
|
"onunhandledrejection"
|
|
11780
11784
|
]
|
|
11781
11785
|
}, ENV_SHARED_NODE_BROWSER = {
|
|
11782
|
-
readonly: /* @__PURE__ */ "AbortController.AbortSignal.AsyncDisposableStack.Blob.BroadcastChannel.ByteLengthQueuingStrategy.CloseEvent.CompressionStream.CountQueuingStrategy.Crypto.CryptoKey.CustomEvent.DOMException.DecompressionStream.DisposableStack.Event.EventTarget.File.FormData.Headers.MessageChannel.MessageEvent.MessagePort.Navigator.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.Request.Response.SubtleCrypto.SuppressedError.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TransformStream.TransformStreamDefaultController.URL.URLPattern.URLSearchParams.WebAssembly.WebSocket.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.atob.btoa.clearInterval.clearTimeout.console.crypto.fetch.navigator.performance.queueMicrotask.setInterval.setTimeout.structuredClone".split("."),
|
|
11786
|
+
readonly: /* @__PURE__ */ "AbortController.AbortSignal.AsyncDisposableStack.Blob.BroadcastChannel.ByteLengthQueuingStrategy.CloseEvent.CompressionStream.CountQueuingStrategy.Crypto.CryptoKey.CustomEvent.DOMException.DecompressionStream.DisposableStack.ErrorEvent.Event.EventTarget.File.FormData.Headers.MessageChannel.MessageEvent.MessagePort.Navigator.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.Request.Response.Storage.SubtleCrypto.SuppressedError.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TransformStream.TransformStreamDefaultController.URL.URLPattern.URLSearchParams.WebAssembly.WebSocket.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.atob.btoa.clearInterval.clearTimeout.console.crypto.fetch.localStorage.navigator.performance.queueMicrotask.sessionStorage.setInterval.setTimeout.structuredClone".split("."),
|
|
11783
11787
|
writable: []
|
|
11784
11788
|
}, ENV_SHELLJS = {
|
|
11785
11789
|
readonly: /* @__PURE__ */ "ShellString.cat.cd.chmod.cmd.config.cp.dirs.echo.env.error.errorCode.exec.exit.find.grep.head.ln.ls.mkdir.mv.popd.pushd.pwd.rm.sed.set.sort.tail.tempdir.test.touch.uniq.which".split("."),
|
|
@@ -11835,13 +11839,16 @@ const ENV_AMD = {
|
|
|
11835
11839
|
],
|
|
11836
11840
|
writable: []
|
|
11837
11841
|
}, ENV_WORKER = {
|
|
11838
|
-
readonly: /* @__PURE__ */ "AI.AICreateMonitor.AbortController.AbortSignal.AsyncDisposableStack.AudioData.AudioDecoder.AudioEncoder.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BarcodeDetector.Blob.BroadcastChannel.ByteLengthQueuingStrategy.CSSSkewX.CSSSkewY.Cache.CacheStorage.CanvasGradient.CanvasPattern.CloseEvent.CompressionStream.CountQueuingStrategy.CreateMonitor.CropTarget.Crypto.CryptoKey.CustomEvent.DOMException.DOMMatrix.DOMMatrixReadOnly.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectReadOnly.DOMStringList.DecompressionStream.DedicatedWorkerGlobalScope.DisposableStack.EncodedAudioChunk.EncodedVideoChunk.ErrorEvent.Event.EventSource.EventTarget.File.FileList.FileReader.FileReaderSync.FileSystemDirectoryHandle.FileSystemFileHandle.FileSystemHandle.FileSystemObserver.FileSystemSyncAccessHandle.FileSystemWritableFileStream.FontFace.FormData.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.HID.HIDConnectionEvent.HIDDevice.HIDInputReportEvent.Headers.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBFactory.IDBIndex.IDBKeyRange.IDBObjectStore.IDBOpenDBRequest.IDBRequest.IDBTransaction.IDBVersionChangeEvent.IdleDetector.ImageBitmap.ImageBitmapRenderingContext.ImageData.ImageDecoder.ImageTrack.ImageTrackList.LanguageDetector.Lock.LockManager.MediaCapabilities.MediaSource.MediaSourceHandle.MessageChannel.MessageEvent.MessagePort.NavigationPreloadManager.NavigatorUAData.NetworkInformation.Notification.Observable.OffscreenCanvas.OffscreenCanvasRenderingContext2D.PERSISTENT.Path2D.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.PerformanceServerTiming.PeriodicSyncManager.PermissionStatus.Permissions.PressureObserver.PressureRecord.ProgressEvent.PromiseRejectionEvent.PushManager.PushSubscription.PushSubscriptionOptions.QuotaExceededError.RTCDataChannel.RTCEncodedAudioFrame.RTCEncodedVideoFrame.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.ReportBody.ReportingObserver.Request.Response.RestrictionTarget.Scheduler.SecurityPolicyViolationEvent.Serial.SerialPort.ServiceWorkerRegistration.SourceBuffer.SourceBufferList.StorageBucket.StorageBucketManager.StorageManager.Subscriber.SubtleCrypto.SuppressedError.SyncManager.TEMPORARY.TaskController.TaskPriorityChangeEvent.TaskSignal.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextMetrics.TransformStream.TransformStreamDefaultController.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.URL.URLPattern.URLSearchParams.USB.USBAlternateInterface.USBConfiguration.USBConnectionEvent.USBDevice.USBEndpoint.USBInTransferResult.USBInterface.USBIsochronousInTransferPacket.USBIsochronousInTransferResult.USBIsochronousOutTransferPacket.USBIsochronousOutTransferResult.USBOutTransferResult.UserActivation.VideoColorSpace.VideoDecoder.VideoEncoder.VideoFrame.WGSLLanguageFeatures.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArrayObject.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.Worker.WorkerGlobalScope.WorkerLocation.WorkerNavigator.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestUpload.addEventListener.ai.atob.btoa.caches.cancelAnimationFrame.clearInterval.clearTimeout.close.console.createImageBitmap.crossOriginIsolated.crypto.dispatchEvent.fetch.fonts.importScripts.indexedDB.isSecureContext.location.name.navigator.origin.performance.postMessage.queueMicrotask.removeEventListener.reportError.requestAnimationFrame.scheduler.self.setInterval.setTimeout.structuredClone.trustedTypes.webkitRequestFileSystem.webkitRequestFileSystemSync.webkitResolveLocalFileSystemSyncURL.webkitResolveLocalFileSystemURL.when".split("."),
|
|
11842
|
+
readonly: /* @__PURE__ */ "AI.AICreateMonitor.AbortController.AbortSignal.AsyncDisposableStack.AudioData.AudioDecoder.AudioEncoder.BackgroundFetchManager.BackgroundFetchRecord.BackgroundFetchRegistration.BarcodeDetector.Blob.BroadcastChannel.ByteLengthQueuingStrategy.CSSSkewX.CSSSkewY.Cache.CacheStorage.CanvasGradient.CanvasPattern.CloseEvent.CompressionStream.CountQueuingStrategy.CreateMonitor.CropTarget.Crypto.CryptoKey.CustomEvent.DOMException.DOMMatrix.DOMMatrixReadOnly.DOMPoint.DOMPointReadOnly.DOMQuad.DOMRect.DOMRectReadOnly.DOMStringList.DecompressionStream.DedicatedWorkerGlobalScope.DisposableStack.EncodedAudioChunk.EncodedVideoChunk.ErrorEvent.Event.EventSource.EventTarget.File.FileList.FileReader.FileReaderSync.FileSystemDirectoryHandle.FileSystemFileHandle.FileSystemHandle.FileSystemObserver.FileSystemSyncAccessHandle.FileSystemWritableFileStream.FontFace.FontFaceSet.FontFaceSetLoadEvent.FormData.GPU.GPUAdapter.GPUAdapterInfo.GPUBindGroup.GPUBindGroupLayout.GPUBuffer.GPUBufferUsage.GPUCanvasContext.GPUColorWrite.GPUCommandBuffer.GPUCommandEncoder.GPUCompilationInfo.GPUCompilationMessage.GPUComputePassEncoder.GPUComputePipeline.GPUDevice.GPUDeviceLostInfo.GPUError.GPUExternalTexture.GPUInternalError.GPUMapMode.GPUOutOfMemoryError.GPUPipelineError.GPUPipelineLayout.GPUQuerySet.GPUQueue.GPURenderBundle.GPURenderBundleEncoder.GPURenderPassEncoder.GPURenderPipeline.GPUSampler.GPUShaderModule.GPUShaderStage.GPUSupportedFeatures.GPUSupportedLimits.GPUTexture.GPUTextureUsage.GPUTextureView.GPUUncapturedErrorEvent.GPUValidationError.HID.HIDConnectionEvent.HIDDevice.HIDInputReportEvent.Headers.IDBCursor.IDBCursorWithValue.IDBDatabase.IDBFactory.IDBIndex.IDBKeyRange.IDBObjectStore.IDBOpenDBRequest.IDBRecord.IDBRequest.IDBTransaction.IDBVersionChangeEvent.IdleDetector.ImageBitmap.ImageBitmapRenderingContext.ImageData.ImageDecoder.ImageTrack.ImageTrackList.LanguageDetector.Lock.LockManager.MediaCapabilities.MediaSource.MediaSourceHandle.MessageChannel.MessageEvent.MessagePort.NavigationPreloadManager.NavigatorUAData.NetworkInformation.Notification.Observable.OffscreenCanvas.OffscreenCanvasRenderingContext2D.PERSISTENT.Path2D.Performance.PerformanceEntry.PerformanceMark.PerformanceMeasure.PerformanceObserver.PerformanceObserverEntryList.PerformanceResourceTiming.PerformanceServerTiming.PeriodicSyncManager.PermissionStatus.Permissions.PressureObserver.PressureRecord.ProgressEvent.PromiseRejectionEvent.PushManager.PushSubscription.PushSubscriptionOptions.QuotaExceededError.RTCDataChannel.RTCEncodedAudioFrame.RTCEncodedVideoFrame.RTCRtpScriptTransformer.RTCTransformEvent.ReadableByteStreamController.ReadableStream.ReadableStreamBYOBReader.ReadableStreamBYOBRequest.ReadableStreamDefaultController.ReadableStreamDefaultReader.ReportBody.ReportingObserver.Request.Response.RestrictionTarget.Scheduler.SecurityPolicyViolationEvent.Serial.SerialPort.ServiceWorker.ServiceWorkerContainer.ServiceWorkerRegistration.SourceBuffer.SourceBufferList.StorageBucket.StorageBucketManager.StorageManager.Subscriber.SubtleCrypto.SuppressedError.SyncManager.TEMPORARY.TaskController.TaskPriorityChangeEvent.TaskSignal.Temporal.TextDecoder.TextDecoderStream.TextEncoder.TextEncoderStream.TextMetrics.TransformStream.TransformStreamDefaultController.TrustedHTML.TrustedScript.TrustedScriptURL.TrustedTypePolicy.TrustedTypePolicyFactory.URL.URLPattern.URLSearchParams.USB.USBAlternateInterface.USBConfiguration.USBConnectionEvent.USBDevice.USBEndpoint.USBInTransferResult.USBInterface.USBIsochronousInTransferPacket.USBIsochronousInTransferResult.USBIsochronousOutTransferPacket.USBIsochronousOutTransferResult.USBOutTransferResult.UserActivation.VideoColorSpace.VideoDecoder.VideoEncoder.VideoFrame.WGSLLanguageFeatures.WebAssembly.WebGL2RenderingContext.WebGLActiveInfo.WebGLBuffer.WebGLContextEvent.WebGLFramebuffer.WebGLObject.WebGLProgram.WebGLQuery.WebGLRenderbuffer.WebGLRenderingContext.WebGLSampler.WebGLShader.WebGLShaderPrecisionFormat.WebGLSync.WebGLTexture.WebGLTransformFeedback.WebGLUniformLocation.WebGLVertexArrayObject.WebSocket.WebSocketError.WebSocketStream.WebTransport.WebTransportBidirectionalStream.WebTransportDatagramDuplexStream.WebTransportError.WebTransportReceiveStream.WebTransportSendStream.Worker.WorkerGlobalScope.WorkerLocation.WorkerNavigator.WritableStream.WritableStreamDefaultController.WritableStreamDefaultWriter.XMLHttpRequest.XMLHttpRequestEventTarget.XMLHttpRequestUpload.addEventListener.ai.atob.btoa.caches.cancelAnimationFrame.clearInterval.clearTimeout.close.console.createImageBitmap.crossOriginIsolated.crypto.dispatchEvent.fetch.fonts.importScripts.indexedDB.isSecureContext.location.name.navigator.origin.performance.postMessage.queueMicrotask.removeEventListener.reportError.requestAnimationFrame.scheduler.self.setInterval.setTimeout.structuredClone.trustedTypes.webkitRequestFileSystem.webkitRequestFileSystemSync.webkitResolveLocalFileSystemSyncURL.webkitResolveLocalFileSystemURL.when".split("."),
|
|
11839
11843
|
writable: [
|
|
11840
11844
|
"onerror",
|
|
11841
11845
|
"onlanguagechange",
|
|
11842
11846
|
"onmessage",
|
|
11843
11847
|
"onmessageerror",
|
|
11848
|
+
"onoffline",
|
|
11849
|
+
"ononline",
|
|
11844
11850
|
"onrejectionhandled",
|
|
11851
|
+
"onrtctransform",
|
|
11845
11852
|
"onunhandledrejection"
|
|
11846
11853
|
]
|
|
11847
11854
|
}, ENVS = new Map([
|
|
@@ -11849,6 +11856,7 @@ const ENV_AMD = {
|
|
|
11849
11856
|
["applescript", ENV_APPLESCRIPT],
|
|
11850
11857
|
["astro", ENV_ASTRO],
|
|
11851
11858
|
["atomtest", ENV_ATOMTEST],
|
|
11859
|
+
["audioworklet", ENV_AUDIOWORKLET],
|
|
11852
11860
|
["browser", ENV_BROWSER],
|
|
11853
11861
|
["builtin", ENV_BUILTIN],
|
|
11854
11862
|
["commonjs", ENV_COMMONJS],
|
|
@@ -12041,7 +12049,7 @@ const SOURCE_CODE = ObjectFreeze({
|
|
|
12041
12049
|
getLoc: getLoc$1,
|
|
12042
12050
|
getNodeByRangeIndex,
|
|
12043
12051
|
getLocFromIndex: getLineColumnFromOffset,
|
|
12044
|
-
getIndexFromLoc: getOffsetFromLineColumn,
|
|
12052
|
+
getIndexFromLoc: getOffsetFromLineColumn$1,
|
|
12045
12053
|
getAllComments,
|
|
12046
12054
|
getCommentsBefore,
|
|
12047
12055
|
getCommentsAfter,
|
|
@@ -12169,7 +12177,13 @@ function report(diagnostic, ruleDetails) {
|
|
|
12169
12177
|
let start, end, loc;
|
|
12170
12178
|
if (ObjectHasOwn(diagnostic, "loc") && (loc = diagnostic.loc) != null) {
|
|
12171
12179
|
if (typeof loc != "object") throw TypeError("`loc` must be an object if provided");
|
|
12172
|
-
ObjectHasOwn(loc, "start")
|
|
12180
|
+
if (ObjectHasOwn(loc, "start")) {
|
|
12181
|
+
let { start: startLineCol, end: endLineCol } = loc;
|
|
12182
|
+
if (typeof startLineCol != "object" || !startLineCol) throw TypeError("`loc.start` must be an object");
|
|
12183
|
+
if (start = getOffsetFromLineColumn(startLineCol), endLineCol == null) end = start;
|
|
12184
|
+
else if (typeof endLineCol == "object") end = getOffsetFromLineColumn(endLineCol);
|
|
12185
|
+
else throw TypeError("`loc.end` must be an object or null/undefined");
|
|
12186
|
+
} else start = getOffsetFromLineColumn(loc), end = start;
|
|
12173
12187
|
} else {
|
|
12174
12188
|
let { node } = diagnostic;
|
|
12175
12189
|
if (node == null) throw TypeError("Either `node` or `loc` is required");
|
|
@@ -12218,6 +12232,14 @@ function replacePlaceholders(message, data) {
|
|
|
12218
12232
|
return value === void 0 ? match : value;
|
|
12219
12233
|
});
|
|
12220
12234
|
}
|
|
12235
|
+
function getOffsetFromLineColumn(lineCol) {
|
|
12236
|
+
let { line, column } = lineCol;
|
|
12237
|
+
if (typeof line != "number" || typeof column != "number" || (line | 0) !== line || (column | 0) !== column) throw TypeError("Expected an object with integer `line` and `column` properties");
|
|
12238
|
+
if (lines.length === 0 && initLines(), line <= 0 || line > lineStartIndices.length) throw RangeError(`Line number out of range (line ${line} requested). Line numbers should be 1-based, and less than or equal to number of lines in file (${lineStartIndices.length}).`);
|
|
12239
|
+
let offset = lineStartIndices[line - 1] + column;
|
|
12240
|
+
if (offset < 0 || offset > sourceText.length) throw RangeError("Line/column pair translates to an out of range offset");
|
|
12241
|
+
return offset;
|
|
12242
|
+
}
|
|
12221
12243
|
function deepFreezeJsonValue(value) {
|
|
12222
12244
|
typeof value != "object" || !value || (ArrayIsArray(value) ? deepFreezeJsonArray(value) : deepFreezeJsonObject(value));
|
|
12223
12245
|
}
|
|
@@ -12330,9 +12352,11 @@ const FILE_CONTEXT = ObjectFreeze({
|
|
|
12330
12352
|
return filePath;
|
|
12331
12353
|
},
|
|
12332
12354
|
get cwd() {
|
|
12355
|
+
if (filePath === null) throw Error("Cannot access `context.cwd` in `createOnce`");
|
|
12333
12356
|
return cwd === null && (cwd = process.cwd()), cwd;
|
|
12334
12357
|
},
|
|
12335
12358
|
getCwd() {
|
|
12359
|
+
if (filePath === null) throw Error("Cannot call `context.getCwd` in `createOnce`");
|
|
12336
12360
|
return cwd === null && (cwd = process.cwd()), cwd;
|
|
12337
12361
|
},
|
|
12338
12362
|
get sourceCode() {
|
package/dist/plugins.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as loadPlugin, c as getErrorMessage, d as setOptions, n as lintFile } from "./lint.js";
|
|
2
|
-
function
|
|
2
|
+
function setupRuleConfigs(optionsJSON) {
|
|
3
3
|
try {
|
|
4
4
|
return setOptions(optionsJSON), null;
|
|
5
5
|
} catch (err) {
|
|
6
6
|
return getErrorMessage(err);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export { lintFile, loadPlugin,
|
|
9
|
+
export { lintFile, loadPlugin, setupRuleConfigs };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"description": "Linter for the JavaScript Oxidation Compiler",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://oxc.rs",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
"node": "^20.19.0 || >=22.12.0"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@oxlint/win32-x64": "1.
|
|
35
|
-
"@oxlint/win32-arm64": "1.
|
|
36
|
-
"@oxlint/linux-x64-gnu": "1.
|
|
37
|
-
"@oxlint/linux-arm64-gnu": "1.
|
|
38
|
-
"@oxlint/linux-x64-musl": "1.
|
|
39
|
-
"@oxlint/linux-arm64-musl": "1.
|
|
40
|
-
"@oxlint/darwin-x64": "1.
|
|
41
|
-
"@oxlint/darwin-arm64": "1.
|
|
34
|
+
"@oxlint/win32-x64": "1.40.0",
|
|
35
|
+
"@oxlint/win32-arm64": "1.40.0",
|
|
36
|
+
"@oxlint/linux-x64-gnu": "1.40.0",
|
|
37
|
+
"@oxlint/linux-arm64-gnu": "1.40.0",
|
|
38
|
+
"@oxlint/linux-x64-musl": "1.40.0",
|
|
39
|
+
"@oxlint/linux-arm64-musl": "1.40.0",
|
|
40
|
+
"@oxlint/darwin-x64": "1.40.0",
|
|
41
|
+
"@oxlint/darwin-arm64": "1.40.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"oxlint-tsgolint": ">=0.
|
|
44
|
+
"oxlint-tsgolint": ">=0.11.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"oxlint-tsgolint": {
|