@rsdoctor/cli 1.3.11-beta.0 → 1.3.12
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/dist/index.cjs +348 -142
- package/dist/index.js +349 -145
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -200,164 +200,312 @@ var __webpack_modules__ = {
|
|
|
200
200
|
this._reset(), this.emit('error', err);
|
|
201
201
|
};
|
|
202
202
|
},
|
|
203
|
-
"../../node_modules/.pnpm/debug@
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}, exports1.formatArgs = function(args) {
|
|
214
|
-
var useColors = this.useColors;
|
|
215
|
-
if (args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports1.humanize(this.diff), useColors) {
|
|
216
|
-
var c = 'color: ' + this.color;
|
|
217
|
-
args.splice(1, 0, c, 'color: inherit');
|
|
218
|
-
var index = 0, lastC = 0;
|
|
219
|
-
args[0].replace(/%[a-zA-Z%]/g, function(match) {
|
|
220
|
-
'%%' !== match && (index++, '%c' === match && (lastC = index));
|
|
221
|
-
}), args.splice(lastC, 0, c);
|
|
222
|
-
}
|
|
203
|
+
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js": function(module, exports1, __webpack_require__) {
|
|
204
|
+
let warned;
|
|
205
|
+
exports1.formatArgs = function(args) {
|
|
206
|
+
if (args[0] = (this.useColors ? '%c' : '') + this.namespace + (this.useColors ? ' %c' : ' ') + args[0] + (this.useColors ? '%c ' : ' ') + '+' + module.exports.humanize(this.diff), !this.useColors) return;
|
|
207
|
+
let c = 'color: ' + this.color;
|
|
208
|
+
args.splice(1, 0, c, 'color: inherit');
|
|
209
|
+
let index = 0, lastC = 0;
|
|
210
|
+
args[0].replace(/%[a-zA-Z%]/g, (match)=>{
|
|
211
|
+
'%%' !== match && (index++, '%c' === match && (lastC = index));
|
|
212
|
+
}), args.splice(lastC, 0, c);
|
|
223
213
|
}, exports1.save = function(namespaces) {
|
|
224
214
|
try {
|
|
225
|
-
|
|
226
|
-
} catch (
|
|
227
|
-
}, exports1.load =
|
|
228
|
-
|
|
229
|
-
}, exports1.storage = 'undefined' != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : function() {
|
|
215
|
+
namespaces ? exports1.storage.setItem('debug', namespaces) : exports1.storage.removeItem('debug');
|
|
216
|
+
} catch (error) {}
|
|
217
|
+
}, exports1.load = function() {
|
|
218
|
+
let r;
|
|
230
219
|
try {
|
|
231
|
-
|
|
232
|
-
} catch (
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
'
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
220
|
+
r = exports1.storage.getItem('debug') || exports1.storage.getItem('DEBUG');
|
|
221
|
+
} catch (error) {}
|
|
222
|
+
return !r && 'undefined' != typeof process && 'env' in process && (r = process.env.DEBUG), r;
|
|
223
|
+
}, exports1.useColors = function() {
|
|
224
|
+
let m;
|
|
225
|
+
return 'undefined' != typeof window && !!window.process && ('renderer' === window.process.type || !!window.process.__nwjs) || !('undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) && ('undefined' != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || 'undefined' != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || 'undefined' != typeof navigator && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || 'undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
|
|
226
|
+
}, exports1.storage = function() {
|
|
227
|
+
try {
|
|
228
|
+
return localStorage;
|
|
229
|
+
} catch (error) {}
|
|
230
|
+
}(), warned = !1, exports1.destroy = ()=>{
|
|
231
|
+
warned || (warned = !0, console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'));
|
|
232
|
+
}, exports1.colors = [
|
|
233
|
+
'#0000CC',
|
|
234
|
+
'#0000FF',
|
|
235
|
+
'#0033CC',
|
|
236
|
+
'#0033FF',
|
|
237
|
+
'#0066CC',
|
|
238
|
+
'#0066FF',
|
|
239
|
+
'#0099CC',
|
|
240
|
+
'#0099FF',
|
|
241
|
+
'#00CC00',
|
|
242
|
+
'#00CC33',
|
|
243
|
+
'#00CC66',
|
|
244
|
+
'#00CC99',
|
|
245
|
+
'#00CCCC',
|
|
246
|
+
'#00CCFF',
|
|
247
|
+
'#3300CC',
|
|
248
|
+
'#3300FF',
|
|
249
|
+
'#3333CC',
|
|
250
|
+
'#3333FF',
|
|
251
|
+
'#3366CC',
|
|
252
|
+
'#3366FF',
|
|
253
|
+
'#3399CC',
|
|
254
|
+
'#3399FF',
|
|
255
|
+
'#33CC00',
|
|
256
|
+
'#33CC33',
|
|
257
|
+
'#33CC66',
|
|
258
|
+
'#33CC99',
|
|
259
|
+
'#33CCCC',
|
|
260
|
+
'#33CCFF',
|
|
261
|
+
'#6600CC',
|
|
262
|
+
'#6600FF',
|
|
263
|
+
'#6633CC',
|
|
264
|
+
'#6633FF',
|
|
265
|
+
'#66CC00',
|
|
266
|
+
'#66CC33',
|
|
267
|
+
'#9900CC',
|
|
268
|
+
'#9900FF',
|
|
269
|
+
'#9933CC',
|
|
270
|
+
'#9933FF',
|
|
271
|
+
'#99CC00',
|
|
272
|
+
'#99CC33',
|
|
273
|
+
'#CC0000',
|
|
274
|
+
'#CC0033',
|
|
275
|
+
'#CC0066',
|
|
276
|
+
'#CC0099',
|
|
277
|
+
'#CC00CC',
|
|
278
|
+
'#CC00FF',
|
|
279
|
+
'#CC3300',
|
|
280
|
+
'#CC3333',
|
|
281
|
+
'#CC3366',
|
|
282
|
+
'#CC3399',
|
|
283
|
+
'#CC33CC',
|
|
284
|
+
'#CC33FF',
|
|
285
|
+
'#CC6600',
|
|
286
|
+
'#CC6633',
|
|
287
|
+
'#CC9900',
|
|
288
|
+
'#CC9933',
|
|
289
|
+
'#CCCC00',
|
|
290
|
+
'#CCCC33',
|
|
291
|
+
'#FF0000',
|
|
292
|
+
'#FF0033',
|
|
293
|
+
'#FF0066',
|
|
294
|
+
'#FF0099',
|
|
295
|
+
'#FF00CC',
|
|
296
|
+
'#FF00FF',
|
|
297
|
+
'#FF3300',
|
|
298
|
+
'#FF3333',
|
|
299
|
+
'#FF3366',
|
|
300
|
+
'#FF3399',
|
|
301
|
+
'#FF33CC',
|
|
302
|
+
'#FF33FF',
|
|
303
|
+
'#FF6600',
|
|
304
|
+
'#FF6633',
|
|
305
|
+
'#FF9900',
|
|
306
|
+
'#FF9933',
|
|
307
|
+
'#FFCC00',
|
|
308
|
+
'#FFCC33'
|
|
309
|
+
], exports1.log = console.debug || console.log || (()=>{}), module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(exports1);
|
|
310
|
+
let { formatters } = module.exports;
|
|
311
|
+
formatters.j = function(v) {
|
|
241
312
|
try {
|
|
242
313
|
return JSON.stringify(v);
|
|
243
|
-
} catch (
|
|
244
|
-
return '[UnexpectedJSONParseError]: ' +
|
|
314
|
+
} catch (error) {
|
|
315
|
+
return '[UnexpectedJSONParseError]: ' + error.message;
|
|
245
316
|
}
|
|
246
|
-
}
|
|
317
|
+
};
|
|
247
318
|
},
|
|
248
|
-
"../../node_modules/.pnpm/debug@
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
if ('%%' === match) return match;
|
|
319
|
+
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
320
|
+
module.exports = function(env) {
|
|
321
|
+
function createDebug(namespace) {
|
|
322
|
+
let prevTime, namespacesCache, enabledCache, enableOverride = null;
|
|
323
|
+
function debug(...args) {
|
|
324
|
+
if (!debug.enabled) return;
|
|
325
|
+
let curr = Number(new Date());
|
|
326
|
+
debug.diff = curr - (prevTime || curr), debug.prev = prevTime, debug.curr = curr, prevTime = curr, args[0] = createDebug.coerce(args[0]), 'string' != typeof args[0] && args.unshift('%O');
|
|
327
|
+
let index = 0;
|
|
328
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format)=>{
|
|
329
|
+
if ('%%' === match) return '%';
|
|
260
330
|
index++;
|
|
261
|
-
|
|
331
|
+
let formatter = createDebug.formatters[format];
|
|
262
332
|
if ('function' == typeof formatter) {
|
|
263
|
-
|
|
333
|
+
let val = args[index];
|
|
264
334
|
match = formatter.call(debug, val), args.splice(index, 1), index--;
|
|
265
335
|
}
|
|
266
336
|
return match;
|
|
267
|
-
}),
|
|
337
|
+
}), createDebug.formatArgs.call(debug, args), (debug.log || createDebug.log).apply(debug, args);
|
|
268
338
|
}
|
|
339
|
+
return debug.namespace = namespace, debug.useColors = createDebug.useColors(), debug.color = createDebug.selectColor(namespace), debug.extend = extend, debug.destroy = createDebug.destroy, Object.defineProperty(debug, 'enabled', {
|
|
340
|
+
enumerable: !0,
|
|
341
|
+
configurable: !1,
|
|
342
|
+
get: ()=>null !== enableOverride ? enableOverride : (namespacesCache !== createDebug.namespaces && (namespacesCache = createDebug.namespaces, enabledCache = createDebug.enabled(namespace)), enabledCache),
|
|
343
|
+
set: (v)=>{
|
|
344
|
+
enableOverride = v;
|
|
345
|
+
}
|
|
346
|
+
}), 'function' == typeof createDebug.init && createDebug.init(debug), debug;
|
|
269
347
|
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
348
|
+
function extend(namespace, delimiter) {
|
|
349
|
+
let newDebug = createDebug(this.namespace + (void 0 === delimiter ? ':' : delimiter) + namespace);
|
|
350
|
+
return newDebug.log = this.log, newDebug;
|
|
351
|
+
}
|
|
352
|
+
function matchesTemplate(search, template) {
|
|
353
|
+
let searchIndex = 0, templateIndex = 0, starIndex = -1, matchIndex = 0;
|
|
354
|
+
for(; searchIndex < search.length;)if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || '*' === template[templateIndex])) '*' === template[templateIndex] ? (starIndex = templateIndex, matchIndex = searchIndex) : searchIndex++, templateIndex++;
|
|
355
|
+
else {
|
|
356
|
+
if (-1 === starIndex) return !1;
|
|
357
|
+
templateIndex = starIndex + 1, searchIndex = ++matchIndex;
|
|
358
|
+
}
|
|
359
|
+
for(; templateIndex < template.length && '*' === template[templateIndex];)templateIndex++;
|
|
360
|
+
return templateIndex === template.length;
|
|
361
|
+
}
|
|
362
|
+
return createDebug.debug = createDebug, createDebug.default = createDebug, createDebug.coerce = function(val) {
|
|
363
|
+
return val instanceof Error ? val.stack || val.message : val;
|
|
364
|
+
}, createDebug.disable = function() {
|
|
365
|
+
let namespaces = [
|
|
366
|
+
...createDebug.names,
|
|
367
|
+
...createDebug.skips.map((namespace)=>'-' + namespace)
|
|
368
|
+
].join(',');
|
|
369
|
+
return createDebug.enable(''), namespaces;
|
|
370
|
+
}, createDebug.enable = function(namespaces) {
|
|
371
|
+
for (let ns of (createDebug.save(namespaces), createDebug.namespaces = namespaces, createDebug.names = [], createDebug.skips = [], ('string' == typeof namespaces ? namespaces : '').trim().replace(/\s+/g, ',').split(',').filter(Boolean)))'-' === ns[0] ? createDebug.skips.push(ns.slice(1)) : createDebug.names.push(ns);
|
|
372
|
+
}, createDebug.enabled = function(name) {
|
|
373
|
+
for (let skip of createDebug.skips)if (matchesTemplate(name, skip)) return !1;
|
|
374
|
+
for (let ns of createDebug.names)if (matchesTemplate(name, ns)) return !0;
|
|
375
|
+
return !1;
|
|
376
|
+
}, createDebug.humanize = __webpack_require__("../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"), createDebug.destroy = function() {
|
|
377
|
+
console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
|
|
378
|
+
}, Object.keys(env).forEach((key)=>{
|
|
379
|
+
createDebug[key] = env[key];
|
|
380
|
+
}), createDebug.names = [], createDebug.skips = [], createDebug.formatters = {}, createDebug.selectColor = function(namespace) {
|
|
381
|
+
let hash = 0;
|
|
382
|
+
for(let i = 0; i < namespace.length; i++)hash = (hash << 5) - hash + namespace.charCodeAt(i) | 0;
|
|
383
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
384
|
+
}, createDebug.enable(createDebug.load()), createDebug;
|
|
385
|
+
};
|
|
289
386
|
},
|
|
290
|
-
"../../node_modules/.pnpm/debug@
|
|
291
|
-
'undefined'
|
|
387
|
+
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
388
|
+
'undefined' == typeof process || 'renderer' === process.type || !0 === process.browser || process.__nwjs ? module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js") : module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js");
|
|
292
389
|
},
|
|
293
|
-
"../../node_modules/.pnpm/debug@
|
|
294
|
-
|
|
295
|
-
|
|
390
|
+
"../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js": function(module, exports1, __webpack_require__) {
|
|
391
|
+
let tty = __webpack_require__("tty"), util = __webpack_require__("util");
|
|
392
|
+
exports1.init = function(debug) {
|
|
296
393
|
debug.inspectOpts = {};
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
394
|
+
let keys = Object.keys(exports1.inspectOpts);
|
|
395
|
+
for(let i = 0; i < keys.length; i++)debug.inspectOpts[keys[i]] = exports1.inspectOpts[keys[i]];
|
|
396
|
+
}, exports1.log = function(...args) {
|
|
397
|
+
return process.stderr.write(util.formatWithOptions(exports1.inspectOpts, ...args) + '\n');
|
|
300
398
|
}, exports1.formatArgs = function(args) {
|
|
301
|
-
|
|
302
|
-
if (
|
|
303
|
-
|
|
304
|
-
args[0] = prefix + args[0].split('\n').join('\n' + prefix), args.push(
|
|
305
|
-
} else args[0] = new Date().
|
|
399
|
+
let { namespace: name, useColors } = this;
|
|
400
|
+
if (useColors) {
|
|
401
|
+
let c = this.color, colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c), prefix = ` ${colorCode};1m${name} \u001B[0m`;
|
|
402
|
+
args[0] = prefix + args[0].split('\n').join('\n' + prefix), args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
|
|
403
|
+
} else args[0] = (exports1.inspectOpts.hideDate ? '' : new Date().toISOString() + ' ') + name + ' ' + args[0];
|
|
306
404
|
}, exports1.save = function(namespaces) {
|
|
307
|
-
|
|
308
|
-
}, exports1.load =
|
|
309
|
-
return
|
|
310
|
-
}, exports1.
|
|
405
|
+
namespaces ? process.env.DEBUG = namespaces : delete process.env.DEBUG;
|
|
406
|
+
}, exports1.load = function() {
|
|
407
|
+
return process.env.DEBUG;
|
|
408
|
+
}, exports1.useColors = function() {
|
|
409
|
+
return 'colors' in exports1.inspectOpts ? !!exports1.inspectOpts.colors : tty.isatty(process.stderr.fd);
|
|
410
|
+
}, exports1.destroy = util.deprecate(()=>{}, 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'), exports1.colors = [
|
|
311
411
|
6,
|
|
312
412
|
2,
|
|
313
413
|
3,
|
|
314
414
|
4,
|
|
315
415
|
5,
|
|
316
416
|
1
|
|
317
|
-
]
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
417
|
+
];
|
|
418
|
+
try {
|
|
419
|
+
let supportsColor = __webpack_require__("../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js");
|
|
420
|
+
supportsColor && (supportsColor.stderr || supportsColor).level >= 2 && (exports1.colors = [
|
|
421
|
+
20,
|
|
422
|
+
21,
|
|
423
|
+
26,
|
|
424
|
+
27,
|
|
425
|
+
32,
|
|
426
|
+
33,
|
|
427
|
+
38,
|
|
428
|
+
39,
|
|
429
|
+
40,
|
|
430
|
+
41,
|
|
431
|
+
42,
|
|
432
|
+
43,
|
|
433
|
+
44,
|
|
434
|
+
45,
|
|
435
|
+
56,
|
|
436
|
+
57,
|
|
437
|
+
62,
|
|
438
|
+
63,
|
|
439
|
+
68,
|
|
440
|
+
69,
|
|
441
|
+
74,
|
|
442
|
+
75,
|
|
443
|
+
76,
|
|
444
|
+
77,
|
|
445
|
+
78,
|
|
446
|
+
79,
|
|
447
|
+
80,
|
|
448
|
+
81,
|
|
449
|
+
92,
|
|
450
|
+
93,
|
|
451
|
+
98,
|
|
452
|
+
99,
|
|
453
|
+
112,
|
|
454
|
+
113,
|
|
455
|
+
128,
|
|
456
|
+
129,
|
|
457
|
+
134,
|
|
458
|
+
135,
|
|
459
|
+
148,
|
|
460
|
+
149,
|
|
461
|
+
160,
|
|
462
|
+
161,
|
|
463
|
+
162,
|
|
464
|
+
163,
|
|
465
|
+
164,
|
|
466
|
+
165,
|
|
467
|
+
166,
|
|
468
|
+
167,
|
|
469
|
+
168,
|
|
470
|
+
169,
|
|
471
|
+
170,
|
|
472
|
+
171,
|
|
473
|
+
172,
|
|
474
|
+
173,
|
|
475
|
+
178,
|
|
476
|
+
179,
|
|
477
|
+
184,
|
|
478
|
+
185,
|
|
479
|
+
196,
|
|
480
|
+
197,
|
|
481
|
+
198,
|
|
482
|
+
199,
|
|
483
|
+
200,
|
|
484
|
+
201,
|
|
485
|
+
202,
|
|
486
|
+
203,
|
|
487
|
+
204,
|
|
488
|
+
205,
|
|
489
|
+
206,
|
|
490
|
+
207,
|
|
491
|
+
208,
|
|
492
|
+
209,
|
|
493
|
+
214,
|
|
494
|
+
215,
|
|
495
|
+
220,
|
|
496
|
+
221
|
|
497
|
+
]);
|
|
498
|
+
} catch (error) {}
|
|
499
|
+
exports1.inspectOpts = Object.keys(process.env).filter((key)=>/^debug_/i.test(key)).reduce((obj, key)=>{
|
|
500
|
+
let prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k)=>k.toUpperCase()), val = process.env[key];
|
|
323
501
|
return val = !!/^(yes|on|true|enabled)$/i.test(val) || !/^(no|off|false|disabled)$/i.test(val) && ('null' === val ? null : Number(val)), obj[prop] = val, obj;
|
|
324
|
-
}, {});
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
switch(process.binding('tty_wrap').guessHandleType(fd)){
|
|
330
|
-
case 'TTY':
|
|
331
|
-
(stream = new tty.WriteStream(fd))._type = 'tty', stream._handle && stream._handle.unref && stream._handle.unref();
|
|
332
|
-
break;
|
|
333
|
-
case 'FILE':
|
|
334
|
-
(stream = new (__webpack_require__("fs")).SyncWriteStream(fd, {
|
|
335
|
-
autoClose: !1
|
|
336
|
-
}))._type = 'fs';
|
|
337
|
-
break;
|
|
338
|
-
case 'PIPE':
|
|
339
|
-
case 'TCP':
|
|
340
|
-
(stream = new (__webpack_require__("net")).Socket({
|
|
341
|
-
fd: fd,
|
|
342
|
-
readable: !1,
|
|
343
|
-
writable: !0
|
|
344
|
-
})).readable = !1, stream.read = null, stream._type = 'pipe', stream._handle && stream._handle.unref && stream._handle.unref();
|
|
345
|
-
break;
|
|
346
|
-
default:
|
|
347
|
-
throw Error('Implement me. Unknown stream file type!');
|
|
348
|
-
}
|
|
349
|
-
return stream.fd = fd, stream._isStdio = !0, stream;
|
|
350
|
-
}(fd);
|
|
351
|
-
function load() {
|
|
352
|
-
return process.env.DEBUG;
|
|
353
|
-
}
|
|
354
|
-
exports1.formatters.o = function(v) {
|
|
355
|
-
return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts).split('\n').map(function(str) {
|
|
356
|
-
return str.trim();
|
|
357
|
-
}).join(' ');
|
|
358
|
-
}, exports1.formatters.O = function(v) {
|
|
502
|
+
}, {}), module.exports = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(exports1);
|
|
503
|
+
let { formatters } = module.exports;
|
|
504
|
+
formatters.o = function(v) {
|
|
505
|
+
return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts).split('\n').map((str)=>str.trim()).join(' ');
|
|
506
|
+
}, formatters.O = function(v) {
|
|
359
507
|
return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts);
|
|
360
|
-
}
|
|
508
|
+
};
|
|
361
509
|
},
|
|
362
510
|
"../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
363
511
|
var Stream = __webpack_require__("stream").Stream, util = __webpack_require__("util");
|
|
@@ -479,7 +627,7 @@ var __webpack_modules__ = {
|
|
|
479
627
|
module.exports = function() {
|
|
480
628
|
if (!debug) {
|
|
481
629
|
try {
|
|
482
|
-
debug = __webpack_require__("../../node_modules/.pnpm/debug@
|
|
630
|
+
debug = __webpack_require__("../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js")("follow-redirects");
|
|
483
631
|
} catch (error) {}
|
|
484
632
|
"function" != typeof debug && (debug = function() {});
|
|
485
633
|
}
|
|
@@ -1320,6 +1468,14 @@ var __webpack_modules__ = {
|
|
|
1320
1468
|
}
|
|
1321
1469
|
module.exports = $gOPD;
|
|
1322
1470
|
},
|
|
1471
|
+
"../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js": function(module) {
|
|
1472
|
+
"use strict";
|
|
1473
|
+
module.exports = (flag, argv)=>{
|
|
1474
|
+
argv = argv || process.argv;
|
|
1475
|
+
let prefix = flag.startsWith('-') ? '' : 1 === flag.length ? '-' : '--', pos = argv.indexOf(prefix + flag), terminatorPos = argv.indexOf('--');
|
|
1476
|
+
return -1 !== pos && (-1 === terminatorPos || pos < terminatorPos);
|
|
1477
|
+
};
|
|
1478
|
+
},
|
|
1323
1479
|
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1324
1480
|
"use strict";
|
|
1325
1481
|
var origSymbol = 'undefined' != typeof Symbol && Symbol, hasSymbolSham = __webpack_require__("../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js");
|
|
@@ -1444,17 +1600,17 @@ var __webpack_modules__ = {
|
|
|
1444
1600
|
}
|
|
1445
1601
|
});
|
|
1446
1602
|
},
|
|
1447
|
-
"../../node_modules/.pnpm/ms@2.
|
|
1448
|
-
function plural(ms, n, name) {
|
|
1449
|
-
|
|
1603
|
+
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js": function(module) {
|
|
1604
|
+
function plural(ms, msAbs, n, name) {
|
|
1605
|
+
return Math.round(ms / n) + ' ' + name + (msAbs >= 1.5 * n ? 's' : '');
|
|
1450
1606
|
}
|
|
1451
1607
|
module.exports = function(val, options) {
|
|
1452
1608
|
options = options || {};
|
|
1453
|
-
var ms, ms1, type = typeof val;
|
|
1609
|
+
var ms, msAbs, ms1, msAbs1, type = typeof val;
|
|
1454
1610
|
if ('string' === type && val.length > 0) {
|
|
1455
1611
|
var str = val;
|
|
1456
1612
|
if (!((str = String(str)).length > 100)) {
|
|
1457
|
-
var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
|
|
1613
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
|
|
1458
1614
|
if (match) {
|
|
1459
1615
|
var n = parseFloat(match[1]);
|
|
1460
1616
|
switch((match[2] || 'ms').toLowerCase()){
|
|
@@ -1464,6 +1620,10 @@ var __webpack_modules__ = {
|
|
|
1464
1620
|
case 'yr':
|
|
1465
1621
|
case 'y':
|
|
1466
1622
|
return 31557600000 * n;
|
|
1623
|
+
case 'weeks':
|
|
1624
|
+
case 'week':
|
|
1625
|
+
case 'w':
|
|
1626
|
+
return 604800000 * n;
|
|
1467
1627
|
case 'days':
|
|
1468
1628
|
case 'day':
|
|
1469
1629
|
case 'd':
|
|
@@ -1499,8 +1659,8 @@ var __webpack_modules__ = {
|
|
|
1499
1659
|
}
|
|
1500
1660
|
return;
|
|
1501
1661
|
}
|
|
1502
|
-
if ('number' === type &&
|
|
1503
|
-
return options.long ?
|
|
1662
|
+
if ('number' === type && isFinite(val)) {
|
|
1663
|
+
return options.long ? (msAbs = Math.abs(ms = val)) >= 86400000 ? plural(ms, msAbs, 86400000, 'day') : msAbs >= 3600000 ? plural(ms, msAbs, 3600000, 'hour') : msAbs >= 60000 ? plural(ms, msAbs, 60000, 'minute') : msAbs >= 1000 ? plural(ms, msAbs, 1000, 'second') : ms + ' ms' : (msAbs1 = Math.abs(ms1 = val)) >= 86400000 ? Math.round(ms1 / 86400000) + 'd' : msAbs1 >= 3600000 ? Math.round(ms1 / 3600000) + 'h' : msAbs1 >= 60000 ? Math.round(ms1 / 60000) + 'm' : msAbs1 >= 1000 ? Math.round(ms1 / 1000) + 's' : ms1 + 'ms';
|
|
1504
1664
|
}
|
|
1505
1665
|
throw Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val));
|
|
1506
1666
|
};
|
|
@@ -1590,6 +1750,52 @@ var __webpack_modules__ = {
|
|
|
1590
1750
|
return proxy && -1 === proxy.indexOf('://') && (proxy = proto + '://' + proxy), proxy;
|
|
1591
1751
|
};
|
|
1592
1752
|
},
|
|
1753
|
+
"../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1754
|
+
"use strict";
|
|
1755
|
+
let forceColor, os = __webpack_require__("os"), hasFlag = __webpack_require__("../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"), env = process.env;
|
|
1756
|
+
function getSupportLevel(stream) {
|
|
1757
|
+
var level;
|
|
1758
|
+
return 0 !== (level = function(stream) {
|
|
1759
|
+
if (!1 === forceColor) return 0;
|
|
1760
|
+
if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) return 3;
|
|
1761
|
+
if (hasFlag('color=256')) return 2;
|
|
1762
|
+
if (stream && !stream.isTTY && !0 !== forceColor) return 0;
|
|
1763
|
+
let min = +!!forceColor;
|
|
1764
|
+
if ('win32' === process.platform) {
|
|
1765
|
+
let osRelease = os.release().split('.');
|
|
1766
|
+
return Number(process.versions.node.split('.')[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
1767
|
+
}
|
|
1768
|
+
if ('CI' in env) return [
|
|
1769
|
+
'TRAVIS',
|
|
1770
|
+
'CIRCLECI',
|
|
1771
|
+
'APPVEYOR',
|
|
1772
|
+
'GITLAB_CI'
|
|
1773
|
+
].some((sign)=>sign in env) || 'codeship' === env.CI_NAME ? 1 : min;
|
|
1774
|
+
if ('TEAMCITY_VERSION' in env) return +!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION);
|
|
1775
|
+
if ('truecolor' === env.COLORTERM) return 3;
|
|
1776
|
+
if ('TERM_PROGRAM' in env) {
|
|
1777
|
+
let version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
1778
|
+
switch(env.TERM_PROGRAM){
|
|
1779
|
+
case 'iTerm.app':
|
|
1780
|
+
return version >= 3 ? 3 : 2;
|
|
1781
|
+
case 'Apple_Terminal':
|
|
1782
|
+
return 2;
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || 'COLORTERM' in env ? 1 : (env.TERM, min);
|
|
1786
|
+
}(stream)) && {
|
|
1787
|
+
level,
|
|
1788
|
+
hasBasic: !0,
|
|
1789
|
+
has256: level >= 2,
|
|
1790
|
+
has16m: level >= 3
|
|
1791
|
+
};
|
|
1792
|
+
}
|
|
1793
|
+
hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') ? forceColor = !1 : (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) && (forceColor = !0), 'FORCE_COLOR' in env && (forceColor = 0 === env.FORCE_COLOR.length || 0 !== parseInt(env.FORCE_COLOR, 10)), module.exports = {
|
|
1794
|
+
supportsColor: getSupportLevel,
|
|
1795
|
+
stdout: getSupportLevel(process.stdout),
|
|
1796
|
+
stderr: getSupportLevel(process.stderr)
|
|
1797
|
+
};
|
|
1798
|
+
},
|
|
1593
1799
|
assert: function(module) {
|
|
1594
1800
|
"use strict";
|
|
1595
1801
|
module.exports = require("assert");
|
|
@@ -1610,9 +1816,9 @@ var __webpack_modules__ = {
|
|
|
1610
1816
|
"use strict";
|
|
1611
1817
|
module.exports = require("https");
|
|
1612
1818
|
},
|
|
1613
|
-
|
|
1819
|
+
os: function(module) {
|
|
1614
1820
|
"use strict";
|
|
1615
|
-
module.exports = require("
|
|
1821
|
+
module.exports = require("os");
|
|
1616
1822
|
},
|
|
1617
1823
|
path: function(module) {
|
|
1618
1824
|
"use strict";
|
|
@@ -1640,7 +1846,7 @@ var __webpack_modules__ = {
|
|
|
1640
1846
|
},
|
|
1641
1847
|
"./package.json": function(module) {
|
|
1642
1848
|
"use strict";
|
|
1643
|
-
module.exports = JSON.parse('{"name":"@rsdoctor/cli","version":"1.3.
|
|
1849
|
+
module.exports = JSON.parse('{"name":"@rsdoctor/cli","version":"1.3.12","repository":{"type":"git","url":"https://github.com/web-infra-dev/rsdoctor","directory":"packages/cli"},"bin":{"rsdoctor":"./bin/rsdoctor"},"files":["bin","dist"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.cjs"}},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"npm run start","build":"rslib build","start":"rslib build -w","test":"rstest run"},"type":"module","dependencies":{"ora":"^5.4.1","@rsdoctor/core":"workspace:*","@rsdoctor/sdk":"workspace:*","@rsdoctor/types":"workspace:*","@rsdoctor/utils":"workspace:*","@rsdoctor/graph":"workspace:*"},"devDependencies":{"@rsdoctor/client":"workspace:*","cac":"^6.7.14","typescript":"^5.9.2","axios":"^1.12.2","picocolors":"^1.1.1"},"peerDependencies":{"@rsdoctor/client":"workspace:*"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}');
|
|
1644
1850
|
}
|
|
1645
1851
|
}, __webpack_module_cache__ = {};
|
|
1646
1852
|
function __webpack_require__(moduleId) {
|