pnpm 6.15.1 → 6.17.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/README.md +3 -5
- package/dist/node_modules/glob/common.js +2 -0
- package/dist/node_modules/glob/glob.js +4 -5
- package/dist/node_modules/glob/package.json +2 -1
- package/dist/node_modules/glob/sync.js +4 -5
- package/dist/node_modules/signal-exit/index.js +1 -1
- package/dist/node_modules/signal-exit/package.json +2 -2
- package/dist/pnpm.cjs +15080 -14843
- package/dist/pnpx.cjs +7 -7
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -43,13 +43,13 @@ why it works fine with the Node.js ecosystem, read this small article: [Flat nod
|
|
|
43
43
|
On macOS, Linux, or Windows Subsystem for Linux:
|
|
44
44
|
|
|
45
45
|
```
|
|
46
|
-
curl -f https://get.pnpm.io/v6.
|
|
46
|
+
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
On Windows (using PowerShell):
|
|
50
50
|
|
|
51
51
|
```
|
|
52
|
-
(Invoke-WebRequest 'https://get.pnpm.io/v6.
|
|
52
|
+
(Invoke-WebRequest 'https://get.pnpm.io/v6.16.js' -UseBasicParsing).Content | node - add --global pnpm
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Using npm:
|
|
@@ -89,10 +89,8 @@ Benchmarks on an app with lots of dependencies:
|
|
|
89
89
|
## Support
|
|
90
90
|
|
|
91
91
|
- [Frequently Asked Questions](https://pnpm.io/faq)
|
|
92
|
-
- [Stack Overflow](https://stackoverflow.com/questions/tagged/pnpm)
|
|
93
92
|
- [Chat](https://r.pnpm.io/chat)
|
|
94
93
|
- [Twitter](https://twitter.com/pnpmjs)
|
|
95
|
-
- [Awesome list](https://github.com/pnpm/awesome-pnpm)
|
|
96
94
|
|
|
97
95
|
## Contributors
|
|
98
96
|
|
|
@@ -126,4 +124,4 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
|
|
|
126
124
|
|
|
127
125
|
***
|
|
128
126
|
|
|
129
|
-
Like this project? Let people know with a [tweet](https://
|
|
127
|
+
Like this project? Let people know with a [tweet](https://r.pnpm.io/tweet).
|
|
@@ -10,6 +10,7 @@ function ownProp (obj, field) {
|
|
|
10
10
|
return Object.prototype.hasOwnProperty.call(obj, field)
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
var fs = require("fs")
|
|
13
14
|
var path = require("path")
|
|
14
15
|
var minimatch = require("minimatch")
|
|
15
16
|
var isAbsolute = require("path-is-absolute")
|
|
@@ -75,6 +76,7 @@ function setopts (self, pattern, options) {
|
|
|
75
76
|
self.stat = !!options.stat
|
|
76
77
|
self.noprocess = !!options.noprocess
|
|
77
78
|
self.absolute = !!options.absolute
|
|
79
|
+
self.fs = options.fs || fs
|
|
78
80
|
|
|
79
81
|
self.maxLength = options.maxLength || Infinity
|
|
80
82
|
self.cache = options.cache || Object.create(null)
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
|
|
41
41
|
module.exports = glob
|
|
42
42
|
|
|
43
|
-
var fs = require('fs')
|
|
44
43
|
var rp = require('fs.realpath')
|
|
45
44
|
var minimatch = require('minimatch')
|
|
46
45
|
var Minimatch = minimatch.Minimatch
|
|
@@ -501,7 +500,7 @@ Glob.prototype._readdirInGlobStar = function (abs, cb) {
|
|
|
501
500
|
var lstatcb = inflight(lstatkey, lstatcb_)
|
|
502
501
|
|
|
503
502
|
if (lstatcb)
|
|
504
|
-
fs.lstat(abs, lstatcb)
|
|
503
|
+
self.fs.lstat(abs, lstatcb)
|
|
505
504
|
|
|
506
505
|
function lstatcb_ (er, lstat) {
|
|
507
506
|
if (er && er.code === 'ENOENT')
|
|
@@ -542,7 +541,7 @@ Glob.prototype._readdir = function (abs, inGlobStar, cb) {
|
|
|
542
541
|
}
|
|
543
542
|
|
|
544
543
|
var self = this
|
|
545
|
-
fs.readdir(abs, readdirCb(this, abs, cb))
|
|
544
|
+
self.fs.readdir(abs, readdirCb(this, abs, cb))
|
|
546
545
|
}
|
|
547
546
|
|
|
548
547
|
function readdirCb (self, abs, cb) {
|
|
@@ -746,13 +745,13 @@ Glob.prototype._stat = function (f, cb) {
|
|
|
746
745
|
var self = this
|
|
747
746
|
var statcb = inflight('stat\0' + abs, lstatcb_)
|
|
748
747
|
if (statcb)
|
|
749
|
-
fs.lstat(abs, statcb)
|
|
748
|
+
self.fs.lstat(abs, statcb)
|
|
750
749
|
|
|
751
750
|
function lstatcb_ (er, lstat) {
|
|
752
751
|
if (lstat && lstat.isSymbolicLink()) {
|
|
753
752
|
// If it's a symlink, then treat it as the target, unless
|
|
754
753
|
// the target does not exist, then treat it as a file.
|
|
755
|
-
return fs.stat(abs, function (er, stat) {
|
|
754
|
+
return self.fs.stat(abs, function (er, stat) {
|
|
756
755
|
if (er)
|
|
757
756
|
self._stat2(f, abs, null, lstat, cb)
|
|
758
757
|
else
|
|
@@ -2,7 +2,7 @@
|
|
|
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.
|
|
5
|
+
"version": "7.2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git://github.com/isaacs/node-glob.git"
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"path-is-absolute": "^1.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"memfs": "^3.2.0",
|
|
28
29
|
"mkdirp": "0",
|
|
29
30
|
"rimraf": "^2.2.8",
|
|
30
31
|
"tap": "^15.0.6",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
module.exports = globSync
|
|
2
2
|
globSync.GlobSync = GlobSync
|
|
3
3
|
|
|
4
|
-
var fs = require('fs')
|
|
5
4
|
var rp = require('fs.realpath')
|
|
6
5
|
var minimatch = require('minimatch')
|
|
7
6
|
var Minimatch = minimatch.Minimatch
|
|
@@ -246,7 +245,7 @@ GlobSync.prototype._readdirInGlobStar = function (abs) {
|
|
|
246
245
|
var lstat
|
|
247
246
|
var stat
|
|
248
247
|
try {
|
|
249
|
-
lstat = fs.lstatSync(abs)
|
|
248
|
+
lstat = this.fs.lstatSync(abs)
|
|
250
249
|
} catch (er) {
|
|
251
250
|
if (er.code === 'ENOENT') {
|
|
252
251
|
// lstat failed, doesn't exist
|
|
@@ -283,7 +282,7 @@ GlobSync.prototype._readdir = function (abs, inGlobStar) {
|
|
|
283
282
|
}
|
|
284
283
|
|
|
285
284
|
try {
|
|
286
|
-
return this._readdirEntries(abs, fs.readdirSync(abs))
|
|
285
|
+
return this._readdirEntries(abs, this.fs.readdirSync(abs))
|
|
287
286
|
} catch (er) {
|
|
288
287
|
this._readdirError(abs, er)
|
|
289
288
|
return null
|
|
@@ -442,7 +441,7 @@ GlobSync.prototype._stat = function (f) {
|
|
|
442
441
|
if (!stat) {
|
|
443
442
|
var lstat
|
|
444
443
|
try {
|
|
445
|
-
lstat = fs.lstatSync(abs)
|
|
444
|
+
lstat = this.fs.lstatSync(abs)
|
|
446
445
|
} catch (er) {
|
|
447
446
|
if (er && (er.code === 'ENOENT' || er.code === 'ENOTDIR')) {
|
|
448
447
|
this.statCache[abs] = false
|
|
@@ -452,7 +451,7 @@ GlobSync.prototype._stat = function (f) {
|
|
|
452
451
|
|
|
453
452
|
if (lstat && lstat.isSymbolicLink()) {
|
|
454
453
|
try {
|
|
455
|
-
stat = fs.statSync(abs)
|
|
454
|
+
stat = this.fs.statSync(abs)
|
|
456
455
|
} catch (er) {
|
|
457
456
|
stat = lstat
|
|
458
457
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var process = global.process
|
|
6
6
|
// some kind of non-node environment, just no-op
|
|
7
7
|
if (typeof process !== 'object' || !process) {
|
|
8
|
-
module.exports = ()
|
|
8
|
+
module.exports = function () {}
|
|
9
9
|
} else {
|
|
10
10
|
var assert = require('assert')
|
|
11
11
|
var signals = require('./signals.js')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signal-exit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "when you want to fire an event no matter how a process exits.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"coveralls": "^3.1.1",
|
|
32
32
|
"nyc": "^15.1.0",
|
|
33
33
|
"standard-version": "^9.3.1",
|
|
34
|
-
"tap": "^15.0.
|
|
34
|
+
"tap": "^15.0.10"
|
|
35
35
|
}
|
|
36
36
|
}
|