eslint-plugin-sdl-2 1.2.2 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/dist/_internal/ast-utils.d.ts.map +1 -1
  2. package/dist/_internal/ast-utils.js +9 -8
  3. package/dist/_internal/ast-utils.js.map +1 -1
  4. package/dist/_internal/create-rule.d.ts +3 -1
  5. package/dist/_internal/create-rule.d.ts.map +1 -1
  6. package/dist/_internal/create-rule.js +5 -1
  7. package/dist/_internal/create-rule.js.map +1 -1
  8. package/dist/_internal/domparser.d.ts.map +1 -1
  9. package/dist/_internal/domparser.js +8 -7
  10. package/dist/_internal/domparser.js.map +1 -1
  11. package/dist/_internal/electron-web-preferences.d.ts.map +1 -1
  12. package/dist/_internal/electron-web-preferences.js +12 -10
  13. package/dist/_internal/electron-web-preferences.js.map +1 -1
  14. package/dist/_internal/estree-utils.d.ts.map +1 -1
  15. package/dist/_internal/estree-utils.js +17 -15
  16. package/dist/_internal/estree-utils.js.map +1 -1
  17. package/dist/_internal/node-tls-config.d.ts.map +1 -1
  18. package/dist/_internal/node-tls-config.js +9 -8
  19. package/dist/_internal/node-tls-config.js.map +1 -1
  20. package/dist/_internal/rules-registry.d.ts.map +1 -1
  21. package/dist/_internal/rules-registry.js +142 -143
  22. package/dist/_internal/rules-registry.js.map +1 -1
  23. package/dist/_internal/script-element.d.ts.map +1 -1
  24. package/dist/_internal/script-element.js +6 -5
  25. package/dist/_internal/script-element.js.map +1 -1
  26. package/dist/_internal/worker-code-loading.d.ts.map +1 -1
  27. package/dist/_internal/worker-code-loading.js +18 -17
  28. package/dist/_internal/worker-code-loading.js.map +1 -1
  29. package/dist/plugin.cjs +579 -497
  30. package/dist/plugin.cjs.map +4 -4
  31. package/dist/plugin.d.ts.map +1 -1
  32. package/dist/plugin.js +38 -21
  33. package/dist/plugin.js.map +1 -1
  34. package/dist/rules/no-angular-bypass-security-trust-html.d.ts.map +1 -1
  35. package/dist/rules/no-angular-bypass-security-trust-html.js +4 -3
  36. package/dist/rules/no-angular-bypass-security-trust-html.js.map +1 -1
  37. package/dist/rules/no-angular-innerhtml-binding.js +1 -1
  38. package/dist/rules/no-angularjs-bypass-sce.d.ts.map +1 -1
  39. package/dist/rules/no-angularjs-bypass-sce.js +5 -4
  40. package/dist/rules/no-angularjs-bypass-sce.js.map +1 -1
  41. package/dist/rules/no-angularjs-enable-svg.d.ts.map +1 -1
  42. package/dist/rules/no-angularjs-enable-svg.js +2 -1
  43. package/dist/rules/no-angularjs-enable-svg.js.map +1 -1
  44. package/dist/rules/no-angularjs-ng-bind-html-without-sanitize.js +2 -2
  45. package/dist/rules/no-angularjs-sce-resource-url-wildcard.d.ts.map +1 -1
  46. package/dist/rules/no-angularjs-sce-resource-url-wildcard.js +8 -7
  47. package/dist/rules/no-angularjs-sce-resource-url-wildcard.js.map +1 -1
  48. package/dist/rules/no-child-process-exec.d.ts.map +1 -1
  49. package/dist/rules/no-child-process-exec.js +21 -17
  50. package/dist/rules/no-child-process-exec.js.map +1 -1
  51. package/dist/rules/no-child-process-shell-true.d.ts.map +1 -1
  52. package/dist/rules/no-child-process-shell-true.js +12 -10
  53. package/dist/rules/no-child-process-shell-true.js.map +1 -1
  54. package/dist/rules/no-document-domain.d.ts.map +1 -1
  55. package/dist/rules/no-document-domain.js +2 -1
  56. package/dist/rules/no-document-domain.js.map +1 -1
  57. package/dist/rules/no-document-execcommand-insert-html.d.ts.map +1 -1
  58. package/dist/rules/no-document-execcommand-insert-html.js +4 -3
  59. package/dist/rules/no-document-execcommand-insert-html.js.map +1 -1
  60. package/dist/rules/no-document-parse-html-unsafe.d.ts.map +1 -1
  61. package/dist/rules/no-document-parse-html-unsafe.js +6 -5
  62. package/dist/rules/no-document-parse-html-unsafe.js.map +1 -1
  63. package/dist/rules/no-document-write.d.ts.map +1 -1
  64. package/dist/rules/no-document-write.js +2 -1
  65. package/dist/rules/no-document-write.js.map +1 -1
  66. package/dist/rules/no-domparser-html-without-sanitization.d.ts.map +1 -1
  67. package/dist/rules/no-domparser-html-without-sanitization.js +3 -2
  68. package/dist/rules/no-domparser-html-without-sanitization.js.map +1 -1
  69. package/dist/rules/no-domparser-svg-without-sanitization.d.ts.map +1 -1
  70. package/dist/rules/no-domparser-svg-without-sanitization.js +3 -2
  71. package/dist/rules/no-domparser-svg-without-sanitization.js.map +1 -1
  72. package/dist/rules/no-dynamic-import-unsafe-url.js +1 -1
  73. package/dist/rules/no-electron-dangerous-blink-features.d.ts.map +1 -1
  74. package/dist/rules/no-electron-dangerous-blink-features.js +14 -11
  75. package/dist/rules/no-electron-dangerous-blink-features.js.map +1 -1
  76. package/dist/rules/no-electron-expose-raw-ipc-renderer.d.ts.map +1 -1
  77. package/dist/rules/no-electron-expose-raw-ipc-renderer.js +19 -18
  78. package/dist/rules/no-electron-expose-raw-ipc-renderer.js.map +1 -1
  79. package/dist/rules/no-electron-insecure-certificate-error-handler.d.ts.map +1 -1
  80. package/dist/rules/no-electron-insecure-certificate-error-handler.js +15 -9
  81. package/dist/rules/no-electron-insecure-certificate-error-handler.js.map +1 -1
  82. package/dist/rules/no-electron-insecure-certificate-verify-proc.d.ts.map +1 -1
  83. package/dist/rules/no-electron-insecure-certificate-verify-proc.js +12 -8
  84. package/dist/rules/no-electron-insecure-certificate-verify-proc.js.map +1 -1
  85. package/dist/rules/no-electron-insecure-permission-request-handler.d.ts.map +1 -1
  86. package/dist/rules/no-electron-insecure-permission-request-handler.js +12 -8
  87. package/dist/rules/no-electron-insecure-permission-request-handler.js.map +1 -1
  88. package/dist/rules/no-electron-permission-check-handler-allow-all.d.ts.map +1 -1
  89. package/dist/rules/no-electron-permission-check-handler-allow-all.js +8 -7
  90. package/dist/rules/no-electron-permission-check-handler-allow-all.js.map +1 -1
  91. package/dist/rules/no-electron-unchecked-ipc-sender.d.ts.map +1 -1
  92. package/dist/rules/no-electron-unchecked-ipc-sender.js +14 -10
  93. package/dist/rules/no-electron-unchecked-ipc-sender.js.map +1 -1
  94. package/dist/rules/no-electron-unrestricted-navigation.d.ts.map +1 -1
  95. package/dist/rules/no-electron-unrestricted-navigation.js +15 -11
  96. package/dist/rules/no-electron-unrestricted-navigation.js.map +1 -1
  97. package/dist/rules/no-electron-untrusted-open-external.d.ts.map +1 -1
  98. package/dist/rules/no-electron-untrusted-open-external.js +11 -9
  99. package/dist/rules/no-electron-untrusted-open-external.js.map +1 -1
  100. package/dist/rules/no-electron-webview-allowpopups.d.ts.map +1 -1
  101. package/dist/rules/no-electron-webview-allowpopups.js +7 -6
  102. package/dist/rules/no-electron-webview-allowpopups.js.map +1 -1
  103. package/dist/rules/no-electron-webview-insecure-webpreferences.d.ts.map +1 -1
  104. package/dist/rules/no-electron-webview-insecure-webpreferences.js +9 -8
  105. package/dist/rules/no-electron-webview-insecure-webpreferences.js.map +1 -1
  106. package/dist/rules/no-electron-webview-node-integration.d.ts.map +1 -1
  107. package/dist/rules/no-electron-webview-node-integration.js +9 -8
  108. package/dist/rules/no-electron-webview-node-integration.js.map +1 -1
  109. package/dist/rules/no-html-method.d.ts.map +1 -1
  110. package/dist/rules/no-html-method.js +3 -2
  111. package/dist/rules/no-html-method.js.map +1 -1
  112. package/dist/rules/no-http-request-to-insecure-protocol.d.ts.map +1 -1
  113. package/dist/rules/no-http-request-to-insecure-protocol.js +13 -10
  114. package/dist/rules/no-http-request-to-insecure-protocol.js.map +1 -1
  115. package/dist/rules/no-iframe-srcdoc.d.ts.map +1 -1
  116. package/dist/rules/no-iframe-srcdoc.js +13 -12
  117. package/dist/rules/no-iframe-srcdoc.js.map +1 -1
  118. package/dist/rules/no-inner-html.d.ts.map +1 -1
  119. package/dist/rules/no-inner-html.js +5 -4
  120. package/dist/rules/no-inner-html.js.map +1 -1
  121. package/dist/rules/no-insecure-random.d.ts.map +1 -1
  122. package/dist/rules/no-insecure-random.js +12 -10
  123. package/dist/rules/no-insecure-random.js.map +1 -1
  124. package/dist/rules/no-insecure-tls-agent-options.d.ts.map +1 -1
  125. package/dist/rules/no-insecure-tls-agent-options.js +10 -9
  126. package/dist/rules/no-insecure-tls-agent-options.js.map +1 -1
  127. package/dist/rules/no-insecure-url.d.ts.map +1 -1
  128. package/dist/rules/no-insecure-url.js +11 -10
  129. package/dist/rules/no-insecure-url.js.map +1 -1
  130. package/dist/rules/no-location-javascript-url.d.ts.map +1 -1
  131. package/dist/rules/no-location-javascript-url.js +11 -8
  132. package/dist/rules/no-location-javascript-url.js.map +1 -1
  133. package/dist/rules/no-message-event-without-origin-check.d.ts.map +1 -1
  134. package/dist/rules/no-message-event-without-origin-check.js +25 -29
  135. package/dist/rules/no-message-event-without-origin-check.js.map +1 -1
  136. package/dist/rules/no-node-tls-check-server-identity-bypass.d.ts.map +1 -1
  137. package/dist/rules/no-node-tls-check-server-identity-bypass.js +14 -13
  138. package/dist/rules/no-node-tls-check-server-identity-bypass.js.map +1 -1
  139. package/dist/rules/no-node-tls-legacy-protocol.d.ts.map +1 -1
  140. package/dist/rules/no-node-tls-legacy-protocol.js +6 -5
  141. package/dist/rules/no-node-tls-legacy-protocol.js.map +1 -1
  142. package/dist/rules/no-node-tls-reject-unauthorized-zero.d.ts.map +1 -1
  143. package/dist/rules/no-node-tls-reject-unauthorized-zero.js +11 -8
  144. package/dist/rules/no-node-tls-reject-unauthorized-zero.js.map +1 -1
  145. package/dist/rules/no-node-tls-security-level-zero.d.ts.map +1 -1
  146. package/dist/rules/no-node-tls-security-level-zero.js +6 -5
  147. package/dist/rules/no-node-tls-security-level-zero.js.map +1 -1
  148. package/dist/rules/no-node-vm-run-in-context.d.ts.map +1 -1
  149. package/dist/rules/no-node-vm-run-in-context.js +25 -21
  150. package/dist/rules/no-node-vm-run-in-context.js.map +1 -1
  151. package/dist/rules/no-node-vm-source-text-module.d.ts.map +1 -1
  152. package/dist/rules/no-node-vm-source-text-module.js +21 -17
  153. package/dist/rules/no-node-vm-source-text-module.js.map +1 -1
  154. package/dist/rules/no-node-worker-threads-eval.d.ts.map +1 -1
  155. package/dist/rules/no-node-worker-threads-eval.js +26 -21
  156. package/dist/rules/no-node-worker-threads-eval.js.map +1 -1
  157. package/dist/rules/no-nonnull-assertion-on-security-input.d.ts.map +1 -1
  158. package/dist/rules/no-nonnull-assertion-on-security-input.js +5 -4
  159. package/dist/rules/no-nonnull-assertion-on-security-input.js.map +1 -1
  160. package/dist/rules/no-postmessage-star-origin.d.ts.map +1 -1
  161. package/dist/rules/no-postmessage-star-origin.js +3 -2
  162. package/dist/rules/no-postmessage-star-origin.js.map +1 -1
  163. package/dist/rules/no-postmessage-without-origin-allowlist.d.ts.map +1 -1
  164. package/dist/rules/no-postmessage-without-origin-allowlist.js +10 -7
  165. package/dist/rules/no-postmessage-without-origin-allowlist.js.map +1 -1
  166. package/dist/rules/no-range-create-contextual-fragment.d.ts.map +1 -1
  167. package/dist/rules/no-range-create-contextual-fragment.js +8 -7
  168. package/dist/rules/no-range-create-contextual-fragment.js.map +1 -1
  169. package/dist/rules/no-script-src-data-url.d.ts.map +1 -1
  170. package/dist/rules/no-script-src-data-url.js +9 -8
  171. package/dist/rules/no-script-src-data-url.js.map +1 -1
  172. package/dist/rules/no-script-text.d.ts.map +1 -1
  173. package/dist/rules/no-script-text.js +2 -1
  174. package/dist/rules/no-script-text.js.map +1 -1
  175. package/dist/rules/no-service-worker-unsafe-script-url.d.ts.map +1 -1
  176. package/dist/rules/no-service-worker-unsafe-script-url.js +3 -2
  177. package/dist/rules/no-service-worker-unsafe-script-url.js.map +1 -1
  178. package/dist/rules/no-set-html-unsafe.d.ts.map +1 -1
  179. package/dist/rules/no-set-html-unsafe.js +3 -2
  180. package/dist/rules/no-set-html-unsafe.js.map +1 -1
  181. package/dist/rules/no-trusted-types-policy-pass-through.d.ts.map +1 -1
  182. package/dist/rules/no-trusted-types-policy-pass-through.js +19 -18
  183. package/dist/rules/no-trusted-types-policy-pass-through.js.map +1 -1
  184. package/dist/rules/no-unsafe-alloc.d.ts.map +1 -1
  185. package/dist/rules/no-unsafe-alloc.js +4 -3
  186. package/dist/rules/no-unsafe-alloc.js.map +1 -1
  187. package/dist/rules/no-unsafe-cast-to-trusted-types.d.ts.map +1 -1
  188. package/dist/rules/no-unsafe-cast-to-trusted-types.js +8 -7
  189. package/dist/rules/no-unsafe-cast-to-trusted-types.js.map +1 -1
  190. package/dist/rules/no-window-open-without-noopener.d.ts.map +1 -1
  191. package/dist/rules/no-window-open-without-noopener.js +10 -7
  192. package/dist/rules/no-window-open-without-noopener.js.map +1 -1
  193. package/dist/rules/no-worker-blob-url.d.ts.map +1 -1
  194. package/dist/rules/no-worker-blob-url.js +3 -2
  195. package/dist/rules/no-worker-blob-url.js.map +1 -1
  196. package/dist/rules/no-worker-data-url.d.ts.map +1 -1
  197. package/dist/rules/no-worker-data-url.js +3 -2
  198. package/dist/rules/no-worker-data-url.js.map +1 -1
  199. package/package.json +38 -39
