@maverickcer/env-cap 0.7.6 → 0.7.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - fde4ef4: The published manifest now matches the package.json inside the tarball. `bundleDependencies` lists
8
+ only `@typescript/typescript6`; its TypeScript 6 payload, `@typescript/old`, still ships as that
9
+ package's dependency. Listing `@typescript/old` separately made npm add `"@typescript/old": "*"` to
10
+ the registry manifest, which Socket reported as manifest confusion.
11
+
3
12
  ## 0.7.6
4
13
 
5
14
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readToolVersion
4
- } from "./chunk-TBL3O7IG.js";
4
+ } from "./chunk-4D67AQFY.js";
5
5
 
6
6
  // src/build/evidence-snapshot.ts
7
7
  import path3 from "path";
@@ -5206,4 +5206,4 @@ export {
5206
5206
  resolveRelativeImport,
5207
5207
  writeEnvExample
5208
5208
  };
5209
- //# sourceMappingURL=build-UEENZEUX.js.map
5209
+ //# sourceMappingURL=build-33O5SDTC.js.map
package/dist/build.cjs CHANGED
@@ -4502,7 +4502,7 @@ function buildOwnershipModel(contracts, root) {
4502
4502
 
4503
4503
  // src/build/tool-version.ts
4504
4504
  function readToolVersion() {
4505
- return "0.7.6";
4505
+ return "0.7.7";
4506
4506
  }
4507
4507
 
4508
4508
  // src/build/generate-evidence.ts
package/dist/build.js CHANGED
@@ -4493,7 +4493,7 @@ function buildOwnershipModel(contracts, root) {
4493
4493
 
4494
4494
  // src/build/tool-version.ts
4495
4495
  function readToolVersion() {
4496
- return "0.7.6";
4496
+ return "0.7.7";
4497
4497
  }
4498
4498
 
4499
4499
  // src/build/generate-evidence.ts
@@ -2,10 +2,10 @@
2
2
 
3
3
  // src/build/tool-version.ts
4
4
  function readToolVersion() {
5
- return "0.7.6";
5
+ return "0.7.7";
6
6
  }
7
7
 
8
8
  export {
9
9
  readToolVersion
10
10
  };
11
- //# sourceMappingURL=chunk-TBL3O7IG.js.map
11
+ //# sourceMappingURL=chunk-4D67AQFY.js.map
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readToolVersion
4
- } from "../chunk-TBL3O7IG.js";
4
+ } from "../chunk-4D67AQFY.js";
5
5
 
6
6
  // src/cli/index.ts
7
7
  import { realpathSync } from "fs";
@@ -536,7 +536,7 @@ ${header}
536
536
  async function runCheckMode(args) {
537
537
  let checkResult;
538
538
  try {
539
- const { checkEnvArtifacts } = await import("../build-UEENZEUX.js");
539
+ const { checkEnvArtifacts } = await import("../build-33O5SDTC.js");
540
540
  checkResult = await checkEnvArtifacts(artifactOptions(args));
541
541
  } catch (error) {
542
542
  if (!args.json) throw error;
@@ -582,7 +582,7 @@ function printManifestSummary(manifest) {
582
582
  async function runGenerateMode(args) {
583
583
  let result;
584
584
  try {
585
- const { generateEnvArtifacts } = await import("../build-UEENZEUX.js");
585
+ const { generateEnvArtifacts } = await import("../build-33O5SDTC.js");
586
586
  result = await generateEnvArtifacts(artifactOptions(args));
587
587
  } catch (error) {
588
588
  if (!args.json) throw error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maverickcer/env-cap",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Each feature declares the environment variables it needs and their format. Your app validates them all in one place at startup, fails fast on a bad value, and reports how they should be rotated before they expire. A TypeScript library that works alongside dotenv, Zod or your secret manager.",
5
5
  "keywords": [
6
6
  "environment-variables",
@@ -164,8 +164,7 @@
164
164
  "@typescript/typescript6": "^6.0.2"
165
165
  },
166
166
  "bundleDependencies": [
167
- "@typescript/typescript6",
168
- "@typescript/old"
167
+ "@typescript/typescript6"
169
168
  ],
170
169
  "peerDependencies": {
171
170
  "@typescript-eslint/utils": "^8.0.0",
@@ -197,8 +196,8 @@
197
196
  "eslint-config-prettier": "10.1.8",
198
197
  "fast-check": "^4.10.2",
199
198
  "globals": "^17.9.0",
200
- "internal-package-contract": "github:MaverickCER/internal-package-contract#v0.19.0",
201
- "prettier": "3.9.10",
199
+ "internal-package-contract": "github:MaverickCER/internal-package-contract#v0.20.0",
200
+ "prettier": "3.10.0",
202
201
  "ts-json-schema-generator": "^2.9.0",
203
202
  "tsup": "^9.0.0",
204
203
  "typedoc": "^0.28.20",
@@ -87,4 +87,4 @@ Report any check you could not run, and any assumption you made.
87
87
 
88
88
  ## Authority
89
89
 
90
- Target `@maverickcer/env-cap@0.7.6`. The installed package's exports and type declarations are the API: use only what they declare. Its tests and examples establish its behaviour. When this skill and the code disagree, report the disagreement before acting on either.
90
+ Target `@maverickcer/env-cap@0.7.7`. The installed package's exports and type declarations are the API: use only what they declare. Its tests and examples establish its behaviour. When this skill and the code disagree, report the disagreement before acting on either.
@@ -1,6 +1,6 @@
1
1
  # @maverickcer/env-cap public API
2
2
 
3
- Every export a consumer can import, by entry point, for version 0.7.6. Generated from the package's committed API baselines; the type declarations in the installed package are the authority.
3
+ Every export a consumer can import, by entry point, for version 0.7.7. Generated from the package's committed API baselines; the type declarations in the installed package are the authority.
4
4
 
5
5
  ## `@maverickcer/env-cap`
6
6
 
@@ -5,6 +5,15 @@
5
5
  Accepted. Implemented in `src/build/typescript.ts`. Supersedes the TypeScript 7 paragraph of
6
6
  [ADR 0047](0047-supported-toolchain-node-22-and-typescript-5-6.md).
7
7
 
8
+ ## Amendment
9
+
10
+ `bundleDependencies` lists `@typescript/typescript6` only. npm also bundles the dependencies of a
11
+ bundled package, so its `@typescript/old` payload still ships in the tarball. Listing
12
+ `@typescript/old` by name without a matching `dependencies` entry made npm add
13
+ `"@typescript/old": "*"` to the published manifest. The manifest then no longer matched the
14
+ tarball's package.json, which Socket reports as manifest confusion.
15
+ `test/build/typescript-bundled.test.ts` pins both facts.
16
+
8
17
  ## Context
9
18
 
10
19
  The build-time scanner (`src/build/parse.ts`, `scan-dependencies.ts`, `literal-eval.ts`,