eslint-plugin-sdl-2 1.0.6 → 1.1.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/dist/_internal/create-rule.d.ts.map +1 -1
- package/dist/_internal/create-rule.js +1 -2
- package/dist/_internal/create-rule.js.map +1 -1
- package/dist/_internal/script-element.d.ts.map +1 -1
- package/dist/_internal/script-element.js.map +1 -1
- package/dist/plugin.cjs +80 -74
- package/dist/plugin.cjs.map +2 -2
- package/dist/rules/no-angular-bypass-sanitizer.js.map +1 -1
- package/dist/rules/no-angular-bypass-security-trust-html.js.map +1 -1
- package/dist/rules/no-angular-innerhtml-binding.js.map +1 -1
- package/dist/rules/no-angular-sanitization-trusted-urls.d.ts.map +1 -1
- package/dist/rules/no-angular-sanitization-trusted-urls.js.map +1 -1
- package/dist/rules/no-angularjs-bypass-sce.js.map +1 -1
- package/dist/rules/no-angularjs-enable-svg.js.map +1 -1
- package/dist/rules/no-angularjs-ng-bind-html-without-sanitize.js.map +1 -1
- package/dist/rules/no-angularjs-sanitization-whitelist.d.ts.map +1 -1
- package/dist/rules/no-angularjs-sanitization-whitelist.js.map +1 -1
- package/dist/rules/no-angularjs-sce-resource-url-wildcard.js.map +1 -1
- package/dist/rules/no-child-process-exec.js.map +1 -1
- package/dist/rules/no-child-process-shell-true.js.map +1 -1
- package/dist/rules/no-document-execcommand-insert-html.js.map +1 -1
- package/dist/rules/no-document-parse-html-unsafe.js.map +1 -1
- package/dist/rules/no-domparser-html-without-sanitization.js.map +1 -1
- package/dist/rules/no-domparser-svg-without-sanitization.js.map +1 -1
- package/dist/rules/no-dynamic-import-unsafe-url.js.map +1 -1
- package/dist/rules/no-electron-allow-running-insecure-content.js.map +1 -1
- package/dist/rules/no-electron-dangerous-blink-features.js.map +1 -1
- package/dist/rules/no-electron-disable-context-isolation.js.map +1 -1
- package/dist/rules/no-electron-disable-sandbox.js.map +1 -1
- package/dist/rules/no-electron-disable-web-security.js.map +1 -1
- package/dist/rules/no-electron-enable-remote-module.js.map +1 -1
- package/dist/rules/no-electron-enable-webview-tag.js.map +1 -1
- package/dist/rules/no-electron-experimental-features.js.map +1 -1
- package/dist/rules/no-electron-expose-raw-ipc-renderer.js.map +1 -1
- package/dist/rules/no-electron-insecure-certificate-error-handler.js.map +1 -1
- package/dist/rules/no-electron-insecure-certificate-verify-proc.js.map +1 -1
- package/dist/rules/no-electron-insecure-permission-request-handler.js.map +1 -1
- package/dist/rules/no-electron-node-integration.js.map +1 -1
- package/dist/rules/no-electron-permission-check-handler-allow-all.js.map +1 -1
- package/dist/rules/no-electron-unchecked-ipc-sender.js.map +1 -1
- package/dist/rules/no-electron-unrestricted-navigation.js.map +1 -1
- package/dist/rules/no-electron-untrusted-open-external.js.map +1 -1
- package/dist/rules/no-electron-webview-allowpopups.js.map +1 -1
- package/dist/rules/no-electron-webview-insecure-webpreferences.js.map +1 -1
- package/dist/rules/no-electron-webview-node-integration.js.map +1 -1
- package/dist/rules/no-html-method.js.map +1 -1
- package/dist/rules/no-http-request-to-insecure-protocol.js.map +1 -1
- package/dist/rules/no-iframe-srcdoc.js.map +1 -1
- package/dist/rules/no-insecure-tls-agent-options.js.map +1 -1
- package/dist/rules/no-location-javascript-url.js.map +1 -1
- package/dist/rules/no-message-event-without-origin-check.js.map +1 -1
- package/dist/rules/no-msapp-exec-unsafe.js.map +1 -1
- package/dist/rules/no-node-tls-check-server-identity-bypass.js.map +1 -1
- package/dist/rules/no-node-tls-legacy-protocol.js.map +1 -1
- package/dist/rules/no-node-tls-reject-unauthorized-zero.js.map +1 -1
- package/dist/rules/no-node-tls-security-level-zero.js.map +1 -1
- package/dist/rules/no-node-vm-run-in-context.js.map +1 -1
- package/dist/rules/no-node-vm-source-text-module.js.map +1 -1
- package/dist/rules/no-node-worker-threads-eval.js.map +1 -1
- package/dist/rules/no-nonnull-assertion-on-security-input.js.map +1 -1
- package/dist/rules/no-postmessage-star-origin.js.map +1 -1
- package/dist/rules/no-postmessage-without-origin-allowlist.js.map +1 -1
- package/dist/rules/no-range-create-contextual-fragment.js.map +1 -1
- package/dist/rules/no-script-src-data-url.js.map +1 -1
- package/dist/rules/no-script-text.js.map +1 -1
- package/dist/rules/no-service-worker-unsafe-script-url.js.map +1 -1
- package/dist/rules/no-set-html-unsafe.js.map +1 -1
- package/dist/rules/no-trusted-types-policy-pass-through.js.map +1 -1
- package/dist/rules/no-unsafe-alloc.js.map +1 -1
- package/dist/rules/no-unsafe-cast-to-trusted-types.js.map +1 -1
- package/dist/rules/no-window-open-without-noopener.js.map +1 -1
- package/dist/rules/no-winjs-html-unsafe.js.map +1 -1
- package/dist/rules/no-worker-blob-url.js.map +1 -1
- package/dist/rules/no-worker-data-url.js.map +1 -1
- package/package.json +79 -70
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rule.d.ts","sourceRoot":"","sources":["../../src/_internal/create-rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,KAAK,WAAW,GAAG,QAAQ,CAAC,gBAAgB,GAAG;IAC3C,WAAW,EAAE,OAAO,CAAC;CACxB,CAAC;AAKF,+DAA+D;AAC/D,eAAO,MAAM,UAAU,EAAE,UAAU,CAC/B,OAAO,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"create-rule.d.ts","sourceRoot":"","sources":["../../src/_internal/create-rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,KAAK,WAAW,GAAG,QAAQ,CAAC,gBAAgB,GAAG;IAC3C,WAAW,EAAE,OAAO,CAAC;CACxB,CAAC;AAKF,+DAA+D;AAC/D,eAAO,MAAM,UAAU,EAAE,UAAU,CAC/B,OAAO,WAAW,CAAC,WAAW,CAAC,WAAW,CAAC,CAC6B,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
|
2
2
|
const docsBaseUrl = "https://nick2bad4u.github.io/eslint-plugin-SDL-2/docs/rules";
|
|
3
3
|
/** Shared SDL rule helper that injects canonical docs URLs. */
|
|
4
|
-
export const createRule = ESLintUtils.RuleCreator(
|
|
5
|
-
(name) => `${docsBaseUrl}/${name}`);
|
|
4
|
+
export const createRule = ESLintUtils.RuleCreator((name) => `${docsBaseUrl}/${name}`);
|
|
6
5
|
//# sourceMappingURL=create-rule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rule.js","sourceRoot":"","sources":["../../src/_internal/create-rule.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAMvD,MAAM,WAAW,GACb,6DAA6D,CAAC;AAElE,+DAA+D;AAC/D,MAAM,CAAC,MAAM,UAAU,GAEnB,WAAW,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"create-rule.js","sourceRoot":"","sources":["../../src/_internal/create-rule.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAMvD,MAAM,WAAW,GACb,6DAA6D,CAAC;AAElE,+DAA+D;AAC/D,MAAM,CAAC,MAAM,UAAU,GAEnB,WAAW,CAAC,WAAW,CAAc,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,WAAW,IAAI,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"script-element.d.ts","sourceRoot":"","sources":["../../src/_internal/script-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"script-element.d.ts","sourceRoot":"","sources":["../../src/_internal/script-element.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAE,KAAK,kBAAkB,EAAuB,MAAM,gBAAgB,CAAC;AAG9E,uEAAuE;AACvE,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAgC3E,2EAA2E;AAC3E,eAAO,MAAM,qBAAqB,GAC9B,MAAM,QAAQ,CAAC,IAAI,EACnB,SAAS,mBAAmB,EAC5B,iBAAiB,UAAU,CAAC,OAAO,kBAAkB,CAAC,KACvD,OA4BF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"script-element.js","sourceRoot":"","sources":["../../src/_internal/script-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"script-element.js","sourceRoot":"","sources":["../../src/_internal/script-element.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAKhF,MAAM,4BAA4B,GAAG,CAAC,cAAsB,EAAW,EAAE,CACrE,cAAc,KAAK,eAAe;IAClC,cAAc,KAAK,QAAQ;IAC3B,cAAc,KAAK,eAAe;IAClC,cAAc,CAAC,QAAQ,CAAC,QAAQ,CAAC;IACjC,cAAc,CAAC,QAAQ,CAAC,eAAe,CAAC;IACxC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC;IAClC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAE/C,MAAM,yBAAyB,GAAG,CAAC,IAAmB,EAAW,EAAE;IAC/D,IACI,IAAI,CAAC,IAAI,KAAK,gBAAgB;QAC9B,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,kBAAkB,EACzC,CAAC;QACC,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,IAAI,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,eAAe,EAAE,CAAC;QACzD,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;IAEvC,OAAO,CACH,aAAa,KAAK,SAAS;QAC3B,aAAa,CAAC,IAAI,KAAK,eAAe;QACtC,oBAAoB,CAAC,aAAa,CAAC,KAAK,QAAQ,CACnD,CAAC;AACN,CAAC,CAAC;AAEF,2EAA2E;AAC3E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACjC,IAAmB,EACnB,OAA4B,EAC5B,eAAsD,EAC/C,EAAE;IACT,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,mBAAmB,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAErE,IAAI,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QAChB,CAAC;IACL,CAAC;IAED,IAAI,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,IAAI,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;QAC7B,OAAO,4BAA4B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,IAAI,CAAC,IAAI,KAAK,kBAAkB,EAAE,CAAC;QACnC,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,YAAY,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACH,OAAO,YAAY,KAAK,QAAQ;QAChC,CAAC,YAAY,KAAK,eAAe;YAC7B,4BAA4B,CAAC,YAAY,CAAC,CAAC,CAClD,CAAC;AACN,CAAC,CAAC"}
|
package/dist/plugin.cjs
CHANGED
|
@@ -42,7 +42,7 @@ var import_eslint_plugin_security = __toESM(require("eslint-plugin-security"), 1
|
|
|
42
42
|
var package_default = {
|
|
43
43
|
$schema: "https://www.schemastore.org/package.json",
|
|
44
44
|
name: "eslint-plugin-sdl-2",
|
|
45
|
-
version: "1.0
|
|
45
|
+
version: "1.1.0",
|
|
46
46
|
private: false,
|
|
47
47
|
description: "ESLint plugin providing SDL-focused security and platform hardening rules.",
|
|
48
48
|
keywords: [
|
|
@@ -172,8 +172,8 @@ var package_default = {
|
|
|
172
172
|
"lint:compat:eslint9": "node scripts/eslint9-compat-smoke.mjs",
|
|
173
173
|
"lint:config:build": "npm run build:eslint-inspector",
|
|
174
174
|
"lint:config:inspect": "npx eslint --inspect-config",
|
|
175
|
-
"lint:css": 'stylelint --cache --config stylelint.config.mjs --cache-strategy content --cache-location .cache/stylelintcache src/ docs/ --custom-formatter stylelint-formatter-pretty && echo "Stylelint done!"',
|
|
176
|
-
"lint:css:fix": 'stylelint --cache --config stylelint.config.mjs --cache-strategy content --cache-location .cache/stylelintcache src/ docs/ --custom-formatter stylelint-formatter-pretty --fix && echo "Stylelint done!"',
|
|
175
|
+
"lint:css": 'stylelint --cache --config stylelint.config.mjs --cache-strategy content --cache-location .cache/stylelintcache --ignore-pattern "docs/docusaurus/static/stylelint-inspector/**" --ignore-pattern "docs/docusaurus/static/eslint-inspector/**" src/ docs/ --custom-formatter stylelint-formatter-pretty && echo "Stylelint done!"',
|
|
176
|
+
"lint:css:fix": 'stylelint --cache --config stylelint.config.mjs --cache-strategy content --cache-location .cache/stylelintcache --ignore-pattern "docs/docusaurus/static/stylelint-inspector/**" --ignore-pattern "docs/docusaurus/static/eslint-inspector/**" src/ docs/ --custom-formatter stylelint-formatter-pretty --fix && echo "Stylelint done!"',
|
|
177
177
|
"lint:depcheck": "depcheck",
|
|
178
178
|
"lint:deps": "depcheck && npm run knip",
|
|
179
179
|
"lint:dupes": "jscpd src/ --config jscpd.json",
|
|
@@ -258,50 +258,50 @@ var package_default = {
|
|
|
258
258
|
"jsonc-eslint-parser": "$jsonc-eslint-parser"
|
|
259
259
|
},
|
|
260
260
|
dependencies: {
|
|
261
|
-
"@typescript-eslint/parser": "^8.
|
|
262
|
-
"@typescript-eslint/type-utils": "^8.
|
|
263
|
-
"@typescript-eslint/utils": "^8.
|
|
264
|
-
"ts-extras": "^0.
|
|
265
|
-
"type-fest": "^5.
|
|
261
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
262
|
+
"@typescript-eslint/type-utils": "^8.59.0",
|
|
263
|
+
"@typescript-eslint/utils": "^8.59.0",
|
|
264
|
+
"ts-extras": "^1.0.0",
|
|
265
|
+
"type-fest": "^5.6.0"
|
|
266
266
|
},
|
|
267
267
|
devDependencies: {
|
|
268
268
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
269
269
|
"@csstools/stylelint-formatter-github": "^2.0.0",
|
|
270
|
-
"@docusaurus/eslint-plugin": "^3.
|
|
270
|
+
"@docusaurus/eslint-plugin": "^3.10.0",
|
|
271
271
|
"@double-great/remark-lint-alt-text": "^1.1.1",
|
|
272
|
-
"@double-great/stylelint-a11y": "^3.4.
|
|
272
|
+
"@double-great/stylelint-a11y": "^3.4.10",
|
|
273
273
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
|
|
274
274
|
"@eslint-react/eslint-plugin": "^4.2.3",
|
|
275
|
-
"@eslint/compat": "^2.0.
|
|
276
|
-
"@eslint/config-helpers": "^0.5.
|
|
277
|
-
"@eslint/config-inspector": "^
|
|
275
|
+
"@eslint/compat": "^2.0.5",
|
|
276
|
+
"@eslint/config-helpers": "^0.5.5",
|
|
277
|
+
"@eslint/config-inspector": "^2.0.0",
|
|
278
278
|
"@eslint/css": "^1.1.0",
|
|
279
279
|
"@eslint/js": "^10.0.1",
|
|
280
280
|
"@eslint/json": "^1.2.0",
|
|
281
281
|
"@eslint/markdown": "^8.0.1",
|
|
282
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
283
|
-
"@html-eslint/parser": "^0.
|
|
282
|
+
"@html-eslint/eslint-plugin": "^0.59.0",
|
|
283
|
+
"@html-eslint/parser": "^0.59.0",
|
|
284
284
|
"@microsoft/eslint-plugin-sdl": "^1.1.0",
|
|
285
285
|
"@microsoft/tsdoc-config": "^0.18.1",
|
|
286
|
-
"@secretlint/secretlint-rule-anthropic": "^
|
|
287
|
-
"@secretlint/secretlint-rule-aws": "^
|
|
288
|
-
"@secretlint/secretlint-rule-database-connection-string": "^
|
|
289
|
-
"@secretlint/secretlint-rule-gcp": "^
|
|
290
|
-
"@secretlint/secretlint-rule-github": "^
|
|
291
|
-
"@secretlint/secretlint-rule-no-dotenv": "^
|
|
292
|
-
"@secretlint/secretlint-rule-no-homedir": "^
|
|
293
|
-
"@secretlint/secretlint-rule-npm": "^
|
|
294
|
-
"@secretlint/secretlint-rule-openai": "^
|
|
295
|
-
"@secretlint/secretlint-rule-pattern": "^
|
|
296
|
-
"@secretlint/secretlint-rule-preset-recommend": "^
|
|
297
|
-
"@secretlint/secretlint-rule-privatekey": "^
|
|
298
|
-
"@secretlint/secretlint-rule-secp256k1-privatekey": "^
|
|
299
|
-
"@secretlint/types": "^
|
|
286
|
+
"@secretlint/secretlint-rule-anthropic": "^12.2.0",
|
|
287
|
+
"@secretlint/secretlint-rule-aws": "^12.2.0",
|
|
288
|
+
"@secretlint/secretlint-rule-database-connection-string": "^12.2.0",
|
|
289
|
+
"@secretlint/secretlint-rule-gcp": "^12.2.0",
|
|
290
|
+
"@secretlint/secretlint-rule-github": "^12.2.0",
|
|
291
|
+
"@secretlint/secretlint-rule-no-dotenv": "^12.2.0",
|
|
292
|
+
"@secretlint/secretlint-rule-no-homedir": "^12.2.0",
|
|
293
|
+
"@secretlint/secretlint-rule-npm": "^12.2.0",
|
|
294
|
+
"@secretlint/secretlint-rule-openai": "^12.2.0",
|
|
295
|
+
"@secretlint/secretlint-rule-pattern": "^12.2.0",
|
|
296
|
+
"@secretlint/secretlint-rule-preset-recommend": "^12.2.0",
|
|
297
|
+
"@secretlint/secretlint-rule-privatekey": "^12.2.0",
|
|
298
|
+
"@secretlint/secretlint-rule-secp256k1-privatekey": "^12.2.0",
|
|
299
|
+
"@secretlint/types": "^12.2.0",
|
|
300
300
|
"@softonus/prettier-plugin-duplicate-remover": "^1.1.2",
|
|
301
301
|
"@stryker-ignorer/console-all": "^0.3.2",
|
|
302
|
-
"@stryker-mutator/core": "^9.6.
|
|
303
|
-
"@stryker-mutator/typescript-checker": "^9.6.
|
|
304
|
-
"@stryker-mutator/vitest-runner": "^9.6.
|
|
302
|
+
"@stryker-mutator/core": "^9.6.1",
|
|
303
|
+
"@stryker-mutator/typescript-checker": "^9.6.1",
|
|
304
|
+
"@stryker-mutator/vitest-runner": "^9.6.1",
|
|
305
305
|
"@stylelint-types/stylelint-order": "^7.0.1",
|
|
306
306
|
"@stylelint-types/stylelint-stylistic": "^5.0.0",
|
|
307
307
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
@@ -310,7 +310,7 @@ var package_default = {
|
|
|
310
310
|
"@types/eslint-plugin-security": "^3.0.1",
|
|
311
311
|
"@types/htmlhint": "^1.1.5",
|
|
312
312
|
"@types/madge": "^5.0.3",
|
|
313
|
-
"@types/node": "^25.
|
|
313
|
+
"@types/node": "^25.6.0",
|
|
314
314
|
"@types/postcss-clamp": "^4.1.3",
|
|
315
315
|
"@types/postcss-flexbugs-fixes": "^5.0.3",
|
|
316
316
|
"@types/postcss-html": "^1.5.3",
|
|
@@ -319,11 +319,12 @@ var package_default = {
|
|
|
319
319
|
"@types/postcss-normalize": "^9.0.4",
|
|
320
320
|
"@types/postcss-reporter": "^7.0.5",
|
|
321
321
|
"@types/sloc": "^0.2.3",
|
|
322
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
323
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
324
|
-
"@
|
|
325
|
-
"@vitest/
|
|
326
|
-
"@vitest/
|
|
322
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
323
|
+
"@typescript-eslint/rule-tester": "^8.59.0",
|
|
324
|
+
"@typpi/eslint-plugin-vite": "^1.0.13",
|
|
325
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
326
|
+
"@vitest/eslint-plugin": "^1.6.16",
|
|
327
|
+
"@vitest/ui": "^4.1.5",
|
|
327
328
|
actionlint: "^2.0.6",
|
|
328
329
|
"all-contributors-cli": "^6.26.1",
|
|
329
330
|
"cognitive-complexity-ts": "^0.8.1",
|
|
@@ -332,23 +333,27 @@ var package_default = {
|
|
|
332
333
|
"cross-env": "^10.1.0",
|
|
333
334
|
depcheck: "^1.4.7",
|
|
334
335
|
"detect-secrets": "^1.0.6",
|
|
335
|
-
eslint: "^10.2.
|
|
336
|
+
eslint: "^10.2.1",
|
|
336
337
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
337
338
|
"eslint-config-prettier": "^10.1.8",
|
|
338
339
|
"eslint-formatter-unix": "^9.0.1",
|
|
339
340
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
340
341
|
"eslint-plugin-array-func": "^5.1.1",
|
|
341
342
|
"eslint-plugin-canonical": "^5.1.3",
|
|
342
|
-
"eslint-plugin-case-police": "^2.2.
|
|
343
|
-
"eslint-plugin-comment-length": "^2.3.
|
|
343
|
+
"eslint-plugin-case-police": "^2.2.1",
|
|
344
|
+
"eslint-plugin-comment-length": "^2.3.1",
|
|
345
|
+
"eslint-plugin-copilot": "^1.0.8",
|
|
344
346
|
"eslint-plugin-css-modules": "^2.12.0",
|
|
345
347
|
"eslint-plugin-de-morgan": "^2.1.1",
|
|
346
348
|
"eslint-plugin-depend": "^1.5.0",
|
|
349
|
+
"eslint-plugin-docusaurus-2": "^0.2.0",
|
|
347
350
|
"eslint-plugin-eslint-plugin": "^7.3.2",
|
|
348
351
|
"eslint-plugin-etc": "^2.0.3",
|
|
349
|
-
"eslint-plugin-etc-misc": "^1.0.
|
|
350
|
-
"eslint-plugin-file-progress-2": "^
|
|
352
|
+
"eslint-plugin-etc-misc": "^1.0.8",
|
|
353
|
+
"eslint-plugin-file-progress-2": "^5.0.1",
|
|
354
|
+
"eslint-plugin-github-actions-2": "^1.1.0",
|
|
351
355
|
"eslint-plugin-html": "^8.1.4",
|
|
356
|
+
"eslint-plugin-immutable-2": "^1.0.10",
|
|
352
357
|
"eslint-plugin-import-x": "^4.16.2",
|
|
353
358
|
"eslint-plugin-jsdoc": "^62.9.0",
|
|
354
359
|
"eslint-plugin-jsonc": "^3.1.2",
|
|
@@ -359,7 +364,7 @@ var package_default = {
|
|
|
359
364
|
"eslint-plugin-module-interop": "^0.3.1",
|
|
360
365
|
"eslint-plugin-n": "^17.24.0",
|
|
361
366
|
"eslint-plugin-nitpick": "^0.12.0",
|
|
362
|
-
"eslint-plugin-no-barrel-files": "^1.
|
|
367
|
+
"eslint-plugin-no-barrel-files": "^1.3.1",
|
|
363
368
|
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
|
|
364
369
|
"eslint-plugin-no-function-declare-after-return": "^1.1.0",
|
|
365
370
|
"eslint-plugin-no-lookahead-lookbehind-regexp": "^0.4.0",
|
|
@@ -369,7 +374,7 @@ var package_default = {
|
|
|
369
374
|
"eslint-plugin-no-use-extend-native": "^0.7.2",
|
|
370
375
|
"eslint-plugin-node-dependencies": "^2.2.0",
|
|
371
376
|
"eslint-plugin-package-json": "^0.91.1",
|
|
372
|
-
"eslint-plugin-perfectionist": "^5.
|
|
377
|
+
"eslint-plugin-perfectionist": "^5.9.0",
|
|
373
378
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
374
379
|
"eslint-plugin-prettier": "^5.5.5",
|
|
375
380
|
"eslint-plugin-promise": "^7.2.1",
|
|
@@ -377,35 +382,38 @@ var package_default = {
|
|
|
377
382
|
"eslint-plugin-regexp": "^3.1.0",
|
|
378
383
|
"eslint-plugin-require-jsdoc": "^1.0.4",
|
|
379
384
|
"eslint-plugin-security": "^4.0.0",
|
|
380
|
-
"eslint-plugin-sonarjs": "^4.0.
|
|
385
|
+
"eslint-plugin-sonarjs": "^4.0.3",
|
|
381
386
|
"eslint-plugin-sort-class-members": "^1.22.1",
|
|
387
|
+
"eslint-plugin-stylelint-2": "^1.1.0",
|
|
382
388
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
383
389
|
"eslint-plugin-toml": "^1.3.1",
|
|
384
390
|
"eslint-plugin-total-functions": "^7.1.0",
|
|
385
391
|
"eslint-plugin-tsdoc": "^0.5.2",
|
|
386
|
-
"eslint-plugin-tsdoc-require-2": "^1.0
|
|
387
|
-
"eslint-plugin-
|
|
392
|
+
"eslint-plugin-tsdoc-require-2": "^1.1.0",
|
|
393
|
+
"eslint-plugin-typedoc": "^1.2.0",
|
|
394
|
+
"eslint-plugin-typefest": "^1.2.4",
|
|
388
395
|
"eslint-plugin-undefined-css-classes": "^0.1.5",
|
|
389
396
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
390
397
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
391
398
|
"eslint-plugin-write-good-comments": "^0.2.0",
|
|
399
|
+
"eslint-plugin-write-good-comments-2": "^1.0.6",
|
|
392
400
|
"eslint-plugin-yml": "^3.3.1",
|
|
393
401
|
"eslint-rule-benchmark": "^0.8.0",
|
|
394
|
-
"fast-check": "^4.
|
|
402
|
+
"fast-check": "^4.7.0",
|
|
395
403
|
"git-cliff": "^2.12.0",
|
|
396
404
|
"gitleaks-secret-scanner": "^2.1.1",
|
|
397
|
-
globals: "^17.
|
|
405
|
+
globals: "^17.5.0",
|
|
398
406
|
htmlhint: "^1.9.2",
|
|
399
|
-
jscpd: "^4.0.
|
|
407
|
+
jscpd: "^4.0.9",
|
|
400
408
|
"jsonc-eslint-parser": "^3.1.0",
|
|
401
|
-
knip: "^6.
|
|
409
|
+
knip: "^6.6.1",
|
|
402
410
|
leasot: "^14.4.0",
|
|
403
411
|
madge: "^8.0.0",
|
|
404
412
|
"markdown-link-check": "^3.14.2",
|
|
405
|
-
"npm-check-updates": "^
|
|
406
|
-
"npm-package-json-lint": "^10.2.
|
|
413
|
+
"npm-check-updates": "^21.0.3",
|
|
414
|
+
"npm-package-json-lint": "^10.2.1",
|
|
407
415
|
picocolors: "^1.1.1",
|
|
408
|
-
postcss: "^8.5.
|
|
416
|
+
postcss: "^8.5.10",
|
|
409
417
|
"postcss-assets": "^6.0.0",
|
|
410
418
|
"postcss-clamp": "^4.1.0",
|
|
411
419
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
@@ -418,17 +426,17 @@ var package_default = {
|
|
|
418
426
|
"postcss-reporter": "^7.1.0",
|
|
419
427
|
"postcss-round-subpixels": "^2.0.0",
|
|
420
428
|
"postcss-scss": "^4.0.9",
|
|
421
|
-
"postcss-sort-media-queries": "^6.
|
|
429
|
+
"postcss-sort-media-queries": "^6.5.0",
|
|
422
430
|
"postcss-styled-jsx": "^1.0.1",
|
|
423
431
|
"postcss-styled-syntax": "^0.7.1",
|
|
424
432
|
"postcss-viewport-height-correction": "^1.1.1",
|
|
425
|
-
prettier: "^3.8.
|
|
433
|
+
prettier: "^3.8.3",
|
|
426
434
|
"prettier-plugin-ini": "^1.3.0",
|
|
427
435
|
"prettier-plugin-interpolated-html-tags": "^2.0.1",
|
|
428
436
|
"prettier-plugin-jsdoc": "^1.8.0",
|
|
429
437
|
"prettier-plugin-jsdoc-type": "^0.2.0",
|
|
430
438
|
"prettier-plugin-merge": "^0.10.1",
|
|
431
|
-
"prettier-plugin-multiline-arrays": "^4.1.
|
|
439
|
+
"prettier-plugin-multiline-arrays": "^4.1.7",
|
|
432
440
|
"prettier-plugin-packagejson": "^3.0.2",
|
|
433
441
|
"prettier-plugin-properties": "^0.3.1",
|
|
434
442
|
"prettier-plugin-sort-json": "^4.2.0",
|
|
@@ -542,16 +550,16 @@ var package_default = {
|
|
|
542
550
|
"remark-validate-links": "^13.1.0",
|
|
543
551
|
"remark-wiki-link": "^2.0.1",
|
|
544
552
|
rimraf: "^6.1.3",
|
|
545
|
-
secretlint: "^
|
|
553
|
+
secretlint: "^12.2.0",
|
|
546
554
|
sloc: "^0.3.2",
|
|
547
555
|
"sort-package-json": "^3.6.1",
|
|
548
|
-
stylelint: "^17.
|
|
556
|
+
stylelint: "^17.8.0",
|
|
549
557
|
"stylelint-actions-formatters": "^16.3.1",
|
|
550
558
|
"stylelint-checkstyle-formatter": "^0.1.2",
|
|
551
559
|
"stylelint-codeframe-formatter": "^1.2.0",
|
|
552
560
|
"stylelint-config-alphabetical-order": "^2.0.0",
|
|
553
561
|
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
554
|
-
"stylelint-config-inspector": "^2.
|
|
562
|
+
"stylelint-config-inspector": "^2.1.2",
|
|
555
563
|
"stylelint-config-recess-order": "^7.7.0",
|
|
556
564
|
"stylelint-config-recommended": "^18.0.0",
|
|
557
565
|
"stylelint-config-sass-guidelines": "^13.0.0",
|
|
@@ -560,7 +568,7 @@ var package_default = {
|
|
|
560
568
|
"stylelint-config-tailwindcss": "^1.0.1",
|
|
561
569
|
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
|
|
562
570
|
"stylelint-declaration-strict-value": "^1.11.1",
|
|
563
|
-
"stylelint-define-config": "^17.
|
|
571
|
+
"stylelint-define-config": "^17.8.0",
|
|
564
572
|
"stylelint-find-new-rules": "^6.0.0",
|
|
565
573
|
"stylelint-formatter-gitlab-code-quality-report": "^1.1.0",
|
|
566
574
|
"stylelint-formatter-pretty": "^4.0.1",
|
|
@@ -574,7 +582,8 @@ var package_default = {
|
|
|
574
582
|
"stylelint-no-unresolved-module": "^2.5.2",
|
|
575
583
|
"stylelint-no-unsupported-browser-features": "^8.1.1",
|
|
576
584
|
"stylelint-order": "^8.1.1",
|
|
577
|
-
"stylelint-plugin-defensive-css": "^2.
|
|
585
|
+
"stylelint-plugin-defensive-css": "^2.9.1",
|
|
586
|
+
"stylelint-plugin-docusaurus": "^1.0.3",
|
|
578
587
|
"stylelint-plugin-logical-css": "^2.1.0",
|
|
579
588
|
"stylelint-plugin-use-baseline": "^1.4.1",
|
|
580
589
|
"stylelint-prettier": "^5.0.3",
|
|
@@ -585,22 +594,22 @@ var package_default = {
|
|
|
585
594
|
"stylelint-value-no-unknown-custom-properties": "^6.1.1",
|
|
586
595
|
"toml-eslint-parser": "^1.0.3",
|
|
587
596
|
"ts-unused-exports": "^11.0.1",
|
|
588
|
-
typedoc: "^0.28.
|
|
589
|
-
typescript: "^6.0.
|
|
590
|
-
"typescript-eslint": "^8.
|
|
597
|
+
typedoc: "^0.28.19",
|
|
598
|
+
typescript: "^6.0.3",
|
|
599
|
+
"typescript-eslint": "^8.59.0",
|
|
591
600
|
typesync: "^0.14.3",
|
|
592
601
|
vfile: "^6.0.3",
|
|
593
|
-
vite: "^8.0.
|
|
602
|
+
vite: "^8.0.9",
|
|
594
603
|
"vite-tsconfig-paths": "^6.1.1",
|
|
595
|
-
vitest: "^4.1.
|
|
604
|
+
vitest: "^4.1.5",
|
|
596
605
|
"yaml-eslint-parser": "^2.0.0",
|
|
597
606
|
"yamllint-js": "^0.2.4"
|
|
598
607
|
},
|
|
599
608
|
peerDependencies: {
|
|
600
|
-
eslint: "^9.0.0 || ^10.2.
|
|
609
|
+
eslint: "^9.0.0 || ^10.2.1",
|
|
601
610
|
typescript: ">=5.0.0"
|
|
602
611
|
},
|
|
603
|
-
packageManager: "npm@11.
|
|
612
|
+
packageManager: "npm@11.13.0",
|
|
604
613
|
engines: {
|
|
605
614
|
node: ">=20.19.0"
|
|
606
615
|
},
|
|
@@ -626,10 +635,7 @@ var package_default = {
|
|
|
626
635
|
// dist/_internal/create-rule.js
|
|
627
636
|
var import_utils = require("@typescript-eslint/utils");
|
|
628
637
|
var docsBaseUrl = "https://nick2bad4u.github.io/eslint-plugin-SDL-2/docs/rules";
|
|
629
|
-
var createRule = import_utils.ESLintUtils.RuleCreator(
|
|
630
|
-
// eslint-disable-line total-functions/no-hidden-type-assertions -- RuleCreator must be specialized with plugin docs metadata so `meta.docs.recommended` is strongly typed.
|
|
631
|
-
(name) => `${docsBaseUrl}/${name}`
|
|
632
|
-
);
|
|
638
|
+
var createRule = import_utils.ESLintUtils.RuleCreator((name) => `${docsBaseUrl}/${name}`);
|
|
633
639
|
|
|
634
640
|
// dist/rules/no-angular-bypass-sanitizer.js
|
|
635
641
|
var rule = createRule({
|