@@ -1,148 +1,147 @@
1
- import noAngularBypassSanitizerRule from "../rules/no-angular-bypass-sanitizer.js";
2
- import noAngularBypassSecurityTrustHtmlRule from "../rules/no-angular-bypass-security-trust-html.js";
3
- import noAngularInnerhtmlBindingRule from "../rules/no-angular-innerhtml-binding.js";
4
- import noAngularSanitizationTrustedUrlsRule from "../rules/no-angular-sanitization-trusted-urls.js";
5
- import noAngularjsBypassSceRule from "../rules/no-angularjs-bypass-sce.js";
6
- import noAngularjsEnableSvgRule from "../rules/no-angularjs-enable-svg.js";
7
- import noAngularjsNgBindHtmlWithoutSanitizeRule from "../rules/no-angularjs-ng-bind-html-without-sanitize.js";
8
- import noAngularjsSanitizationWhitelistRule from "../rules/no-angularjs-sanitization-whitelist.js";
9
- import noAngularjsSceResourceUrlWildcardRule from "../rules/no-angularjs-sce-resource-url-wildcard.js";
10
- import noChildProcessExecRule from "../rules/no-child-process-exec.js";
11
- import noChildProcessShellTrueRule from "../rules/no-child-process-shell-true.js";
12
- import noCookiesRule from "../rules/no-cookies.js";
13
- import noDocumentDomainRule from "../rules/no-document-domain.js";
14
- import noDocumentExeccommandInsertHtmlRule from "../rules/no-document-execcommand-insert-html.js";
15
- import noDocumentParseHtmlUnsafeRule from "../rules/no-document-parse-html-unsafe.js";
16
- import noDocumentWriteRule from "../rules/no-document-write.js";
17
- import noDomparserHtmlWithoutSanitizationRule from "../rules/no-domparser-html-without-sanitization.js";
18
- import noDomparserSvgWithoutSanitizationRule from "../rules/no-domparser-svg-without-sanitization.js";
19
- import noDynamicImportUnsafeUrlRule from "../rules/no-dynamic-import-unsafe-url.js";
20
- import noElectronAllowRunningInsecureContentRule from "../rules/no-electron-allow-running-insecure-content.js";
21
- import noElectronDangerousBlinkFeaturesRule from "../rules/no-electron-dangerous-blink-features.js";
22
- import noElectronDisableContextIsolationRule from "../rules/no-electron-disable-context-isolation.js";
23
- import noElectronDisableSandboxRule from "../rules/no-electron-disable-sandbox.js";
24
- import noElectronDisableWebSecurityRule from "../rules/no-electron-disable-web-security.js";
25
- import noElectronEnableRemoteModuleRule from "../rules/no-electron-enable-remote-module.js";
26
- import noElectronEnableWebviewTagRule from "../rules/no-electron-enable-webview-tag.js";
27
- import noElectronExperimentalFeaturesRule from "../rules/no-electron-experimental-features.js";
28
- import noElectronExposeRawIpcRendererRule from "../rules/no-electron-expose-raw-ipc-renderer.js";
29
- import noElectronInsecureCertificateErrorHandlerRule from "../rules/no-electron-insecure-certificate-error-handler.js";
30
- import noElectronInsecureCertificateVerifyProcRule from "../rules/no-electron-insecure-certificate-verify-proc.js";
31
- import noElectronInsecurePermissionRequestHandlerRule from "../rules/no-electron-insecure-permission-request-handler.js";
32
- import noElectronNodeIntegrationRule from "../rules/no-electron-node-integration.js";
33
- import noElectronPermissionCheckHandlerAllowAllRule from "../rules/no-electron-permission-check-handler-allow-all.js";
34
- import noElectronUncheckedIpcSenderRule from "../rules/no-electron-unchecked-ipc-sender.js";
35
- import noElectronUnrestrictedNavigationRule from "../rules/no-electron-unrestricted-navigation.js";
36
- import noElectronUntrustedOpenExternalRule from "../rules/no-electron-untrusted-open-external.js";
37
- import noElectronWebviewAllowpopupsRule from "../rules/no-electron-webview-allowpopups.js";
38
- import noElectronWebviewInsecureWebpreferencesRule from "../rules/no-electron-webview-insecure-webpreferences.js";
39
- import noElectronWebviewNodeIntegrationRule from "../rules/no-electron-webview-node-integration.js";
40
- import noHtmlMethodRule from "../rules/no-html-method.js";
41
- import noHttpRequestToInsecureProtocolRule from "../rules/no-http-request-to-insecure-protocol.js";
42
- import noIframeSrcdocRule from "../rules/no-iframe-srcdoc.js";
43
- import noInnerHtmlRule from "../rules/no-inner-html.js";
44
- import noInsecureRandomRule from "../rules/no-insecure-random.js";
45
- import noInsecureTlsAgentOptionsRule from "../rules/no-insecure-tls-agent-options.js";
46
- import noInsecureUrlRule from "../rules/no-insecure-url.js";
47
- import noLocationJavascriptUrlRule from "../rules/no-location-javascript-url.js";
48
- import noMessageEventWithoutOriginCheckRule from "../rules/no-message-event-without-origin-check.js";
49
- import noMsappExecUnsafeRule from "../rules/no-msapp-exec-unsafe.js";
50
- import noNodeTlsCheckServerIdentityBypassRule from "../rules/no-node-tls-check-server-identity-bypass.js";
51
- import noNodeTlsLegacyProtocolRule from "../rules/no-node-tls-legacy-protocol.js";
52
- import noNodeTlsRejectUnauthorizedZeroRule from "../rules/no-node-tls-reject-unauthorized-zero.js";
53
- import noNodeTlsSecurityLevelZeroRule from "../rules/no-node-tls-security-level-zero.js";
54
- import noNodeVmRunInContextRule from "../rules/no-node-vm-run-in-context.js";
55
- import noNodeVmSourceTextModuleRule from "../rules/no-node-vm-source-text-module.js";
56
- import noNodeWorkerThreadsEvalRule from "../rules/no-node-worker-threads-eval.js";
57
- import noNonnullAssertionOnSecurityInputRule from "../rules/no-nonnull-assertion-on-security-input.js";
58
- import noPostmessageStarOriginRule from "../rules/no-postmessage-star-origin.js";
59
- import noPostmessageWithoutOriginAllowlistRule from "../rules/no-postmessage-without-origin-allowlist.js";
60
- import noRangeCreateContextualFragmentRule from "../rules/no-range-create-contextual-fragment.js";
61
- import noScriptSrcDataUrlRule from "../rules/no-script-src-data-url.js";
62
- import noScriptTextRule from "../rules/no-script-text.js";
63
- import noServiceWorkerUnsafeScriptUrlRule from "../rules/no-service-worker-unsafe-script-url.js";
64
- import noSetHtmlUnsafeRule from "../rules/no-set-html-unsafe.js";
65
- import noTrustedTypesPolicyPassThroughRule from "../rules/no-trusted-types-policy-pass-through.js";
66
- import noUnsafeAllocRule from "../rules/no-unsafe-alloc.js";
67
- import noUnsafeCastToTrustedTypesRule from "../rules/no-unsafe-cast-to-trusted-types.js";
68
- import noWindowOpenWithoutNoopenerRule from "../rules/no-window-open-without-noopener.js";
69
- import noWinjsHtmlUnsafeRule from "../rules/no-winjs-html-unsafe.js";
70
- import noWorkerBlobUrlRule from "../rules/no-worker-blob-url.js";
71
- import noWorkerDataUrlRule from "../rules/no-worker-data-url.js";
1
+ import * as noAngularBypassSanitizerRuleModule from "../rules/no-angular-bypass-sanitizer.js";
2
+ import * as noAngularBypassSecurityTrustHtmlRuleModule from "../rules/no-angular-bypass-security-trust-html.js";
3
+ import * as noAngularInnerhtmlBindingRuleModule from "../rules/no-angular-innerhtml-binding.js";
4
+ import * as noAngularSanitizationTrustedUrlsRuleModule from "../rules/no-angular-sanitization-trusted-urls.js";
5
+ import * as noAngularjsBypassSceRuleModule from "../rules/no-angularjs-bypass-sce.js";
6
+ import * as noAngularjsEnableSvgRuleModule from "../rules/no-angularjs-enable-svg.js";
7
+ import * as noAngularjsNgBindHtmlWithoutSanitizeRuleModule from "../rules/no-angularjs-ng-bind-html-without-sanitize.js";
8
+ import * as noAngularjsSanitizationWhitelistRuleModule from "../rules/no-angularjs-sanitization-whitelist.js";
9
+ import * as noAngularjsSceResourceUrlWildcardRuleModule from "../rules/no-angularjs-sce-resource-url-wildcard.js";
10
+ import * as noChildProcessExecRuleModule from "../rules/no-child-process-exec.js";
11
+ import * as noChildProcessShellTrueRuleModule from "../rules/no-child-process-shell-true.js";
12
+ import * as noCookiesRuleModule from "../rules/no-cookies.js";
13
+ import * as noDocumentDomainRuleModule from "../rules/no-document-domain.js";
14
+ import * as noDocumentExeccommandInsertHtmlRuleModule from "../rules/no-document-execcommand-insert-html.js";
15
+ import * as noDocumentParseHtmlUnsafeRuleModule from "../rules/no-document-parse-html-unsafe.js";
16
+ import * as noDocumentWriteRuleModule from "../rules/no-document-write.js";
17
+ import * as noDomparserHtmlWithoutSanitizationRuleModule from "../rules/no-domparser-html-without-sanitization.js";
18
+ import * as noDomparserSvgWithoutSanitizationRuleModule from "../rules/no-domparser-svg-without-sanitization.js";
19
+ import * as noDynamicImportUnsafeUrlRuleModule from "../rules/no-dynamic-import-unsafe-url.js";
20
+ import * as noElectronAllowRunningInsecureContentRuleModule from "../rules/no-electron-allow-running-insecure-content.js";
21
+ import * as noElectronDangerousBlinkFeaturesRuleModule from "../rules/no-electron-dangerous-blink-features.js";
22
+ import * as noElectronDisableContextIsolationRuleModule from "../rules/no-electron-disable-context-isolation.js";
23
+ import * as noElectronDisableSandboxRuleModule from "../rules/no-electron-disable-sandbox.js";
24
+ import * as noElectronDisableWebSecurityRuleModule from "../rules/no-electron-disable-web-security.js";
25
+ import * as noElectronEnableRemoteModuleRuleModule from "../rules/no-electron-enable-remote-module.js";
26
+ import * as noElectronEnableWebviewTagRuleModule from "../rules/no-electron-enable-webview-tag.js";
27
+ import * as noElectronExperimentalFeaturesRuleModule from "../rules/no-electron-experimental-features.js";
28
+ import * as noElectronExposeRawIpcRendererRuleModule from "../rules/no-electron-expose-raw-ipc-renderer.js";
29
+ import * as noElectronInsecureCertificateErrorHandlerRuleModule from "../rules/no-electron-insecure-certificate-error-handler.js";
30
+ import * as noElectronInsecureCertificateVerifyProcRuleModule from "../rules/no-electron-insecure-certificate-verify-proc.js";
31
+ import * as noElectronInsecurePermissionRequestHandlerRuleModule from "../rules/no-electron-insecure-permission-request-handler.js";
32
+ import * as noElectronNodeIntegrationRuleModule from "../rules/no-electron-node-integration.js";
33
+ import * as noElectronPermissionCheckHandlerAllowAllRuleModule from "../rules/no-electron-permission-check-handler-allow-all.js";
34
+ import * as noElectronUncheckedIpcSenderRuleModule from "../rules/no-electron-unchecked-ipc-sender.js";
35
+ import * as noElectronUnrestrictedNavigationRuleModule from "../rules/no-electron-unrestricted-navigation.js";
36
+ import * as noElectronUntrustedOpenExternalRuleModule from "../rules/no-electron-untrusted-open-external.js";
37
+ import * as noElectronWebviewAllowpopupsRuleModule from "../rules/no-electron-webview-allowpopups.js";
38
+ import * as noElectronWebviewInsecureWebpreferencesRuleModule from "../rules/no-electron-webview-insecure-webpreferences.js";
39
+ import * as noElectronWebviewNodeIntegrationRuleModule from "../rules/no-electron-webview-node-integration.js";
40
+ import * as noHtmlMethodRuleModule from "../rules/no-html-method.js";
41
+ import * as noHttpRequestToInsecureProtocolRuleModule from "../rules/no-http-request-to-insecure-protocol.js";
42
+ import * as noIframeSrcdocRuleModule from "../rules/no-iframe-srcdoc.js";
43
+ import * as noInnerHtmlRuleModule from "../rules/no-inner-html.js";
44
+ import * as noInsecureRandomRuleModule from "../rules/no-insecure-random.js";
45
+ import * as noInsecureTlsAgentOptionsRuleModule from "../rules/no-insecure-tls-agent-options.js";
46
+ import * as noInsecureUrlRuleModule from "../rules/no-insecure-url.js";
47
+ import * as noLocationJavascriptUrlRuleModule from "../rules/no-location-javascript-url.js";
48
+ import * as noMessageEventWithoutOriginCheckRuleModule from "../rules/no-message-event-without-origin-check.js";
49
+ import * as noMsappExecUnsafeRuleModule from "../rules/no-msapp-exec-unsafe.js";
50
+ import * as noNodeTlsCheckServerIdentityBypassRuleModule from "../rules/no-node-tls-check-server-identity-bypass.js";
51
+ import * as noNodeTlsLegacyProtocolRuleModule from "../rules/no-node-tls-legacy-protocol.js";
52
+ import * as noNodeTlsRejectUnauthorizedZeroRuleModule from "../rules/no-node-tls-reject-unauthorized-zero.js";
53
+ import * as noNodeTlsSecurityLevelZeroRuleModule from "../rules/no-node-tls-security-level-zero.js";
54
+ import * as noNodeVmRunInContextRuleModule from "../rules/no-node-vm-run-in-context.js";
55
+ import * as noNodeVmSourceTextModuleRuleModule from "../rules/no-node-vm-source-text-module.js";
56
+ import * as noNodeWorkerThreadsEvalRuleModule from "../rules/no-node-worker-threads-eval.js";
57
+ import * as noNonnullAssertionOnSecurityInputRuleModule from "../rules/no-nonnull-assertion-on-security-input.js";
58
+ import * as noPostmessageStarOriginRuleModule from "../rules/no-postmessage-star-origin.js";
59
+ import * as noPostmessageWithoutOriginAllowlistRuleModule from "../rules/no-postmessage-without-origin-allowlist.js";
60
+ import * as noRangeCreateContextualFragmentRuleModule from "../rules/no-range-create-contextual-fragment.js";
61
+ import * as noScriptSrcDataUrlRuleModule from "../rules/no-script-src-data-url.js";
62
+ import * as noScriptTextRuleModule from "../rules/no-script-text.js";
63
+ import * as noServiceWorkerUnsafeScriptUrlRuleModule from "../rules/no-service-worker-unsafe-script-url.js";
64
+ import * as noSetHtmlUnsafeRuleModule from "../rules/no-set-html-unsafe.js";
65
+ import * as noTrustedTypesPolicyPassThroughRuleModule from "../rules/no-trusted-types-policy-pass-through.js";
66
+ import * as noUnsafeAllocRuleModule from "../rules/no-unsafe-alloc.js";
67
+ import * as noUnsafeCastToTrustedTypesRuleModule from "../rules/no-unsafe-cast-to-trusted-types.js";
68
+ import * as noWindowOpenWithoutNoopenerRuleModule from "../rules/no-window-open-without-noopener.js";
69
+ import * as noWinjsHtmlUnsafeRuleModule from "../rules/no-winjs-html-unsafe.js";
70
+ import * as noWorkerBlobUrlRuleModule from "../rules/no-worker-blob-url.js";
71
+ import * as noWorkerDataUrlRuleModule from "../rules/no-worker-data-url.js";
72
72
  /** SDL rule registry keyed by rule name for plugin export wiring. */
