zedbee 0.1.0-beta.16 → 0.1.0-beta.17
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/THIRD_PARTY_NOTICES.md +68 -74
- package/dist/attribution/metrics.d.ts.map +1 -1
- package/dist/attribution/metrics.js +8 -5
- package/dist/attribution/metrics.js.map +1 -1
- package/dist/attribution/pair-source-moves.d.ts +12 -0
- package/dist/attribution/pair-source-moves.d.ts.map +1 -0
- package/dist/attribution/pair-source-moves.js +108 -0
- package/dist/attribution/pair-source-moves.js.map +1 -0
- package/dist/attribution/source-moves.d.ts +47 -0
- package/dist/attribution/source-moves.d.ts.map +1 -0
- package/dist/attribution/source-moves.js +199 -0
- package/dist/attribution/source-moves.js.map +1 -0
- package/dist/checks/applicability.d.ts.map +1 -1
- package/dist/checks/applicability.js +1 -1
- package/dist/checks/applicability.js.map +1 -1
- package/dist/checks/changed-file-paths.d.ts.map +1 -1
- package/dist/checks/changed-file-paths.js +7 -1
- package/dist/checks/changed-file-paths.js.map +1 -1
- package/dist/checks/closed-compiler-project.d.ts +5 -0
- package/dist/checks/closed-compiler-project.d.ts.map +1 -0
- package/dist/checks/closed-compiler-project.js +106 -0
- package/dist/checks/closed-compiler-project.js.map +1 -0
- package/dist/checks/compiler-inputs.d.ts +1 -1
- package/dist/checks/compiler-inputs.d.ts.map +1 -1
- package/dist/checks/compiler-inputs.js +33 -2
- package/dist/checks/compiler-inputs.js.map +1 -1
- package/dist/checks/complexity/adapter.d.ts.map +1 -1
- package/dist/checks/complexity/adapter.js +21 -2
- package/dist/checks/complexity/adapter.js.map +1 -1
- package/dist/checks/dead-code/adapter.d.ts.map +1 -1
- package/dist/checks/dead-code/adapter.js +16 -5
- package/dist/checks/dead-code/adapter.js.map +1 -1
- package/dist/checks/dead-code/entry-configuration.d.ts +6 -0
- package/dist/checks/dead-code/entry-configuration.d.ts.map +1 -0
- package/dist/checks/dead-code/entry-configuration.js +48 -0
- package/dist/checks/dead-code/entry-configuration.js.map +1 -0
- package/dist/checks/dead-code/managed-config.d.ts +1 -1
- package/dist/checks/dead-code/managed-config.d.ts.map +1 -1
- package/dist/checks/dead-code/managed-config.js +24 -3
- package/dist/checks/dead-code/managed-config.js.map +1 -1
- package/dist/checks/dead-code/vite-entrypoints.d.ts +13 -0
- package/dist/checks/dead-code/vite-entrypoints.d.ts.map +1 -0
- package/dist/checks/dead-code/vite-entrypoints.js +314 -0
- package/dist/checks/dead-code/vite-entrypoints.js.map +1 -0
- package/dist/checks/diagnostic-details.d.ts.map +1 -1
- package/dist/checks/diagnostic-details.js +32 -0
- package/dist/checks/diagnostic-details.js.map +1 -1
- package/dist/checks/engine-identity.d.ts.map +1 -1
- package/dist/checks/engine-identity.js +5 -4
- package/dist/checks/engine-identity.js.map +1 -1
- package/dist/checks/eslint/convert-message.d.ts.map +1 -1
- package/dist/checks/eslint/convert-message.js +5 -2
- package/dist/checks/eslint/convert-message.js.map +1 -1
- package/dist/checks/observation-result.d.ts.map +1 -1
- package/dist/checks/observation-result.js +69 -7
- package/dist/checks/observation-result.js.map +1 -1
- package/dist/checks/project-inputs.d.ts +1 -1
- package/dist/checks/project-inputs.d.ts.map +1 -1
- package/dist/checks/project-inputs.js +10 -1
- package/dist/checks/project-inputs.js.map +1 -1
- package/dist/checks/react/adapter.d.ts.map +1 -1
- package/dist/checks/react/adapter.js +25 -3
- package/dist/checks/react/adapter.js.map +1 -1
- package/dist/checks/source-moves.d.ts +9 -0
- package/dist/checks/source-moves.d.ts.map +1 -0
- package/dist/checks/source-moves.js +184 -0
- package/dist/checks/source-moves.js.map +1 -0
- package/dist/commands/checks.js +3 -3
- package/dist/commands/checks.js.map +1 -1
- package/dist/commands/diagnostics.d.ts +1 -0
- package/dist/commands/diagnostics.d.ts.map +1 -1
- package/dist/commands/diagnostics.js +28 -0
- package/dist/commands/diagnostics.js.map +1 -1
- package/dist/commands/fix.d.ts.map +1 -1
- package/dist/commands/fix.js +4 -1
- package/dist/commands/fix.js.map +1 -1
- package/dist/commands/scan.d.ts.map +1 -1
- package/dist/commands/scan.js +4 -0
- package/dist/commands/scan.js.map +1 -1
- package/dist/config/profiles.d.ts.map +1 -1
- package/dist/config/profiles.js +6 -0
- package/dist/config/profiles.js.map +1 -1
- package/dist/config/schema.d.ts +37 -17
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +16 -1
- package/dist/config/schema.js.map +1 -1
- package/dist/config/settings-registry.js +2 -2
- package/dist/config/settings-registry.js.map +1 -1
- package/dist/renderers/text.d.ts.map +1 -1
- package/dist/renderers/text.js +4 -0
- package/dist/renderers/text.js.map +1 -1
- package/dist/reporting/finding-priority.d.ts +6 -0
- package/dist/reporting/finding-priority.d.ts.map +1 -0
- package/dist/reporting/finding-priority.js +69 -0
- package/dist/reporting/finding-priority.js.map +1 -0
- package/dist/reporting/fix-plan-store.d.ts +2 -5
- package/dist/reporting/fix-plan-store.d.ts.map +1 -1
- package/dist/reporting/fix-plan-store.js +2 -1
- package/dist/reporting/fix-plan-store.js.map +1 -1
- package/dist/reporting/presentation.d.ts +3 -1
- package/dist/reporting/presentation.d.ts.map +1 -1
- package/dist/reporting/presentation.js +19 -7
- package/dist/reporting/presentation.js.map +1 -1
- package/dist/reporting/result-sections.d.ts +1 -0
- package/dist/reporting/result-sections.d.ts.map +1 -1
- package/dist/reporting/result-sections.js +12 -0
- package/dist/reporting/result-sections.js.map +1 -1
- package/dist/reporting/temporary-report-common.d.ts +13 -1
- package/dist/reporting/temporary-report-common.d.ts.map +1 -1
- package/dist/reporting/temporary-report-common.js +4 -1
- package/dist/reporting/temporary-report-common.js.map +1 -1
- package/dist/reporting/temporary-report-lifecycle.d.ts +3 -3
- package/dist/reporting/temporary-report-lifecycle.d.ts.map +1 -1
- package/dist/reporting/temporary-report-lifecycle.js +18 -4
- package/dist/reporting/temporary-report-lifecycle.js.map +1 -1
- package/dist/reporting/temporary-reports.d.ts +1 -1
- package/dist/reporting/temporary-reports.d.ts.map +1 -1
- package/dist/reporting/temporary-reports.js +22 -3
- package/dist/reporting/temporary-reports.js.map +1 -1
- package/dist/scan/analysis-session.d.ts.map +1 -1
- package/dist/scan/analysis-session.js +15 -1
- package/dist/scan/analysis-session.js.map +1 -1
- package/dist/ui/scan-result-dashboard.d.ts.map +1 -1
- package/dist/ui/scan-result-dashboard.js +1 -1
- package/dist/ui/scan-result-dashboard.js.map +1 -1
- package/docs/checks.md +96 -2
- package/docs/privacy.md +13 -0
- package/docs/reporting.md +35 -1
- package/{node_modules/dependency-cruiser/node_modules/picomatch/LICENSE → licenses/overrides/jscpd-5.4.2-LICENSE} +5 -5
- package/licenses/overrides/napi-rs-wasm-runtime-1.2.5-LICENSE +43 -0
- package/licenses/reviewed-overrides.json +70 -0
- package/node_modules/acorn/CHANGELOG.md +14 -0
- package/node_modules/acorn/dist/acorn.js +42 -14
- package/node_modules/acorn/dist/acorn.mjs +42 -14
- package/node_modules/acorn/package.json +1 -1
- package/node_modules/dependency-cruiser/README.md +7 -8
- package/node_modules/dependency-cruiser/bin/depcruise-baseline.mjs +12 -5
- package/node_modules/dependency-cruiser/bin/{dependency-cruise.mjs → dependency-cruiser.mjs} +24 -14
- package/node_modules/dependency-cruiser/configs/rules/no-duplicate-dependency-types.cjs +1 -1
- package/node_modules/dependency-cruiser/node_modules/ignore/README.md +138 -8
- package/node_modules/dependency-cruiser/node_modules/ignore/index.d.ts +56 -20
- package/node_modules/dependency-cruiser/node_modules/ignore/index.js +1032 -229
- package/node_modules/dependency-cruiser/node_modules/ignore/legacy.js +868 -184
- package/node_modules/dependency-cruiser/node_modules/ignore/package.json +10 -4
- package/node_modules/dependency-cruiser/node_modules/semver/LICENSE +15 -0
- package/node_modules/dependency-cruiser/node_modules/semver/README.md +680 -0
- package/node_modules/dependency-cruiser/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/dependency-cruiser/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/dependency-cruiser/node_modules/semver/classes/index.js +7 -0
- package/node_modules/dependency-cruiser/node_modules/semver/classes/range.js +577 -0
- package/node_modules/dependency-cruiser/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/major.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/dependency-cruiser/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/dependency-cruiser/node_modules/semver/index.js +93 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/constants.js +67 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/re.js +223 -0
- package/node_modules/dependency-cruiser/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/dependency-cruiser/node_modules/semver/package.json +78 -0
- package/node_modules/dependency-cruiser/node_modules/semver/preload.js +4 -0
- package/node_modules/dependency-cruiser/node_modules/semver/range.bnf +17 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/dependency-cruiser/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/dependency-cruiser/package.json +16 -10
- package/node_modules/dependency-cruiser/src/analyze/analyze-modules.mjs +5 -1
- package/node_modules/dependency-cruiser/src/analyze/index.mjs +3 -3
- package/node_modules/dependency-cruiser/src/analyze/soften-known-violations.mjs +4 -2
- package/node_modules/dependency-cruiser/src/analyze/summarize/get-stats.mjs +38 -3
- package/node_modules/dependency-cruiser/src/analyze/summarize/index.mjs +28 -105
- package/node_modules/dependency-cruiser/src/analyze/summarize/summarize-options.mjs +3 -0
- package/node_modules/dependency-cruiser/src/analyze/summarize/verify-environment.mjs +146 -0
- package/node_modules/dependency-cruiser/src/cache/cache.mjs +1 -1
- package/node_modules/dependency-cruiser/src/cache/options-compatible.mjs +3 -0
- package/node_modules/dependency-cruiser/src/cli/defaults.mjs +0 -1
- package/node_modules/dependency-cruiser/src/cli/index.mjs +11 -3
- package/node_modules/dependency-cruiser/src/cli/init-config/build-config.mjs +14 -0
- package/node_modules/dependency-cruiser/src/cli/init-config/config-template.mjs +7 -2
- package/node_modules/dependency-cruiser/src/cli/init-config/environment-helpers.mjs +5 -1
- package/node_modules/dependency-cruiser/src/cli/init-config/get-user-input.mjs +11 -0
- package/node_modules/dependency-cruiser/src/cli/init-config/index.mjs +1 -0
- package/node_modules/dependency-cruiser/src/cli/init-config/normalize-init-options.mjs +1 -1
- package/node_modules/dependency-cruiser/src/cli/init-config/types.d.mts +4 -0
- package/node_modules/dependency-cruiser/src/cli/init-config/write-run-scripts-to-manifest.mjs +7 -7
- package/node_modules/dependency-cruiser/src/cli/normalize-cli-options.mjs +63 -2
- package/node_modules/dependency-cruiser/src/config-utl/extract-ts-config.mjs +1 -1
- package/node_modules/dependency-cruiser/src/extract/helpers.mjs +1 -0
- package/node_modules/dependency-cruiser/src/extract/resolve/determine-dependency-types.mjs +15 -7
- package/node_modules/dependency-cruiser/src/extract/resolve/merge-manifests.mjs +6 -3
- package/node_modules/dependency-cruiser/src/extract/swc/dependency-visitor.mjs +21 -4
- package/node_modules/dependency-cruiser/src/extract/swc/parse.mjs +14 -4
- package/node_modules/dependency-cruiser/src/extract/transpile/index.mjs +1 -1
- package/node_modules/dependency-cruiser/src/extract/transpile/meta.mjs +15 -3
- package/node_modules/dependency-cruiser/src/extract/transpile/svelte-wrap.mjs +23 -2
- package/node_modules/dependency-cruiser/src/extract/transpile/try-import-available.mjs +2 -2
- package/node_modules/dependency-cruiser/src/extract/transpile/typescript-wrap.mjs +23 -1
- package/node_modules/dependency-cruiser/src/extract/tsc/extract-typescript-deps.mjs +57 -12
- package/node_modules/dependency-cruiser/src/extract/tsc/extract.mjs +2 -0
- package/node_modules/dependency-cruiser/src/graph-utl/add-focus.mjs +2 -2
- package/node_modules/dependency-cruiser/src/graph-utl/compare.mjs +113 -14
- package/node_modules/dependency-cruiser/src/main/cruise.mjs +1 -2
- package/node_modules/dependency-cruiser/src/main/format.mjs +1 -1
- package/node_modules/dependency-cruiser/src/main/options/defaults.mjs +1 -0
- package/node_modules/dependency-cruiser/src/main/options/normalize.mjs +13 -4
- package/node_modules/dependency-cruiser/src/main/report-wrap.mjs +4 -2
- package/node_modules/dependency-cruiser/src/main/resolve-options/normalize.mjs +0 -27
- package/node_modules/dependency-cruiser/src/meta.cjs +1 -1
- package/node_modules/dependency-cruiser/src/report/anon/index.mjs +1 -1
- package/node_modules/dependency-cruiser/src/report/azure-devops.mjs +15 -11
- package/node_modules/dependency-cruiser/src/report/baseline.mjs +67 -10
- package/node_modules/dependency-cruiser/src/report/csv.mjs +1 -1
- package/node_modules/dependency-cruiser/src/report/dot/index.mjs +1 -1
- package/node_modules/dependency-cruiser/src/report/dot-webpage/dot-module.mjs +1 -1
- package/node_modules/dependency-cruiser/src/report/error-html/error-html-template.mjs +2 -0
- package/node_modules/dependency-cruiser/src/report/error-html/index.mjs +84 -8
- package/node_modules/dependency-cruiser/src/report/error.mjs +62 -13
- package/node_modules/dependency-cruiser/src/report/html/index.mjs +1 -1
- package/node_modules/dependency-cruiser/src/report/index.mjs +3 -2
- package/node_modules/dependency-cruiser/src/report/markdown.mjs +89 -19
- package/node_modules/dependency-cruiser/src/report/metrics.mjs +3 -3
- package/node_modules/dependency-cruiser/src/report/null.mjs +6 -3
- package/node_modules/dependency-cruiser/src/report/teamcity.mjs +4 -1
- package/node_modules/dependency-cruiser/src/schema/configuration.validate.mjs +1 -1
- package/node_modules/dependency-cruiser/src/schema/cruise-result.validate.mjs +1 -1
- package/node_modules/dependency-cruiser/src/utl/try-import.mjs +1 -1
- package/node_modules/dependency-cruiser/types/cruise-result.d.mts +14 -0
- package/node_modules/dependency-cruiser/types/dependency-cruiser.d.mts +6 -0
- package/node_modules/dependency-cruiser/types/options.d.mts +37 -2
- package/node_modules/dependency-cruiser/types/reporter-options.d.mts +30 -5
- package/node_modules/dependency-cruiser/types/restrictions.d.mts +2 -2
- package/node_modules/dependency-cruiser/types/shared-types.d.mts +16 -13
- package/node_modules/enhanced-resolve/README.md +46 -1
- package/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +31 -6
- package/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +27 -6
- package/node_modules/enhanced-resolve/lib/PackageMapPlugin.js +297 -0
- package/node_modules/enhanced-resolve/lib/Resolver.js +37 -30
- package/node_modules/enhanced-resolve/lib/ResolverFactory.js +104 -11
- package/node_modules/enhanced-resolve/lib/getPaths.js +6 -1
- package/node_modules/enhanced-resolve/lib/index.js +4 -0
- package/node_modules/enhanced-resolve/lib/util/entrypoints.js +104 -0
- package/node_modules/enhanced-resolve/lib/util/graceful-fs-browser.js +5 -1
- package/node_modules/enhanced-resolve/lib/util/identifier.js +4 -2
- package/node_modules/enhanced-resolve/lib/util/packageMap.js +224 -0
- package/node_modules/enhanced-resolve/lib/util/path.js +29 -8
- package/node_modules/enhanced-resolve/lib/util/pathToFileURL.js +87 -0
- package/node_modules/enhanced-resolve/package.json +8 -9
- package/node_modules/enhanced-resolve/types/AliasFieldPlugin.d.ts +41 -0
- package/node_modules/enhanced-resolve/types/AliasPlugin.d.ts +32 -0
- package/node_modules/enhanced-resolve/types/AliasUtils.d.ts +128 -0
- package/node_modules/enhanced-resolve/types/AppendPlugin.d.ts +27 -0
- package/node_modules/enhanced-resolve/types/CachedInputFileSystem.d.ts +224 -0
- package/node_modules/enhanced-resolve/types/CloneBasenamePlugin.d.ts +24 -0
- package/node_modules/enhanced-resolve/types/ConditionalPlugin.d.ts +33 -0
- package/node_modules/enhanced-resolve/types/DescriptionFilePlugin.d.ts +30 -0
- package/node_modules/enhanced-resolve/types/DescriptionFileUtils.d.ts +83 -0
- package/node_modules/enhanced-resolve/types/DirectoryExistsPlugin.d.ts +23 -0
- package/node_modules/enhanced-resolve/types/ExportsFieldPlugin.d.ts +45 -0
- package/node_modules/enhanced-resolve/types/ExtensionAliasPlugin.d.ts +31 -0
- package/node_modules/enhanced-resolve/types/FileExistsPlugin.d.ts +23 -0
- package/node_modules/enhanced-resolve/types/ImportsFieldPlugin.d.ts +45 -0
- package/node_modules/enhanced-resolve/types/JoinRequestPartPlugin.d.ts +24 -0
- package/node_modules/enhanced-resolve/types/JoinRequestPlugin.d.ts +24 -0
- package/node_modules/enhanced-resolve/types/LogInfoPlugin.d.ts +18 -0
- package/node_modules/enhanced-resolve/types/MainFieldPlugin.d.ts +41 -0
- package/node_modules/enhanced-resolve/types/ModulesInHierachicDirectoriesPlugin.d.ts +2 -0
- package/node_modules/enhanced-resolve/types/ModulesInHierarchicalDirectoriesPlugin.d.ts +26 -0
- package/node_modules/enhanced-resolve/types/ModulesInRootPlugin.d.ts +27 -0
- package/node_modules/enhanced-resolve/types/ModulesUtils.d.ts +25 -0
- package/node_modules/enhanced-resolve/types/NextPlugin.d.ts +23 -0
- package/node_modules/enhanced-resolve/types/PackageMapPlugin.d.ts +85 -0
- package/node_modules/enhanced-resolve/types/ParsePlugin.d.ts +27 -0
- package/node_modules/enhanced-resolve/types/PnpPlugin.d.ts +42 -0
- package/node_modules/enhanced-resolve/types/Resolver.d.ts +1545 -0
- package/node_modules/enhanced-resolve/types/ResolverFactory.d.ts +340 -0
- package/node_modules/enhanced-resolve/types/RestrictionsPlugin.d.ts +52 -0
- package/node_modules/enhanced-resolve/types/ResultPlugin.d.ts +18 -0
- package/node_modules/enhanced-resolve/types/RootsPlugin.d.ts +30 -0
- package/node_modules/enhanced-resolve/types/SelfReferencePlugin.d.ts +31 -0
- package/node_modules/enhanced-resolve/types/SymlinkPlugin.d.ts +24 -0
- package/node_modules/enhanced-resolve/types/SyncAsyncFileSystemDecorator.d.ts +52 -0
- package/node_modules/enhanced-resolve/types/TryNextPlugin.d.ts +26 -0
- package/node_modules/enhanced-resolve/types/TsconfigPathsPlugin.d.ts +204 -0
- package/node_modules/enhanced-resolve/types/UnsafeCachePlugin.d.ts +43 -0
- package/node_modules/enhanced-resolve/types/UseFilePlugin.d.ts +27 -0
- package/node_modules/enhanced-resolve/types/createInnerContext.d.ts +10 -0
- package/node_modules/enhanced-resolve/types/forEachBail.d.ts +15 -0
- package/node_modules/enhanced-resolve/types/getInnerRequest.d.ts +7 -0
- package/node_modules/enhanced-resolve/types/getPaths.d.ts +34 -0
- package/node_modules/enhanced-resolve/types/index.d.ts +131 -0
- package/node_modules/enhanced-resolve/types/util/entrypoints.d.ts +62 -0
- package/node_modules/enhanced-resolve/types/util/fileURLToPath.d.ts +14 -0
- package/node_modules/enhanced-resolve/types/util/fs.d.ts +38 -0
- package/node_modules/enhanced-resolve/types/util/graceful-fs-browser.d.ts +22 -0
- package/node_modules/enhanced-resolve/types/util/identifier.d.ts +7 -0
- package/node_modules/enhanced-resolve/types/util/memoize.d.ts +15 -0
- package/node_modules/enhanced-resolve/types/util/module-browser.d.ts +1 -0
- package/node_modules/enhanced-resolve/types/util/packageMap.d.ts +118 -0
- package/node_modules/enhanced-resolve/types/util/path-browser.d.ts +45 -0
- package/node_modules/enhanced-resolve/types/util/path.d.ts +125 -0
- package/node_modules/enhanced-resolve/types/util/pathToFileURL.d.ts +14 -0
- package/node_modules/enhanced-resolve/types/util/process-browser.d.ts +3 -0
- package/node_modules/enhanced-resolve/types/util/strip-json-comments.d.ts +24 -0
- package/node_modules/enhanced-resolve/types/util/url-browser.d.ts +1 -0
- package/node_modules/enhanced-resolve/types.d.ts +5 -2057
- package/node_modules/is-installed-globally/index.js +26 -4
- package/node_modules/is-installed-globally/package.json +1 -1
- package/package.json +5 -5
- package/schema/zedbee.schema.json +12 -1
- package/node_modules/dependency-cruiser/node_modules/picomatch/README.md +0 -743
- package/node_modules/dependency-cruiser/node_modules/picomatch/index.js +0 -17
- package/node_modules/dependency-cruiser/node_modules/picomatch/lib/constants.js +0 -184
- package/node_modules/dependency-cruiser/node_modules/picomatch/lib/parse.js +0 -1416
- package/node_modules/dependency-cruiser/node_modules/picomatch/lib/picomatch.js +0 -361
- package/node_modules/dependency-cruiser/node_modules/picomatch/lib/scan.js +0 -391
- package/node_modules/dependency-cruiser/node_modules/picomatch/lib/utils.js +0 -72
- package/node_modules/dependency-cruiser/node_modules/picomatch/package.json +0 -83
- package/node_modules/dependency-cruiser/node_modules/picomatch/posix.js +0 -3
package/docs/checks.md
CHANGED
|
@@ -48,7 +48,7 @@ formatting to every unchanged file.
|
|
|
48
48
|
| `secrets` | Secretlint 13.0.5 recommended preset | Compares redacted baseline/target locations; an ephemeral keyed source-range digest detects same-location replacement | Scans changed regular UTF-8 files up to 1 MiB, not Git history; pattern matches can need review |
|
|
49
49
|
| `duplication` | jscpd clone detection and repository duplication percentage | Compares whole workspaces and attributes new clone regions/project regressions | Large source lists can exceed an operating-system argument limit |
|
|
50
50
|
| `dependencyArchitecture` | Dependency Cruiser cycles and invalid dependency edges | Compares the workspace module graph | Uses managed rules, not a project's executable dependency-cruiser config |
|
|
51
|
-
| `deadCode` | Knip unused files, exports, and dependency hygiene | Compares each workspace as a project; saved findings require validated snapshot inputs and package-absence guards | Framework plugins are disabled;
|
|
51
|
+
| `deadCode` | Knip unused files, exports, and dependency hygiene | Compares each workspace as a project; saved findings require validated snapshot inputs and package-absence guards | Framework plugins are disabled; custom Vite inputs need explicit entries |
|
|
52
52
|
| `reactCorrectness` | React, Hooks, and JSX correctness | Runs only in discovered React/Ink/Next/Remix workspaces; calibrates each baseline/target workspace from staged dependency data | Uses the staged manifest, an unambiguous supported lockfile when available, then the managed React 19.2 fallback |
|
|
53
53
|
| `reactAccessibility` | Static JSX accessibility checks | Runs only for React DOM, Next.js, and Remix—not Ink terminal UI | Static JSX rules cannot prove runtime accessibility |
|
|
54
54
|
| `vulnerabilities` | Zedbee's bounded OSV API v1 client | Compares advisory/package/dependency-path state when supported lockfiles change or timing is `always` | Online only; discloses package name, exact version, and npm ecosystem identifier to `api.osv.dev` |
|
|
@@ -78,7 +78,24 @@ When a possible compiler input changes, both checks still conservatively check
|
|
|
78
78
|
every discovered workspace containing TypeScript sources, including unchanged
|
|
79
79
|
consumers and sibling workspaces. Both compare findings across the project,
|
|
80
80
|
including unchanged files. Existing
|
|
81
|
-
baseline findings remain non-blocking when
|
|
81
|
+
baseline findings remain non-blocking when their supported comparison identities
|
|
82
|
+
remain unchanged. File renames and unchanged spans retain location pairing.
|
|
83
|
+
For complexity and `react/no-unescaped-entities`, selected source deletions and
|
|
84
|
+
extractions can also preserve baseline debt across files or workspaces, under
|
|
85
|
+
equivalent effective policy. Matching reserves retained originals, then requires
|
|
86
|
+
a unique removed entity and a unique destination with the same full syntax and
|
|
87
|
+
lexical ownership. Ordinary comments and token spacing may change; string
|
|
88
|
+
literals, JSX text, export wrappers, directives, and declaration ownership must
|
|
89
|
+
remain compatible. Copies, ambiguous duplicates, modified extracted bodies, and
|
|
90
|
+
policy changes receive no cross-file exemption. Parser/capture failures or move
|
|
91
|
+
budgets conservatively leave findings unmatched; affected finding evidence
|
|
92
|
+
identifies the fallback. This does not establish semantic equivalence: new
|
|
93
|
+
missing imports, scope errors, type errors, and other lint findings still use
|
|
94
|
+
their own comparison rules. Move discovery reads only selected captured source
|
|
95
|
+
changes, with limits of 128 files, 4 MiB total, 512 KiB per file, 10,000 entities,
|
|
96
|
+
250,000 syntax tokens, and two seconds of matching. Nested/anonymous/member
|
|
97
|
+
functions require compatible syntax ownership; unsupported rearrangements may
|
|
98
|
+
remain new debt.
|
|
82
99
|
File policies still control which lint findings are enabled. `when: "always"`
|
|
83
100
|
retains full project comparison for a nonempty changeset even when its changed
|
|
84
101
|
paths would otherwise be unrelated. Other analyzers retain their own input
|
|
@@ -372,6 +389,73 @@ checked for exact framework consumption. Reachable library exports still receive
|
|
|
372
389
|
normal analysis. Custom `pageExtensions`, MDX/custom compilers and
|
|
373
390
|
`next <command> <subdirectory>` discovery are outside these default conventions.
|
|
374
391
|
|
|
392
|
+
Vite dead-code analysis recognizes captured `<workspace>/index.html` in workspaces
|
|
393
|
+
that declare `vite`. Local `<script type="module" src="...">` references root
|
|
394
|
+
existing, owned JavaScript/TypeScript sources (js/jsx/mjs/cjs/ts/tsx/mts/cts).
|
|
395
|
+
Root-relative URLs resolve against that workspace; relative URLs resolve against
|
|
396
|
+
the HTML file. HTML tag/attribute names are case-insensitive, while the module
|
|
397
|
+
type value is exactly `module`, matching Vite. Attribute character references and
|
|
398
|
+
one level of URL percent encoding are decoded; query strings and fragments are
|
|
399
|
+
removed for file resolution. Loading modifiers such as `?raw`, `?url` and `?worker`
|
|
400
|
+
require explicit source entries. Comments, inert template/noscript content,
|
|
401
|
+
classic scripts and external/data URLs contribute no local entries. The first
|
|
402
|
+
occurrence of a duplicate attribute wins.
|
|
403
|
+
|
|
404
|
+
Additional entries belong only in the repository's root policy:
|
|
405
|
+
|
|
406
|
+
```jsonc
|
|
407
|
+
{
|
|
408
|
+
"checks": {
|
|
409
|
+
"deadCode": {
|
|
410
|
+
"severity": "error",
|
|
411
|
+
"entryPoints": ["web/pages/admin.html", "web/src/custom-bootstrap.ts"],
|
|
412
|
+
},
|
|
413
|
+
},
|
|
414
|
+
}
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
`entryPoints` contains at most 256 exact repository-relative source or HTML paths,
|
|
418
|
+
without globs, URLs or `..` components. Each path must exist in the selected target
|
|
419
|
+
and belong to one discovered workspace; contained symlinks must retain the same
|
|
420
|
+
canonical workspace owner. A newly added entry may be absent in the baseline.
|
|
421
|
+
Explicit HTML uses the same parser and its owning workspace as the root for
|
|
422
|
+
absolute URLs. Entries union with supported automatic/package entries. Root values
|
|
423
|
+
and repository provenance appear in `zedbee checks`; file overrides cannot set
|
|
424
|
+
`entryPoints`. Changing only the selected policy file (including a custom
|
|
425
|
+
`--config` JSONC path) schedules entry validation. Baseline and target graphs use
|
|
426
|
+
their own captured policy entry lists, so removing or retargeting an entry can
|
|
427
|
+
introduce a newly unused file without a source edit.
|
|
428
|
+
|
|
429
|
+
Vite configuration is analyzed as inert source, following imports without
|
|
430
|
+
executing it or loading Vite's Knip plugin. Only the first default configuration
|
|
431
|
+
in Vite's order (js, mjs, ts, cjs, mts, cts) is rooted; shadowed configurations remain
|
|
432
|
+
ordinary source. A concrete supported HTML module entry exempts only `vite` from
|
|
433
|
+
unused dependency reporting. Plugins and other development dependencies retain
|
|
434
|
+
normal checks. Entry exports receive Knip's entry-export exemption; unused exports
|
|
435
|
+
in reachable libraries and genuinely orphaned files are still reported.
|
|
436
|
+
|
|
437
|
+
Automatic support is limited to the default root and HTML module convention.
|
|
438
|
+
Custom roots, build/library or multi-page inputs, inline modules, `vite-ignore`,
|
|
439
|
+
HTML base URLs, virtual modules and plugin-injected entries require explicit
|
|
440
|
+
source entries describing every application entry. Detected custom root/build
|
|
441
|
+
properties, including shorthand properties, require explicit sources. Opaque
|
|
442
|
+
spreads, re-exported configurations, and dynamic exports also require explicit
|
|
443
|
+
sources; supported static object and `defineConfig` object exports are read
|
|
444
|
+
without evaluation. Automatic default HTML is not guessed
|
|
445
|
+
for custom or opaque configurations. Explicit source entries also cover inline/ignored modules and loading-modifier
|
|
446
|
+
references; those unsupported references are then covered by the supplied source
|
|
447
|
+
list rather than guessed from their URLs. Other supported local module references still contribute entries under the
|
|
448
|
+
default root. The configuration is not evaluated, so arbitrary dynamic settings
|
|
449
|
+
and plugin behavior cannot be inferred. Merely declaring Vite without default
|
|
450
|
+
HTML does not invent a bootstrap filename: provide entries for custom setups.
|
|
451
|
+
|
|
452
|
+
Missing/unsafe module references and unsupported HTML inputs yield an actionable
|
|
453
|
+
incomplete check instead of misleading unused-file findings. HTML parsing is
|
|
454
|
+
limited to 256 KiB and 16,384 visited nodes per file. HTML/configuration/explicit
|
|
455
|
+
inputs, including relevant absence probes, participate in captured analysis and
|
|
456
|
+
cache validation. HTML-only additions, edits, renames and removals schedule
|
|
457
|
+
workspace dead-code analysis; they do not schedule unrelated graph/type checks.
|
|
458
|
+
|
|
375
459
|
### Synthetic credentials in fixtures
|
|
376
460
|
|
|
377
461
|
Secretlint can recognize a deliberately fake database URL as a credential. For a confirmed synthetic fixture, suppress just the database rule on the next line, with a reason:
|
|
@@ -480,3 +564,13 @@ An async wrapper does not make an immediate update safe. See
|
|
|
480
564
|
for its scope and the distinction from native project ESLint behavior.
|
|
481
565
|
|
|
482
566
|
Managed type and lint checks distinguish verified unavailable installation inputs from source errors. An incomplete comparison reports setup guidance; it does not suppress genuine new unresolved imports or removed exports. Existing relevance decisions still skip unaffected workspaces. Diagnostic messages can retain reviewed local names; see [reporting](reporting.md#diagnostic-message-detail) for contextual and source-free output.
|
|
567
|
+
|
|
568
|
+
Compiler checks conservatively include sibling workspaces when a source change
|
|
569
|
+
might affect them. A bounded exception avoids an unchanged sibling project only
|
|
570
|
+
when both snapshots prove it is self-contained: one local tsconfig including
|
|
571
|
+
`src`, no inherited configuration or references, explicit empty `types`, and
|
|
572
|
+
ordinary TypeScript modules with no imports, references, ambient augmentations,
|
|
573
|
+
or calls.
|
|
574
|
+
Unsupported configurations, JSX, ambient declarations, symlinks, missing data,
|
|
575
|
+
and proof limits retain conservative coverage. This is deliberately narrower
|
|
576
|
+
than assuming that a file outside the edited folder cannot be affected.
|
package/docs/privacy.md
CHANGED
|
@@ -275,3 +275,16 @@ The managed source-free option does not override separately authorized full proj
|
|
|
275
275
|
### Performance diagnostics
|
|
276
276
|
|
|
277
277
|
Completed scan telemetry can include bounded totals by check: elapsed, worker queue and execution milliseconds, cache hits/misses/bypasses, a changed-file-count bucket, execution mode, and approved incomplete-error codes. These retain everyday local usage. They contain no repository/workspace names, file paths, source, or raw error messages. Overlapping check durations are not CPU time or an additive scan-duration breakdown. Older clients may omit these details. Existing opt-out settings apply.
|
|
278
|
+
|
|
279
|
+
Temporary report maintenance uses the current invocation's age policy for all
|
|
280
|
+
tracked scan/fix reports at the same physical checkout. A later shorter policy
|
|
281
|
+
can therefore expire an earlier report; separate checkout roots are isolated.
|
|
282
|
+
OS or external cleanup may remove temporary files sooner. Use explicit JSON or
|
|
283
|
+
SARIF redirection outside OS temporary storage for durable investigation files;
|
|
284
|
+
see [reporting and exports](reporting.md#explicit-complete-exports).
|
|
285
|
+
|
|
286
|
+
The optional `--diagnostics` maintenance record is local stderr output, not
|
|
287
|
+
telemetry. It contains bounded counts, effective age policy, protocol/state
|
|
288
|
+
recovery status, and write/capacity outcome, with no report contents, filenames,
|
|
289
|
+
or source/repository/temporary paths. Actual expiry removals and already-missing
|
|
290
|
+
tracked entries are counted separately; an external deletion's cause is unknown.
|
package/docs/reporting.md
CHANGED
|
@@ -41,7 +41,7 @@ age. Redirect explicit JSON when durable fix-plan metadata is required.
|
|
|
41
41
|
|
|
42
42
|
An automatic scan (`zedbee scan` or `zedbee scan --format auto`) always writes a complete versioned JSON report to operating-system temporary storage. A pass with zero findings still receives a report. Its complete report path appears before the final output and after the final result; the path is printed only after a complete report exists. A wide ordinary TTY uses branded Ink. A narrow terminal, redirected output, CI, `TERM=dumb`, or screen-reader output uses a linear ANSI-free result.
|
|
43
43
|
|
|
44
|
-
Automatic output shows up to 25 findings by default, with blockers first; that limit applies only to findings. Counts, disclosures, incomplete checks, report warnings, guidance, and report paths remain complete. Explicit `--format ink` is a bounded preview using the same limit, but writes a temporary report only when its finding preview overflows. Fixing only the visible preview is insufficient; read the complete report and address every applicable finding.
|
|
44
|
+
Automatic output shows up to 25 findings by default, with blockers first. Blocking parse, unresolved-input, and supported compiler-configuration failures precede unsafe/implicit-any findings; independent secrets and structural-security blockers also take priority. Omitted findings are counted by check and rule, with complete details in the full report. This ordering does not establish that one finding caused another, and the JSON/SARIF ordering and every finding remain unchanged. In staged mode, unresolved imports receive general staged-diff guidance; it does not assert that an importer has unstaged edits or that a previous staging command failed. That preview limit applies only to findings. Counts, disclosures, incomplete checks, report warnings, guidance, and report paths remain complete. Explicit `--format ink` is a bounded preview using the same limit, but writes a temporary report only when its finding preview overflows. Fixing only the visible preview is insufficient; read the complete report and address every applicable finding.
|
|
45
45
|
|
|
46
46
|
Configure the limit and maximum report age without making any lockfile changes:
|
|
47
47
|
|
|
@@ -62,6 +62,25 @@ Configure the limit and maximum report age without making any lockfile changes:
|
|
|
62
62
|
|
|
63
63
|
`terminalFindingLimit` defaults to 25; set it to any positive integer or `"all"` to show every finding. `temporaryReportMaxAge` defaults to `"24h"` and accepts positive whole-number durations such as `"30m"`, `"24h"`, and `"7d"`. Temporary reports become eligible for cleanup at the configured age and are removed during a subsequent Zedbee maintenance run. The operating system may remove them sooner. These handoffs are not archives. This configuration example is illustrative; `zedbee init` writes editable recommended guidance. `opening` and `nextStep` can be blanked independently with `""` to hide that heading/message. Complete-report lines remain when a configured message is blank.
|
|
64
64
|
|
|
65
|
+
The **current maintenance request's age policy** applies to all tracked scan and
|
|
66
|
+
fix reports at the same canonical checkout directory. For example, a 21-hour-old
|
|
67
|
+
report survives a passing scan with `24h`, but a later scan or fix request with
|
|
68
|
+
`1h` may remove it. The expiry policy is not stored separately per report. Linked
|
|
69
|
+
worktrees with different physical checkout roots have separate directories;
|
|
70
|
+
branches and scan/fix invocations at one root share a directory. Capacity refusal
|
|
71
|
+
does not evict younger reports, and unknown files are preserved when lifecycle
|
|
72
|
+
state cannot be recovered. This behavior does not establish the cause of any
|
|
73
|
+
previously missing report.
|
|
74
|
+
|
|
75
|
+
With `--diagnostics`, the local stderr diagnostics include a bounded
|
|
76
|
+
`reportMaintenance` record: effective maximum age in milliseconds, protocol
|
|
77
|
+
version, the number of reports actually removed after expiry, the number of
|
|
78
|
+
expired tracked entries already missing, lifecycle-state recovery status, and
|
|
79
|
+
write/capacity outcome. An already-missing entry is not counted as a removal and
|
|
80
|
+
has no inferred cause. These observations contain no report content, filenames,
|
|
81
|
+
repository paths, or report paths, and are not telemetry. They describe this
|
|
82
|
+
maintenance request only and are absent without the opt-in flag.
|
|
83
|
+
|
|
65
84
|
The temporary JSON report follows the disk source-excerpt policy, not the interactive preview policy. The default `"interactive"` policy can show source excerpts live in Ink but omits ordinary excerpts from disk. Set `sourceExcerpts` to `"always"` or pass `--include-source` to persist them; `"never"` or `--no-source` omits them. Secret content is always redacted.
|
|
66
85
|
|
|
67
86
|
Cleanup and write warnings are non-blocking report-maintenance diagnostics and do not replace the scan's normal outcome. A cleanup warning identifies a safely validated path when possible. A report failure prints no path or configured guidance, restores every finding, preserves the canonical scan outcome, and shows the fixed `REPORT UNAVAILABLE` alert twice—above and below the result. `REPORT DELIVERY WARNING` is a detail panel for report-maintenance information, not the fixed failure alert.
|
|
@@ -76,6 +95,19 @@ npx zedbee scan --format json > zedbee-report.json
|
|
|
76
95
|
npx zedbee scan --format sarif > zedbee.sarif
|
|
77
96
|
```
|
|
78
97
|
|
|
98
|
+
To retain an investigation artifact outside OS temporary storage while preserving
|
|
99
|
+
the scan's exit status (including with shell `errexit` enabled):
|
|
100
|
+
|
|
101
|
+
```sh
|
|
102
|
+
status=0
|
|
103
|
+
npx zedbee scan --format json > ./investigation-report.json || status=$?
|
|
104
|
+
exit "$status"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Use `--format sarif` with the same pattern for SARIF. Choose a durable destination
|
|
108
|
+
and manage its access and retention yourself; a temporary handoff path is not an
|
|
109
|
+
archive.
|
|
110
|
+
|
|
79
111
|
These explicit formats create no sidecar or automatic temporary report. Text is stable human-readable output, JSON is Zedbee's versioned machine contract, and SARIF is the enterprise interchange format. Redirect explicit JSON or SARIF when durable output is required. Coding tools that receive a complete-report path must process it and respect exit code 2 as incomplete required analysis; they must not treat a preview or an incomplete scan as clean.
|
|
80
112
|
|
|
81
113
|
For a clean CI checkout, fetch the intended base ref and export an explicit committed comparison:
|
|
@@ -124,6 +156,8 @@ local permission remains `redacted` in the actual result.
|
|
|
124
156
|
|
|
125
157
|
Managed diagnostics default to contextual messages so module, member and function descriptions can explain the finding. Use `zedbee scan --diagnostic-messages source-free` to request source-free explanations. Set `reporting.diagnosticMessages` in repository configuration for the default. The command-line choice overrides that default.
|
|
126
158
|
|
|
159
|
+
Contextual mode supports the pinned TS2591 missing-name template (including `process` and the standard Node type-install hint) and reviewed built-in React entity escape alternatives. Custom React `forbid` characters and alternatives are not a raw-message bypass. Source-free mode deliberately retains placeholder redaction for contextual substitutions. Validated complexity findings include their numeric score, effective limit, and baseline score when worsening, without adding entity names to the prose.
|
|
160
|
+
|
|
127
161
|
JSON and terminal output use the same reviewed message. A finding's optional `messageRedaction` metadata explains withheld detail. This affects presentation; severity, attribution, stable finding IDs and fix selection use the underlying observation. Source excerpts have their own control. Project ESLint's full-message permission is separate.
|
|
128
162
|
|
|
129
163
|
A `project-delta` finding means a diagnostic is new in a validated comparison; it is not an exact causal trace. If required installation inputs are unavailable, Swarm reports an incomplete check with setup guidance rather than claiming the commit introduced a source error. A required incomplete check prevents a misleading pass. Other completed checks still report their results.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2013-2024 Andrey Kucherenko
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
|
10
10
|
furnished to do so, subject to the following conditions:
|
|
11
11
|
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020-present LongYinan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
MIT License
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2018 GitHub
|
|
26
|
+
|
|
27
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
28
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
29
|
+
in the Software without restriction, including without limitation the rights
|
|
30
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
31
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
32
|
+
furnished to do so, subject to the following conditions:
|
|
33
|
+
|
|
34
|
+
The above copyright notice and this permission notice shall be included in all
|
|
35
|
+
copies or substantial portions of the Software.
|
|
36
|
+
|
|
37
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
38
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
39
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
40
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
41
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
42
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
43
|
+
SOFTWARE.
|
|
@@ -679,6 +679,76 @@
|
|
|
679
679
|
"license": "MIT",
|
|
680
680
|
"sourceUrl": "https://raw.githubusercontent.com/facebook/yoga/v3.2.1/LICENSE",
|
|
681
681
|
"textFile": "licenses/overrides/yoga-layout-3.2.1-LICENSE"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "@napi-rs/wasm-runtime",
|
|
685
|
+
"version": "1.2.5",
|
|
686
|
+
"license": "MIT",
|
|
687
|
+
"sourceUrl": "https://raw.githubusercontent.com/napi-rs/napi-rs/023a9f067af5d44c9a06c9a30b48fdd50ab18ac0/LICENSE",
|
|
688
|
+
"textFile": "licenses/overrides/napi-rs-wasm-runtime-1.2.5-LICENSE"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "jscpd",
|
|
692
|
+
"version": "5.4.2",
|
|
693
|
+
"license": "MIT",
|
|
694
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
695
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "jscpd-darwin-arm64",
|
|
699
|
+
"version": "5.4.2",
|
|
700
|
+
"license": "MIT",
|
|
701
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
702
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "jscpd-darwin-x64",
|
|
706
|
+
"version": "5.4.2",
|
|
707
|
+
"license": "MIT",
|
|
708
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
709
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "jscpd-linux-arm64-gnu",
|
|
713
|
+
"version": "5.4.2",
|
|
714
|
+
"license": "MIT",
|
|
715
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
716
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"name": "jscpd-linux-x64-gnu",
|
|
720
|
+
"version": "5.4.2",
|
|
721
|
+
"license": "MIT",
|
|
722
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
723
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "jscpd-linux-arm64-musl",
|
|
727
|
+
"version": "5.4.2",
|
|
728
|
+
"license": "MIT",
|
|
729
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
730
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "jscpd-linux-x64-musl",
|
|
734
|
+
"version": "5.4.2",
|
|
735
|
+
"license": "MIT",
|
|
736
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
737
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "jscpd-windows-arm64-msvc",
|
|
741
|
+
"version": "5.4.2",
|
|
742
|
+
"license": "MIT",
|
|
743
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
744
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "jscpd-windows-x64-msvc",
|
|
748
|
+
"version": "5.4.2",
|
|
749
|
+
"license": "MIT",
|
|
750
|
+
"sourceUrl": "https://raw.githubusercontent.com/kucherenko/jscpd/db415b5d7cc34d72a324fe5eae2147646dc3558b/LICENSE",
|
|
751
|
+
"textFile": "licenses/overrides/jscpd-5.4.2-LICENSE"
|
|
682
752
|
}
|
|
683
753
|
]
|
|
684
754
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 8.19.0 (2026-10-05)
|
|
2
|
+
|
|
3
|
+
### New features
|
|
4
|
+
|
|
5
|
+
Add support for Unicode 18.
|
|
6
|
+
|
|
7
|
+
### Bug fixes
|
|
8
|
+
|
|
9
|
+
Properly reject additional subscripts before the arrow in an async arrow expression.
|
|
10
|
+
|
|
11
|
+
Don't treat the string `"use strict"` as a directive when followed by an `in` or `instanceof` operator.
|
|
12
|
+
|
|
13
|
+
Properly check for duplicate `__proto__` properties and assignment to short-hand properties in expressions that are the left-hand side of a member expression.
|
|
14
|
+
|
|
1
15
|
## 8.18.0 (2026-07-28)
|
|
2
16
|
|
|
3
17
|
### New features
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
})(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
7
|
// This file was generated. Do not modify manually!
|
|
8
|
-
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1,
|
|
8
|
+
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 31, 4, 33, 15, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 7, 0, 259, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 481, 1, 61, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 12, 2, 9, 1, 3, 0, 33, 1, 1357, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
9
9
|
|
|
10
10
|
// This file was generated. Do not modify manually!
|
|
11
|
-
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2,
|
|
11
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 13, 65, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 7, 25, 39, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 5, 18, 21, 18, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 18, 0, 182, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 24, 43, 22, 0, 239, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 111, 6, 206, 13, 310, 2314, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7386, 37, 33, 96, 114, 14, 913, 15, 50, 7710, 3, 2, 6, 2, 1, 2, 296, 10, 0, 30, 2, 3, 0, 15, 4, 8, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 340, 2, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 129, 15, 6, 55, 50, 49, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4382, 2, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489, 39815, 11327];
|
|
12
12
|
|
|
13
13
|
// This file was generated. Do not modify manually!
|
|
14
|
-
var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0897-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\
|
|
14
|
+
var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7-\u05c9\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0897-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b53-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1af0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\u30fb\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f\uff65";
|
|
15
15
|
|
|
16
16
|
// This file was generated. Do not modify manually!
|
|
17
|
-
var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088f\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5c\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdc-\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c8a\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\
|
|
17
|
+
var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0558\u0559\u0560-\u0588\u058b\u058c\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088f\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5c\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdc-\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c8a\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u208f-\u209f\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7dd\ua7e2\ua7f1-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab6c\uab6d\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
|
|
18
18
|
|
|
19
19
|
// These are a run-length and offset encoded representation of the
|
|
20
20
|
// >0xffff code points that are a valid part of identifiers. The
|
|
@@ -723,7 +723,9 @@
|
|
|
723
723
|
var next = this.input.charAt(end);
|
|
724
724
|
return next === ";" || next === "}" ||
|
|
725
725
|
(lineBreak.test(spaceAfter[0]) &&
|
|
726
|
-
!(/[(`.[+\-/*%<>=,?^&]/.test(next) ||
|
|
726
|
+
!(/[(`.[+\-/*%<>=,?^&]/.test(next) ||
|
|
727
|
+
next === "!" && this.input.charAt(end + 1) === "=" ||
|
|
728
|
+
next === "i" && keywordOpAt(this, end)))
|
|
727
729
|
}
|
|
728
730
|
start += match[0].length;
|
|
729
731
|
|
|
@@ -735,6 +737,19 @@
|
|
|
735
737
|
}
|
|
736
738
|
};
|
|
737
739
|
|
|
740
|
+
// Scan for `in` or `instanceof` at the given position, knowing that
|
|
741
|
+
// there's an `i` there.
|
|
742
|
+
function keywordOpAt(parser, pos) {
|
|
743
|
+
var end = pos + 1, stop = Math.min(parser.input.length, pos + 11);
|
|
744
|
+
while (end < stop) {
|
|
745
|
+
var ch = parser.fullCharCodeAt(end);
|
|
746
|
+
if (!isIdentifierChar(ch, true)) { break }
|
|
747
|
+
end += ch <= 0xffff ? 1 : 2;
|
|
748
|
+
}
|
|
749
|
+
return end === pos + 2 && parser.input.slice(pos, end) === "in" ||
|
|
750
|
+
end === pos + 10 && parser.input.slice(pos, end) === "instanceof"
|
|
751
|
+
}
|
|
752
|
+
|
|
738
753
|
// Predicate that tests whether the next token is of the given
|
|
739
754
|
// type, and if yes, consumes it as a side effect.
|
|
740
755
|
|
|
@@ -2770,10 +2785,11 @@
|
|
|
2770
2785
|
if (this.type === types$1.eq)
|
|
2771
2786
|
{ left = this.toAssignable(left, false, refDestructuringErrors); }
|
|
2772
2787
|
if (!ownDestructuringErrors) {
|
|
2773
|
-
refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma =
|
|
2788
|
+
refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = -1;
|
|
2789
|
+
// reset these when detected inside this expression
|
|
2790
|
+
if (refDestructuringErrors.shorthandAssign >= left.start) { refDestructuringErrors.shorthandAssign = -1; }
|
|
2791
|
+
if (refDestructuringErrors.doubleProto >= left.start) { refDestructuringErrors.doubleProto = -1; }
|
|
2774
2792
|
}
|
|
2775
|
-
if (refDestructuringErrors.shorthandAssign >= left.start)
|
|
2776
|
-
{ refDestructuringErrors.shorthandAssign = -1; } // reset because shorthand default was used correctly
|
|
2777
2793
|
if (this.type === types$1.eq)
|
|
2778
2794
|
{ this.checkLValPattern(left); }
|
|
2779
2795
|
else
|
|
@@ -2926,14 +2942,25 @@
|
|
|
2926
2942
|
|
|
2927
2943
|
pp$5.parseExprSubscripts = function(refDestructuringErrors, forInit) {
|
|
2928
2944
|
var startPos = this.start, startLoc = this.startLoc;
|
|
2945
|
+
var oldDoubleProto = -1, oldShorthandAssign = -1;
|
|
2946
|
+
if (refDestructuringErrors) {
|
|
2947
|
+
oldDoubleProto = refDestructuringErrors.doubleProto;
|
|
2948
|
+
oldShorthandAssign = refDestructuringErrors.shorthandAssign;
|
|
2949
|
+
refDestructuringErrors.doubleProto = refDestructuringErrors.shorthandAssign = -1;
|
|
2950
|
+
}
|
|
2929
2951
|
var expr = this.parseExprAtom(refDestructuringErrors, forInit);
|
|
2930
2952
|
if (expr.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")")
|
|
2931
2953
|
{ return expr }
|
|
2932
2954
|
var result = this.parseSubscripts(expr, startPos, startLoc, false, forInit);
|
|
2933
|
-
if (refDestructuringErrors
|
|
2934
|
-
if (
|
|
2935
|
-
|
|
2936
|
-
|
|
2955
|
+
if (refDestructuringErrors) {
|
|
2956
|
+
if (result.end > expr.end) {
|
|
2957
|
+
this.checkExpressionErrors(refDestructuringErrors, true);
|
|
2958
|
+
if (refDestructuringErrors.parenthesizedAssign >= result.start) { refDestructuringErrors.parenthesizedAssign = -1; }
|
|
2959
|
+
if (refDestructuringErrors.parenthesizedBind >= result.start) { refDestructuringErrors.parenthesizedBind = -1; }
|
|
2960
|
+
if (refDestructuringErrors.trailingComma >= result.start) { refDestructuringErrors.trailingComma = -1; }
|
|
2961
|
+
}
|
|
2962
|
+
if (oldDoubleProto > -1) { refDestructuringErrors.doubleProto = oldDoubleProto; }
|
|
2963
|
+
if (oldShorthandAssign > -1) { refDestructuringErrors.shorthandAssign = oldShorthandAssign; }
|
|
2937
2964
|
}
|
|
2938
2965
|
return result
|
|
2939
2966
|
};
|
|
@@ -2948,7 +2975,7 @@
|
|
|
2948
2975
|
var element = this.parseSubscript(base, startPos, startLoc, noCalls, maybeAsyncArrow, optionalChained, forInit);
|
|
2949
2976
|
|
|
2950
2977
|
if (element.optional) { optionalChained = true; }
|
|
2951
|
-
if (element === base || element.type === "ArrowFunctionExpression") {
|
|
2978
|
+
if (element.end === base.end || element.type === "ArrowFunctionExpression") {
|
|
2952
2979
|
if (optionalChained) {
|
|
2953
2980
|
var chainNode = this.startNodeAt(startPos, startLoc);
|
|
2954
2981
|
chainNode.expression = element;
|
|
@@ -2958,6 +2985,7 @@
|
|
|
2958
2985
|
}
|
|
2959
2986
|
|
|
2960
2987
|
base = element;
|
|
2988
|
+
maybeAsyncArrow = false;
|
|
2961
2989
|
}
|
|
2962
2990
|
};
|
|
2963
2991
|
|
|
@@ -6267,7 +6295,7 @@
|
|
|
6267
6295
|
// [ghbt]: https://github.com/acornjs/acorn/issues
|
|
6268
6296
|
|
|
6269
6297
|
|
|
6270
|
-
var version = "8.
|
|
6298
|
+
var version = "8.19.0";
|
|
6271
6299
|
|
|
6272
6300
|
Parser.acorn = {
|
|
6273
6301
|
Parser: Parser,
|