fsevents 1.2.9 → 1.2.10

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.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

Files changed (117) hide show
  1. package/node_modules/abbrev/package.json +10 -13
  2. package/node_modules/ansi-regex/package.json +10 -13
  3. package/node_modules/aproba/package.json +10 -13
  4. package/node_modules/are-we-there-yet/package.json +10 -13
  5. package/node_modules/balanced-match/package.json +10 -13
  6. package/node_modules/brace-expansion/package.json +10 -13
  7. package/node_modules/chownr/chownr.js +47 -10
  8. package/node_modules/chownr/package.json +15 -18
  9. package/node_modules/code-point-at/package.json +10 -13
  10. package/node_modules/concat-map/package.json +5 -8
  11. package/node_modules/console-control-strings/package.json +10 -13
  12. package/node_modules/core-util-is/package.json +10 -13
  13. package/node_modules/debug/README.md +0 -18
  14. package/node_modules/debug/dist/debug.js +2 -28
  15. package/node_modules/debug/node.js +1 -0
  16. package/node_modules/debug/package.json +15 -30
  17. package/node_modules/debug/src/browser.js +103 -187
  18. package/node_modules/debug/src/common.js +240 -257
  19. package/node_modules/debug/src/index.js +5 -3
  20. package/node_modules/debug/src/node.js +82 -165
  21. package/node_modules/deep-extend/package.json +10 -13
  22. package/node_modules/delegates/package.json +10 -13
  23. package/node_modules/detect-libc/package.json +10 -13
  24. package/node_modules/fs-minipass/index.js +2 -1
  25. package/node_modules/fs-minipass/package.json +21 -21
  26. package/node_modules/fs.realpath/package.json +10 -13
  27. package/node_modules/gauge/package.json +10 -13
  28. package/node_modules/glob/LICENSE +6 -0
  29. package/node_modules/glob/README.md +8 -1
  30. package/node_modules/glob/package.json +17 -17
  31. package/node_modules/has-unicode/package.json +10 -13
  32. package/node_modules/iconv-lite/package.json +10 -13
  33. package/node_modules/ignore-walk/README.md +1 -1
  34. package/node_modules/ignore-walk/index.js +9 -5
  35. package/node_modules/ignore-walk/package.json +19 -19
  36. package/node_modules/inflight/package.json +10 -13
  37. package/node_modules/inherits/inherits.js +2 -0
  38. package/node_modules/inherits/inherits_browser.js +18 -14
  39. package/node_modules/inherits/package.json +16 -19
  40. package/node_modules/ini/package.json +10 -13
  41. package/node_modules/is-fullwidth-code-point/package.json +10 -13
  42. package/node_modules/isarray/package.json +10 -13
  43. package/node_modules/minimatch/package.json +10 -13
  44. package/node_modules/minimist/package.json +5 -8
  45. package/node_modules/minipass/README.md +486 -4
  46. package/node_modules/minipass/index.js +190 -28
  47. package/node_modules/minipass/package.json +20 -20
  48. package/node_modules/minizlib/README.md +36 -27
  49. package/node_modules/minizlib/constants.js +73 -4
  50. package/node_modules/minizlib/index.js +137 -152
  51. package/node_modules/minizlib/package.json +15 -18
  52. package/node_modules/mkdirp/package.json +10 -13
  53. package/node_modules/ms/index.js +2 -2
  54. package/node_modules/ms/package.json +14 -17
  55. package/node_modules/ms/readme.md +1 -1
  56. package/node_modules/needle/lib/needle.js +2 -0
  57. package/node_modules/needle/package.json +15 -18
  58. package/node_modules/needle/test/headers_spec.js +1 -1
  59. package/node_modules/node-pre-gyp/package.json +9 -12
  60. package/node_modules/nopt/package.json +10 -13
  61. package/node_modules/npm-bundled/index.js +13 -5
  62. package/node_modules/npm-bundled/package.json +17 -17
  63. package/node_modules/npm-normalize-package-bin/.github/settings.yml +2 -0
  64. package/node_modules/npm-normalize-package-bin/.npmignore +24 -0
  65. package/node_modules/npm-normalize-package-bin/LICENSE +15 -0
  66. package/node_modules/npm-normalize-package-bin/README.md +14 -0
  67. package/node_modules/npm-normalize-package-bin/index.js +60 -0
  68. package/node_modules/npm-normalize-package-bin/package-lock.json +3529 -0
  69. package/node_modules/npm-normalize-package-bin/package.json +57 -0
  70. package/node_modules/npm-normalize-package-bin/test/array.js +37 -0
  71. package/node_modules/npm-normalize-package-bin/test/nobin.js +35 -0
  72. package/node_modules/npm-normalize-package-bin/test/object.js +141 -0
  73. package/node_modules/npm-normalize-package-bin/test/string.js +37 -0
  74. package/node_modules/npm-packlist/index.js +55 -16
  75. package/node_modules/npm-packlist/package.json +24 -20
  76. package/node_modules/npmlog/package.json +10 -13
  77. package/node_modules/number-is-nan/package.json +10 -13
  78. package/node_modules/object-assign/package.json +10 -13
  79. package/node_modules/once/package.json +10 -13
  80. package/node_modules/os-homedir/package.json +10 -13
  81. package/node_modules/os-tmpdir/package.json +10 -13
  82. package/node_modules/osenv/package.json +10 -13
  83. package/node_modules/path-is-absolute/package.json +10 -13
  84. package/node_modules/process-nextick-args/index.js +2 -1
  85. package/node_modules/process-nextick-args/package.json +14 -17
  86. package/node_modules/rc/node_modules/minimist/package.json +10 -13
  87. package/node_modules/rc/package.json +10 -13
  88. package/node_modules/readable-stream/package.json +10 -13
  89. package/node_modules/rimraf/package.json +14 -17
  90. package/node_modules/rimraf/rimraf.js +9 -1
  91. package/node_modules/safe-buffer/package.json +10 -13
  92. package/node_modules/safer-buffer/package.json +10 -13
  93. package/node_modules/sax/package.json +10 -13
  94. package/node_modules/semver/README.md +12 -11
  95. package/node_modules/semver/package.json +14 -17
  96. package/node_modules/set-blocking/package.json +10 -13
  97. package/node_modules/signal-exit/package.json +10 -13
  98. package/node_modules/string-width/package.json +10 -13
  99. package/node_modules/string_decoder/package.json +10 -13
  100. package/node_modules/strip-ansi/package.json +10 -13
  101. package/node_modules/strip-json-comments/package.json +10 -13
  102. package/node_modules/tar/lib/large-numbers.js +32 -27
  103. package/node_modules/tar/lib/mkdir.js +2 -2
  104. package/node_modules/tar/lib/parse.js +6 -1
  105. package/node_modules/tar/lib/read-entry.js +4 -0
  106. package/node_modules/tar/lib/write-entry.js +2 -2
  107. package/node_modules/tar/package.json +25 -24
  108. package/node_modules/util-deprecate/package.json +10 -13
  109. package/node_modules/wide-align/package.json +10 -13
  110. package/node_modules/wrappy/package.json +10 -13
  111. package/node_modules/yallist/package.json +14 -17
  112. package/node_modules/yallist/yallist.js +50 -0
  113. package/package.json +1 -1
  114. package/node_modules/needle/.npmignore +0 -6
  115. package/node_modules/needle/package-lock.json +0 -395
  116. package/node_modules/needle/test/keys/ssl.cert +0 -21
  117. package/node_modules/needle/test/keys/ssl.key +0 -27
