fsevents 1.2.7 → 1.2.8
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.
- package/.travis.yml +0 -2
- package/node_modules/abbrev/package.json +2 -3
- package/node_modules/ansi-regex/package.json +1 -1
- package/node_modules/aproba/package.json +1 -1
- package/node_modules/are-we-there-yet/package.json +1 -1
- package/node_modules/balanced-match/package.json +1 -1
- package/node_modules/brace-expansion/package.json +1 -1
- package/node_modules/chownr/package.json +1 -1
- package/node_modules/code-point-at/package.json +1 -1
- package/node_modules/concat-map/package.json +1 -1
- package/node_modules/console-control-strings/package.json +1 -1
- package/node_modules/core-util-is/package.json +1 -1
- package/node_modules/debug/CHANGELOG.md +34 -1
- package/node_modules/debug/README.md +206 -63
- package/node_modules/debug/dist/debug.js +912 -0
- package/node_modules/debug/package.json +40 -26
- package/node_modules/debug/src/browser.js +185 -106
- package/node_modules/debug/src/common.js +266 -0
- package/node_modules/debug/src/index.js +4 -4
- package/node_modules/debug/src/node.js +174 -165
- package/node_modules/deep-extend/package.json +1 -1
- package/node_modules/delegates/package.json +1 -1
- package/node_modules/detect-libc/package.json +1 -1
- package/node_modules/fs-minipass/package.json +1 -1
- package/node_modules/fs.realpath/package.json +1 -1
- package/node_modules/gauge/package.json +1 -1
- package/node_modules/glob/package.json +1 -1
- package/node_modules/has-unicode/package.json +1 -1
- package/node_modules/iconv-lite/package.json +1 -1
- package/node_modules/ignore-walk/package.json +1 -1
- package/node_modules/inflight/package.json +1 -1
- package/node_modules/inherits/package.json +2 -4
- package/node_modules/ini/package.json +1 -1
- package/node_modules/is-fullwidth-code-point/package.json +1 -1
- package/node_modules/isarray/package.json +1 -1
- package/node_modules/minimatch/package.json +1 -1
- package/node_modules/minimist/package.json +1 -1
- package/node_modules/minipass/package.json +1 -1
- package/node_modules/minizlib/package.json +1 -1
- package/node_modules/mkdirp/package.json +1 -2
- package/node_modules/ms/index.js +28 -18
- package/node_modules/ms/package.json +17 -17
- package/node_modules/ms/readme.md +17 -8
- package/node_modules/needle/.npmignore +6 -0
- package/node_modules/needle/README.md +1 -2
- package/node_modules/needle/examples/multipart-stream.js +1 -1
- package/node_modules/needle/lib/auth.js +1 -1
- package/node_modules/needle/lib/multipart.js +1 -1
- package/node_modules/needle/lib/needle.js +2 -2
- package/node_modules/needle/package-lock.json +395 -0
- package/node_modules/needle/package.json +13 -13
- package/node_modules/needle/test/basic_auth_spec.js +1 -1
- package/node_modules/needle/test/cookies_spec.js +2 -2
- package/node_modules/needle/test/keys/ssl.cert +21 -0
- package/node_modules/needle/test/keys/ssl.key +27 -0
- package/node_modules/needle/test/output_spec.js +1 -1
- package/node_modules/needle/test/post_data_spec.js +20 -20
- package/node_modules/needle/test/proxy_spec.js +1 -1
- package/node_modules/needle/test/utils/test.js +1 -1
- package/node_modules/node-pre-gyp/CHANGELOG.md +10 -0
- package/node_modules/node-pre-gyp/README.md +41 -6
- package/node_modules/node-pre-gyp/lib/build.js +1 -1
- package/node_modules/node-pre-gyp/lib/install.js +20 -8
- package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +1 -1
- package/node_modules/node-pre-gyp/lib/pre-binding.js +5 -5
- package/node_modules/node-pre-gyp/lib/rebuild.js +1 -1
- package/node_modules/node-pre-gyp/lib/reinstall.js +1 -1
- package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +48 -0
- package/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +5 -2
- package/node_modules/node-pre-gyp/lib/util/napi.js +70 -22
- package/node_modules/node-pre-gyp/lib/util/versioning.js +7 -6
- package/node_modules/node-pre-gyp/package.json +13 -12
- package/node_modules/nopt/package.json +1 -1
- package/node_modules/npm-bundled/index.js +13 -1
- package/node_modules/npm-bundled/package.json +6 -6
- package/node_modules/npm-packlist/index.js +29 -8
- package/node_modules/npm-packlist/package.json +6 -6
- package/node_modules/npmlog/package.json +1 -1
- package/node_modules/number-is-nan/package.json +1 -1
- package/node_modules/object-assign/package.json +1 -1
- package/node_modules/once/package.json +1 -1
- package/node_modules/os-homedir/package.json +1 -1
- package/node_modules/os-tmpdir/package.json +1 -1
- package/node_modules/osenv/package.json +1 -1
- package/node_modules/path-is-absolute/package.json +1 -1
- package/node_modules/process-nextick-args/package.json +1 -1
- package/node_modules/rc/node_modules/minimist/package.json +1 -1
- package/node_modules/rc/package.json +1 -1
- package/node_modules/readable-stream/package.json +1 -1
- package/node_modules/rimraf/package.json +1 -1
- package/node_modules/safe-buffer/package.json +1 -1
- package/node_modules/safer-buffer/package.json +1 -1
- package/node_modules/sax/package.json +1 -1
- package/node_modules/semver/CHANGELOG.md +39 -0
- package/node_modules/semver/README.md +14 -2
- package/node_modules/semver/bin/semver +84 -77
- package/node_modules/semver/package.json +14 -8
- package/node_modules/semver/semver.js +906 -775
- package/node_modules/set-blocking/package.json +1 -1
- package/node_modules/signal-exit/package.json +1 -1
- package/node_modules/string-width/package.json +1 -1
- package/node_modules/string_decoder/package.json +1 -1
- package/node_modules/strip-ansi/package.json +1 -1
- package/node_modules/strip-json-comments/package.json +1 -1
- package/node_modules/tar/package.json +1 -1
- package/node_modules/util-deprecate/package.json +1 -1
- package/node_modules/wide-align/package.json +1 -1
- package/node_modules/wrappy/package.json +1 -1
- package/node_modules/yallist/package.json +1 -1
- package/package.json +5 -8
- package/node_modules/debug/.coveralls.yml +0 -1
- package/node_modules/debug/.eslintrc +0 -11
- package/node_modules/debug/.npmignore +0 -9
- package/node_modules/debug/.travis.yml +0 -14
- package/node_modules/debug/Makefile +0 -50
- package/node_modules/debug/component.json +0 -19
- package/node_modules/debug/karma.conf.js +0 -70
- package/node_modules/debug/node.js +0 -1
- package/node_modules/debug/src/debug.js +0 -202
- package/node_modules/debug/src/inspector-log.js +0 -15
- package/node_modules/needle/note.xml +0 -7
- package/node_modules/needle/note.xml.1 +0 -7
@@ -20,6 +20,7 @@ semver.clean(' =v1.2.3 ') // '1.2.3'
|
|
20
20
|
semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true
|
21
21
|
semver.gt('1.2.3', '9.8.7') // false
|
22
22
|
semver.lt('1.2.3', '9.8.7') // true
|
23
|
+
semver.minVersion('>=1.0.0') // '1.0.0'
|
23
24
|
semver.valid(semver.coerce('v2')) // '2.0.0'
|
24
25
|
semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7'
|
25
26
|
```
|
@@ -29,7 +30,7 @@ As a command-line utility:
|
|
29
30
|
```
|
30
31
|
$ semver -h
|
31
32
|
|
32
|
-
A JavaScript implementation of the
|
33
|
+
A JavaScript implementation of the https://semver.org/ specification
|
33
34
|
Copyright Isaac Z. Schlueter
|
34
35
|
|
35
36
|
Usage: semver [options] <version> [<version> [...]]
|
@@ -71,7 +72,7 @@ multiple versions to the utility will just sort them.
|
|
71
72
|
## Versions
|
72
73
|
|
73
74
|
A "version" is described by the `v2.0.0` specification found at
|
74
|
-
<
|
75
|
+
<https://semver.org/>.
|
75
76
|
|
76
77
|
A leading `"="` or `"v"` character is stripped off and ignored.
|
77
78
|
|
@@ -137,6 +138,13 @@ the user is indicating that they are aware of the risk. However, it
|
|
137
138
|
is still not appropriate to assume that they have opted into taking a
|
138
139
|
similar risk on the *next* set of prerelease versions.
|
139
140
|
|
141
|
+
Note that this behavior can be suppressed (treating all prerelease
|
142
|
+
versions as if they were normal versions, for the purpose of range
|
143
|
+
matching) by setting the `includePrerelease` flag on the options
|
144
|
+
object to any
|
145
|
+
[functions](https://github.com/npm/node-semver#functions) that do
|
146
|
+
range matching.
|
147
|
+
|
140
148
|
#### Prerelease Identifiers
|
141
149
|
|
142
150
|
The method `.inc` takes an additional `identifier` string argument that
|
@@ -325,6 +333,8 @@ strings that they parse.
|
|
325
333
|
* `patch(v)`: Return the patch version number.
|
326
334
|
* `intersects(r1, r2, loose)`: Return true if the two supplied ranges
|
327
335
|
or comparators intersect.
|
336
|
+
* `parse(v)`: Attempt to parse a string as a semantic version, returning either
|
337
|
+
a `SemVer` object or `null`.
|
328
338
|
|
329
339
|
### Comparison
|
330
340
|
|
@@ -361,6 +371,8 @@ strings that they parse.
|
|
361
371
|
that satisfies the range, or `null` if none of them do.
|
362
372
|
* `minSatisfying(versions, range)`: Return the lowest version in the list
|
363
373
|
that satisfies the range, or `null` if none of them do.
|
374
|
+
* `minVersion(range)`: Return the lowest version that can possibly match
|
375
|
+
the given range.
|
364
376
|
* `gtr(version, range)`: Return `true` if version is greater than all the
|
365
377
|
versions possible in the range.
|
366
378
|
* `ltr(version, range)`: Return `true` if version is less than all the
|
@@ -4,20 +4,28 @@
|
|
4
4
|
// any supplied version is valid and passes all tests.
|
5
5
|
|
6
6
|
var argv = process.argv.slice(2)
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
7
|
+
|
8
|
+
var versions = []
|
9
|
+
|
10
|
+
var range = []
|
11
|
+
|
12
|
+
var inc = null
|
13
|
+
|
14
|
+
var version = require('../package.json').version
|
15
|
+
|
16
|
+
var loose = false
|
17
|
+
|
18
|
+
var includePrerelease = false
|
19
|
+
|
20
|
+
var coerce = false
|
21
|
+
|
22
|
+
var identifier
|
23
|
+
|
24
|
+
var semver = require('../semver')
|
25
|
+
|
26
|
+
var reverse = false
|
27
|
+
|
28
|
+
var options = {}
|
21
29
|
|
22
30
|
main()
|
23
31
|
|
@@ -25,45 +33,45 @@ function main () {
|
|
25
33
|
if (!argv.length) return help()
|
26
34
|
while (argv.length) {
|
27
35
|
var a = argv.shift()
|
28
|
-
var
|
29
|
-
if (
|
30
|
-
a = a.slice(0,
|
31
|
-
argv.unshift(a.slice(
|
36
|
+
var indexOfEqualSign = a.indexOf('=')
|
37
|
+
if (indexOfEqualSign !== -1) {
|
38
|
+
a = a.slice(0, indexOfEqualSign)
|
39
|
+
argv.unshift(a.slice(indexOfEqualSign + 1))
|
32
40
|
}
|
33
41
|
switch (a) {
|
34
|
-
case
|
42
|
+
case '-rv': case '-rev': case '--rev': case '--reverse':
|
35
43
|
reverse = true
|
36
44
|
break
|
37
|
-
case
|
45
|
+
case '-l': case '--loose':
|
38
46
|
loose = true
|
39
47
|
break
|
40
|
-
case
|
48
|
+
case '-p': case '--include-prerelease':
|
41
49
|
includePrerelease = true
|
42
50
|
break
|
43
|
-
case
|
51
|
+
case '-v': case '--version':
|
44
52
|
versions.push(argv.shift())
|
45
53
|
break
|
46
|
-
case
|
54
|
+
case '-i': case '--inc': case '--increment':
|
47
55
|
switch (argv[0]) {
|
48
|
-
case
|
49
|
-
case
|
56
|
+
case 'major': case 'minor': case 'patch': case 'prerelease':
|
57
|
+
case 'premajor': case 'preminor': case 'prepatch':
|
50
58
|
inc = argv.shift()
|
51
59
|
break
|
52
60
|
default:
|
53
|
-
inc =
|
61
|
+
inc = 'patch'
|
54
62
|
break
|
55
63
|
}
|
56
64
|
break
|
57
|
-
case
|
65
|
+
case '--preid':
|
58
66
|
identifier = argv.shift()
|
59
67
|
break
|
60
|
-
case
|
68
|
+
case '-r': case '--range':
|
61
69
|
range.push(argv.shift())
|
62
70
|
break
|
63
|
-
case
|
71
|
+
case '-c': case '--coerce':
|
64
72
|
coerce = true
|
65
73
|
break
|
66
|
-
case
|
74
|
+
case '-h': case '--help': case '-?':
|
67
75
|
return help()
|
68
76
|
default:
|
69
77
|
versions.push(a)
|
@@ -74,15 +82,14 @@ function main () {
|
|
74
82
|
var options = { loose: loose, includePrerelease: includePrerelease }
|
75
83
|
|
76
84
|
versions = versions.map(function (v) {
|
77
|
-
return coerce ? (semver.coerce(v) || {version: v}).version : v
|
85
|
+
return coerce ? (semver.coerce(v) || { version: v }).version : v
|
78
86
|
}).filter(function (v) {
|
79
87
|
return semver.valid(v)
|
80
88
|
})
|
81
89
|
if (!versions.length) return fail()
|
82
|
-
if (inc && (versions.length !== 1 || range.length))
|
83
|
-
return failInc()
|
90
|
+
if (inc && (versions.length !== 1 || range.length)) { return failInc() }
|
84
91
|
|
85
|
-
for (var i = 0, l = range.length; i < l
|
92
|
+
for (var i = 0, l = range.length; i < l; i++) {
|
86
93
|
versions = versions.filter(function (v) {
|
87
94
|
return semver.satisfies(v, range[i], options)
|
88
95
|
})
|
@@ -92,62 +99,62 @@ function main () {
|
|
92
99
|
}
|
93
100
|
|
94
101
|
function failInc () {
|
95
|
-
console.error(
|
102
|
+
console.error('--inc can only be used on a single version with no range')
|
96
103
|
fail()
|
97
104
|
}
|
98
105
|
|
99
106
|
function fail () { process.exit(1) }
|
100
107
|
|
101
108
|
function success () {
|
102
|
-
var compare = reverse ?
|
109
|
+
var compare = reverse ? 'rcompare' : 'compare'
|
103
110
|
versions.sort(function (a, b) {
|
104
111
|
return semver[compare](a, b, options)
|
105
112
|
}).map(function (v) {
|
106
113
|
return semver.clean(v, options)
|
107
114
|
}).map(function (v) {
|
108
115
|
return inc ? semver.inc(v, inc, options, identifier) : v
|
109
|
-
}).forEach(function (v,i,_) { console.log(v) })
|
116
|
+
}).forEach(function (v, i, _) { console.log(v) })
|
110
117
|
}
|
111
118
|
|
112
119
|
function help () {
|
113
|
-
console.log([
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
120
|
+
console.log(['SemVer ' + version,
|
121
|
+
'',
|
122
|
+
'A JavaScript implementation of the https://semver.org/ specification',
|
123
|
+
'Copyright Isaac Z. Schlueter',
|
124
|
+
'',
|
125
|
+
'Usage: semver [options] <version> [<version> [...]]',
|
126
|
+
'Prints valid versions sorted by SemVer precedence',
|
127
|
+
'',
|
128
|
+
'Options:',
|
129
|
+
'-r --range <range>',
|
130
|
+
' Print versions that match the specified range.',
|
131
|
+
'',
|
132
|
+
'-i --increment [<level>]',
|
133
|
+
' Increment a version by the specified level. Level can',
|
134
|
+
' be one of: major, minor, patch, premajor, preminor,',
|
135
|
+
" prepatch, or prerelease. Default level is 'patch'.",
|
136
|
+
' Only one version may be specified.',
|
137
|
+
'',
|
138
|
+
'--preid <identifier>',
|
139
|
+
' Identifier to be used to prefix premajor, preminor,',
|
140
|
+
' prepatch or prerelease version increments.',
|
141
|
+
'',
|
142
|
+
'-l --loose',
|
143
|
+
' Interpret versions and ranges loosely',
|
144
|
+
'',
|
145
|
+
'-p --include-prerelease',
|
146
|
+
' Always include prerelease versions in range matching',
|
147
|
+
'',
|
148
|
+
'-c --coerce',
|
149
|
+
' Coerce a string into SemVer if possible',
|
150
|
+
' (does not imply --loose)',
|
151
|
+
'',
|
152
|
+
'Program exits successfully if any valid version satisfies',
|
153
|
+
'all supplied ranges, and prints all satisfying versions.',
|
154
|
+
'',
|
155
|
+
'If no satisfying versions are found, then exits failure.',
|
156
|
+
'',
|
157
|
+
'Versions are printed in ascending order, so supplying',
|
158
|
+
'multiple versions to the utility will just sort them.'
|
159
|
+
].join('\n'))
|
153
160
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "semver@^5.3.0",
|
3
|
-
"_id": "semver@5.
|
3
|
+
"_id": "semver@5.7.0",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
|
6
6
|
"_location": "/semver",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -18,10 +18,10 @@
|
|
18
18
|
"_requiredBy": [
|
19
19
|
"/node-pre-gyp"
|
20
20
|
],
|
21
|
-
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.
|
22
|
-
"_shasum": "
|
21
|
+
"_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
|
22
|
+
"_shasum": "790a7cf6fea5459bac96110b29b60412dc8ff96b",
|
23
23
|
"_spec": "semver@^5.3.0",
|
24
|
-
"_where": "/Users/
|
24
|
+
"_where": "/Users/pipobscure/fsevents/node_modules/node-pre-gyp",
|
25
25
|
"bin": {
|
26
26
|
"semver": "./bin/semver"
|
27
27
|
},
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"deprecated": false,
|
33
33
|
"description": "The semantic version parser used by npm.",
|
34
34
|
"devDependencies": {
|
35
|
-
"tap": "^
|
35
|
+
"tap": "^13.0.0-rc.18"
|
36
36
|
},
|
37
37
|
"files": [
|
38
38
|
"bin",
|
@@ -48,7 +48,13 @@
|
|
48
48
|
"url": "git+https://github.com/npm/node-semver.git"
|
49
49
|
},
|
50
50
|
"scripts": {
|
51
|
-
"
|
51
|
+
"postpublish": "git push origin --all; git push origin --tags",
|
52
|
+
"postversion": "npm publish",
|
53
|
+
"preversion": "npm test",
|
54
|
+
"test": "tap"
|
52
55
|
},
|
53
|
-
"
|
56
|
+
"tap": {
|
57
|
+
"check-coverage": true
|
58
|
+
},
|
59
|
+
"version": "5.7.0"
|
54
60
|
}
|