@maverickcer/env-cap 0.5.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADOPTION.md +144 -0
- package/AGENTS.md +146 -0
- package/CHANGELOG.md +438 -0
- package/CODE_OF_CONDUCT.md +124 -0
- package/CODE_REVIEW.md +200 -0
- package/CONTRIBUTING.md +131 -0
- package/GUIDE.md +1214 -0
- package/PROMPT.md +89 -0
- package/README.md +97 -199
- package/RELEASING.md +160 -0
- package/SECURITY.md +270 -0
- package/SUPPORT.md +76 -0
- package/VERSIONING.md +118 -0
- package/benchmarks/READING-BENCHMARKS.md +197 -0
- package/benchmarks/README.md +126 -0
- package/benchmarks/WRITING-BENCHMARKS.md +252 -0
- package/benchmarks/performance-buildtime/BENCHMARKS.md +889 -0
- package/benchmarks/performance-runtime/BENCHMARKS.md +1988 -0
- package/dist/.dts/_ipc/build-fs.d.ts +53 -0
- package/dist/.dts/_ipc/build-fs.d.ts.map +1 -0
- package/dist/.dts/_ipc/compiler-api.d.ts +17 -0
- package/dist/.dts/_ipc/compiler-api.d.ts.map +1 -0
- package/dist/.dts/_ipc/display-path.d.ts +27 -0
- package/dist/.dts/_ipc/display-path.d.ts.map +1 -0
- package/dist/.dts/_ipc/generated-banner.d.ts +58 -0
- package/dist/.dts/_ipc/generated-banner.d.ts.map +1 -0
- package/dist/.dts/_ipc/glob.d.ts +22 -0
- package/dist/.dts/_ipc/glob.d.ts.map +1 -0
- package/dist/.dts/_ipc/no-node-fs.d.ts +34 -0
- package/dist/.dts/_ipc/no-node-fs.d.ts.map +1 -0
- package/dist/.dts/_ipc/resolve-tsconfig-paths.d.ts +134 -0
- package/dist/.dts/_ipc/resolve-tsconfig-paths.d.ts.map +1 -0
- package/dist/.dts/_ipc/typescript.d.ts +20 -0
- package/dist/.dts/_ipc/typescript.d.ts.map +1 -0
- package/dist/.dts/build/assemble-project.d.ts +1 -1
- package/dist/.dts/build/assemble-project.d.ts.map +1 -1
- package/dist/.dts/build/change-model.d.ts.map +1 -1
- package/dist/.dts/build/check-artifacts.d.ts.map +1 -1
- package/dist/.dts/build/citation-verification.d.ts.map +1 -1
- package/dist/.dts/build/compatibility.d.ts.map +1 -1
- package/dist/.dts/build/compiler-api.d.ts +12 -0
- package/dist/.dts/build/compiler-api.d.ts.map +1 -0
- package/dist/.dts/build/dependency-graph.d.ts +3 -1
- package/dist/.dts/build/dependency-graph.d.ts.map +1 -1
- package/dist/.dts/build/dependency-model.d.ts.map +1 -1
- package/dist/.dts/build/discover.d.ts.map +1 -1
- package/dist/.dts/build/display-path.d.ts +3 -21
- package/dist/.dts/build/display-path.d.ts.map +1 -1
- package/dist/.dts/build/docs.d.ts +1 -1
- package/dist/.dts/build/docs.d.ts.map +1 -1
- package/dist/.dts/build/env-example.d.ts.map +1 -1
- package/dist/.dts/build/evidence-cache.d.ts +1 -1
- package/dist/.dts/build/evidence-cache.d.ts.map +1 -1
- package/dist/.dts/build/evidence-model.d.ts +2 -2
- package/dist/.dts/build/evidence-snapshot.d.ts +25 -0
- package/dist/.dts/build/evidence-snapshot.d.ts.map +1 -1
- package/dist/.dts/build/finding-model.d.ts +1 -1
- package/dist/.dts/build/finding-model.d.ts.map +1 -1
- package/dist/.dts/build/generate-documentation.d.ts.map +1 -1
- package/dist/.dts/build/generate-env-artifacts.d.ts +23 -8
- package/dist/.dts/build/generate-env-artifacts.d.ts.map +1 -1
- package/dist/.dts/build/generate-evidence.d.ts.map +1 -1
- package/dist/.dts/build/generate-manifest.d.ts +1 -1
- package/dist/.dts/build/generate-manifest.d.ts.map +1 -1
- package/dist/.dts/build/generate-usage.d.ts +3 -3
- package/dist/.dts/build/generate-usage.d.ts.map +1 -1
- package/dist/.dts/build/generated-banner.d.ts +29 -38
- package/dist/.dts/build/generated-banner.d.ts.map +1 -1
- package/dist/.dts/build/glob.d.ts +3 -15
- package/dist/.dts/build/glob.d.ts.map +1 -1
- package/dist/.dts/build/index.d.ts +2 -2
- package/dist/.dts/build/lifecycle-model.d.ts.map +1 -1
- package/dist/.dts/build/link.d.ts.map +1 -1
- package/dist/.dts/build/literal-eval.d.ts +4 -3
- package/dist/.dts/build/literal-eval.d.ts.map +1 -1
- package/dist/.dts/build/live-expirations.d.ts.map +1 -1
- package/dist/.dts/build/manifest.d.ts.map +1 -1
- package/dist/.dts/build/merge-documentation.d.ts +35 -0
- package/dist/.dts/build/merge-documentation.d.ts.map +1 -0
- package/dist/.dts/build/parse.d.ts +12 -12
- package/dist/.dts/build/parse.d.ts.map +1 -1
- package/dist/.dts/build/reference-projections.d.ts +17 -3
- package/dist/.dts/build/reference-projections.d.ts.map +1 -1
- package/dist/.dts/build/resolution/resolve-import.d.ts +5 -0
- package/dist/.dts/build/resolution/resolve-import.d.ts.map +1 -1
- package/dist/.dts/build/resolution/resolve-package-schema.d.ts +1 -1
- package/dist/.dts/build/resolution/resolve-package-schema.d.ts.map +1 -1
- package/dist/.dts/build/resolution/resolve-tsconfig-paths.d.ts +11 -94
- package/dist/.dts/build/resolution/resolve-tsconfig-paths.d.ts.map +1 -1
- package/dist/.dts/build/sarif.d.ts.map +1 -1
- package/dist/.dts/build/scan-dependencies.d.ts +23 -0
- package/dist/.dts/build/scan-dependencies.d.ts.map +1 -1
- package/dist/.dts/build/types.d.ts +4 -53
- package/dist/.dts/build/types.d.ts.map +1 -1
- package/dist/.dts/build/typescript.d.ts +6 -0
- package/dist/.dts/build/typescript.d.ts.map +1 -0
- package/dist/.dts/build/usage-report.d.ts.map +1 -1
- package/dist/.dts/cli/filesystem.d.ts +4 -0
- package/dist/.dts/cli/filesystem.d.ts.map +1 -1
- package/dist/.dts/eslint-plugin/glob.d.ts +4 -15
- package/dist/.dts/eslint-plugin/glob.d.ts.map +1 -1
- package/dist/.dts/eslint-plugin/index.d.ts +3 -3
- package/dist/.dts/eslint-plugin/no-node-fs.d.ts +8 -18
- package/dist/.dts/eslint-plugin/no-node-fs.d.ts.map +1 -1
- package/dist/.dts/eslint-plugin/no-raw-process-env.d.ts.map +1 -1
- package/dist/.dts/evidence/index.d.ts +2 -2
- package/dist/.dts/helpers/index.d.ts +2 -2
- package/dist/.dts/helpers/processors.d.ts.map +1 -1
- package/dist/.dts/helpers/validators.d.ts.map +1 -1
- package/dist/.dts/runtime/cache.d.ts +0 -3
- package/dist/.dts/runtime/cache.d.ts.map +1 -1
- package/dist/.dts/runtime/create.d.ts.map +1 -1
- package/dist/.dts/runtime/document.d.ts.map +1 -1
- package/dist/.dts/runtime/index.d.ts +2 -2
- package/dist/.dts/runtime/registry.d.ts.map +1 -1
- package/dist/.dts/runtime/validate.d.ts.map +1 -1
- package/dist/{build-U326PI5A.js → build-WKDIAWF7.js} +685 -645
- package/dist/build-WKDIAWF7.js.map +1 -0
- package/dist/build.cjs +698 -651
- package/dist/build.cjs.map +1 -1
- package/dist/build.js +695 -649
- package/dist/build.js.map +1 -1
- package/dist/{chunk-BSTLSR2R.js → chunk-KEGYUHBU.js} +2 -2
- package/dist/chunk-KEGYUHBU.js.map +1 -0
- package/dist/cli/index.js +64 -63
- package/dist/cli/index.js.map +1 -1
- package/dist/eslint-plugin/index.cjs +95 -626
- package/dist/eslint-plugin/index.cjs.map +1 -1
- package/dist/eslint-plugin/index.js +94 -625
- package/dist/eslint-plugin/index.js.map +1 -1
- package/dist/evidence.cjs.map +1 -1
- package/dist/evidence.js.map +1 -1
- package/dist/helpers.cjs +4 -9
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.js +4 -9
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +11 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -25
- package/dist/index.js.map +1 -1
- package/dist/node.cjs +10 -8
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +10 -8
- package/dist/node.js.map +1 -1
- package/examples/README.md +95 -0
- package/node_modules/@typescript/old/LICENSE.txt +55 -0
- package/node_modules/@typescript/old/README.md +50 -0
- package/node_modules/@typescript/old/SECURITY.md +39 -0
- package/node_modules/@typescript/old/ThirdPartyNoticeText.txt +193 -0
- package/node_modules/@typescript/old/bin/tsc +2 -0
- package/node_modules/@typescript/old/bin/tsserver +2 -0
- package/node_modules/@typescript/old/lib/_tsc.js +134465 -0
- package/node_modules/@typescript/old/lib/_tsserver.js +659 -0
- package/node_modules/@typescript/old/lib/_typingsInstaller.js +222 -0
- package/node_modules/@typescript/old/lib/cs/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/de/diagnosticMessages.generated.json +2125 -0
- package/node_modules/@typescript/old/lib/es/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/fr/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/it/diagnosticMessages.generated.json +2125 -0
- package/node_modules/@typescript/old/lib/ja/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/ko/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/lib.d.ts +20 -0
- package/node_modules/@typescript/old/lib/lib.decorators.d.ts +382 -0
- package/node_modules/@typescript/old/lib/lib.decorators.legacy.d.ts +20 -0
- package/node_modules/@typescript/old/lib/lib.dom.asynciterable.d.ts +18 -0
- package/node_modules/@typescript/old/lib/lib.dom.d.ts +45125 -0
- package/node_modules/@typescript/old/lib/lib.dom.iterable.d.ts +18 -0
- package/node_modules/@typescript/old/lib/lib.es2015.collection.d.ts +150 -0
- package/node_modules/@typescript/old/lib/lib.es2015.core.d.ts +595 -0
- package/node_modules/@typescript/old/lib/lib.es2015.d.ts +26 -0
- package/node_modules/@typescript/old/lib/lib.es2015.generator.d.ts +75 -0
- package/node_modules/@typescript/old/lib/lib.es2015.iterable.d.ts +603 -0
- package/node_modules/@typescript/old/lib/lib.es2015.promise.d.ts +79 -0
- package/node_modules/@typescript/old/lib/lib.es2015.proxy.d.ts +126 -0
- package/node_modules/@typescript/old/lib/lib.es2015.reflect.d.ts +142 -0
- package/node_modules/@typescript/old/lib/lib.es2015.symbol.d.ts +44 -0
- package/node_modules/@typescript/old/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/node_modules/@typescript/old/lib/lib.es2016.array.include.d.ts +114 -0
- package/node_modules/@typescript/old/lib/lib.es2016.d.ts +19 -0
- package/node_modules/@typescript/old/lib/lib.es2016.full.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.es2016.intl.d.ts +29 -0
- package/node_modules/@typescript/old/lib/lib.es2017.arraybuffer.d.ts +19 -0
- package/node_modules/@typescript/old/lib/lib.es2017.d.ts +24 -0
- package/node_modules/@typescript/old/lib/lib.es2017.date.d.ts +29 -0
- package/node_modules/@typescript/old/lib/lib.es2017.full.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.es2017.intl.d.ts +42 -0
- package/node_modules/@typescript/old/lib/lib.es2017.object.d.ts +47 -0
- package/node_modules/@typescript/old/lib/lib.es2017.sharedmemory.d.ts +133 -0
- package/node_modules/@typescript/old/lib/lib.es2017.string.d.ts +43 -0
- package/node_modules/@typescript/old/lib/lib.es2017.typedarrays.d.ts +51 -0
- package/node_modules/@typescript/old/lib/lib.es2018.asyncgenerator.d.ts +75 -0
- package/node_modules/@typescript/old/lib/lib.es2018.asynciterable.d.ts +51 -0
- package/node_modules/@typescript/old/lib/lib.es2018.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2018.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2018.intl.d.ts +81 -0
- package/node_modules/@typescript/old/lib/lib.es2018.promise.d.ts +28 -0
- package/node_modules/@typescript/old/lib/lib.es2018.regexp.d.ts +35 -0
- package/node_modules/@typescript/old/lib/lib.es2019.array.d.ts +77 -0
- package/node_modules/@typescript/old/lib/lib.es2019.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2019.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2019.intl.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.es2019.object.d.ts +31 -0
- package/node_modules/@typescript/old/lib/lib.es2019.string.d.ts +35 -0
- package/node_modules/@typescript/old/lib/lib.es2019.symbol.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2020.bigint.d.ts +763 -0
- package/node_modules/@typescript/old/lib/lib.es2020.d.ts +25 -0
- package/node_modules/@typescript/old/lib/lib.es2020.date.d.ts +40 -0
- package/node_modules/@typescript/old/lib/lib.es2020.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2020.intl.d.ts +472 -0
- package/node_modules/@typescript/old/lib/lib.es2020.number.d.ts +26 -0
- package/node_modules/@typescript/old/lib/lib.es2020.promise.d.ts +45 -0
- package/node_modules/@typescript/old/lib/lib.es2020.sharedmemory.d.ts +97 -0
- package/node_modules/@typescript/old/lib/lib.es2020.string.d.ts +42 -0
- package/node_modules/@typescript/old/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/node_modules/@typescript/old/lib/lib.es2021.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.es2021.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2021.intl.d.ts +164 -0
- package/node_modules/@typescript/old/lib/lib.es2021.promise.d.ts +46 -0
- package/node_modules/@typescript/old/lib/lib.es2021.string.d.ts +31 -0
- package/node_modules/@typescript/old/lib/lib.es2021.weakref.d.ts +76 -0
- package/node_modules/@typescript/old/lib/lib.es2022.array.d.ts +119 -0
- package/node_modules/@typescript/old/lib/lib.es2022.d.ts +23 -0
- package/node_modules/@typescript/old/lib/lib.es2022.error.d.ts +73 -0
- package/node_modules/@typescript/old/lib/lib.es2022.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2022.intl.d.ts +143 -0
- package/node_modules/@typescript/old/lib/lib.es2022.object.d.ts +24 -0
- package/node_modules/@typescript/old/lib/lib.es2022.regexp.d.ts +37 -0
- package/node_modules/@typescript/old/lib/lib.es2022.string.d.ts +23 -0
- package/node_modules/@typescript/old/lib/lib.es2023.array.d.ts +922 -0
- package/node_modules/@typescript/old/lib/lib.es2023.collection.d.ts +19 -0
- package/node_modules/@typescript/old/lib/lib.es2023.d.ts +20 -0
- package/node_modules/@typescript/old/lib/lib.es2023.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2023.intl.d.ts +62 -0
- package/node_modules/@typescript/old/lib/lib.es2024.arraybuffer.d.ts +63 -0
- package/node_modules/@typescript/old/lib/lib.es2024.collection.d.ts +27 -0
- package/node_modules/@typescript/old/lib/lib.es2024.d.ts +24 -0
- package/node_modules/@typescript/old/lib/lib.es2024.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2024.object.d.ts +27 -0
- package/node_modules/@typescript/old/lib/lib.es2024.promise.d.ts +33 -0
- package/node_modules/@typescript/old/lib/lib.es2024.regexp.d.ts +23 -0
- package/node_modules/@typescript/old/lib/lib.es2024.sharedmemory.d.ts +66 -0
- package/node_modules/@typescript/old/lib/lib.es2024.string.d.ts +27 -0
- package/node_modules/@typescript/old/lib/lib.es2025.collection.d.ts +94 -0
- package/node_modules/@typescript/old/lib/lib.es2025.d.ts +23 -0
- package/node_modules/@typescript/old/lib/lib.es2025.float16.d.ts +443 -0
- package/node_modules/@typescript/old/lib/lib.es2025.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.es2025.intl.d.ts +200 -0
- package/node_modules/@typescript/old/lib/lib.es2025.iterator.d.ts +146 -0
- package/node_modules/@typescript/old/lib/lib.es2025.promise.d.ts +32 -0
- package/node_modules/@typescript/old/lib/lib.es2025.regexp.d.ts +30 -0
- package/node_modules/@typescript/old/lib/lib.es5.d.ts +4599 -0
- package/node_modules/@typescript/old/lib/lib.es6.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.esnext.array.d.ts +33 -0
- package/node_modules/@typescript/old/lib/lib.esnext.collection.d.ts +47 -0
- package/node_modules/@typescript/old/lib/lib.esnext.d.ts +27 -0
- package/node_modules/@typescript/old/lib/lib.esnext.date.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.esnext.decorators.d.ts +26 -0
- package/node_modules/@typescript/old/lib/lib.esnext.disposable.d.ts +191 -0
- package/node_modules/@typescript/old/lib/lib.esnext.error.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.esnext.full.d.ts +22 -0
- package/node_modules/@typescript/old/lib/lib.esnext.intl.d.ts +107 -0
- package/node_modules/@typescript/old/lib/lib.esnext.sharedmemory.d.ts +23 -0
- package/node_modules/@typescript/old/lib/lib.esnext.temporal.d.ts +485 -0
- package/node_modules/@typescript/old/lib/lib.esnext.typedarrays.d.ts +90 -0
- package/node_modules/@typescript/old/lib/lib.scripthost.d.ts +320 -0
- package/node_modules/@typescript/old/lib/lib.webworker.asynciterable.d.ts +18 -0
- package/node_modules/@typescript/old/lib/lib.webworker.d.ts +15606 -0
- package/node_modules/@typescript/old/lib/lib.webworker.importscripts.d.ts +21 -0
- package/node_modules/@typescript/old/lib/lib.webworker.iterable.d.ts +18 -0
- package/node_modules/@typescript/old/lib/pl/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/pt-br/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/ru/diagnosticMessages.generated.json +2125 -0
- package/node_modules/@typescript/old/lib/tr/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/tsc.js +8 -0
- package/node_modules/@typescript/old/lib/tsserver.js +8 -0
- package/node_modules/@typescript/old/lib/tsserverlibrary.d.ts +17 -0
- package/node_modules/@typescript/old/lib/tsserverlibrary.js +21 -0
- package/node_modules/@typescript/old/lib/typesMap.json +497 -0
- package/node_modules/@typescript/old/lib/typescript.d.ts +11448 -0
- package/node_modules/@typescript/old/lib/typescript.js +201039 -0
- package/node_modules/@typescript/old/lib/typingsInstaller.js +8 -0
- package/node_modules/@typescript/old/lib/watchGuard.js +53 -0
- package/node_modules/@typescript/old/lib/zh-cn/diagnosticMessages.generated.json +2129 -0
- package/node_modules/@typescript/old/lib/zh-tw/diagnosticMessages.generated.json +2125 -0
- package/node_modules/@typescript/old/package.json +118 -0
- package/node_modules/@typescript/typescript6/LICENSE.txt +55 -0
- package/node_modules/@typescript/typescript6/README.md +9 -0
- package/node_modules/@typescript/typescript6/bin/tsc6 +2 -0
- package/node_modules/@typescript/typescript6/lib/tsc.js +1 -0
- package/node_modules/@typescript/typescript6/lib/tsserverlibrary.d.ts +2 -0
- package/node_modules/@typescript/typescript6/lib/tsserverlibrary.js +1 -0
- package/node_modules/@typescript/typescript6/lib/typescript.d.ts +2 -0
- package/node_modules/@typescript/typescript6/lib/typescript.js +1 -0
- package/node_modules/@typescript/typescript6/package.json +39 -0
- package/package.json +74 -22
- package/schemas/env-cap-report.schema.json +1 -1
- package/skills/env-cap/SKILL.md +91 -0
- package/skills/env-cap/references/api.md +220 -0
- package/specs/architecture.md +634 -0
- package/specs/decisions/0001-runtime-documentation-separation.md +197 -0
- package/specs/decisions/0002-static-analysis-never-execution.md +233 -0
- package/specs/decisions/0003-no-global-env-object.md +172 -0
- package/specs/decisions/0004-no-client-server-package-split.md +116 -0
- package/specs/decisions/0005-warn-not-throw-by-default.md +93 -0
- package/specs/decisions/0006-self-redacting-contracts.md +124 -0
- package/specs/decisions/0007-processor-not-transformer.md +109 -0
- package/specs/decisions/0008-gzip-size-budget.md +173 -0
- package/specs/decisions/0009-exclusive-groups-are-always-errors.md +139 -0
- package/specs/decisions/0010-dependency-ownership-engine-scope-boundary.md +100 -0
- package/specs/decisions/0011-shared-discovery-compute-atomic-write-non-atomic.md +104 -0
- package/specs/decisions/0012-live-expiration-overrides-not-ast-functions.md +145 -0
- package/specs/decisions/0013-json-output-is-a-versioned-mirror.md +136 -0
- package/specs/decisions/0014-cross-package-schema-discovery.md +206 -0
- package/specs/decisions/0015-security-backport-window.md +60 -0
- package/specs/decisions/0016-check-mode-compute-before-compare-never-partial-write.md +113 -0
- package/specs/decisions/0017-eslint-plugin-entry-point.md +113 -0
- package/specs/decisions/0018-rotation-alert-issue-on-non-pr-runs.md +104 -0
- package/specs/decisions/0019-published-json-schema-generated-from-types.md +100 -0
- package/specs/decisions/0020-declaration-maps-via-separate-tsc-pass.md +101 -0
- package/specs/decisions/0021-manifest-change-report-persisted-snapshot.md +177 -0
- package/specs/decisions/0022-validation-contexts.md +267 -0
- package/specs/decisions/0023-tsconfig-path-alias-resolution.md +182 -0
- package/specs/decisions/0024-fact-model-architecture.md +144 -0
- package/specs/decisions/0025-contract-model-json-projection.md +105 -0
- package/specs/decisions/0026-finding-model-unifies-four-families.md +109 -0
- package/specs/decisions/0027-dependency-model-fact-shape-not-engine-access.md +98 -0
- package/specs/decisions/0028-ownership-model-shared-effective-owner.md +85 -0
- package/specs/decisions/0029-lifecycle-model-deprecation-rename-fields.md +98 -0
- package/specs/decisions/0030-change-model-wraps-manifest-change-report.md +97 -0
- package/specs/decisions/0031-evidence-entry-point.md +85 -0
- package/specs/decisions/0032-evidence-projection-provenance-mechanism.md +120 -0
- package/specs/decisions/0033-reference-projections-live-in-examples.md +81 -0
- package/specs/decisions/0034-three-tier-examples-restructuring.md +85 -0
- package/specs/decisions/0035-documentenv-metadata-generalization-and-compliance-fields.md +85 -0
- package/specs/decisions/0036-exact-source-position-evidence.md +122 -0
- package/specs/decisions/0037-developer-declared-dynamic-access-citations.md +114 -0
- package/specs/decisions/0038-always-computed-evidence-model-backs-generate-check-docs.md +244 -0
- package/specs/decisions/0039-scanner-local-dataflow-boundary.md +160 -0
- package/specs/decisions/0040-library-surfaces-do-not-acquire-node-fs.md +156 -0
- package/specs/decisions/0041-dual-package-hazard-checked-documented.md +75 -0
- package/specs/decisions/0042-init-cli-subcommand-scaffolds-only.md +95 -0
- package/specs/decisions/0043-env-cap-resolver-relocated-and-duplicated.md +71 -0
- package/specs/decisions/0044-strict-escalates-every-warning-family.md +88 -0
- package/specs/decisions/0045-promote-experimental-surfaces-to-stable.md +103 -0
- package/specs/decisions/0046-cli-restricted-to-runtime-and-evidence-output.md +177 -0
- package/specs/decisions/0047-supported-toolchain-node-22-and-typescript-5-6.md +30 -0
- package/specs/decisions/0048-eslint-plugin-does-not-vendor-typescript-eslint.md +25 -0
- package/specs/decisions/0049-typescript-7-scanner-uses-a-bundled-typescript-6.md +87 -0
- package/specs/decisions/0050-a-variable-declared-twice-is-documented-once.md +55 -0
- package/specs/generated-artifacts.md +104 -0
- package/specs/migrations/README.md +30 -0
- package/specs/migrations/from-centralized-schema.md +503 -0
- package/specs/migrations/from-dotenv.md +352 -0
- package/specs/migrations/from-envalid.md +482 -0
- package/specs/migrations/from-process-env.md +398 -0
- package/specs/migrations/from-t3-env.md +416 -0
- package/specs/migrations/from-zod.md +303 -0
- package/dist/build-U326PI5A.js.map +0 -1
- package/dist/chunk-BSTLSR2R.js.map +0 -1
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
# @maverickcer/env-cap public API
|
|
2
|
+
|
|
3
|
+
Every export a consumer can import, by entry point, for version 0.7.0. Generated from the package's committed API baselines; the type declarations in the installed package are the authority.
|
|
4
|
+
|
|
5
|
+
## `@maverickcer/env-cap`
|
|
6
|
+
|
|
7
|
+
- `ContractDocs` (interface): `interface ContractDocs<S extends EnvSchema = EnvSchema>`
|
|
8
|
+
- `createEnv` (function): `function createEnv<S extends EnvSchema>(schema: S, options?: CreateEnvOptions): EnvContract<S>`
|
|
9
|
+
- `CreateEnvOptions` (interface): `interface CreateEnvOptions`
|
|
10
|
+
- `DefaultValue` (typealias): `type DefaultValue = unknown | (() => unknown)`
|
|
11
|
+
- `documentEnv` (function): `function documentEnv<S extends EnvSchema>(schema: S, docs: ContractDocs<S>): void`
|
|
12
|
+
- `EnvContract` (typealias): `type EnvContract<S extends EnvSchema> = { readonly [K in keyof S]: InferEnvValue<S[K]>; } & { toString(): string; }`
|
|
13
|
+
- `EnvDefinition` (interface): `interface EnvDefinition<T>`
|
|
14
|
+
- `EnvNotReadyError` (class): `class EnvNotReadyError extends Error`
|
|
15
|
+
- `EnvSchema` (typealias): `type EnvSchema = Record<string, EnvDefinition<any>>`
|
|
16
|
+
- `EnvValidationError` (class): `class EnvValidationError extends Error`
|
|
17
|
+
- `InferEnvValue` (typealias): `type InferEnvValue<D extends EnvDefinition<any>> = D extends { processor: Processor<infer P>; } ? P : [UnwrapDefault<D>] extends [never] ? string : UnwrapDefault<D>`
|
|
18
|
+
- `isEnvContract` (function): `function isEnvContract(value: unknown): value is object`
|
|
19
|
+
- `Processor` (typealias): `type Processor<T> = (value: unknown) => T`
|
|
20
|
+
- `RawEnv` (typealias): `type RawEnv = Readonly<Record<string, unknown>>`
|
|
21
|
+
- `resetEnvCache` (function): `function resetEnvCache(): void`
|
|
22
|
+
- `validateEnv` (function): `function validateEnv(options: validateEnvOptions): Promise<validateEnvResult>`
|
|
23
|
+
- `validateEnvOptions` (interface): `interface validateEnvOptions`
|
|
24
|
+
- `validateEnvResult` (interface): `interface validateEnvResult`
|
|
25
|
+
- `Validator` (typealias): `type Validator<T> = (value: T, rawEnv: RawEnv) => true | string`
|
|
26
|
+
- `VariableDocs` (interface): `interface VariableDocs`
|
|
27
|
+
- `VariableEvidenceDocs` (interface): `interface VariableEvidenceDocs`
|
|
28
|
+
- `VariableFailure` (interface): `interface VariableFailure`
|
|
29
|
+
|
|
30
|
+
## `@maverickcer/env-cap/build`
|
|
31
|
+
|
|
32
|
+
- `AbandonedContractFinding` (interface): `interface AbandonedContractFinding`
|
|
33
|
+
- `applyLiveExpirationOverrides` (function): `function applyLiveExpirationOverrides(contracts: readonly DiscoveredContract[], overrides: Readonly<Record<string, string>>): readonly DiscoveredContract[]`
|
|
34
|
+
- `ArtifactCheckFinding` (interface): `interface ArtifactCheckFinding`
|
|
35
|
+
- `AssertedDynamicAccessFinding` (interface): `interface AssertedDynamicAccessFinding`
|
|
36
|
+
- `buildChangeModel` (function): `function buildChangeModel(manifest: ManifestChangeReport, currentContracts: readonly DiscoveredContract[], root: string): ChangeModel`
|
|
37
|
+
- `buildContractModel` (function): `function buildContractModel(contracts: readonly DiscoveredContract[], root: string): ContractModel`
|
|
38
|
+
- `buildDependencyModel` (function): `function buildDependencyModel(contracts: readonly DiscoveredContract[], scanFiles: readonly string[], readFile: (filePath: string) => Promise<string>, context: ImportResolutionContext, root: string, scannedSurfaces?: readonly ScannedSurface[], dynamicAccessAcknowledgments?: ReadonlyMap<string, readonly DynamicAccessAssertion[]>): Promise<DependencyModel>`
|
|
39
|
+
- `BuildDirent` (interface): `interface BuildDirent`
|
|
40
|
+
- `BuildFileSystem` (interface): `interface BuildFileSystem`
|
|
41
|
+
- `buildFindingModel` (function): `function buildFindingModel(input: BuildFindingModelInput): FindingModel`
|
|
42
|
+
- `BuildFindingModelInput` (interface): `interface BuildFindingModelInput`
|
|
43
|
+
- `buildLifecycleModel` (function): `function buildLifecycleModel(contracts: readonly DiscoveredContract[], expiringWithinDays: number, now: Date, root: string): LifecycleModel`
|
|
44
|
+
- `buildOwnershipModel` (function): `function buildOwnershipModel(contracts: readonly DiscoveredContract[], root: string): OwnershipModel`
|
|
45
|
+
- `buildSarifLog` (function): `function buildSarifLog(findingModel: FindingModel): SarifLog`
|
|
46
|
+
- `BuildStats` (interface): `interface BuildStats`
|
|
47
|
+
- `CHANGE_MODEL_SCHEMA_VERSION` (variable): `CHANGE_MODEL_SCHEMA_VERSION = 1`
|
|
48
|
+
- `ChangeEvidenceReference` (interface): `interface ChangeEvidenceReference`
|
|
49
|
+
- `ChangeModel` (interface): `interface ChangeModel`
|
|
50
|
+
- `checkEnvArtifacts` (function): `function checkEnvArtifacts(options: GenerateEnvArtifactsOptions): Promise<CheckEnvArtifactsResult>`
|
|
51
|
+
- `CheckEnvArtifactsResult` (interface): `interface CheckEnvArtifactsResult`
|
|
52
|
+
- `collectVariableNames` (function): `function collectVariableNames(contracts: readonly DiscoveredContract[]): string[]`
|
|
53
|
+
- `CompatibilityIssue` (interface): `interface CompatibilityIssue`
|
|
54
|
+
- `CompatibilityIssueCode` (typealias): `type CompatibilityIssueCode = "PROCESSOR_RETURN_TYPE_CONFLICT" | "PROCESSOR_SOURCE_CONFLICT" | "VALIDATOR_SOURCE_CONFLICT" | "DUPLICATE_VARIABLE_DOCUMENTATION" | "DUPLICATE_VARIABLE_SHAPE_ACROSS_CONTRACTS"`
|
|
55
|
+
- `computeExpiringEntries` (function): `function computeExpiringEntries(contracts: readonly ExpiryBearingContract[], expiringWithinDays: number, now: Date): ExpiringEntry[]`
|
|
56
|
+
- `computeReconciliation` (function): `function computeReconciliation(contracts: readonly DiscoveredContract[], existingContent: string): Reconciliation`
|
|
57
|
+
- `computeRotationStatus` (function): `function computeRotationStatus(variable: { readonly expiresAt: string | undefined; readonly authenticatorType: string | undefined; readonly rotationPeriod: string | undefined; readonly lastRotatedAt: string | undefined; readonly rotationTriggerEvents: readonly string[] | undefined; }, now: Date): RotationComplianceStatus`
|
|
58
|
+
- `computeSecurityReviewCounters` (function): `function computeSecurityReviewCounters(contracts: readonly ContractModelContract[], expiringWithinDays: number, now: Date, undocumentedContractCount: number, undocumentedVariableCount: number): SecurityReviewCounters`
|
|
59
|
+
- `computeSourceFingerprint` (function): `function computeSourceFingerprint(options: ComputeSourceFingerprintOptions): Promise<string>`
|
|
60
|
+
- `ComputeSourceFingerprintOptions` (interface): `interface ComputeSourceFingerprintOptions`
|
|
61
|
+
- `configurationReference` (function): `function configurationReference(evidence: EvidenceModel): ConfigurationReference`
|
|
62
|
+
- `ConfigurationReference` (interface): `interface ConfigurationReference extends Record<string, unknown>`
|
|
63
|
+
- `configurationReference` (namespace): `namespace configurationReference`
|
|
64
|
+
- `ConfigurationReferenceEntry` (interface): `interface ConfigurationReferenceEntry`
|
|
65
|
+
- `CONTRACT_MODEL_SCHEMA_VERSION` (variable): `CONTRACT_MODEL_SCHEMA_VERSION = 3`
|
|
66
|
+
- `ContractEvidenceReference` (interface): `interface ContractEvidenceReference`
|
|
67
|
+
- `ContractModel` (interface): `interface ContractModel`
|
|
68
|
+
- `ContractModelContract` (interface): `interface ContractModelContract extends EnvGovernanceFields`
|
|
69
|
+
- `ContractModelVariable` (interface): `interface ContractModelVariable extends EnvGovernanceFields`
|
|
70
|
+
- `ContractRef` (interface): `interface ContractRef`
|
|
71
|
+
- `deepFreeze` (function): `function deepFreeze<T>(value: T): T`
|
|
72
|
+
- `DEPENDENCY_MODEL_SCHEMA_VERSION` (variable): `DEPENDENCY_MODEL_SCHEMA_VERSION = 2`
|
|
73
|
+
- `DependencyModel` (interface): `interface DependencyModel`
|
|
74
|
+
- `DependencyModelConsumer` (interface): `interface DependencyModelConsumer`
|
|
75
|
+
- `DependencyModelContract` (interface): `interface DependencyModelContract`
|
|
76
|
+
- `DependencyModelContractRef` (typealias): `type DependencyModelContractRef = ContractRef`
|
|
77
|
+
- `DependencyModelVariable` (interface): `interface DependencyModelVariable`
|
|
78
|
+
- `detectCompatibilityIssues` (function): `function detectCompatibilityIssues(contracts: readonly DiscoveredContract[]): CompatibilityIssue[]`
|
|
79
|
+
- `detectDuplicateVariableShapes` (function): `function detectDuplicateVariableShapes(contracts: readonly DiscoveredContract[]): CompatibilityIssue[]`
|
|
80
|
+
- `detectExclusiveGroupIssues` (function): `function detectExclusiveGroupIssues(contracts: readonly DiscoveredContract[]): CompatibilityIssue[]`
|
|
81
|
+
- `DiscoveredContract` (interface): `interface DiscoveredContract extends EnvGovernanceFields`
|
|
82
|
+
- `DiscoveredContractDocs` (interface): `interface DiscoveredContractDocs extends EnvGovernanceFields`
|
|
83
|
+
- `DiscoveredContractSummary` (interface): `interface DiscoveredContractSummary`
|
|
84
|
+
- `DiscoveredSchemaVariable` (interface): `interface DiscoveredSchemaVariable`
|
|
85
|
+
- `DiscoveredVariable` (interface): `interface DiscoveredVariable extends DiscoveredSchemaVariable, EnvGovernanceFields`
|
|
86
|
+
- `DiscoveredVariableDocs` (interface): `interface DiscoveredVariableDocs extends EnvGovernanceFields`
|
|
87
|
+
- `DiscoveredVariableEvidence` (interface): `interface DiscoveredVariableEvidence`
|
|
88
|
+
- `discoverSchemaFiles` (function): `function discoverSchemaFiles(options: DiscoverOptions): Promise<string[]>`
|
|
89
|
+
- `displayPath` (function): `function displayPath(root: string, filePath: string): string`
|
|
90
|
+
- `DocumentationFindings` (interface): `interface DocumentationFindings`
|
|
91
|
+
- `DynamicAccessAssertion` (interface): `interface DynamicAccessAssertion extends SourcePosition`
|
|
92
|
+
- `DynamicAccessCitationProblem` (interface): `interface DynamicAccessCitationProblem`
|
|
93
|
+
- `effectiveOwner` (function): `function effectiveOwner(contract: { readonly owner: string | undefined; }, variable: { readonly owner: string | undefined; }): string | undefined`
|
|
94
|
+
- `EnvDocumentationGenerationError` (class): `class EnvDocumentationGenerationError extends Error`
|
|
95
|
+
- `EnvExampleOnExisting` (typealias): `type EnvExampleOnExisting = "keep-sibling" | "overwrite" | "skip"`
|
|
96
|
+
- `EnvExampleResult` (interface): `interface EnvExampleResult`
|
|
97
|
+
- `EnvManifestGenerationError` (class): `class EnvManifestGenerationError extends Error`
|
|
98
|
+
- `EnvProjectGenerationError` (class): `class EnvProjectGenerationError extends Error`
|
|
99
|
+
- `EnvUsageAnalysisError` (class): `class EnvUsageAnalysisError extends Error`
|
|
100
|
+
- `EVIDENCE_MODEL_SCHEMA_VERSION` (variable): `EVIDENCE_MODEL_SCHEMA_VERSION = 1`
|
|
101
|
+
- `EvidenceModel` (interface): `interface EvidenceModel`
|
|
102
|
+
- `EvidenceProvenance` (interface): `interface EvidenceProvenance`
|
|
103
|
+
- `EvidenceReference` (typealias): `type EvidenceReference = ContractEvidenceReference | OwnershipEvidenceReference | ChangeEvidenceReference`
|
|
104
|
+
- `ExpiringEntry` (interface): `interface ExpiringEntry`
|
|
105
|
+
- `ExpiringSoonEntry` (interface): `interface ExpiringSoonEntry`
|
|
106
|
+
- `expiringSoonReport` (function): `function expiringSoonReport(evidence: EvidenceModel): ExpiringSoonReport`
|
|
107
|
+
- `ExpiringSoonReport` (interface): `interface ExpiringSoonReport extends Record<string, unknown>`
|
|
108
|
+
- `expiringSoonReport` (namespace): `namespace expiringSoonReport`
|
|
109
|
+
- `extractCommentedVariables` (function): `function extractCommentedVariables(source: string): string[]`
|
|
110
|
+
- `extractContractDocs` (function): `function extractContractDocs(docsArg: TS.Expression | undefined, filePath: string, contextLabel: string, warnings: ParseWarning[]): DiscoveredContractDocs`
|
|
111
|
+
- `extractDeclaredVariables` (function): `function extractDeclaredVariables(source: string): string[]`
|
|
112
|
+
- `extractPreviouslyDocumentedKeys` (function): `function extractPreviouslyDocumentedKeys(previousContent: string): Set<string>`
|
|
113
|
+
- `extractSchemaVariables` (function): `function extractSchemaVariables(schemaLiteral: TS.ObjectLiteralExpression, filePath: string, contextLabel: string, warnings: ParseWarning[], sourceFile: TS.SourceFile): DiscoveredSchemaVariable[]`
|
|
114
|
+
- `FileParseResult` (interface): `interface FileParseResult`
|
|
115
|
+
- `FINDING_MODEL_SCHEMA_VERSION` (variable): `FINDING_MODEL_SCHEMA_VERSION = 3`
|
|
116
|
+
- `Finding` (interface): `interface Finding`
|
|
117
|
+
- `FindingCode` (typealias): `type FindingCode = CompatibilityIssueCode | "EXCLUSIVE_GROUP_VIOLATION" | "ARTIFACT_STALE" | "ARTIFACT_MISSING" | "UNDOCUMENTED_CONTRACT" | "UNDOCUMENTED_VARIABLE" | "STALE_DOC_ENTRY" | "EXPIRED" | "EXPIRING_SOON" | "UNRESOLVED_DOCUMENTENV_LINK" | "ABANDONED_CONTRACT" | "UNRESOLVED_CONSUMER" | "UNCONSUMED_OWNED_VARIABLE" | "INDETERMINATE_OWNERSHIP" | "MISSING_DYNAMIC_ACCESS_CITATION" | "STALE_DYNAMIC_ACCESS_CITATION" | "NONSTANDARD_SENSITIVITY_LEVEL"`
|
|
118
|
+
- `FindingFamily` (typealias): `type FindingFamily = "compatibility" | "drift" | "documentation" | "ownership"`
|
|
119
|
+
- `FindingModel` (interface): `interface FindingModel`
|
|
120
|
+
- `generateDocumentation` (function): `function generateDocumentation(options: GenerateDocumentationOptions): Promise<GenerateDocumentationResult>`
|
|
121
|
+
- `GenerateDocumentationOptions` (interface): `interface GenerateDocumentationOptions`
|
|
122
|
+
- `GenerateDocumentationResult` (interface): `interface GenerateDocumentationResult`
|
|
123
|
+
- `generateEnvArtifacts` (function): `function generateEnvArtifacts(options: GenerateEnvArtifactsOptions): Promise<GenerateEnvArtifactsResult>`
|
|
124
|
+
- `GenerateEnvArtifactsOptions` (interface): `interface GenerateEnvArtifactsOptions`
|
|
125
|
+
- `GenerateEnvArtifactsResult` (interface): `interface GenerateEnvArtifactsResult`
|
|
126
|
+
- `generateEnvManifest` (function): `function generateEnvManifest(options: GenerateEnvManifestOptions): Promise<GenerateEnvManifestResult>`
|
|
127
|
+
- `GenerateEnvManifestOptions` (interface): `interface GenerateEnvManifestOptions`
|
|
128
|
+
- `GenerateEnvManifestResult` (interface): `interface GenerateEnvManifestResult`
|
|
129
|
+
- `generateEvidenceModel` (function): `function generateEvidenceModel(options: GenerateEvidenceModelOptions): Promise<EvidenceModel>`
|
|
130
|
+
- `GenerateEvidenceModelOptions` (interface): `interface GenerateEvidenceModelOptions`
|
|
131
|
+
- `generateUsageReport` (function): `function generateUsageReport(options: GenerateUsageReportOptions): Promise<GenerateUsageReportResult>`
|
|
132
|
+
- `GenerateUsageReportOptions` (interface): `interface GenerateUsageReportOptions`
|
|
133
|
+
- `GenerateUsageReportResult` (interface): `interface GenerateUsageReportResult extends RenderUsageReportOptions`
|
|
134
|
+
- `getEvidenceModel` (function): `function getEvidenceModel(options: GetEvidenceModelOptions): Promise<GetEvidenceModelResult>`
|
|
135
|
+
- `GetEvidenceModelOptions` (interface): `interface GetEvidenceModelOptions extends GenerateEvidenceModelOptions`
|
|
136
|
+
- `GetEvidenceModelResult` (interface): `interface GetEvidenceModelResult`
|
|
137
|
+
- `groupVariablesByOwner` (function): `function groupVariablesByOwner<C extends OwnerBearingContract>(contracts: readonly C[], ownerOf: (contract: C, variable: VariableOf<C>) => string | undefined): ReadonlyMap<string, readonly { contract: C; variable: VariableOf<C>; }[]>`
|
|
138
|
+
- `ImportBinding` (interface): `interface ImportBinding`
|
|
139
|
+
- `IndeterminateOwnershipFinding` (interface): `interface IndeterminateOwnershipFinding`
|
|
140
|
+
- `LIFECYCLE_MODEL_SCHEMA_VERSION` (variable): `LIFECYCLE_MODEL_SCHEMA_VERSION = 3`
|
|
141
|
+
- `LifecycleModel` (interface): `interface LifecycleModel`
|
|
142
|
+
- `LifecycleModelContract` (interface): `interface LifecycleModelContract`
|
|
143
|
+
- `LifecycleModelVariable` (interface): `interface LifecycleModelVariable`
|
|
144
|
+
- `linkFiles` (function): `function linkFiles(discoveredFiles: readonly string[], readFile: (filePath: string) => Promise<string>, context: ImportResolutionContext, packageOrigins?: ReadonlyMap<string, PackageOrigin>): Promise<LinkResult>`
|
|
145
|
+
- `LinkResult` (interface): `interface LinkResult`
|
|
146
|
+
- `LiveExpirationDates` (typealias): `type LiveExpirationDates = (variableNames: readonly string[]) => Promise<Readonly<Record<string, string>>>`
|
|
147
|
+
- `ManifestChangeReport` (interface): `interface ManifestChangeReport`
|
|
148
|
+
- `ManifestContractRef` (typealias): `type ManifestContractRef = ContractRef`
|
|
149
|
+
- `ManifestContractUpdate` (interface): `interface ManifestContractUpdate extends ManifestContractRef`
|
|
150
|
+
- `ManifestFieldChange` (interface): `interface ManifestFieldChange`
|
|
151
|
+
- `ManifestVariableRef` (interface): `interface ManifestVariableRef extends ContractRef`
|
|
152
|
+
- `ManifestVariableUpdate` (interface): `interface ManifestVariableUpdate extends ManifestVariableRef`
|
|
153
|
+
- `NonstandardSensitivityEntry` (interface): `interface NonstandardSensitivityEntry`
|
|
154
|
+
- `OwnerBearingContract` (interface): `interface OwnerBearingContract`
|
|
155
|
+
- `OWNERSHIP_MODEL_SCHEMA_VERSION` (variable): `OWNERSHIP_MODEL_SCHEMA_VERSION = 1`
|
|
156
|
+
- `OwnershipDependencyEntry` (interface): `interface OwnershipDependencyEntry`
|
|
157
|
+
- `OwnershipEvidenceReference` (interface): `interface OwnershipEvidenceReference`
|
|
158
|
+
- `OwnershipModel` (interface): `interface OwnershipModel`
|
|
159
|
+
- `OwnershipModelContract` (interface): `interface OwnershipModelContract`
|
|
160
|
+
- `OwnershipModelContractRef` (typealias): `type OwnershipModelContractRef = ContractRef`
|
|
161
|
+
- `OwnershipModelVariable` (interface): `interface OwnershipModelVariable`
|
|
162
|
+
- `OwnershipModelVariableRef` (interface): `interface OwnershipModelVariableRef extends ContractRef`
|
|
163
|
+
- `ownershipSummary` (function): `function ownershipSummary(evidence: EvidenceModel): OwnershipSummary`
|
|
164
|
+
- `OwnershipSummary` (interface): `interface OwnershipSummary extends Record<string, unknown>`
|
|
165
|
+
- `ownershipSummary` (namespace): `namespace ownershipSummary`
|
|
166
|
+
- `OwnershipSummaryEntry` (interface): `interface OwnershipSummaryEntry`
|
|
167
|
+
- `PackageOrigin` (interface): `interface PackageOrigin`
|
|
168
|
+
- `parseRotationPeriodDays` (function): `function parseRotationPeriodDays(value: string): number | undefined`
|
|
169
|
+
- `parseSchemaFile` (function): `function parseSchemaFile(filePath: string, sourceText: string): FileParseResult`
|
|
170
|
+
- `ParseWarning` (interface): `interface ParseWarning`
|
|
171
|
+
- `readToolVersion` (function): `function readToolVersion(): string`
|
|
172
|
+
- `Reconciliation` (interface): `interface Reconciliation`
|
|
173
|
+
- `RenamedVariable` (interface): `interface RenamedVariable`
|
|
174
|
+
- `renderDocs` (function): `function renderDocs(contracts: readonly ContractModelContract[], options: RenderDocsOptions): string`
|
|
175
|
+
- `RenderDocsOptions` (interface): `interface RenderDocsOptions`
|
|
176
|
+
- `renderEnvExample` (function): `function renderEnvExample(contracts: readonly DiscoveredContract[], reconciliationHeader?: readonly string[]): string`
|
|
177
|
+
- `renderManifest` (function): `function renderManifest(contracts: readonly DiscoveredContract[], outputFile: string): string`
|
|
178
|
+
- `renderUsageReport` (function): `function renderUsageReport(computed: RenderUsageReportOptions): string`
|
|
179
|
+
- `RenderUsageReportOptions` (interface): `interface RenderUsageReportOptions`
|
|
180
|
+
- `resolveLiveExpirationDates` (function): `function resolveLiveExpirationDates(contracts: readonly DiscoveredContract[], liveExpirationDates: LiveExpirationDates | undefined): Promise<readonly DiscoveredContract[]>`
|
|
181
|
+
- `resolveRelativeImport` (function): `function resolveRelativeImport(importingFile: string, specifier: string, fs: BuildFileSystem): Promise<string | undefined>`
|
|
182
|
+
- `RotationComplianceStatus` (typealias): `type RotationComplianceStatus = "compliant" | "overdue" | "expired" | "undeclared"`
|
|
183
|
+
- `SarifLog` (interface): `interface SarifLog`
|
|
184
|
+
- `ScannedSurface` (interface): `interface ScannedSurface`
|
|
185
|
+
- `SchemaRef` (typealias): `type SchemaRef = { readonly kind: "literal"; readonly node: TS.ObjectLiteralExpression; } | { readonly kind: "identifier"; readonly name: string; } | { readonly kind: "unresolvable"; }`
|
|
186
|
+
- `SecurityReviewCounters` (interface): `interface SecurityReviewCounters`
|
|
187
|
+
- `SourcePosition` (interface): `interface SourcePosition`
|
|
188
|
+
- `STANDARD_SENSITIVITY_LEVELS` (variable): `STANDARD_SENSITIVITY_LEVELS: ReadonlySet<string>`
|
|
189
|
+
- `UnconsumedOwnedVariableFinding` (interface): `interface UnconsumedOwnedVariableFinding`
|
|
190
|
+
- `UndocumentedContractRef` (interface): `interface UndocumentedContractRef`
|
|
191
|
+
- `UndocumentedVariableRef` (interface): `interface UndocumentedVariableRef`
|
|
192
|
+
- `UnresolvedConsumerFinding` (interface): `interface UnresolvedConsumerFinding`
|
|
193
|
+
- `UnresolvedLink` (interface): `interface UnresolvedLink`
|
|
194
|
+
- `VariableAccessStatus` (typealias): `type VariableAccessStatus = "used" | "unconsumed" | "indeterminate"`
|
|
195
|
+
- `writeEnvExample` (function): `function writeEnvExample(contracts: readonly DiscoveredContract[], location: string, fs: BuildFileSystem, options?: { onExisting?: EnvExampleOnExisting; }): Promise<EnvExampleResult>`
|
|
196
|
+
|
|
197
|
+
## `@maverickcer/env-cap/helpers`
|
|
198
|
+
|
|
199
|
+
- `processors` (variable): `processors: { base64: typeof base64; parseJSON: typeof parseJSON; split: typeof split; toArray: typeof toArray; toBigInt: typeof toBigInt; toBoolean: typeof toBoolean; toDate: typeof toDate; toInteger: typeof toInteger; toLowerCase: typeof toLowerCase; toNumber: typeof toNumber; toRegExp: typeof toRegExp; toString: typeof toString; toURL: typeof toURL; toUpperCase: typeof toUpperCase; trim: typeof trim; }`
|
|
200
|
+
- `validators` (variable): `validators: { after: typeof after; all: typeof all; any: typeof any; before: typeof before; custom: typeof custom; email: typeof email; endsWith: typeof endsWith; enum: typeof oneOf; finite: typeof finite; future: typeof future; includes: typeof includes; integer: typeof integerValidator; length: typeof length; matches: typeof matches; max: typeof max; maxItems: typeof maxItems; maxLength: typeof maxLength; min: typeof min; minItems: typeof minItems; minLength: typeof minLength; negative: typeof negative; not: typeof not; oneOf: typeof oneOf; optional: typeof optional; past: typeof past; positive: typeof positive; range: typeof range; refine: typeof refine; regex: typeof matches; required: typeof required; safeInteger: typeof safeInteger; unique: typeof unique; url: typeof urlValidator; uuid: typeof uuid; uuidVersion: typeof uuidVersion; }`
|
|
201
|
+
|
|
202
|
+
## `@maverickcer/env-cap/node`
|
|
203
|
+
|
|
204
|
+
- `nodeBuildFileSystem` (variable): `nodeBuildFileSystem: BuildFileSystem`
|
|
205
|
+
|
|
206
|
+
## `@maverickcer/env-cap/evidence`
|
|
207
|
+
|
|
208
|
+
- `defineEvidenceProjection` (function): `function defineEvidenceProjection<T extends Record<string, unknown>>(schema: EvidenceProjectionSchema<T>): EvidenceProjection<T>`
|
|
209
|
+
- `EvidenceModel` (interface): `interface EvidenceModel`
|
|
210
|
+
- `EvidenceProjection` (interface): `interface EvidenceProjection<T extends Record<string, unknown>>`
|
|
211
|
+
- `EvidenceProjectionResult` (interface): `interface EvidenceProjectionResult<T extends Record<string, unknown>>`
|
|
212
|
+
- `EvidenceProjectionSchema` (typealias): `type EvidenceProjectionSchema<T extends Record<string, unknown>> = { readonly [K in keyof T]: EvidenceProjector<T[K]>; }`
|
|
213
|
+
- `EvidenceProjector` (typealias): `type EvidenceProjector<T> = (evidence: EvidenceModel) => T`
|
|
214
|
+
- `EvidenceProvenance` (interface): `interface EvidenceProvenance`
|
|
215
|
+
|
|
216
|
+
## `@maverickcer/env-cap/eslint-plugin`
|
|
217
|
+
|
|
218
|
+
- `noNodeFs` (variable): `noNodeFs: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noNodeFs", [import("../_ipc/no-node-fs.js").RuleOptions], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & { name: string; }`
|
|
219
|
+
- `noRawProcessEnv` (variable): `noRawProcessEnv: import("@typescript-eslint/utils/ts-eslint").RuleModule<"noRawProcessEnv", [RuleOptions], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & { name: string; }`
|
|
220
|
+
- `plugin` (variable): `plugin: { rules: { "no-raw-process-env": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noRawProcessEnv", [import("./no-raw-process-env.js").RuleOptions], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & { name: string; }; "no-node-fs": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noNodeFs", [import("../_ipc/no-node-fs.js").RuleOptions], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & { name: string; }; }; }`
|