@@ -1,31 +1,26 @@
1
1
  {
2
- "_args": [
3
- [
4
- "node-pre-gyp@0.12.0",
5
- "/Users/pipobscure/fsevents"
6
- ]
7
- ],
8
- "_from": "node-pre-gyp@0.12.0",
2
+ "_from": "node-pre-gyp@^0.12.0",
9
3
  "_id": "node-pre-gyp@0.12.0",
10
4
  "_inBundle": false,
11
5
  "_integrity": "sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==",
12
6
  "_location": "/node-pre-gyp",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
- "type": "version",
9
+ "type": "range",
16
10
  "registry": true,
17
- "raw": "node-pre-gyp@0.12.0",
11
+ "raw": "node-pre-gyp@^0.12.0",
18
12
  "name": "node-pre-gyp",
19
13
  "escapedName": "node-pre-gyp",
20
- "rawSpec": "0.12.0",
14
+ "rawSpec": "^0.12.0",
21
15
  "saveSpec": null,
22
- "fetchSpec": "0.12.0"
16
+ "fetchSpec": "^0.12.0"
23
17
  },
24
18
  "_requiredBy": [
25
19
  "/"
26
20
  ],
27
21
  "_resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz",
28
- "_spec": "0.12.0",
22
+ "_shasum": "39ba4bb1439da030295f899e3b520b7785766149",
23
+ "_spec": "node-pre-gyp@^0.12.0",
29
24
  "_where": "/Users/pipobscure/fsevents",