73
73
  export const sdlRules = {
74
- "no-angular-bypass-sanitizer": noAngularBypassSanitizerRule,
75
- "no-angular-bypass-security-trust-html": noAngularBypassSecurityTrustHtmlRule,
76
- "no-angular-innerhtml-binding": noAngularInnerhtmlBindingRule,
77
- "no-angular-sanitization-trusted-urls": noAngularSanitizationTrustedUrlsRule,
78
- "no-angularjs-bypass-sce": noAngularjsBypassSceRule,
79
- "no-angularjs-enable-svg": noAngularjsEnableSvgRule,
80
- "no-angularjs-ng-bind-html-without-sanitize": noAngularjsNgBindHtmlWithoutSanitizeRule,
81
- "no-angularjs-sanitization-whitelist": noAngularjsSanitizationWhitelistRule,
82
- "no-angularjs-sce-resource-url-wildcard": noAngularjsSceResourceUrlWildcardRule,
83
- "no-child-process-exec": noChildProcessExecRule,
84
- "no-child-process-shell-true": noChildProcessShellTrueRule,
85
- "no-cookies": noCookiesRule,
86
- "no-document-domain": noDocumentDomainRule,
87
- "no-document-execcommand-insert-html": noDocumentExeccommandInsertHtmlRule,
88
- "no-document-parse-html-unsafe": noDocumentParseHtmlUnsafeRule,
89
- "no-document-write": noDocumentWriteRule,
90
- "no-domparser-html-without-sanitization": noDomparserHtmlWithoutSanitizationRule,
91
- "no-domparser-svg-without-sanitization": noDomparserSvgWithoutSanitizationRule,
92
- "no-dynamic-import-unsafe-url": noDynamicImportUnsafeUrlRule,
93
- "no-electron-allow-running-insecure-content": noElectronAllowRunningInsecureContentRule,
94
- "no-electron-dangerous-blink-features": noElectronDangerousBlinkFeaturesRule,
95
- "no-electron-disable-context-isolation": noElectronDisableContextIsolationRule,
96
- "no-electron-disable-sandbox": noElectronDisableSandboxRule,
97
- "no-electron-disable-web-security": noElectronDisableWebSecurityRule,
98
- "no-electron-enable-remote-module": noElectronEnableRemoteModuleRule,
99
- "no-electron-enable-webview-tag": noElectronEnableWebviewTagRule,
100
- "no-electron-experimental-features": noElectronExperimentalFeaturesRule,
101
- "no-electron-expose-raw-ipc-renderer": noElectronExposeRawIpcRendererRule,
102
- "no-electron-insecure-certificate-error-handler": noElectronInsecureCertificateErrorHandlerRule,
103
- "no-electron-insecure-certificate-verify-proc": noElectronInsecureCertificateVerifyProcRule,
104
- "no-electron-insecure-permission-request-handler": noElectronInsecurePermissionRequestHandlerRule,
105
- "no-electron-node-integration": noElectronNodeIntegrationRule,
106
- "no-electron-permission-check-handler-allow-all": noElectronPermissionCheckHandlerAllowAllRule,
107
- "no-electron-unchecked-ipc-sender": noElectronUncheckedIpcSenderRule,
108
- "no-electron-unrestricted-navigation": noElectronUnrestrictedNavigationRule,
109
- "no-electron-untrusted-open-external": noElectronUntrustedOpenExternalRule,
110
- "no-electron-webview-allowpopups": noElectronWebviewAllowpopupsRule,
111
- "no-electron-webview-insecure-webpreferences": noElectronWebviewInsecureWebpreferencesRule,
112
- "no-electron-webview-node-integration": noElectronWebviewNodeIntegrationRule,
113
- "no-html-method": noHtmlMethodRule,
114
- "no-http-request-to-insecure-protocol": noHttpRequestToInsecureProtocolRule,
115
- "no-iframe-srcdoc": noIframeSrcdocRule,
116
- "no-inner-html": noInnerHtmlRule,
117
- "no-insecure-random": noInsecureRandomRule,
118
- "no-insecure-tls-agent-options": noInsecureTlsAgentOptionsRule,
119
- "no-insecure-url": noInsecureUrlRule,
120
- "no-location-javascript-url": noLocationJavascriptUrlRule,
121
- "no-message-event-without-origin-check": noMessageEventWithoutOriginCheckRule,
122
- "no-msapp-exec-unsafe": noMsappExecUnsafeRule,
123
- "no-node-tls-check-server-identity-bypass": noNodeTlsCheckServerIdentityBypassRule,
124
- "no-node-tls-legacy-protocol": noNodeTlsLegacyProtocolRule,
125
- "no-node-tls-reject-unauthorized-zero": noNodeTlsRejectUnauthorizedZeroRule,
126
- "no-node-tls-security-level-zero": noNodeTlsSecurityLevelZeroRule,
127
- "no-node-vm-run-in-context": noNodeVmRunInContextRule,
128
- "no-node-vm-source-text-module": noNodeVmSourceTextModuleRule,
129
- "no-node-worker-threads-eval": noNodeWorkerThreadsEvalRule,
130
- "no-nonnull-assertion-on-security-input": noNonnullAssertionOnSecurityInputRule,
131
- "no-postmessage-star-origin": noPostmessageStarOriginRule,
132
- "no-postmessage-without-origin-allowlist": noPostmessageWithoutOriginAllowlistRule,
133
- "no-range-create-contextual-fragment": noRangeCreateContextualFragmentRule,
134
- "no-script-src-data-url": noScriptSrcDataUrlRule,
135
- "no-script-text": noScriptTextRule,
136
- "no-service-worker-unsafe-script-url": noServiceWorkerUnsafeScriptUrlRule,
137
- "no-set-html-unsafe": noSetHtmlUnsafeRule,
138
- "no-trusted-types-policy-pass-through": noTrustedTypesPolicyPassThroughRule,
139
- "no-unsafe-alloc": noUnsafeAllocRule,
140
- "no-unsafe-cast-to-trusted-types": noUnsafeCastToTrustedTypesRule,
141
- "no-window-open-without-noopener": noWindowOpenWithoutNoopenerRule,
142
- "no-winjs-html-unsafe": noWinjsHtmlUnsafeRule,
143
- "no-worker-blob-url": noWorkerBlobUrlRule,
144
- "no-worker-data-url": noWorkerDataUrlRule,
74
+ "no-angular-bypass-sanitizer": noAngularBypassSanitizerRuleModule.default,
75
+ "no-angular-bypass-security-trust-html": noAngularBypassSecurityTrustHtmlRuleModule.default,
76
+ "no-angular-innerhtml-binding": noAngularInnerhtmlBindingRuleModule.default,
77
+ "no-angular-sanitization-trusted-urls": noAngularSanitizationTrustedUrlsRuleModule.default,
78
+ "no-angularjs-bypass-sce": noAngularjsBypassSceRuleModule.default,
79
+ "no-angularjs-enable-svg": noAngularjsEnableSvgRuleModule.default,
80
+ "no-angularjs-ng-bind-html-without-sanitize": noAngularjsNgBindHtmlWithoutSanitizeRuleModule.default,
81
+ "no-angularjs-sanitization-whitelist": noAngularjsSanitizationWhitelistRuleModule.default,
82
+ "no-angularjs-sce-resource-url-wildcard": noAngularjsSceResourceUrlWildcardRuleModule.default,
83
+ "no-child-process-exec": noChildProcessExecRuleModule.default,
84
+ "no-child-process-shell-true": noChildProcessShellTrueRuleModule.default,
85
+ "no-cookies": noCookiesRuleModule.default,
86
+ "no-document-domain": noDocumentDomainRuleModule.default,
87
+ "no-document-execcommand-insert-html": noDocumentExeccommandInsertHtmlRuleModule.default,
88
+ "no-document-parse-html-unsafe": noDocumentParseHtmlUnsafeRuleModule.default,
89
+ "no-document-write": noDocumentWriteRuleModule.default,
90
+ "no-domparser-html-without-sanitization": noDomparserHtmlWithoutSanitizationRuleModule.default,
91
+ "no-domparser-svg-without-sanitization": noDomparserSvgWithoutSanitizationRuleModule.default,
92
+ "no-dynamic-import-unsafe-url": noDynamicImportUnsafeUrlRuleModule.default,
93
+ "no-electron-allow-running-insecure-content": noElectronAllowRunningInsecureContentRuleModule.default,
94
+ "no-electron-dangerous-blink-features": noElectronDangerousBlinkFeaturesRuleModule.default,
95
+ "no-electron-disable-context-isolation": noElectronDisableContextIsolationRuleModule.default,
96
+ "no-electron-disable-sandbox": noElectronDisableSandboxRuleModule.default,
97
+ "no-electron-disable-web-security": noElectronDisableWebSecurityRuleModule.default,
98
+ "no-electron-enable-remote-module": noElectronEnableRemoteModuleRuleModule.default,
99
+ "no-electron-enable-webview-tag": noElectronEnableWebviewTagRuleModule.default,
100
+ "no-electron-experimental-features": noElectronExperimentalFeaturesRuleModule.default,
101
+ "no-electron-expose-raw-ipc-renderer": noElectronExposeRawIpcRendererRuleModule.default,
102
+ "no-electron-insecure-certificate-error-handler": noElectronInsecureCertificateErrorHandlerRuleModule.default,
103
+ "no-electron-insecure-certificate-verify-proc": noElectronInsecureCertificateVerifyProcRuleModule.default,
104
+ "no-electron-insecure-permission-request-handler": noElectronInsecurePermissionRequestHandlerRuleModule.default,
105
+ "no-electron-node-integration": noElectronNodeIntegrationRuleModule.default,
106
+ "no-electron-permission-check-handler-allow-all": noElectronPermissionCheckHandlerAllowAllRuleModule.default,
107
+ "no-electron-unchecked-ipc-sender": noElectronUncheckedIpcSenderRuleModule.default,
108
+ "no-electron-unrestricted-navigation": noElectronUnrestrictedNavigationRuleModule.default,
109
+ "no-electron-untrusted-open-external": noElectronUntrustedOpenExternalRuleModule.default,
110
+ "no-electron-webview-allowpopups": noElectronWebviewAllowpopupsRuleModule.default,
111
+ "no-electron-webview-insecure-webpreferences": noElectronWebviewInsecureWebpreferencesRuleModule.default,
112
+ "no-electron-webview-node-integration": noElectronWebviewNodeIntegrationRuleModule.default,
113
+ "no-html-method": noHtmlMethodRuleModule.default,
114
+ "no-http-request-to-insecure-protocol": noHttpRequestToInsecureProtocolRuleModule.default,
115
+ "no-iframe-srcdoc": noIframeSrcdocRuleModule.default,
116
+ "no-inner-html": noInnerHtmlRuleModule.default,
117
+ "no-insecure-random": noInsecureRandomRuleModule.default,
118
+ "no-insecure-tls-agent-options": noInsecureTlsAgentOptionsRuleModule.default,
119
+ "no-insecure-url": noInsecureUrlRuleModule.default,
120
+ "no-location-javascript-url": noLocationJavascriptUrlRuleModule.default,
121
+ "no-message-event-without-origin-check": noMessageEventWithoutOriginCheckRuleModule.default,
122
+ "no-msapp-exec-unsafe": noMsappExecUnsafeRuleModule.default,
123
+ "no-node-tls-check-server-identity-bypass": noNodeTlsCheckServerIdentityBypassRuleModule.default,
124
+ "no-node-tls-legacy-protocol": noNodeTlsLegacyProtocolRuleModule.default,
125
+ "no-node-tls-reject-unauthorized-zero": noNodeTlsRejectUnauthorizedZeroRuleModule.default,
126
+ "no-node-tls-security-level-zero": noNodeTlsSecurityLevelZeroRuleModule.default,
127
+ "no-node-vm-run-in-context": noNodeVmRunInContextRuleModule.default,
128
+ "no-node-vm-source-text-module": noNodeVmSourceTextModuleRuleModule.default,
129
+ "no-node-worker-threads-eval": noNodeWorkerThreadsEvalRuleModule.default,
130
+ "no-nonnull-assertion-on-security-input": noNonnullAssertionOnSecurityInputRuleModule.default,
131
+ "no-postmessage-star-origin": noPostmessageStarOriginRuleModule.default,
132
+ "no-postmessage-without-origin-allowlist": noPostmessageWithoutOriginAllowlistRuleModule.default,
133
+ "no-range-create-contextual-fragment": noRangeCreateContextualFragmentRuleModule.default,
134
+ "no-script-src-data-url": noScriptSrcDataUrlRuleModule.default,
135
+ "no-script-text": noScriptTextRuleModule.default,
136
+ "no-service-worker-unsafe-script-url": noServiceWorkerUnsafeScriptUrlRuleModule.default,
137
+ "no-set-html-unsafe": noSetHtmlUnsafeRuleModule.default,
138
+ "no-trusted-types-policy-pass-through": noTrustedTypesPolicyPassThroughRuleModule.default,
139
+ "no-unsafe-alloc": noUnsafeAllocRuleModule.default,
140
+ "no-unsafe-cast-to-trusted-types": noUnsafeCastToTrustedTypesRuleModule.default,
141
+ "no-window-open-without-noopener": noWindowOpenWithoutNoopenerRuleModule.default,
142
+ "no-winjs-html-unsafe": noWinjsHtmlUnsafeRuleModule.default,
143
+ "no-worker-blob-url": noWorkerBlobUrlRuleModule.default,
144
+ "no-worker-data-url": noWorkerDataUrlRuleModule.default,
145
145
  };
