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
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export type JsonObject = import("../Resolver").JsonObject;
|
|
2
|
+
export type PackageMapDependencies = {
|
|
3
|
+
[specifier: string]: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* A single entry of the configuration file's `packages` object.
|
|
7
|
+
*/
|
|
8
|
+
export type PackageMapPackage = {
|
|
9
|
+
/**
|
|
10
|
+
* an absolute or relative `file:` URL, resolved against the configuration file
|
|
11
|
+
*/
|
|
12
|
+
url: string;
|
|
13
|
+
/**
|
|
14
|
+
* bare specifier to package id
|
|
15
|
+
*/
|
|
16
|
+
dependencies?: PackageMapDependencies | undefined;
|
|
17
|
+
};
|
|
18
|
+
export type PackageMapPackages = {
|
|
19
|
+
[id: string]: PackageMapPackage;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The parsed contents of a package map configuration file.
|
|
23
|
+
*/
|
|
24
|
+
export type PackageMapJson = {
|
|
25
|
+
/**
|
|
26
|
+
* package entries by package id
|
|
27
|
+
*/
|
|
28
|
+
packages: PackageMapPackages;
|
|
29
|
+
};
|
|
30
|
+
export type PackageMapEntry = {
|
|
31
|
+
/**
|
|
32
|
+
* the package id this entry is keyed by
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
* absolute filesystem path the entry's `url` points at
|
|
37
|
+
*/
|
|
38
|
+
path: string;
|
|
39
|
+
/**
|
|
40
|
+
* bare specifier to package id
|
|
41
|
+
*/
|
|
42
|
+
dependencies: Map<string, string>;
|
|
43
|
+
};
|
|
44
|
+
export type PackageMap = {
|
|
45
|
+
/**
|
|
46
|
+
* entries by package id
|
|
47
|
+
*/
|
|
48
|
+
packages: Map<string, PackageMapEntry>;
|
|
49
|
+
/**
|
|
50
|
+
* package ids by location, longest path first
|
|
51
|
+
*/
|
|
52
|
+
locations: {
|
|
53
|
+
path: string;
|
|
54
|
+
ids: string[];
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
/** @typedef {import("../Resolver").JsonObject} JsonObject */
|
|
58
|
+
/** @typedef {{ [specifier: string]: string }} PackageMapDependencies */
|
|
59
|
+
/**
|
|
60
|
+
* A single entry of the configuration file's `packages` object.
|
|
61
|
+
* @typedef {object} PackageMapPackage
|
|
62
|
+
* @property {string} url an absolute or relative `file:` URL, resolved against the configuration file
|
|
63
|
+
* @property {PackageMapDependencies=} dependencies bare specifier to package id
|
|
64
|
+
*/
|
|
65
|
+
/** @typedef {{ [id: string]: PackageMapPackage }} PackageMapPackages */
|
|
66
|
+
/**
|
|
67
|
+
* The parsed contents of a package map configuration file.
|
|
68
|
+
* @typedef {object} PackageMapJson
|
|
69
|
+
* @property {PackageMapPackages} packages package entries by package id
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* @typedef {object} PackageMapEntry
|
|
73
|
+
* @property {string} id the package id this entry is keyed by
|
|
74
|
+
* @property {string} path absolute filesystem path the entry's `url` points at
|
|
75
|
+
* @property {Map<string, string>} dependencies bare specifier to package id
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* @typedef {object} PackageMap
|
|
79
|
+
* @property {Map<string, PackageMapEntry>} packages entries by package id
|
|
80
|
+
* @property {{ path: string, ids: string[] }[]} locations package ids by location, longest path first
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* @param {string} message message
|
|
84
|
+
* @param {string} code error code
|
|
85
|
+
* @returns {Error & { code: string }} the error
|
|
86
|
+
*/
|
|
87
|
+
export function createError(
|
|
88
|
+
message: string,
|
|
89
|
+
code: string,
|
|
90
|
+
): Error & {
|
|
91
|
+
code: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Find the package ids whose location contains `filePath`. More than one id is
|
|
95
|
+
* returned when several package entries share the same `url`, which the caller
|
|
96
|
+
* has to disambiguate with an explicit package id.
|
|
97
|
+
* @param {PackageMap} packageMap the package map
|
|
98
|
+
* @param {string} filePath an absolute filesystem path
|
|
99
|
+
* @returns {string[]} the matching package ids, empty when the path is outside every package
|
|
100
|
+
*/
|
|
101
|
+
export function findPackageIds(
|
|
102
|
+
packageMap: PackageMap,
|
|
103
|
+
filePath: string,
|
|
104
|
+
): string[];
|
|
105
|
+
/**
|
|
106
|
+
* Parse and validate a package map configuration file.
|
|
107
|
+
*
|
|
108
|
+
* Dangling dependency targets are rejected here rather than at resolution
|
|
109
|
+
* time: the map is static, so a broken table is a configuration error that is
|
|
110
|
+
* better surfaced once and in full.
|
|
111
|
+
* @param {JsonObject} data the parsed configuration file contents
|
|
112
|
+
* @param {string} configFilePath absolute path of the configuration file, used as the base for relative urls
|
|
113
|
+
* @returns {PackageMap} the parsed package map
|
|
114
|
+
*/
|
|
115
|
+
export function parsePackageMap(
|
|
116
|
+
data: JsonObject,
|
|
117
|
+
configFilePath: string,
|
|
118
|
+
): PackageMap;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Posix `basename` — the browser is treated as a posix platform, matching how
|
|
3
|
+
* Node picks the posix variant for `path.basename` on non-Windows systems.
|
|
4
|
+
* @param {string} path path
|
|
5
|
+
* @param {string=} suffix optional suffix to strip
|
|
6
|
+
* @returns {string} basename
|
|
7
|
+
*/
|
|
8
|
+
export function basename(path: string, suffix?: string | undefined): string;
|
|
9
|
+
/**
|
|
10
|
+
* @param {string} path path
|
|
11
|
+
* @returns {string} normalized posix path
|
|
12
|
+
*/
|
|
13
|
+
declare function posixNormalize(path: string): string;
|
|
14
|
+
/**
|
|
15
|
+
* @param {string} path path
|
|
16
|
+
* @returns {string} posix dirname
|
|
17
|
+
*/
|
|
18
|
+
declare function posixDirname(path: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Normalizes drive paths (`C:\…`), UNC paths (`\\server\share\…`), DOS device
|
|
21
|
+
* paths (`\\.\…`, `\\?\…`) and relative/normal segments like Node's
|
|
22
|
+
* `path.win32.normalize`, including the CVE-2024-36139 colon-segment guard.
|
|
23
|
+
*
|
|
24
|
+
* Scope note: reserved Windows device names (`CON`, `COM1`, `LPT1`, …) are not
|
|
25
|
+
* special-cased, so e.g. `\\.\COM1:` differs from Node. Such names cannot occur
|
|
26
|
+
* in a browser (the only place this shim is used) and the resolver never routes
|
|
27
|
+
* them to `win32.normalize`, so this does not affect resolution.
|
|
28
|
+
* @param {string} path path
|
|
29
|
+
* @returns {string} normalized win32 path
|
|
30
|
+
*/
|
|
31
|
+
declare function win32Normalize(path: string): string;
|
|
32
|
+
/**
|
|
33
|
+
* @param {string} path path
|
|
34
|
+
* @returns {string} win32 dirname
|
|
35
|
+
*/
|
|
36
|
+
declare function win32Dirname(path: string): string;
|
|
37
|
+
export declare namespace posix {
|
|
38
|
+
export { posixNormalize as normalize };
|
|
39
|
+
export { posixDirname as dirname };
|
|
40
|
+
}
|
|
41
|
+
export declare namespace win32 {
|
|
42
|
+
export { win32Normalize as normalize };
|
|
43
|
+
export { win32Dirname as dirname };
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export type CachedJoin = {
|
|
2
|
+
fn: (rootPath: string, request: string) => string;
|
|
3
|
+
cache: Map<string, Map<string, string | undefined>>;
|
|
4
|
+
};
|
|
5
|
+
export type CachedDirname = {
|
|
6
|
+
fn: (maybePath: string) => string;
|
|
7
|
+
cache: Map<string, string>;
|
|
8
|
+
};
|
|
9
|
+
export type CachedBasename = {
|
|
10
|
+
fn: (maybePath: string, suffix?: string) => string;
|
|
11
|
+
cache: Map<string, Map<string | undefined, string | undefined>>;
|
|
12
|
+
};
|
|
13
|
+
export type PathType = number;
|
|
14
|
+
/**
|
|
15
|
+
* @enum {number}
|
|
16
|
+
*/
|
|
17
|
+
export const PathType: Readonly<{
|
|
18
|
+
Empty: 0;
|
|
19
|
+
Normal: 1;
|
|
20
|
+
Relative: 2;
|
|
21
|
+
AbsoluteWin: 3;
|
|
22
|
+
AbsolutePosix: 4;
|
|
23
|
+
Internal: 5;
|
|
24
|
+
}>;
|
|
25
|
+
/** @typedef {{ fn: (maybePath: string, suffix?: string) => string, cache: Map<string, Map<string | undefined, string | undefined>> }} CachedBasename */
|
|
26
|
+
/**
|
|
27
|
+
* @returns {CachedBasename} cached basename
|
|
28
|
+
*/
|
|
29
|
+
export function createCachedBasename(): CachedBasename;
|
|
30
|
+
/** @typedef {{ fn: (maybePath: string) => string, cache: Map<string, string> }} CachedDirname */
|
|
31
|
+
/**
|
|
32
|
+
* @returns {CachedDirname} cached dirname
|
|
33
|
+
*/
|
|
34
|
+
export function createCachedDirname(): CachedDirname;
|
|
35
|
+
/** @typedef {{ fn: (rootPath: string, request: string) => string, cache: Map<string, Map<string, string | undefined>> }} CachedJoin */
|
|
36
|
+
/**
|
|
37
|
+
* @returns {CachedJoin} cached join
|
|
38
|
+
*/
|
|
39
|
+
export function createCachedJoin(): CachedJoin;
|
|
40
|
+
export const deprecatedInvalidSegmentRegEx: RegExp;
|
|
41
|
+
/**
|
|
42
|
+
* @param {string} maybePath a path
|
|
43
|
+
* @returns {string} the directory name
|
|
44
|
+
*/
|
|
45
|
+
export function dirname(maybePath: string): string;
|
|
46
|
+
/**
|
|
47
|
+
* @param {string} maybePath a path
|
|
48
|
+
* @returns {PathType} type of path
|
|
49
|
+
*/
|
|
50
|
+
export function getType(maybePath: string): PathType;
|
|
51
|
+
export const invalidSegmentRegEx: RegExp;
|
|
52
|
+
/**
|
|
53
|
+
* Whether a string names a `file:` URL rather than a path. The scheme has to
|
|
54
|
+
* open the string and be followed by a slash, as Node's own URL parser needs,
|
|
55
|
+
* so a path segment spelled `file:` stays a path and `file:x.js` — which Node
|
|
56
|
+
* reads as `/x.js` — stays the relative request it looks like.
|
|
57
|
+
* @param {string} maybePath a path or a `file:` URL string
|
|
58
|
+
* @returns {boolean} true when the string is a `file:` URL
|
|
59
|
+
*/
|
|
60
|
+
export function isFileURL(maybePath: string): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Whether childPath is parentPath itself or a path under it, the answer node's
|
|
63
|
+
* `relative(parentPath, childPath)` gives: not escaping upward and not
|
|
64
|
+
* absolute. A trailing separator on the parent is not part of the boundary, so
|
|
65
|
+
* `/a/b/` contains exactly what `/a/b` contains.
|
|
66
|
+
* @param {string} parentPath parent directory path
|
|
67
|
+
* @param {string} childPath child path to check
|
|
68
|
+
* @returns {boolean} true if childPath is parentPath or is under it
|
|
69
|
+
*/
|
|
70
|
+
export function isInside(parentPath: string, childPath: string): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Whether `request` is a relative request — i.e. matches `^\.\.?(?:\/|$)`.
|
|
73
|
+
*
|
|
74
|
+
* This is called on every `doResolve` via `UnsafeCachePlugin` and
|
|
75
|
+
* `getInnerRequest`, so the char-code form is meaningfully faster than the
|
|
76
|
+
* equivalent regex test: no regex state machine, no string object churn.
|
|
77
|
+
* @param {string} request request string
|
|
78
|
+
* @returns {boolean} true if request is relative
|
|
79
|
+
*/
|
|
80
|
+
export function isRelativeRequest(request: string): boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Check if childPath is a subdirectory of parentPath. Compares like `isInside`,
|
|
83
|
+
* except that a path is not a subpath of itself.
|
|
84
|
+
*
|
|
85
|
+
* Called from `TsconfigPathsPlugin._selectPathsDataForContext` inside a loop
|
|
86
|
+
* over every tsconfig-paths context on every resolve, so it's worth keeping
|
|
87
|
+
* cheap: a native `startsWith` plus a separator char check answers it, and the
|
|
88
|
+
* character loop only runs for a Windows path that the prefix test missed.
|
|
89
|
+
* @param {string} parentPath parent directory path
|
|
90
|
+
* @param {string} childPath child path to check
|
|
91
|
+
* @returns {boolean} true if childPath is under parentPath
|
|
92
|
+
*/
|
|
93
|
+
export function isSubPath(parentPath: string, childPath: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Whether this is a Windows path, in which `/` and `\` are interchangeable and
|
|
96
|
+
* paths compare case-insensitively, as opposed to a posix path, in which `\` is
|
|
97
|
+
* an ordinary filename character. Decided by the root — a drive letter or a
|
|
98
|
+
* leading `\` — which is where `path.win32` and `path.posix` disagree about
|
|
99
|
+
* `parse(maybePath).root`, and never by the host platform, since Windows paths
|
|
100
|
+
* are resolved on posix hosts and in browsers too. A path starting with `//`
|
|
101
|
+
* stays posix: `path.win32` reads it as a UNC root, but here it cannot be told
|
|
102
|
+
* apart from a posix path, where `\` has to keep being a filename character.
|
|
103
|
+
* @param {string} maybePath a path
|
|
104
|
+
* @returns {boolean} true, when the path is a Windows path
|
|
105
|
+
*/
|
|
106
|
+
export function isWindowsPath(maybePath: string): boolean;
|
|
107
|
+
/**
|
|
108
|
+
* @param {string} rootPath the root path
|
|
109
|
+
* @param {string | undefined} request the request path
|
|
110
|
+
* @returns {string} the joined path
|
|
111
|
+
*/
|
|
112
|
+
export function join(rootPath: string, request: string | undefined): string;
|
|
113
|
+
/**
|
|
114
|
+
* @param {string} maybePath a path
|
|
115
|
+
* @returns {string} the normalized path
|
|
116
|
+
*/
|
|
117
|
+
export function normalize(maybePath: string): string;
|
|
118
|
+
/**
|
|
119
|
+
* Convert a `file:` URL — a `URL` instance or a `file:/` string, the form
|
|
120
|
+
* `import.meta.resolve` returns — to the path it names. Anything else is
|
|
121
|
+
* returned unchanged, so a path passes through.
|
|
122
|
+
* @param {string | URL} maybeURL a path, a `file:` URL string or a `file:` `URL` instance
|
|
123
|
+
* @returns {string} a filesystem path
|
|
124
|
+
*/
|
|
125
|
+
export function toPath(maybeURL: string | URL): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export = pathToFileURL;
|
|
2
|
+
/**
|
|
3
|
+
* @param {string} filepath an absolute filesystem path
|
|
4
|
+
* @param {{ windows?: boolean }=} options force the platform branch
|
|
5
|
+
* @returns {URL} the `file:` URL
|
|
6
|
+
*/
|
|
7
|
+
declare function pathToFileURL(
|
|
8
|
+
filepath: string,
|
|
9
|
+
options?:
|
|
10
|
+
| {
|
|
11
|
+
windows?: boolean;
|
|
12
|
+
}
|
|
13
|
+
| undefined,
|
|
14
|
+
): URL;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export = stripJsonComments;
|
|
2
|
+
/**
|
|
3
|
+
* Strip comments from JSON string
|
|
4
|
+
* @param {string} jsonString JSON string with potential comments
|
|
5
|
+
* @param {StripJsonCommentsOptions} options Options
|
|
6
|
+
* @returns {string} JSON string without comments
|
|
7
|
+
*/
|
|
8
|
+
declare function stripJsonComments(
|
|
9
|
+
jsonString: string,
|
|
10
|
+
{ whitespace, trailingCommas }?: StripJsonCommentsOptions,
|
|
11
|
+
): string;
|
|
12
|
+
declare namespace stripJsonComments {
|
|
13
|
+
export { StripJsonCommentsOptions };
|
|
14
|
+
}
|
|
15
|
+
type StripJsonCommentsOptions = {
|
|
16
|
+
/**
|
|
17
|
+
* Replace comments with whitespace
|
|
18
|
+
*/
|
|
19
|
+
whitespace?: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Strip trailing commas
|
|
22
|
+
*/
|
|
23
|
+
trailingCommas?: boolean | undefined;
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export let fileURLToPath: typeof import("./fileURLToPath");
|