pnpm 8.15.7 → 8.15.9

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.
@@ -128,9 +128,9 @@ hoistedLocations:
128
128
  mkdirp@1.0.4:
129
129
  - node_modules/mkdirp
130
130
  ms@2.1.2:
131
- - node_modules/debug/node_modules/ms
132
- ms@2.1.3:
133
131
  - node_modules/ms
132
+ ms@2.1.3:
133
+ - node_modules/humanize-ms/node_modules/ms
134
134
  negotiator@0.6.3:
135
135
  - node_modules/negotiator
136
136
  node-gyp@9.4.1:
@@ -181,7 +181,7 @@ hoistedLocations:
181
181
  - node_modules/string_decoder
182
182
  strip-ansi@6.0.1:
183
183
  - node_modules/strip-ansi
184
- tar@6.2.0:
184
+ tar@6.2.1:
185
185
  - node_modules/tar
186
186
  unique-filename@2.0.1:
187
187
  - node_modules/unique-filename
@@ -206,9 +206,9 @@ included:
206
206
  injectedDeps: {}
207
207
  layoutVersion: 5
208
208
  nodeLinker: hoisted
209
- packageManager: pnpm@9.0.0-rc.0
209
+ packageManager: pnpm@9.5.0
210
210
  pendingBuilds: []
211
- prunedAt: Sat, 13 Apr 2024 16:15:15 GMT
211
+ prunedAt: Wed, 17 Jul 2024 15:52:25 GMT
212
212
  publicHoistPattern:
213
213
  - '*eslint*'
214
214
  - '*prettier*'
@@ -217,3 +217,4 @@ registries:
217
217
  skipped: []
218
218
  storeDir: /home/runner/setup-pnpm/node_modules/.bin/store/v3
219
219
  virtualStoreDir: .pnpm
220
+ virtualStoreDirMaxLength: 120
@@ -58,6 +58,7 @@ overrides:
58
58
  tough-cookie@<4.1.3: '>=4.1.3'
59
59
  ts-api-utils: 1.0.0
60
60
  socks: 2.7.3
61
+ tar@6: ^6.2.1
61
62
 
62
63
  importers:
63
64
 
@@ -114,6 +115,7 @@ packages:
114
115
  are-we-there-yet@3.0.1:
115
116
  resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==}
116
117
  engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
118
+ deprecated: This package is no longer supported.
117
119
 
118
120
  balanced-match@1.0.2:
119
121
  resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
@@ -184,13 +186,16 @@ packages:
184
186
  gauge@4.0.4:
185
187
  resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==}
186
188
  engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
189
+ deprecated: This package is no longer supported.
187
190
 
188
191
  glob@7.2.3:
189
192
  resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
193
+ deprecated: Glob versions prior to v9 are no longer supported
190
194
 
191
195
  glob@8.1.0:
192
196
  resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
193
197
  engines: {node: '>=12'}
198
+ deprecated: Glob versions prior to v9 are no longer supported
194
199
 
195
200
  graceful-fs@4.2.11:
196
201
  resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
@@ -229,6 +234,7 @@ packages:
229
234
 
230
235
  inflight@1.0.6:
231
236
  resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
237
+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
232
238
 
233
239
  inherits@2.0.4:
234
240
  resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@@ -329,6 +335,7 @@ packages:
329
335
  npmlog@6.0.2:
330
336
  resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==}
331
337
  engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
338
+ deprecated: This package is no longer supported.
332
339
 
333
340
  once@1.4.0:
334
341
  resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
@@ -363,6 +370,7 @@ packages:
363
370
 
364
371
  rimraf@3.0.2:
365
372
  resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
373
+ deprecated: Rimraf versions prior to v4 are no longer supported
366
374
  hasBin: true
367
375
 
368
376
  safe-buffer@5.2.1:
@@ -413,8 +421,8 @@ packages:
413
421
  resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
414
422
  engines: {node: '>=8'}
415
423
 
416
- tar@6.2.0:
417
- resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==}
424
+ tar@6.2.1:
425
+ resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}
418
426
  engines: {node: '>=10'}
419
427
 
420
428
  unique-filename@2.0.1:
@@ -530,7 +538,7 @@ snapshots:
530
538
  promise-inflight: 1.0.1
531
539
  rimraf: 3.0.2
532
540
  ssri: 9.0.1
533
- tar: 6.2.0
541
+ tar: 6.2.1
534
542
  unique-filename: 2.0.1
535
543
  transitivePeerDependencies:
536
544
  - bluebird
@@ -794,7 +802,7 @@ snapshots:
794
802
  npmlog: 6.0.2
795
803
  rimraf: 3.0.2
796
804
  semver: 7.5.4
797
- tar: 6.2.0
805
+ tar: 6.2.1
798
806
  which: 2.0.2
799
807
  transitivePeerDependencies:
800
808
  - bluebird
@@ -911,7 +919,7 @@ snapshots:
911
919
  ansi-regex: 5.0.1
912
920
  optional: true
913
921
 
914
- tar@6.2.0:
922
+ tar@6.2.1:
915
923
  dependencies:
916
924
  chownr: 2.0.0