146
146
  export default sdlRules;
147
- /* eslint-enable canonical/no-re-export -- End of intentional registry aggregation. */
148
147
  //# sourceMappingURL=rules-registry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rules-registry.js","sourceRoot":"","sources":["../../src/_internal/rules-registry.ts"],"names":[],"mappings":"AAIA,OAAO,4BAA4B,MAAM,yCAAyC,CAAC;AACnF,OAAO,oCAAoC,MAAM,mDAAmD,CAAC;AACrG,OAAO,6BAA6B,MAAM,0CAA0C,CAAC;AACrF,OAAO,oCAAoC,MAAM,kDAAkD,CAAC;AACpG,OAAO,wBAAwB,MAAM,qCAAqC,CAAC;AAC3E,OAAO,wBAAwB,MAAM,qCAAqC,CAAC;AAC3E,OAAO,wCAAwC,MAAM,wDAAwD,CAAC;AAC9G,OAAO,oCAAoC,MAAM,iDAAiD,CAAC;AACnG,OAAO,qCAAqC,MAAM,oDAAoD,CAAC;AACvG,OAAO,sBAAsB,MAAM,mCAAmC,CAAC;AACvE,OAAO,2BAA2B,MAAM,yCAAyC,CAAC;AAClF,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD,OAAO,oBAAoB,MAAM,gCAAgC,CAAC;AAClE,OAAO,mCAAmC,MAAM,iDAAiD,CAAC;AAClG,OAAO,6BAA6B,MAAM,2CAA2C,CAAC;AACtF,OAAO,mBAAmB,MAAM,+BAA+B,CAAC;AAChE,OAAO,sCAAsC,MAAM,oDAAoD,CAAC;AACxG,OAAO,qCAAqC,MAAM,mDAAmD,CAAC;AACtG,OAAO,4BAA4B,MAAM,0CAA0C,CAAC;AACpF,OAAO,yCAAyC,MAAM,wDAA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AC,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
