@pnpm/fetching.binary-fetcher 1102.0.1 → 1102.0.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +247 -0
  2. package/package.json +9 -9
package/CHANGELOG.md ADDED
@@ -0,0 +1,247 @@
1
+ # @pnpm/fetching.binary-fetcher
2
+
3
+ ## 1102.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/fetching.fetcher-base@1100.2.2
9
+
10
+ ## 1102.0.2
11
+
12
+ ### Patch Changes
13
+
14
+ - @pnpm/fetching.fetcher-base@1100.2.1
15
+ - @pnpm/worker@1100.2.3
16
+
17
+ ## 1102.0.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [bae694f]
22
+ - Updated dependencies [852d537]
23
+ - @pnpm/fetching.fetcher-base@1100.2.0
24
+ - @pnpm/error@1100.0.1
25
+ - @pnpm/store.index@1100.2.1
26
+ - @pnpm/worker@1100.2.2
27
+
28
+ ## 1102.0.0
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [61810aa]
33
+ - Updated dependencies [681b593]
34
+ - Updated dependencies [a31faa7]
35
+ - @pnpm/store.index@1100.2.0
36
+ - @pnpm/worker@1100.2.0
37
+ - @pnpm/fetching.types@1100.0.2
38
+ - @pnpm/fetching.fetcher-base@1100.1.9
39
+
40
+ ## 1101.0.10
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [089484a]
45
+ - @pnpm/worker@1100.1.10
46
+ - @pnpm/fetching.fetcher-base@1100.1.8
47
+
48
+ ## 1101.0.9
49
+
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [3b76b8e]
53
+ - @pnpm/worker@1100.1.9
54
+ - @pnpm/fetching.fetcher-base@1100.1.7
55
+
56
+ ## 1101.0.8
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [aa6149d]
61
+ - @pnpm/worker@1100.1.8
62
+ - @pnpm/fetching.fetcher-base@1100.1.6
63
+
64
+ ## 1101.0.7
65
+
66
+ ### Patch Changes
67
+
68
+ - @pnpm/fetching.fetcher-base@1100.1.5
69
+ - @pnpm/worker@1100.1.7
70
+
71
+ ## 1101.0.6
72
+
73
+ ### Patch Changes
74
+
75
+ - @pnpm/fetching.fetcher-base@1100.1.4
76
+ - @pnpm/worker@1100.1.6
77
+
78
+ ## 1101.0.5
79
+
80
+ ### Patch Changes
81
+
82
+ - @pnpm/fetching.fetcher-base@1100.1.3
83
+ - @pnpm/worker@1100.1.4
84
+
85
+ ## 1101.0.4
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [0c67cb5]
90
+ - @pnpm/store.index@1100.1.0
91
+ - @pnpm/worker@1100.1.3
92
+
93
+ ## 1101.0.3
94
+
95
+ ### Patch Changes
96
+
97
+ - @pnpm/fetching.fetcher-base@1100.1.2
98
+ - @pnpm/worker@1100.1.2
99
+
100
+ ## 1101.0.2
101
+
102
+ ### Patch Changes
103
+
104
+ - Updated dependencies [184ce26]
105
+ - @pnpm/fetching.fetcher-base@1100.1.1
106
+ - @pnpm/fetching.types@1100.0.1
107
+ - @pnpm/worker@1100.1.1
108
+
109
+ ## 1101.0.1
110
+
111
+ ### Patch Changes
112
+
113
+ - dd23d19: Fix Windows Node.js runtime installs still extracting bundled `npm`, `npx`, and `corepack` when the archive contains explicit directory entries. `extractZipToTarget` now skips directory entries: AdmZip's `extractEntryTo` for a directory recurses over every descendant internally, which bypassed the `ignoreEntry` filter and re-materialized the files the filter was supposed to drop. File extraction creates parent directories implicitly, so skipping directory entries doesn't regress the install layout.
114
+
115
+ ## 1101.0.0
116
+
117
+ ### Minor Changes
118
+
119
+ - 421317c: Installing a Node.js runtime via `node@runtime:<version>` (including `pnpm env use` and `pnpm runtime set node`) no longer extracts the bundled `npm`, `npx`, and `corepack` from the Node.js archive. This cuts roughly half of the files pnpm has to hash, write to the CAS, and link during installation, making runtime installs noticeably faster. Users who still need `npm` can install it as a separate package.
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies [421317c]
124
+ - @pnpm/fetching.fetcher-base@1100.1.0
125
+ - @pnpm/worker@1100.1.0
126
+
127
+ ## 1100.0.2
128
+
129
+ ### Patch Changes
130
+
131
+ - @pnpm/fetching.fetcher-base@1100.0.2
132
+ - @pnpm/worker@1100.0.2
133
+
134
+ ## 1100.0.1
135
+
136
+ ### Patch Changes
137
+
138
+ - @pnpm/fetching.fetcher-base@1100.0.1
139
+ - @pnpm/worker@1100.0.1
140
+
141
+ ## 1003.0.0
142
+
143
+ ### Major Changes
144
+
145
+ - 491a84f: This package is now pure ESM.
146
+ - 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
147
+
148
+ ### Minor Changes
149
+
150
+ - 96704a1: Renamed `rawConfig` to `authConfig` on the `Config` interface. This field now only contains auth/registry data from `.npmrc` files. Non-auth settings are no longer written to it.
151
+
152
+ Added `nodeDownloadMirrors` setting to configure custom Node.js download mirrors in `pnpm-workspace.yaml`:
153
+
154
+ ```yaml
155
+ nodeDownloadMirrors:
156
+ release: https://my-mirror.example.com/download/release/
157
+ nightly: https://my-mirror.example.com/download/nightly/
158
+ ```
159
+
160
+ Replaced `rawConfig: object` with `userAgent?: string` in lifecycle hook options. Removed unused `rawConfig` from fetcher and prepare-package options.
161
+
162
+ Removed support for the npm `init-module` setting. Custom init scripts via `.pnpm-init.js` are no longer executed by `pnpm init`.
163
+
164
+ ### Patch Changes
165
+
166
+ - 3bf5e21: Runtime dependencies (node, bun, deno) are now added to the store with a package.json file.
167
+ - 260899d: Fix path traversal vulnerability in binary fetcher ZIP extraction
168
+
169
+ - Validate ZIP entry paths before extraction to prevent writing files outside target directory
170
+ - Validate BinaryResolution.prefix (basename) to prevent directory escape via crafted prefix
171
+ - Both attack vectors now throw `ERR_PNPM_PATH_TRAVERSAL` error
172
+
173
+ - 50fbeca: fix: preserve bundled `node_modules` from Node.js Windows zip so that npm/npx shims are created correctly on Windows.
174
+
175
+ The Windows Node.js distribution places npm inside a root-level `node_modules/` directory of the zip archive. `addFilesFromDir` was skipping root-level `node_modules` (to avoid treating a package's own npm dependencies as part of its content), which caused the bundled npm to be missing after installation. This prevented `pnpm env use` from creating the npm and npx shims on Windows.
176
+
177
+ Added an `includeNodeModules` option to `addFilesFromDir` and set it to `true` in the binary fetcher so that the complete Node.js distribution, including its bundled npm, is preserved.
178
+
179
+ - Updated dependencies [e2e0a32]
180
+ - Updated dependencies [7cec347]
181
+ - Updated dependencies [491a84f]
182
+ - Updated dependencies [50fbeca]
183
+ - Updated dependencies [ba065f6]
184
+ - Updated dependencies [3bf5e21]
185
+ - Updated dependencies [bb8baa7]
186
+ - Updated dependencies [ee9fe58]
187
+ - Updated dependencies [7d2fd48]
188
+ - Updated dependencies [56a59df]
189
+ - Updated dependencies [780af09]
190
+ - Updated dependencies [6c480a4]
191
+ - Updated dependencies [4893853]
192
+ - Updated dependencies [b7f0f21]
193
+ - Updated dependencies [831f574]
194
+ - Updated dependencies [98a0410]
195
+ - @pnpm/worker@1001.0.0
196
+ - @pnpm/fetching.types@1001.0.0
197
+ - @pnpm/fetching.fetcher-base@1002.0.0
198
+ - @pnpm/error@1001.0.0
199
+ - @pnpm/store.index@1000.0.0
200
+
201
+ ## 1002.0.0
202
+
203
+ ### Patch Changes
204
+
205
+ - Updated dependencies [8993f68]
206
+ - @pnpm/worker@1000.3.0
207
+ - @pnpm/fetcher-base@1001.0.2
208
+
209
+ ## 1001.0.0
210
+
211
+ ### Patch Changes
212
+
213
+ - Updated dependencies [06d2160]
214
+ - @pnpm/worker@1000.2.0
215
+
216
+ ## 1000.0.3
217
+
218
+ ### Patch Changes
219
+
220
+ - @pnpm/error@1000.0.5
221
+ - @pnpm/worker@1000.1.13
222
+
223
+ ## 1000.0.2
224
+
225
+ ### Patch Changes
226
+
227
+ - @pnpm/fetcher-base@1001.0.1
228
+ - @pnpm/worker@1000.1.12
229
+
230
+ ## 1000.0.1
231
+
232
+ ### Patch Changes
233
+
234
+ - 2b0d35f: `@pnpm/worker` should always be a peer dependency.
235
+
236
+ ## 1000.0.0
237
+
238
+ ### Major Changes
239
+
240
+ - d1edf73: Added support for binary fetcher.
241
+
242
+ ### Patch Changes
243
+
244
+ - Updated dependencies [d1edf73]
245
+ - @pnpm/fetcher-base@1001.0.0
246
+ - @pnpm/error@1000.0.4
247
+ - @pnpm/worker@1000.1.11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/fetching.binary-fetcher",
3
- "version": "1102.0.1",
3
+ "version": "1102.0.3",
4
4
  "description": "A fetcher for binary archives",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -27,25 +27,25 @@
27
27
  "!*.map"
28
28
  ],
