fsevents 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fsevents might be problematic. Click here for more details.
- package/node_modules/abbrev/package.json +10 -13
- package/node_modules/ansi-regex/package.json +10 -13
- package/node_modules/aproba/package.json +10 -13
- package/node_modules/are-we-there-yet/package.json +10 -13
- package/node_modules/balanced-match/package.json +10 -13
- package/node_modules/brace-expansion/package.json +10 -13
- package/node_modules/chownr/chownr.js +47 -10
- package/node_modules/chownr/package.json +15 -18
- package/node_modules/code-point-at/package.json +10 -13
- package/node_modules/concat-map/package.json +5 -8
- package/node_modules/console-control-strings/package.json +10 -13
- package/node_modules/core-util-is/package.json +10 -13
- package/node_modules/debug/README.md +0 -18
- package/node_modules/debug/dist/debug.js +2 -28
- package/node_modules/debug/node.js +1 -0
- package/node_modules/debug/package.json +15 -30
- package/node_modules/debug/src/browser.js +103 -187
- package/node_modules/debug/src/common.js +240 -257
- package/node_modules/debug/src/index.js +5 -3
- package/node_modules/debug/src/node.js +82 -165
- package/node_modules/deep-extend/package.json +10 -13
- package/node_modules/delegates/package.json +10 -13
- package/node_modules/detect-libc/package.json +10 -13
- package/node_modules/fs-minipass/index.js +2 -1
- package/node_modules/fs-minipass/package.json +21 -21
- package/node_modules/fs.realpath/package.json +10 -13
- package/node_modules/gauge/package.json +10 -13
- package/node_modules/glob/LICENSE +6 -0
- package/node_modules/glob/README.md +8 -1
- package/node_modules/glob/package.json +17 -17
- package/node_modules/has-unicode/package.json +10 -13
- package/node_modules/iconv-lite/package.json +10 -13
- package/node_modules/ignore-walk/README.md +1 -1
- package/node_modules/ignore-walk/index.js +9 -5
- package/node_modules/ignore-walk/package.json +19 -19
- package/node_modules/inflight/package.json +10 -13
- package/node_modules/inherits/inherits.js +2 -0
- package/node_modules/inherits/inherits_browser.js +18 -14
- package/node_modules/inherits/package.json +16 -19
- package/node_modules/ini/package.json +10 -13
- package/node_modules/is-fullwidth-code-point/package.json +10 -13
- package/node_modules/isarray/package.json +10 -13
- package/node_modules/minimatch/package.json +10 -13
- package/node_modules/minimist/package.json +5 -8
- package/node_modules/minipass/README.md +486 -4
- package/node_modules/minipass/index.js +190 -28
- package/node_modules/minipass/package.json +20 -20
- package/node_modules/minizlib/README.md +36 -27
- package/node_modules/minizlib/constants.js +73 -4
- package/node_modules/minizlib/index.js +137 -152
- package/node_modules/minizlib/package.json +15 -18
- package/node_modules/mkdirp/package.json +10 -13
- package/node_modules/ms/index.js +2 -2
- package/node_modules/ms/package.json +14 -17
- package/node_modules/ms/readme.md +1 -1
- package/node_modules/needle/lib/needle.js +2 -0
- package/node_modules/needle/package.json +15 -18
- package/node_modules/needle/test/headers_spec.js +1 -1
- package/node_modules/node-pre-gyp/package.json +9 -12
- package/node_modules/nopt/package.json +10 -13
- package/node_modules/npm-bundled/index.js +13 -5
- package/node_modules/npm-bundled/package.json +17 -17
- package/node_modules/npm-normalize-package-bin/.github/settings.yml +2 -0
- package/node_modules/npm-normalize-package-bin/.npmignore +24 -0
- package/node_modules/npm-normalize-package-bin/LICENSE +15 -0
- package/node_modules/npm-normalize-package-bin/README.md +14 -0
- package/node_modules/npm-normalize-package-bin/index.js +60 -0
- package/node_modules/npm-normalize-package-bin/package-lock.json +3529 -0
- package/node_modules/npm-normalize-package-bin/package.json +57 -0
- package/node_modules/npm-normalize-package-bin/test/array.js +37 -0
- package/node_modules/npm-normalize-package-bin/test/nobin.js +35 -0
- package/node_modules/npm-normalize-package-bin/test/object.js +141 -0
- package/node_modules/npm-normalize-package-bin/test/string.js +37 -0
- package/node_modules/npm-packlist/index.js +55 -16
- package/node_modules/npm-packlist/package.json +24 -20
- package/node_modules/npmlog/package.json +10 -13
- package/node_modules/number-is-nan/package.json +10 -13
- package/node_modules/object-assign/package.json +10 -13
- package/node_modules/once/package.json +10 -13
- package/node_modules/os-homedir/package.json +10 -13
- package/node_modules/os-tmpdir/package.json +10 -13
- package/node_modules/osenv/package.json +10 -13
- package/node_modules/path-is-absolute/package.json +10 -13
- package/node_modules/process-nextick-args/index.js +2 -1
- package/node_modules/process-nextick-args/package.json +14 -17
- package/node_modules/rc/node_modules/minimist/package.json +10 -13
- package/node_modules/rc/package.json +10 -13
- package/node_modules/readable-stream/package.json +10 -13
- package/node_modules/rimraf/package.json +14 -17
- package/node_modules/rimraf/rimraf.js +9 -1
- package/node_modules/safe-buffer/package.json +10 -13
- package/node_modules/safer-buffer/package.json +10 -13
- package/node_modules/sax/package.json +10 -13
- package/node_modules/semver/README.md +12 -11
- package/node_modules/semver/package.json +14 -17
- package/node_modules/set-blocking/package.json +10 -13
- package/node_modules/signal-exit/package.json +10 -13
- package/node_modules/string-width/package.json +10 -13
- package/node_modules/string_decoder/package.json +10 -13
- package/node_modules/strip-ansi/package.json +10 -13
- package/node_modules/strip-json-comments/package.json +10 -13
- package/node_modules/tar/lib/large-numbers.js +32 -27
- package/node_modules/tar/lib/mkdir.js +2 -2
- package/node_modules/tar/lib/parse.js +6 -1
- package/node_modules/tar/lib/read-entry.js +4 -0
- package/node_modules/tar/lib/write-entry.js +2 -2
- package/node_modules/tar/package.json +25 -24
- package/node_modules/util-deprecate/package.json +10 -13
- package/node_modules/wide-align/package.json +10 -13
- package/node_modules/wrappy/package.json +10 -13
- package/node_modules/yallist/package.json +14 -17
- package/node_modules/yallist/yallist.js +50 -0
- package/package.json +1 -1
- package/node_modules/needle/.npmignore +0 -6
- package/node_modules/needle/package-lock.json +0 -395
- package/node_modules/needle/test/keys/ssl.cert +0 -21
- package/node_modules/needle/test/keys/ssl.key +0 -27
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"abbrev@1.1.1",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "abbrev@1.1.1",
|
2
|
+
"_from": "abbrev@1",
|
9
3
|
"_id": "abbrev@1.1.1",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
|
12
6
|
"_location": "/abbrev",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "abbrev@1
|
11
|
+
"raw": "abbrev@1",
|
18
12
|
"name": "abbrev",
|
19
13
|
"escapedName": "abbrev",
|
20
|
-
"rawSpec": "1
|
14
|
+
"rawSpec": "1",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1
|
16
|
+
"fetchSpec": "1"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/nopt"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "f8f2c887ad10bf67f634f005b6987fed3179aac8",
|
23
|
+
"_spec": "abbrev@1",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/nopt",
|
30
25
|
"author": {
|
31
26
|
"name": "Isaac Z. Schlueter",
|
32
27
|
"email": "i@izs.me"
|
@@ -34,6 +29,8 @@
|
|
34
29
|
"bugs": {
|
35
30
|
"url": "https://github.com/isaacs/abbrev-js/issues"
|
36
31
|
},
|
32
|
+
"bundleDependencies": false,
|
33
|
+
"deprecated": false,
|
37
34
|
"description": "Like ruby's abbrev module, but in js",
|
38
35
|
"devDependencies": {
|
39
36
|
"tap": "^10.1"
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"ansi-regex@2.1.1",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "ansi-regex@2.1.1",
|
2
|
+
"_from": "ansi-regex@^2.0.0",
|
9
3
|
"_id": "ansi-regex@2.1.1",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
12
6
|
"_location": "/ansi-regex",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "ansi-regex
|
11
|
+
"raw": "ansi-regex@^2.0.0",
|
18
12
|
"name": "ansi-regex",
|
19
13
|
"escapedName": "ansi-regex",
|
20
|
-
"rawSpec": "2.
|
14
|
+
"rawSpec": "^2.0.0",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "2.
|
16
|
+
"fetchSpec": "^2.0.0"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/strip-ansi"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df",
|
23
|
+
"_spec": "ansi-regex@^2.0.0",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/strip-ansi",
|
30
25
|
"author": {
|
31
26
|
"name": "Sindre Sorhus",
|
32
27
|
"email": "sindresorhus@gmail.com",
|
@@ -35,6 +30,8 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/chalk/ansi-regex/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
34
|
+
"deprecated": false,
|
38
35
|
"description": "Regular expression for matching ANSI escape codes",
|
39
36
|
"devDependencies": {
|
40
37
|
"ava": "0.17.0",
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"aproba@1.2.0",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "aproba@1.2.0",
|
2
|
+
"_from": "aproba@^1.0.3",
|
9
3
|
"_id": "aproba@1.2.0",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==",
|
12
6
|
"_location": "/aproba",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "aproba
|
11
|
+
"raw": "aproba@^1.0.3",
|
18
12
|
"name": "aproba",
|
19
13
|
"escapedName": "aproba",
|
20
|
-
"rawSpec": "1.
|
14
|
+
"rawSpec": "^1.0.3",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.
|
16
|
+
"fetchSpec": "^1.0.3"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/gauge"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "6802e6264efd18c790a1b0d517f0f2627bf2c94a",
|
23
|
+
"_spec": "aproba@^1.0.3",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/gauge",
|
30
25
|
"author": {
|
31
26
|
"name": "Rebecca Turner",
|
32
27
|
"email": "me@re-becca.org"
|
@@ -34,7 +29,9 @@
|
|
34
29
|
"bugs": {
|
35
30
|
"url": "https://github.com/iarna/aproba/issues"
|
36
31
|
},
|
32
|
+
"bundleDependencies": false,
|
37
33
|
"dependencies": {},
|
34
|
+
"deprecated": false,
|
38
35
|
"description": "A ridiculously light-weight argument validator (now browser friendly)",
|
39
36
|
"devDependencies": {
|
40
37
|
"standard": "^10.0.3",
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"are-we-there-yet@1.1.5",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "are-we-there-yet@1.1.5",
|
2
|
+
"_from": "are-we-there-yet@~1.1.2",
|
9
3
|
"_id": "are-we-there-yet@1.1.5",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==",
|
12
6
|
"_location": "/are-we-there-yet",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "are-we-there-yet
|
11
|
+
"raw": "are-we-there-yet@~1.1.2",
|
18
12
|
"name": "are-we-there-yet",
|
19
13
|
"escapedName": "are-we-there-yet",
|
20
|
-
"rawSpec": "1.1.
|
14
|
+
"rawSpec": "~1.1.2",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.1.
|
16
|
+
"fetchSpec": "~1.1.2"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/npmlog"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "4b35c2944f062a8bfcda66410760350fe9ddfc21",
|
23
|
+
"_spec": "are-we-there-yet@~1.1.2",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/npmlog",
|
30
25
|
"author": {
|
31
26
|
"name": "Rebecca Turner",
|
32
27
|
"url": "http://re-becca.org"
|
@@ -34,10 +29,12 @@
|
|
34
29
|
"bugs": {
|
35
30
|
"url": "https://github.com/iarna/are-we-there-yet/issues"
|
36
31
|
},
|
32
|
+
"bundleDependencies": false,
|
37
33
|
"dependencies": {
|
38
34
|
"delegates": "^1.0.0",
|
39
35
|
"readable-stream": "^2.0.6"
|
40
36
|
},
|
37
|
+
"deprecated": false,
|
41
38
|
"description": "Keep track of the overall completion of many disparate processes",
|
42
39
|
"devDependencies": {
|
43
40
|
"standard": "^11.0.1",
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"balanced-match@1.0.0",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "balanced-match@1.0.0",
|
2
|
+
"_from": "balanced-match@^1.0.0",
|
9
3
|
"_id": "balanced-match@1.0.0",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
|
12
6
|
"_location": "/balanced-match",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "balanced-match
|
11
|
+
"raw": "balanced-match@^1.0.0",
|
18
12
|
"name": "balanced-match",
|
19
13
|
"escapedName": "balanced-match",
|
20
|
-
"rawSpec": "1.0.0",
|
14
|
+
"rawSpec": "^1.0.0",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.0.0"
|
16
|
+
"fetchSpec": "^1.0.0"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/brace-expansion"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "89b4d199ab2bee49de164ea02b89ce462d71b767",
|
23
|
+
"_spec": "balanced-match@^1.0.0",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/brace-expansion",
|
30
25
|
"author": {
|
31
26
|
"name": "Julian Gruber",
|
32
27
|
"email": "mail@juliangruber.com",
|
@@ -35,7 +30,9 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/juliangruber/balanced-match/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
38
34
|
"dependencies": {},
|
35
|
+
"deprecated": false,
|
39
36
|
"description": "Match balanced character pairs, like \"{\" and \"}\"",
|
40
37
|
"devDependencies": {
|
41
38
|
"matcha": "^0.7.0",
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"brace-expansion@1.1.11",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "brace-expansion@1.1.11",
|
2
|
+
"_from": "brace-expansion@^1.1.7",
|
9
3
|
"_id": "brace-expansion@1.1.11",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
12
6
|
"_location": "/brace-expansion",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "brace-expansion
|
11
|
+
"raw": "brace-expansion@^1.1.7",
|
18
12
|
"name": "brace-expansion",
|
19
13
|
"escapedName": "brace-expansion",
|
20
|
-
"rawSpec": "1.1.
|
14
|
+
"rawSpec": "^1.1.7",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.1.
|
16
|
+
"fetchSpec": "^1.1.7"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/minimatch"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "3c7fcbf529d87226f3d2f52b966ff5271eb441dd",
|
23
|
+
"_spec": "brace-expansion@^1.1.7",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/minimatch",
|
30
25
|
"author": {
|
31
26
|
"name": "Julian Gruber",
|
32
27
|
"email": "mail@juliangruber.com",
|
@@ -35,10 +30,12 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/juliangruber/brace-expansion/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
38
34
|
"dependencies": {
|
39
35
|
"balanced-match": "^1.0.0",
|
40
36
|
"concat-map": "0.0.1"
|
41
37
|
},
|
38
|
+
"deprecated": false,
|
42
39
|
"description": "Brace expansion as known from sh/bash",
|
43
40
|
"devDependencies": {
|
44
41
|
"matcha": "^0.7.0",
|
@@ -7,6 +7,36 @@ const LCHOWN = fs.lchown ? 'lchown' : 'chown'
|
|
7
7
|
/* istanbul ignore next */
|
8
8
|
const LCHOWNSYNC = fs.lchownSync ? 'lchownSync' : 'chownSync'
|
9
9
|
|
10
|
+
const needEISDIRHandled = fs.lchown &&
|
11
|
+
!process.version.match(/v1[1-9]+\./) &&
|
12
|
+
!process.version.match(/v10\.[6-9]/)
|
13
|
+
|
14
|
+
/* istanbul ignore next */
|
15
|
+
const handleEISDIR =
|
16
|
+
needEISDIRHandled ? (path, uid, gid, cb) => er => {
|
17
|
+
// Node prior to v10 had a very questionable implementation of
|
18
|
+
// fs.lchown, which would always try to call fs.open on a directory
|
19
|
+
// Fall back to fs.chown in those cases.
|
20
|
+
if (!er || er.code !== 'EISDIR')
|
21
|
+
cb(er)
|
22
|
+
else
|
23
|
+
fs.chown(path, uid, gid, cb)
|
24
|
+
}
|
25
|
+
: (_, __, ___, cb) => cb
|
26
|
+
|
27
|
+
/* istanbul ignore next */
|
28
|
+
const handleEISDirSync =
|
29
|
+
needEISDIRHandled ? (path, uid, gid) => {
|
30
|
+
try {
|
31
|
+
return fs[LCHOWNSYNC](path, uid, gid)
|
32
|
+
} catch (er) {
|
33
|
+
if (er.code !== 'EISDIR')
|
34
|
+
throw er
|
35
|
+
fs.chownSync(path, uid, gid)
|
36
|
+
}
|
37
|
+
}
|
38
|
+
: (path, uid, gid) => fs[LCHOWNSYNC](path, uid, gid)
|
39
|
+
|
10
40
|
// fs.readdir could only accept an options object as of node v6
|
11
41
|
const nodeVersion = process.version
|
12
42
|
let readdir = (path, options, cb) => fs.readdir(path, options, cb)
|
@@ -28,10 +58,13 @@ const chownrKid = (p, child, uid, gid, cb) => {
|
|
28
58
|
chownr(path.resolve(p, child.name), uid, gid, er => {
|
29
59
|
if (er)
|
30
60
|
return cb(er)
|
31
|
-
|
61
|
+
const cpath = path.resolve(p, child.name)
|
62
|
+
fs[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, cb))
|
32
63
|
})
|
33
|
-
} else
|
34
|
-
|
64
|
+
} else {
|
65
|
+
const cpath = path.resolve(p, child.name)
|
66
|
+
fs[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, cb))
|
67
|
+
}
|
35
68
|
}
|
36
69
|
|
37
70
|
|
@@ -41,14 +74,18 @@ const chownr = (p, uid, gid, cb) => {
|
|
41
74
|
// or doesn't exist. give up.
|
42
75
|
if (er && er.code !== 'ENOTDIR' && er.code !== 'ENOTSUP')
|
43
76
|
return cb(er)
|
44
|
-
if (er || !children.length)
|
77
|
+
if (er || !children.length)
|
78
|
+
return fs[LCHOWN](p, uid, gid, handleEISDIR(p, uid, gid, cb))
|
45
79
|
|
46
80
|
let len = children.length
|
47
81
|
let errState = null
|
48
82
|
const then = er => {
|
49
|
-
if (errState)
|
50
|
-
|
51
|
-
if (
|
83
|
+
if (errState)
|
84
|
+
return
|
85
|
+
if (er)
|
86
|
+
return cb(errState = er)
|
87
|
+
if (-- len === 0)
|
88
|
+
return fs[LCHOWN](p, uid, gid, handleEISDIR(p, uid, gid, cb))
|
52
89
|
}
|
53
90
|
|
54
91
|
children.forEach(child => chownrKid(p, child, uid, gid, then))
|
@@ -65,7 +102,7 @@ const chownrKidSync = (p, child, uid, gid) => {
|
|
65
102
|
if (child.isDirectory())
|
66
103
|
chownrSync(path.resolve(p, child.name), uid, gid)
|
67
104
|
|
68
|
-
|
105
|
+
handleEISDirSync(path.resolve(p, child.name), uid, gid)
|
69
106
|
}
|
70
107
|
|
71
108
|
const chownrSync = (p, uid, gid) => {
|
@@ -74,14 +111,14 @@ const chownrSync = (p, uid, gid) => {
|
|
74
111
|
children = readdirSync(p, { withFileTypes: true })
|
75
112
|
} catch (er) {
|
76
113
|
if (er && er.code === 'ENOTDIR' && er.code !== 'ENOTSUP')
|
77
|
-
return
|
114
|
+
return handleEISDirSync(p, uid, gid)
|
78
115
|
throw er
|
79
116
|
}
|
80
117
|
|
81
118
|
if (children.length)
|
82
119
|
children.forEach(child => chownrKidSync(p, child, uid, gid))
|
83
120
|
|
84
|
-
return
|
121
|
+
return handleEISDirSync(p, uid, gid)
|
85
122
|
}
|
86
123
|
|
87
124
|
module.exports = chownr
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
"chownr@1.1.1",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "chownr@1.1.1",
|
9
|
-
"_id": "chownr@1.1.1",
|
2
|
+
"_from": "chownr@^1.1.1",
|
3
|
+
"_id": "chownr@1.1.3",
|
10
4
|
"_inBundle": false,
|
11
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==",
|
12
6
|
"_location": "/chownr",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "chownr
|
11
|
+
"raw": "chownr@^1.1.1",
|
18
12
|
"name": "chownr",
|
19
13
|
"escapedName": "chownr",
|
20
|
-
"rawSpec": "1.1.1",
|
14
|
+
"rawSpec": "^1.1.1",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.1.1"
|
16
|
+
"fetchSpec": "^1.1.1"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/tar"
|
26
20
|
],
|
27
|
-
"_resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.
|
28
|
-
"
|
29
|
-
"
|
21
|
+
"_resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz",
|
22
|
+
"_shasum": "42d837d5239688d55f303003a508230fa6727142",
|
23
|
+
"_spec": "chownr@^1.1.1",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/tar",
|
30
25
|
"author": {
|
31
26
|
"name": "Isaac Z. Schlueter",
|
32
27
|
"email": "i@izs.me",
|
@@ -35,6 +30,8 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/isaacs/chownr/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
34
|
+
"deprecated": false,
|
38
35
|
"description": "like `chown -R`",
|
39
36
|
"devDependencies": {
|
40
37
|
"mkdirp": "0.3",
|
@@ -53,10 +50,10 @@
|
|
53
50
|
"url": "git://github.com/isaacs/chownr.git"
|
54
51
|
},
|
55
52
|
"scripts": {
|
56
|
-
"postpublish": "git push origin --
|
53
|
+
"postpublish": "git push origin --follow-tags",
|
57
54
|
"postversion": "npm publish",
|
58
55
|
"preversion": "npm test",
|
59
56
|
"test": "tap test/*.js --cov"
|
60
57
|
},
|
61
|
-
"version": "1.1.
|
58
|
+
"version": "1.1.3"
|
62
59
|
}
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"code-point-at@1.1.0",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "code-point-at@1.1.0",
|
2
|
+
"_from": "code-point-at@^1.0.0",
|
9
3
|
"_id": "code-point-at@1.1.0",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
|
12
6
|
"_location": "/code-point-at",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "code-point-at
|
11
|
+
"raw": "code-point-at@^1.0.0",
|
18
12
|
"name": "code-point-at",
|
19
13
|
"escapedName": "code-point-at",
|
20
|
-
"rawSpec": "1.
|
14
|
+
"rawSpec": "^1.0.0",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.
|
16
|
+
"fetchSpec": "^1.0.0"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/string-width"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77",
|
23
|
+
"_spec": "code-point-at@^1.0.0",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/string-width",
|
30
25
|
"author": {
|
31
26
|
"name": "Sindre Sorhus",
|
32
27
|
"email": "sindresorhus@gmail.com",
|
@@ -35,6 +30,8 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/sindresorhus/code-point-at/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
34
|
+
"deprecated": false,
|
38
35
|
"description": "ES2015 `String#codePointAt()` ponyfill",
|
39
36
|
"devDependencies": {
|
40
37
|
"ava": "*",
|
@@ -1,10 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"_args": [
|
3
|
-
[
|
4
|
-
"concat-map@0.0.1",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
2
|
"_from": "concat-map@0.0.1",
|
9
3
|
"_id": "concat-map@0.0.1",
|
10
4
|
"_inBundle": false,
|
@@ -25,8 +19,9 @@
|
|
25
19
|
"/brace-expansion"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
|
23
|
+
"_spec": "concat-map@0.0.1",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/brace-expansion",
|
30
25
|
"author": {
|
31
26
|
"name": "James Halliday",
|
32
27
|
"email": "mail@substack.net",
|
@@ -35,6 +30,8 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/substack/node-concat-map/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
34
|
+
"deprecated": false,
|
38
35
|
"description": "concatenative mapdashery",
|
39
36
|
"devDependencies": {
|
40
37
|
"tape": "~2.4.0"
|
@@ -1,33 +1,28 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"console-control-strings@1.1.0",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "console-control-strings@1.1.0",
|
2
|
+
"_from": "console-control-strings@~1.1.0",
|
9
3
|
"_id": "console-control-strings@1.1.0",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
|
12
6
|
"_location": "/console-control-strings",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "console-control-strings
|
11
|
+
"raw": "console-control-strings@~1.1.0",
|
18
12
|
"name": "console-control-strings",
|
19
13
|
"escapedName": "console-control-strings",
|
20
|
-
"rawSpec": "1.1.0",
|
14
|
+
"rawSpec": "~1.1.0",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.1.0"
|
16
|
+
"fetchSpec": "~1.1.0"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/gauge",
|
26
20
|
"/npmlog"
|
27
21
|
],
|
28
22
|
"_resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
|
29
|
-
"
|
30
|
-
"
|
23
|
+
"_shasum": "3d7cf4464db6446ea644bf4b39507f9851008e8e",
|
24
|
+
"_spec": "console-control-strings@~1.1.0",
|
25
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/npmlog",
|
31
26
|
"author": {
|
32
27
|
"name": "Rebecca Turner",
|
33
28
|
"email": "me@re-becca.org",
|
@@ -36,6 +31,8 @@
|
|
36
31
|
"bugs": {
|
37
32
|
"url": "https://github.com/iarna/console-control-strings/issues"
|
38
33
|
},
|
34
|
+
"bundleDependencies": false,
|
35
|
+
"deprecated": false,
|
39
36
|
"description": "A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset of both ansi and vt100. All control codes included work on both Windows & Unix-like OSes, except where noted.",
|
40
37
|
"devDependencies": {
|
41
38
|
"standard": "^7.1.2",
|
@@ -1,32 +1,27 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
[
|
4
|
-
"core-util-is@1.0.2",
|
5
|
-
"/Users/pipobscure/fsevents"
|
6
|
-
]
|
7
|
-
],
|
8
|
-
"_from": "core-util-is@1.0.2",
|
2
|
+
"_from": "core-util-is@~1.0.0",
|
9
3
|
"_id": "core-util-is@1.0.2",
|
10
4
|
"_inBundle": false,
|
11
5
|
"_integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
|
12
6
|
"_location": "/core-util-is",
|
13
7
|
"_phantomChildren": {},
|
14
8
|
"_requested": {
|
15
|
-
"type": "
|
9
|
+
"type": "range",
|
16
10
|
"registry": true,
|
17
|
-
"raw": "core-util-is
|
11
|
+
"raw": "core-util-is@~1.0.0",
|
18
12
|
"name": "core-util-is",
|
19
13
|
"escapedName": "core-util-is",
|
20
|
-
"rawSpec": "1.0.
|
14
|
+
"rawSpec": "~1.0.0",
|
21
15
|
"saveSpec": null,
|
22
|
-
"fetchSpec": "1.0.
|
16
|
+
"fetchSpec": "~1.0.0"
|
23
17
|
},
|
24
18
|
"_requiredBy": [
|
25
19
|
"/readable-stream"
|
26
20
|
],
|
27
21
|
"_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
28
|
-
"
|
29
|
-
"
|
22
|
+
"_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
|
23
|
+
"_spec": "core-util-is@~1.0.0",
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/readable-stream",
|
30
25
|
"author": {
|
31
26
|
"name": "Isaac Z. Schlueter",
|
32
27
|
"email": "i@izs.me",
|
@@ -35,6 +30,8 @@
|
|
35
30
|
"bugs": {
|
36
31
|
"url": "https://github.com/isaacs/core-util-is/issues"
|
37
32
|
},
|
33
|
+
"bundleDependencies": false,
|
34
|
+
"deprecated": false,
|
38
35
|
"description": "The `util.is*` functions introduced in Node v0.12.",
|
39
36
|
"devDependencies": {
|
40
37
|
"tap": "^2.3.0"
|