917
925
  fs-minipass: 2.1.0
@@ -23,7 +23,7 @@ var y = d * 365.25;
23
23
  * @api public
24
24
  */
25
25
 
26
- module.exports = function(val, options) {
26
+ module.exports = function (val, options) {
27
27
  options = options || {};
28
28
  var type = typeof val;
29
29
  if (type === 'string' && val.length > 0) {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "ms",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Tiny millisecond conversion utility",
5
- "repository": "zeit/ms",
5
+ "repository": "vercel/ms",
6
6
  "main": "./index",
7
7
  "files": [
8
8
  "index.js"
@@ -28,10 +28,11 @@
28
28
  },
29
29
  "license": "MIT",
30
30
  "devDependencies": {
31
- "eslint": "4.12.1",
31
+ "eslint": "4.18.2",
32
32
  "expect.js": "0.3.1",
33
33
  "husky": "0.14.3",
34
34
  "lint-staged": "5.0.0",
35
- "mocha": "4.0.1"
35
+ "mocha": "4.0.1",
36
+ "prettier": "2.0.5"
36
37
  }
37
38
  }
@@ -23,7 +23,7 @@ var y = d * 365.25;
23
23
  * @api public
24
24
  */
25
25
 
26
- module.exports = function (val, options) {
26
+ module.exports = function(val, options) {
27
27
  options = options || {};
28
28
  var type = typeof val;
29
29
  if (type === 'string' && val.length > 0) {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "ms",
3
- "version": "2.1.3",
3
+ "version": "2.1.2",
4
4
  "description": "Tiny millisecond conversion utility",
5
- "repository": "vercel/ms",
5
+ "repository": "zeit/ms",
6
6
  "main": "./index",
7
7
  "files": [
8
8
  "index.js"
@@ -28,11 +28,10 @@
28
28
  },
29
29
  "license": "MIT",
30
30
  "devDependencies": {
31
- "eslint": "4.18.2",
31
+ "eslint": "4.12.1",
32
32
  "expect.js": "0.3.1",
33
33
  "husky": "0.14.3",
34
34
  "lint-staged": "5.0.0",
35
- "mocha": "4.0.1",
36
- "prettier": "2.0.5"
35
+ "mocha": "4.0.1"
37
36
  }
38
37
  }
@@ -48,6 +48,7 @@ const crypto = require('crypto')
48
48
  const getFlag = require('./get-write-flag.js')
49
49
  const platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform
50
50
  const isWindows = platform === 'win32'
51
+ const DEFAULT_MAX_DEPTH = 1024
51
52
 
52
53
  // Unlinks on Windows are not atomic.
53
54
  //
@@ -181,6 +182,12 @@ class Unpack extends Parser {
181
182
  this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ?
182
183
  process.getgid() : null
183
184
 
185
+ // prevent excessively deep nesting of subfolders
186
+ // set to `Infinity` to remove this restriction
187
+ this.maxDepth = typeof opt.maxDepth === 'number'
188
+ ? opt.maxDepth
189
+ : DEFAULT_MAX_DEPTH
190
+
184
191
  // mostly just for testing, but useful in some cases.
185
192
  // Forcibly trigger a chown on every entry, no matter what
186
193
  this.forceChown = opt.forceChown === true
@@ -238,13 +245,13 @@ class Unpack extends Parser {
238
245
  }
239
246
 
240
247
  [CHECKPATH] (entry) {
248
+ const p = normPath(entry.path)
249
+ const parts = p.split('/')
250
+
241
251
  if (this.strip) {
242
- const parts = normPath(entry.path).split('/')
243
252
  if (parts.length < this.strip) {
244
253
  return false
245
254
  }
246
- entry.path = parts.slice(this.strip).join('/')
247
-
248
255
  if (entry.type === 'Link') {
249
256
  const linkparts = normPath(entry.linkpath).split('/')
250
257
  if (linkparts.length >= this.strip) {
@@ -253,11 +260,21 @@ class Unpack extends Parser {
253
260
  return false
254
261
  }
255
262
  }
263
+ parts.splice(0, this.strip)
264
+ entry.path = parts.join('/')
265
+ }
266
+
267
+ if (isFinite(this.maxDepth) && parts.length > this.maxDepth) {
268
+ this.warn('TAR_ENTRY_ERROR', 'path excessively deep', {
269
+ entry,
270
+ path: p,
271
+ depth: parts.length,
272
+ maxDepth: this.maxDepth,
273
+ })
274
+ return false
256
275
  }
257
276
 
258
277
  if (!this.preservePaths) {
259
- const p = normPath(entry.path)
260
- const parts = p.split('/')
261
278
  if (parts.includes('..') || isWindows && /^[a-z]:\.\.$/i.test(parts[0])) {
262
279
  this.warn('TAR_ENTRY_ERROR', `path contains '..'`, {
263
280
  entry,
@@ -2,7 +2,7 @@
2
2
  "author": "GitHub Inc.",
3
3
  "name": "tar",
4
4
  "description": "tar for node",
5
- "version": "6.2.0",
5
+ "version": "6.2.1",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/isaacs/node-tar.git"