@pnpm/napi 12.0.0-alpha.9 → 12.0.0-beta.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/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ # @pnpm/napi
2
+
3
+ ## 12.0.0-beta.0
4
+
5
+ ## 12.0.0-alpha.21
6
+
7
+ ## 12.0.0-alpha.20
8
+
9
+ ## 12.0.0-alpha.19
10
+
11
+ ## 12.0.0-alpha.18
12
+
13
+ ## 12.0.0-alpha.17
14
+
15
+ ## 12.0.0-alpha.16
16
+
17
+ ## 12.0.0-alpha.15
18
+
19
+ ### Minor Changes
20
+
21
+ - Added `pnpm licenses` command to the Rust pacquet port to list package licenses in a tabular or JSON format.
22
+
23
+ ## 12.0.0-alpha.14
24
+
25
+ ## 12.0.0-alpha.13
26
+
27
+ ## 12.0.0-alpha.12
28
+
29
+ ## 12.0.0-alpha.11
30
+
31
+ ## 12.0.0-alpha.10
32
+
33
+ ## 12.0.0-alpha.9
package/README.md CHANGED
@@ -30,7 +30,10 @@ structured envelope.
30
30
 
31
31
  Auth: pass `authHeaderByUri` — a map of nerf-darted registry URI → `Authorization`
32
32
  header value (with `""` for the default registry). The host resolves these from
33
- its `.npmrc` credentials; the engine applies them as-is.
33
+ its `.npmrc` credentials; the engine applies them as-is. The `""` entry is
34
+ pinned to the `registry` / `registries.default` passed alongside it (npmjs when
35
+ neither is given), so a `registry=` in the project's own `.npmrc` cannot
36
+ redirect that credential to another host.
34
37
 
35
38
  ## Distribution
36
39
 
package/index.d.ts CHANGED
@@ -85,6 +85,9 @@ export interface SharedEngineOptions {
85
85
  * URI (`//host/path/`), plus `''` for the default registry — e.g.
86
86
  * `{ '': 'Bearer abc', '//npm.example.com/': 'Basic <base64(user:pass)>' }`. The
87
87
  * host resolves these from its `authConfig`; the engine applies them as-is.
88
+ * The `''` entry is pinned to the `registry` / `registries.default` passed
89
+ * alongside it (npmjs when neither is given), so a `registry=` in the
90
+ * project's own `.npmrc` cannot redirect that credential to another host.
88
91
  */
89
92
  authHeaderByUri?: Record<string, string>
90
93
  proxyConfig?: ProxyConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/napi",
3
- "version": "12.0.0-alpha.9",
3
+ "version": "12.0.0-beta.0",
4
4
  "description": "Node.js addon bindings for the pnpm v12 Rust engine (pacquet)",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -27,14 +27,14 @@
27
27
  "README.md"
28
28
  ],
29
29
  "optionalDependencies": {
30
- "@pnpm/napi.win32-x64": "12.0.0-alpha.9",
31
- "@pnpm/napi.win32-arm64": "12.0.0-alpha.9",
32
- "@pnpm/napi.darwin-x64": "12.0.0-alpha.9",
33
- "@pnpm/napi.darwin-arm64": "12.0.0-alpha.9",
34
- "@pnpm/napi.linux-x64": "12.0.0-alpha.9",
35
- "@pnpm/napi.linux-arm64": "12.0.0-alpha.9",
36
- "@pnpm/napi.linux-x64-musl": "12.0.0-alpha.9",
37
- "@pnpm/napi.linux-arm64-musl": "12.0.0-alpha.9"
30
+ "@pnpm/napi.win32-x64": "12.0.0-beta.0",
31
+ "@pnpm/napi.win32-arm64": "12.0.0-beta.0",
32
+ "@pnpm/napi.darwin-x64": "12.0.0-beta.0",
33
+ "@pnpm/napi.darwin-arm64": "12.0.0-beta.0",
34
+ "@pnpm/napi.linux-x64": "12.0.0-beta.0",
35
+ "@pnpm/napi.linux-arm64": "12.0.0-beta.0",
36
+ "@pnpm/napi.linux-x64-musl": "12.0.0-beta.0",
37
+ "@pnpm/napi.linux-arm64-musl": "12.0.0-beta.0"
38
38
  },
39
39
  "scripts": {
40
40
  "generate-packages": "node scripts/generate-packages.mjs"