+ {"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;AAIzD,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,3 +1,4 @@
1
+ import { AST_NODE_TYPES } from "@typescript-eslint/utils";
1
2
  import { getNodeTypeAsString } from "./ast-utils.js";
2
3
  import { getMemberPropertyName, getStaticStringValue } from "./estree-utils.js";
3
4
  const isLikelyScriptIdentifierName = (identifierName) => identifierName === "currentScript" ||
@@ -8,8 +9,8 @@ const isLikelyScriptIdentifierName = (identifierName) => identifierName === "cur
8
9
  identifierName.endsWith("_script") ||
9
10
  identifierName.endsWith("_script_element");
10
11
  const isCreateElementScriptCall = (node) => {
11
- if (node.type !== "CallExpression" ||
12
- node.callee.type !== "MemberExpression") {
12
+ if (node.type !== AST_NODE_TYPES.CallExpression ||
13
+ node.callee.type !== AST_NODE_TYPES.MemberExpression) {
13
14
  return false;
14
15
  }
15
16
  if (getMemberPropertyName(node.callee) !== "createElement") {
@@ -17,7 +18,7 @@ const isCreateElementScriptCall = (node) => {
17
18
  }
18
19
  const [firstArgument] = node.arguments;
19
20
  return (firstArgument !== undefined &&
20
- firstArgument.type !== "SpreadElement" &&
21
+ firstArgument.type !== AST_NODE_TYPES.SpreadElement &&
21
22
  getStaticStringValue(firstArgument) === "script");
22
23
  };
23
24
  /** Returns whether an AST node likely refers to an `HTMLScriptElement`. */
@@ -31,10 +32,10 @@ export const isLikelyScriptElement = (node, context, fullTypeChecker) => {
31
32
  if (isCreateElementScriptCall(node)) {
32
33
  return true;
33
34
  }
34
- if (node.type === "Identifier") {
35
+ if (node.type === AST_NODE_TYPES.Identifier) {
35
36
  return isLikelyScriptIdentifierName(node.name);
36
37
  }
37
- if (node.type !== "MemberExpression") {
38
+ if (node.type !== AST_NODE_TYPES.MemberExpression) {
38
39
  return false;
39
40
  }
40
41
  const propertyName = getMemberPropertyName(node);
@@ -1 +1 @@
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,CAA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,MAAM,8BAA8B,GACvC,OAAO,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,KACrC,KAAK,IAAI,QAAQ,CAAC,gBASpB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,GACpC,QAAQ,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,KACpD,OAG8C,CAAC;AAelD;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,GACjC,MAAM,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,KACpC,IAAI,IAAI,QAAQ,CAAC,cAkBnB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { AST_NODE_TYPES } from "@typescript-eslint/utils";
1
2
  import { isDefined, setHas } from "ts-extras";
2
3
  import { getMemberPropertyName } from "./estree-utils.js";
3
4
  const WORKER_CONSTRUCTOR_NAMES = new Set(["SharedWorker", "Worker"]);
@@ -7,14 +8,14 @@ const GLOBAL_OBJECT_NAMES = new Set([
7
8
  "window",
8
9
  ]);
9
10
  const isNavigatorObject = (value) => {
10
- if (value.type === "Identifier") {
11
+ if (value.type === AST_NODE_TYPES.Identifier) {
11
12
  return value.name === "navigator";
12
13
  }
13
- if (value.type !== "MemberExpression") {
14
+ if (value.type !== AST_NODE_TYPES.MemberExpression) {
14
15
  return false;
15
16
  }
16
17
  return (getMemberPropertyName(value) === "navigator" &&
17
- value.object.type === "Identifier" &&
18
+ value.object.type === AST_NODE_TYPES.Identifier &&
18
19
  setHas(GLOBAL_OBJECT_NAMES, value.object.name));
19
20
  };
20
21
  /**
@@ -24,7 +25,7 @@ const isNavigatorObject = (value) => {
24
25
  *
25
26
  * @returns Whether the string starts with `blob:`.
26
27
  */
27
- export const isBlobUrl = (value) => /^\s*blob:/iu.test(value);
28
+ export const isBlobUrl = (value) => /^\s*blob:/iv.test(value);
28
29
  /**
29
30
  * Check whether a value is a static `data:` URL.
30
31
  *
@@ -32,7 +33,7 @@ export const isBlobUrl = (value) => /^\s*blob:/iu.test(value);
32
33
  *
33
34
  * @returns Whether the string starts with `data:`.
34
35
  */
35
- export const isDataUrl = (value) => /^\s*data:/iu.test(value);
36
+ export const isDataUrl = (value) => /^\s*data:/iv.test(value);
36
37
  const isWorkerConstructorName = (value) => isDefined(value) && setHas(WORKER_CONSTRUCTOR_NAMES, value);
37
38
  const isGlobalObjectName = (value) => setHas(GLOBAL_OBJECT_NAMES, value);
38
39
  /**
@@ -43,7 +44,7 @@ const isGlobalObjectName = (value) => setHas(GLOBAL_OBJECT_NAMES, value);
43
44
  *
44
45
  * @returns Whether the expression is `window`, `self`, or `globalThis`.
45
46
  */
46
- export const isWorkerGlobalObject = (value) => value.type === "Identifier" && isGlobalObjectName(value.name);
47
+ export const isWorkerGlobalObject = (value) => value.type === AST_NODE_TYPES.Identifier && isGlobalObjectName(value.name);
47
48
  /**
48
49
  * Check whether a constructor callee targets `Worker` or `SharedWorker`.
49
50
  *
@@ -52,10 +53,10 @@ export const isWorkerGlobalObject = (value) => value.type === "Identifier" && is
52
53
  * @returns Whether the callee is a worker constructor.
53
54
  */
54
55
  export const isWorkerConstructor = (callee) => {
55
- if (callee.type === "Identifier") {
56
+ if (callee.type === AST_NODE_TYPES.Identifier) {
56
57
  return isWorkerConstructorName(callee.name);
57
58
  }
58
- if (callee.type !== "MemberExpression") {
59
+ if (callee.type !== AST_NODE_TYPES.MemberExpression) {
59
60
  return false;
60
61
  }
61
62
  return (isWorkerConstructorName(getMemberPropertyName(callee)) &&
@@ -69,10 +70,10 @@ export const isWorkerConstructor = (callee) => {
69
70
  * @returns Whether the callee is an importScripts sink.
70
71
  */
71
72
  export const isImportScriptsCall = (callee) => {
72
- if (callee.type === "Identifier") {
73
+ if (callee.type === AST_NODE_TYPES.Identifier) {
73
74
  return callee.name === "importScripts";
74
75
  }
75
- if (callee.type !== "MemberExpression") {
76
+ if (callee.type !== AST_NODE_TYPES.MemberExpression) {
76
77
  return false;
77
78
  }
78
79
  return (getMemberPropertyName(callee) === "importScripts" &&
@@ -87,7 +88,7 @@ export const isImportScriptsCall = (callee) => {
87
88
  * @returns Whether the expression is a service worker container access.
88
89
  */
89
90
  export const isServiceWorkerContainerAccess = (value) => {
90
- if (value.type !== "MemberExpression") {
91
+ if (value.type !== AST_NODE_TYPES.MemberExpression) {
91
92
  return false;
92
93
  }
93
94
  return (getMemberPropertyName(value) === "serviceWorker" &&
@@ -100,14 +101,14 @@ export const isServiceWorkerContainerAccess = (value) => {
100
101
  *
101
102
  * @returns Whether the callee is a service worker registration sink.
102
103
  */
103
- export const isServiceWorkerRegisterCall = (callee) => callee.type === "MemberExpression" &&
104
+ export const isServiceWorkerRegisterCall = (callee) => callee.type === AST_NODE_TYPES.MemberExpression &&
104
105
  getMemberPropertyName(callee) === "register" &&
105
106
  isServiceWorkerContainerAccess(callee.object);
106
107
  const isGlobalUrlObject = (node) => {
107
108
  if (getMemberPropertyName(node) !== "URL") {
108
109
  return false;
109
110
  }
110
- return (node.object.type === "Identifier" &&
111
+ return (node.object.type === AST_NODE_TYPES.Identifier &&
111
112
  isGlobalObjectName(node.object.name));
112
113
  };
113
114
  /**
@@ -119,16 +120,16 @@ const isGlobalUrlObject = (node) => {
119
120
  * API.
120
121
  */
121
122
  export const isUrlCreateObjectUrlCall = (node) => {
122
- if (node.type !== "CallExpression" ||
123
- node.callee.type !== "MemberExpression") {
123
+ if (node.type !== AST_NODE_TYPES.CallExpression ||
124
+ node.callee.type !== AST_NODE_TYPES.MemberExpression) {
124
125
  return false;
125
126
  }
126
127
  if (getMemberPropertyName(node.callee) !== "createObjectURL") {
127
128
  return false;
128
129
  }
129
- return ((node.callee.object.type === "Identifier" &&
130
+ return ((node.callee.object.type === AST_NODE_TYPES.Identifier &&
130
131
  node.callee.object.name === "URL") ||
131
- (node.callee.object.type === "MemberExpression" &&
132
+ (node.callee.object.type === AST_NODE_TYPES.MemberExpression &&
132
133
  isGlobalUrlObject(node.callee.object)));
133
134
  };
134
135
  //# sourceMappingURL=worker-code-loading.js.map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