pnpm 7.1.0 → 7.1.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.
@@ -7,11 +7,11 @@ included:
7
7
  injectedDeps: {}
8
8
  layoutVersion: 5
9
9
  nodeLinker: hoisted
10
- packageManager: pnpm@7.0.1
10
+ packageManager: pnpm@7.1.2
11
11
  pendingBuilds:
12
12
  - /node-gyp/8.4.1
13
13
  - /encoding/0.1.13
14
- prunedAt: Thu, 12 May 2022 14:32:16 GMT
14
+ prunedAt: Sun, 22 May 2022 01:00:01 GMT
15
15
  publicHoistPattern:
16
16
  - '*eslint*'
17
17
  - '*prettier*'
@@ -113,7 +113,7 @@ packages:
113
113
  '@npmcli/move-file': 1.1.2
114
114
  chownr: 2.0.0
115
115
  fs-minipass: 2.1.0
116
- glob: 7.2.0
116
+ glob: 7.2.3
117
117
  infer-owner: 1.0.4
118
118
  lru-cache: 6.0.0
119
119
  minipass: 3.1.6
@@ -236,8 +236,8 @@ packages:
236
236
  dev: false
237
237
  optional: true
238
238
 
239
- /glob/7.2.0:
240
- resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==}
239
+ /glob/7.2.3:
240
+ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
241
241
  dependencies:
242
242
  fs.realpath: 1.0.0
243
243
  inflight: 1.0.6
@@ -484,7 +484,7 @@ packages:
484
484
  requiresBuild: true
485
485
  dependencies:
486
486
  env-paths: 2.2.1
487
- glob: 7.2.0
487
+ glob: 7.2.3
488
488
  graceful-fs: 4.2.10
489
489
  make-fetch-happen: 9.1.0
490
490
  nopt: 5.0.0
@@ -579,7 +579,7 @@ packages:
579
579
  resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
580
580
  hasBin: true
581
581
  dependencies:
582
- glob: 7.2.0
582
+ glob: 7.2.3
583
583
  dev: false
584
584
  optional: true
585
585
 
@@ -110,6 +110,8 @@ function setopts (self, pattern, options) {
110
110
  // Note that they are not supported in Glob itself anyway.
111
111
  options.nonegate = true
112
112
  options.nocomment = true
113
+ // always treat \ in patterns as escapes, not path separators
114
+ options.allowWindowsEscape = false
113
115
 
114
116
  self.minimatch = new Minimatch(pattern, options)
115
117
  self.options = self.minimatch.options
@@ -342,7 +342,10 @@ Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
342
342
  var read
343
343
  if (prefix === null)
344
344
  read = '.'
345
- else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
345
+ else if (isAbsolute(prefix) ||
346
+ isAbsolute(pattern.map(function (p) {
347
+ return typeof p === 'string' ? p : '[*]'
348
+ }).join('/'))) {
346
349
  if (!prefix || !isAbsolute(prefix))
347
350
  prefix = '/' + prefix
348
351
  read = prefix
@@ -2,7 +2,10 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
3
3
  "name": "glob",
4
4
  "description": "a little globber",
5
- "version": "7.2.0",
5
+ "version": "7.2.3",
6
+ "publishConfig": {
7
+ "tag": "v7-legacy"
8
+ },
6
9
  "repository": {
7
10
  "type": "git",
8
11
  "url": "git://github.com/isaacs/node-glob.git"
@@ -20,7 +23,7 @@
20
23
  "fs.realpath": "^1.0.0",
21
24
  "inflight": "^1.0.4",
22
25
  "inherits": "2",
23
- "minimatch": "^3.0.4",
26
+ "minimatch": "^3.1.1",
24
27
  "once": "^1.3.0",
25
28
  "path-is-absolute": "^1.0.0"
26
29
  },
@@ -48,7 +48,7 @@ function GlobSync (pattern, options) {
48
48
  }
49
49
 
50
50
  GlobSync.prototype._finish = function () {
51
- assert(this instanceof GlobSync)
51
+ assert.ok(this instanceof GlobSync)
52
52
  if (this.realpath) {
53
53
  var self = this
54
54
  this.matches.forEach(function (matchset, index) {
@@ -72,7 +72,7 @@ GlobSync.prototype._finish = function () {
72
72
 
73
73
 
74
74
  GlobSync.prototype._process = function (pattern, index, inGlobStar) {
75
- assert(this instanceof GlobSync)
75
+ assert.ok(this instanceof GlobSync)
76
76
 
77
77
  // Get the first [n] parts of pattern that are all strings.
78
78
  var n = 0
@@ -109,7 +109,10 @@ GlobSync.prototype._process = function (pattern, index, inGlobStar) {
109
109
  var read
110
110
  if (prefix === null)
111
111
  read = '.'
112
- else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
112
+ else if (isAbsolute(prefix) ||
113
+ isAbsolute(pattern.map(function (p) {
114
+ return typeof p === 'string' ? p : '[*]'
115
+ }).join('/'))) {
113
116
  if (!prefix || !isAbsolute(prefix))
114
117
  prefix = '/' + prefix
115
118
  read = prefix