29
29
  "dependencies": {
30
+ "@pnpm/error": "1100.0.1",
31
+ "@pnpm/fetching.fetcher-base": "1100.2.2",
32
+ "@pnpm/fetching.types": "1100.0.2",
33
+ "@pnpm/store.index": "1100.2.1",
30
34
  "adm-zip": "^0.5.17",
31
35
  "is-subdir": "^2.0.0",
32
36
  "rename-overwrite": "^7.0.1",
33
37
  "ssri": "13.0.1",
34
- "tempy": "3.0.0",
35
- "@pnpm/error": "1100.0.1",
36
- "@pnpm/fetching.types": "1100.0.2",
37
- "@pnpm/store.index": "1100.2.1",
38
- "@pnpm/fetching.fetcher-base": "1100.2.0"
38
+ "tempy": "3.0.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@pnpm/worker": "^1100.2.2"
41
+ "@pnpm/worker": "^1100.2.4"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@jest/globals": "30.4.1",
45
+ "@pnpm/fetching.binary-fetcher": "1102.0.3",
45
46
  "@types/adm-zip": "^0.5.8",
46
47
  "@types/ssri": "^7.1.5",
47
- "tempy": "3.0.0",
48
- "@pnpm/fetching.binary-fetcher": "1102.0.1"
48
+ "tempy": "3.0.0"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=22.13"