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.
- 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,266 +1,249 @@
|
|
1
|
+
"use strict";
|
1
2
|
|
2
3
|
/**
|
3
4
|
* This is the common logic for both the Node.js and web browser
|
4
5
|
* implementations of `debug()`.
|
5
6
|
*/
|
6
|
-
|
7
7
|
function setup(env) {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
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
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
/**
|
248
|
-
* Coerce `val`.
|
249
|
-
*
|
250
|
-
* @param {Mixed} val
|
251
|
-
* @return {Mixed}
|
252
|
-
* @api private
|
253
|
-
*/
|
254
|
-
function coerce(val) {
|
255
|
-
if (val instanceof Error) {
|
256
|
-
return val.stack || val.message;
|
257
|
-
}
|
258
|
-
return val;
|
259
|
-
}
|
260
|
-
|
261
|
-
createDebug.enable(createDebug.load());
|
262
|
-
|
263
|
-
return createDebug;
|
8
|
+
createDebug.debug = createDebug;
|
9
|
+
createDebug.default = createDebug;
|
10
|
+
createDebug.coerce = coerce;
|
11
|
+
createDebug.disable = disable;
|
12
|
+
createDebug.enable = enable;
|
13
|
+
createDebug.enabled = enabled;
|
14
|
+
createDebug.humanize = require('ms');
|
15
|
+
Object.keys(env).forEach(function (key) {
|
16
|
+
createDebug[key] = env[key];
|
17
|
+
});
|
18
|
+
/**
|
19
|
+
* Active `debug` instances.
|
20
|
+
*/
|
21
|
+
|
22
|
+
createDebug.instances = [];
|
23
|
+
/**
|
24
|
+
* The currently active debug mode names, and names to skip.
|
25
|
+
*/
|
26
|
+
|
27
|
+
createDebug.names = [];
|
28
|
+
createDebug.skips = [];
|
29
|
+
/**
|
30
|
+
* Map of special "%n" handling functions, for the debug "format" argument.
|
31
|
+
*
|
32
|
+
* Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
|
33
|
+
*/
|
34
|
+
|
35
|
+
createDebug.formatters = {};
|
36
|
+
/**
|
37
|
+
* Selects a color for a debug namespace
|
38
|
+
* @param {String} namespace The namespace string for the for the debug instance to be colored
|
39
|
+
* @return {Number|String} An ANSI color code for the given namespace
|
40
|
+
* @api private
|
41
|
+
*/
|
42
|
+
|
43
|
+
function selectColor(namespace) {
|
44
|
+
var hash = 0;
|
45
|
+
|
46
|
+
for (var i = 0; i < namespace.length; i++) {
|
47
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
48
|
+
hash |= 0; // Convert to 32bit integer
|
49
|
+
}
|
50
|
+
|
51
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
52
|
+
}
|
53
|
+
|
54
|
+
createDebug.selectColor = selectColor;
|
55
|
+
/**
|
56
|
+
* Create a debugger with the given `namespace`.
|
57
|
+
*
|
58
|
+
* @param {String} namespace
|
59
|
+
* @return {Function}
|
60
|
+
* @api public
|
61
|
+
*/
|
62
|
+
|
63
|
+
function createDebug(namespace) {
|
64
|
+
var prevTime;
|
65
|
+
|
66
|
+
function debug() {
|
67
|
+
// Disabled?
|
68
|
+
if (!debug.enabled) {
|
69
|
+
return;
|
70
|
+
}
|
71
|
+
|
72
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
73
|
+
args[_key] = arguments[_key];
|
74
|
+
}
|
75
|
+
|
76
|
+
var self = debug; // Set `diff` timestamp
|
77
|
+
|
78
|
+
var curr = Number(new Date());
|
79
|
+
var ms = curr - (prevTime || curr);
|
80
|
+
self.diff = ms;
|
81
|
+
self.prev = prevTime;
|
82
|
+
self.curr = curr;
|
83
|
+
prevTime = curr;
|
84
|
+
args[0] = createDebug.coerce(args[0]);
|
85
|
+
|
86
|
+
if (typeof args[0] !== 'string') {
|
87
|
+
// Anything else let's inspect with %O
|
88
|
+
args.unshift('%O');
|
89
|
+
} // Apply any `formatters` transformations
|
90
|
+
|
91
|
+
|
92
|
+
var index = 0;
|
93
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) {
|
94
|
+
// If we encounter an escaped % then don't increase the array index
|
95
|
+
if (match === '%%') {
|
96
|
+
return match;
|
97
|
+
}
|
98
|
+
|
99
|
+
index++;
|
100
|
+
var formatter = createDebug.formatters[format];
|
101
|
+
|
102
|
+
if (typeof formatter === 'function') {
|
103
|
+
var val = args[index];
|
104
|
+
match = formatter.call(self, val); // Now we need to remove `args[index]` since it's inlined in the `format`
|
105
|
+
|
106
|
+
args.splice(index, 1);
|
107
|
+
index--;
|
108
|
+
}
|
109
|
+
|
110
|
+
return match;
|
111
|
+
}); // Apply env-specific formatting (colors, etc.)
|
112
|
+
|
113
|
+
createDebug.formatArgs.call(self, args);
|
114
|
+
var logFn = self.log || createDebug.log;
|
115
|
+
logFn.apply(self, args);
|
116
|
+
}
|
117
|
+
|
118
|
+
debug.namespace = namespace;
|
119
|
+
debug.enabled = createDebug.enabled(namespace);
|
120
|
+
debug.useColors = createDebug.useColors();
|
121
|
+
debug.color = selectColor(namespace);
|
122
|
+
debug.destroy = destroy;
|
123
|
+
debug.extend = extend; // Debug.formatArgs = formatArgs;
|
124
|
+
// debug.rawLog = rawLog;
|
125
|
+
// env-specific initialization logic for debug instances
|
126
|
+
|
127
|
+
if (typeof createDebug.init === 'function') {
|
128
|
+
createDebug.init(debug);
|
129
|
+
}
|
130
|
+
|
131
|
+
createDebug.instances.push(debug);
|
132
|
+
return debug;
|
133
|
+
}
|
134
|
+
|
135
|
+
function destroy() {
|
136
|
+
var index = createDebug.instances.indexOf(this);
|
137
|
+
|
138
|
+
if (index !== -1) {
|
139
|
+
createDebug.instances.splice(index, 1);
|
140
|
+
return true;
|
141
|
+
}
|
142
|
+
|
143
|
+
return false;
|
144
|
+
}
|
145
|
+
|
146
|
+
function extend(namespace, delimiter) {
|
147
|
+
return createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
|
148
|
+
}
|
149
|
+
/**
|
150
|
+
* Enables a debug mode by namespaces. This can include modes
|
151
|
+
* separated by a colon and wildcards.
|
152
|
+
*
|
153
|
+
* @param {String} namespaces
|
154
|
+
* @api public
|
155
|
+
*/
|
156
|
+
|
157
|
+
|
158
|
+
function enable(namespaces) {
|
159
|
+
createDebug.save(namespaces);
|
160
|
+
createDebug.names = [];
|
161
|
+
createDebug.skips = [];
|
162
|
+
var i;
|
163
|
+
var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
|
164
|
+
var len = split.length;
|
165
|
+
|
166
|
+
for (i = 0; i < len; i++) {
|
167
|
+
if (!split[i]) {
|
168
|
+
// ignore empty strings
|
169
|
+
continue;
|
170
|
+
}
|
171
|
+
|
172
|
+
namespaces = split[i].replace(/\*/g, '.*?');
|
173
|
+
|
174
|
+
if (namespaces[0] === '-') {
|
175
|
+
createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
|
176
|
+
} else {
|
177
|
+
createDebug.names.push(new RegExp('^' + namespaces + '$'));
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
for (i = 0; i < createDebug.instances.length; i++) {
|
182
|
+
var instance = createDebug.instances[i];
|
183
|
+
instance.enabled = createDebug.enabled(instance.namespace);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
/**
|
187
|
+
* Disable debug output.
|
188
|
+
*
|
189
|
+
* @api public
|
190
|
+
*/
|
191
|
+
|
192
|
+
|
193
|
+
function disable() {
|
194
|
+
createDebug.enable('');
|
195
|
+
}
|
196
|
+
/**
|
197
|
+
* Returns true if the given mode name is enabled, false otherwise.
|
198
|
+
*
|
199
|
+
* @param {String} name
|
200
|
+
* @return {Boolean}
|
201
|
+
* @api public
|
202
|
+
*/
|
203
|
+
|
204
|
+
|
205
|
+
function enabled(name) {
|
206
|
+
if (name[name.length - 1] === '*') {
|
207
|
+
return true;
|
208
|
+
}
|
209
|
+
|
210
|
+
var i;
|
211
|
+
var len;
|
212
|
+
|
213
|
+
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
214
|
+
if (createDebug.skips[i].test(name)) {
|
215
|
+
return false;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
220
|
+
if (createDebug.names[i].test(name)) {
|
221
|
+
return true;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
return false;
|
226
|
+
}
|
227
|
+
/**
|
228
|
+
* Coerce `val`.
|
229
|
+
*
|
230
|
+
* @param {Mixed} val
|
231
|
+
* @return {Mixed}
|
232
|
+
* @api private
|
233
|
+
*/
|
234
|
+
|
235
|
+
|
236
|
+
function coerce(val) {
|
237
|
+
if (val instanceof Error) {
|
238
|
+
return val.stack || val.message;
|
239
|
+
}
|
240
|
+
|
241
|
+
return val;
|
242
|
+
}
|
243
|
+
|
244
|
+
createDebug.enable(createDebug.load());
|
245
|
+
return createDebug;
|
264
246
|
}
|
265
247
|
|
266
248
|
module.exports = setup;
|
249
|
+
|
@@ -1,10 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
1
3
|
/**
|
2
4
|
* Detect Electron renderer / nwjs process, which is node, but we should
|
3
5
|
* treat as a browser.
|
4
6
|
*/
|
5
|
-
|
6
7
|
if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
|
7
|
-
|
8
|
+
module.exports = require('./browser.js');
|
8
9
|
} else {
|
9
|
-
|
10
|
+
module.exports = require('./node.js');
|
10
11
|
}
|
12
|
+
|