30
25
  "author": {
31
26
  "name": "Dane Springmeyer",
@@ -37,6 +32,7 @@
37
32
  "bugs": {
38
33
  "url": "https://github.com/mapbox/node-pre-gyp/issues"
39
34
  },
35
+ "bundleDependencies": false,
40
36
  "dependencies": {
41
37
  "detect-libc": "^1.0.2",
42
38
  "mkdirp": "^0.5.1",
@@ -49,6 +45,7 @@
49
45
  "semver": "^5.3.0",
50
46
  "tar": "^4"
51
47
  },
48
+ "deprecated": false,
52
49
  "description": "Node.js native addon binary install tool",
53
50
  "devDependencies": {
54
51
  "aws-sdk": "^2.28.0",
@@ -1,32 +1,27 @@
1
1
  {
2
- "_args": [
3
- [
4
- "nopt@4.0.1",
5
- "/Users/pipobscure/fsevents"
6
- ]
7
- ],
8
- "_from": "nopt@4.0.1",
2
+ "_from": "nopt@^4.0.1",
9
3
  "_id": "nopt@4.0.1",
10
4
  "_inBundle": false,
11
5
  "_integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=",
12
6
  "_location": "/nopt",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
- "type": "version",
9
+ "type": "range",
16
10
  "registry": true,
17
- "raw": "nopt@4.0.1",
11
+ "raw": "nopt@^4.0.1",
18
12
  "name": "nopt",
19
13
  "escapedName": "nopt",
20
- "rawSpec": "4.0.1",
14
+ "rawSpec": "^4.0.1",
21
15
  "saveSpec": null,
22
- "fetchSpec": "4.0.1"
16
+ "fetchSpec": "^4.0.1"
23
17
  },
24
18
  "_requiredBy": [
25
19
  "/node-pre-gyp"
26
20
  ],
27
21
  "_resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz",
28
- "_spec": "4.0.1",
29
- "_where": "/Users/pipobscure/fsevents",
22
+ "_shasum": "d0d4685afd5415193c8c7505602d0d17cd64474d",
23
+ "_spec": "nopt@^4.0.1",
24
+ "_where": "/Users/pipobscure/fsevents/node_modules/node-pre-gyp",
30
25
  "author": {
31
26
  "name": "Isaac Z. Schlueter",
32
27
  "email": "i@izs.me",
@@ -38,10 +33,12 @@
38
33
  "bugs": {
39
34
  "url": "https://github.com/npm/nopt/issues"
40
35
  },
36
+ "bundleDependencies": false,
41
37
  "dependencies": {
42
38
  "abbrev": "1",
43
39
  "osenv": "^0.1.4"
44
40
  },
41
+ "deprecated": false,
45
42
  "description": "Option parsing for Node, supporting types, shorthands, etc. Used by npm.",
46
43
  "devDependencies": {
47
44
  "tap": "^8.0.1"
@@ -10,6 +10,9 @@
10
10
  const fs = require('fs')
11
11
  const path = require('path')
12
12
  const EE = require('events').EventEmitter
13
+ // we don't care about the package bins, but we share a pj cache
14
+ // with other modules that DO care about it, so keep it nice.
15
+ const normalizePackageBin = require('npm-normalize-package-bin')
13
16
 
14
17
  class BundleWalker extends EE {
15
18
  constructor (opt) {
@@ -84,7 +87,7 @@ class BundleWalker extends EE {
84
87
 
85
88
  onPackageJson (pj, data) {
86
89
  try {
87
- this.package = JSON.parse(data + '')
90
+ this.package = normalizePackageBin(JSON.parse(data + ''))
88
91
  } catch (er) {
89
92
  return this.done()
90
93
  }
@@ -92,17 +95,22 @@ class BundleWalker extends EE {
92
95
  this.onPackage(this.package)
93
96
  }
94
97
 
98
+ allDepsBundled (pkg) {
99
+ return Object.keys(pkg.dependencies || {}).concat(
100
+ Object.keys(pkg.optionalDependencies || {}))
101
+ }
102
+
95
103
  onPackage (pkg) {
96
104
  // all deps are bundled if we got here as a child.
97
105
  // otherwise, only bundle bundledDeps
98
106
  // Get a unique-ified array with a short-lived Set
99
- const bdRaw = this.parent
100
- ? Object.keys(pkg.dependencies || {}).concat(
101
- Object.keys(pkg.optionalDependencies || {}))
107
+ const bdRaw = this.parent ? this.allDepsBundled(pkg)
102
108
  : pkg.bundleDependencies || pkg.bundledDependencies || []
103
109
 
104
110
  const bd = Array.from(new Set(
105
- Array.isArray(bdRaw) ? bdRaw : Object.keys(bdRaw)))
111
+ Array.isArray(bdRaw) ? bdRaw
112
+ : bdRaw === true ? this.allDepsBundled(pkg)
113
+ : Object.keys(bdRaw)))
106
114
 
107
115
  if (!bd.length)
108
116
  return this.done()
@@ -1,32 +1,27 @@
1
1
  {
2
- "_args": [
3
- [
4
- "npm-bundled@1.0.6",
5
- "/Users/pipobscure/fsevents"
6
- ]
7
- ],
8
- "_from": "npm-bundled@1.0.6",
9
- "_id": "npm-bundled@1.0.6",
2
+ "_from": "npm-bundled@^1.0.1",
3
+ "_id": "npm-bundled@1.1.1",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==",
5
+ "_integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==",
12
6
  "_location": "/npm-bundled",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
15
- "type": "version",
9
+ "type": "range",
16
10
  "registry": true,
17
- "raw": "npm-bundled@1.0.6",
11
+ "raw": "npm-bundled@^1.0.1",
18
12
  "name": "npm-bundled",
19
13
  "escapedName": "npm-bundled",
20
- "rawSpec": "1.0.6",
14
+ "rawSpec": "^1.0.1",
21
15
  "saveSpec": null,
22
- "fetchSpec": "1.0.6"
16
+ "fetchSpec": "^1.0.1"
23
17
  },
24
18
  "_requiredBy": [
25
19
  "/npm-packlist"
26
20
  ],
27
- "_resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz",
28
- "_spec": "1.0.6",
29
- "_where": "/Users/pipobscure/fsevents",
21
+ "_resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz",
22
+ "_shasum": "1edd570865a94cdb1bc8220775e29466c9fb234b",
23
+ "_spec": "npm-bundled@^1.0.1",
24
+ "_where": "/Users/pipobscure/fsevents/node_modules/npm-packlist",
30
25
  "author": {
31
26
  "name": "Isaac Z. Schlueter",
32
27
  "email": "i@izs.me",
@@ -35,6 +30,11 @@
35
30
  "bugs": {
36
31
  "url": "https://github.com/npm/npm-bundled/issues"
37
32
  },
33
+ "bundleDependencies": false,
34
+ "dependencies": {
35
+ "npm-normalize-package-bin": "^1.0.1"
36
+ },
37
+ "deprecated": false,
38
38
  "description": "list things in node_modules that are bundledDependencies, or transitive dependencies thereof",
39
39
  "devDependencies": {
40
40
  "mkdirp": "^0.5.1",
@@ -59,5 +59,5 @@
59
59
  "preversion": "npm test",
60
60
  "test": "tap test/*.js -J --100"
61
61
  },
62
- "version": "1.0.6"
62
+ "version": "1.1.1"
63
63
  }
@@ -0,0 +1,2 @@
1
+ ---
2
+ _extends: 'open-source-project-boilerplate'
@@ -0,0 +1,24 @@
1
+ # ignore most things, include some others
2
+ /*
3
+ /.*
4
+
5
+ !bin/
6
+ !lib/
7
+ !docs/
8
+ !package.json
9
+ !package-lock.json
10
+ !README.md
11
+ !CONTRIBUTING.md
12
+ !LICENSE
13
+ !CHANGELOG.md
14
+ !example/
15
+ !scripts/
16
+ !tap-snapshots/
17
+ !test/
18
+ !.github/
19
+ !.travis.yml
20
+ !.gitignore
21
+ !.gitattributes
22
+ !coverage-map.js
23
+ !map.js
24
+ !index.js
@@ -0,0 +1,15 @@
1
+ The ISC License
2
+
3
+ Copyright (c) npm, Inc.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,14 @@
1
+ # npm-normalize-package-bin
2
+
3
+ Turn any flavor of allowable package.json bin into a normalized object.
4
+
5
+ ## API
6
+
7
+ ```js
8
+ const normalize = require('npm-normalize-package-bin')
9
+ const pkg = {name: 'foo', bin: 'bar'}
10
+ console.log(normalize(pkg)) // {name:'foo', bin:{foo: 'bar'}}
11
+ ```
12
+
13
+ Also strips out weird dots and slashes to prevent accidental and/or
14
+ malicious bad behavior when the package is installed.
@@ -0,0 +1,60 @@
1
+ // pass in a manifest with a 'bin' field here, and it'll turn it
2
+ // into a properly santized bin object
3
+ const {join, basename} = require('path')
4
+
5
+ const normalize = pkg =>
6
+ !pkg.bin ? removeBin(pkg)
7
+ : typeof pkg.bin === 'string' ? normalizeString(pkg)
8
+ : Array.isArray(pkg.bin) ? normalizeArray(pkg)
9
+ : typeof pkg.bin === 'object' ? normalizeObject(pkg)
10
+ : removeBin(pkg)
11
+
12
+ const normalizeString = pkg => {
13
+ if (!pkg.name)
14
+ return removeBin(pkg)
15
+ pkg.bin = { [pkg.name]: pkg.bin }
16
+ return normalizeObject(pkg)
17
+ }
18
+
19
+ const normalizeArray = pkg => {
20
+ pkg.bin = pkg.bin.reduce((acc, k) => {
21
+ acc[basename(k)] = k
22
+ return acc
23
+ }, {})
24
+ return normalizeObject(pkg)
25
+ }
26
+
27
+ const removeBin = pkg => {
28
+ delete pkg.bin
29
+ return pkg
30
+ }
31
+
32
+ const normalizeObject = pkg => {
33
+ const orig = pkg.bin
34
+ const clean = {}
35
+ let hasBins = false
36
+ Object.keys(orig).forEach(binKey => {
37
+ const base = join('/', basename(binKey.replace(/\\|:/g, '/'))).substr(1)
38
+
39
+ if (typeof orig[binKey] !== 'string' || !base)
40
+ return
41
+
42
+ const binTarget = join('/', orig[binKey])
43
+ .replace(/\\/g, '/').substr(1)
44
+
45
+ if (!binTarget)
46
+ return
47
+
48
+ clean[base] = binTarget
49
+ hasBins = true
50
+ })
51
+
52
+ if (hasBins)
53
+ pkg.bin = clean
54
+ else
55
+ delete pkg.bin
56
+
57
+ return pkg
58
+ }
59
+
60
+ module.exports = normalize