@nuxt/devtools 0.1.4 → 0.1.6
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/README.md +2 -0
- package/dist/chunks/module-main.mjs +2 -2
- package/dist/chunks/vscode.mjs +67 -64
- package/dist/cli.mjs +354 -62
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__inspecting/index.html +2 -2
- package/dist/client/_nuxt/Badge.d9b6d9b1.js +1 -0
- package/dist/client/_nuxt/FilepathItem.vue.31689a0a.js +1 -0
- package/dist/client/_nuxt/LaunchPage.vue.65011890.js +1 -0
- package/dist/client/_nuxt/{welcome.db724adb.css → NButton.db724adb.css} +0 -0
- package/dist/client/_nuxt/NButton.vue.56759fc1.js +113 -0
- package/dist/client/_nuxt/NIcon.vue.c1ad97a9.js +1 -0
- package/dist/client/_nuxt/NTextInput.vue.b6c079ee.js +1 -0
- package/dist/client/_nuxt/NuxtLogo.9303af79.js +1 -0
- package/dist/client/_nuxt/SectionBlock.48da9d80.css +1 -0
- package/dist/client/_nuxt/SectionBlock.885bbad5.js +1 -0
- package/dist/client/_nuxt/Settings.vue.dda6fcf5.js +1 -0
- package/dist/client/_nuxt/{StateEditor.989cce56.css → StateEditor.c82309e2.css} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.0d8adb50.js → StateEditor.vue.0f1b994b.js} +1 -1
- package/dist/client/_nuxt/StateEditor.vue.3374c6ec.js +1 -0
- package/dist/client/_nuxt/TabIcon.vue.8d3722ca.js +1 -0
- package/dist/client/_nuxt/__inspecting.6fe111b0.js +1 -0
- package/dist/client/_nuxt/asyncData.d544d421.js +1 -0
- package/dist/client/_nuxt/components.25d13f1f.js +1 -0
- package/dist/client/_nuxt/composables.80d3af7a.js +1 -0
- package/dist/client/_nuxt/context.b32078d3.js +1 -0
- package/dist/client/_nuxt/custom-_name_.14809d72.js +1 -0
- package/dist/client/_nuxt/default.7ecded8d.js +1 -0
- package/dist/client/_nuxt/editor.b2159474.js +1 -0
- package/dist/client/_nuxt/entry.43bdd1fb.css +1 -0
- package/dist/client/_nuxt/entry.b1094864.js +5 -0
- package/dist/client/_nuxt/error-404.2ee33711.js +1 -0
- package/dist/client/_nuxt/error-500.ef980084.js +1 -0
- package/dist/client/_nuxt/error-component.7b202115.js +3 -0
- package/dist/client/_nuxt/hooks.ca7ea52c.js +1 -0
- package/dist/client/_nuxt/imports.f7013fa4.js +1 -0
- package/dist/client/_nuxt/index.2ad8ed93.js +1 -0
- package/dist/client/_nuxt/layouts.b684dcc1.js +1 -0
- package/dist/client/_nuxt/middleware.e10aa06d.js +1 -0
- package/dist/client/_nuxt/modules.0b22b757.js +1 -0
- package/dist/client/_nuxt/none.38bfd553.js +1 -0
- package/dist/client/_nuxt/nuxt-link.752dfef9.js +1 -0
- package/dist/client/_nuxt/overview.d488d202.js +1 -0
- package/dist/client/_nuxt/pages.22ce604b.js +1 -0
- package/dist/client/_nuxt/payload.5372dcff.js +1 -0
- package/dist/client/_nuxt/plugins.f9b29762.js +1 -0
- package/dist/client/_nuxt/runtime-configs.99425f61.js +1 -0
- package/dist/client/_nuxt/server-routes.763958ec.js +1 -0
- package/dist/client/_nuxt/state.65ceafcf.js +1 -0
- package/dist/client/_nuxt/unocss-runtime.c4939419.js +2 -0
- package/dist/client/_nuxt/{virtual-files.53d6f968.js → virtual-files.13f3141f.js} +8 -8
- package/dist/client/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/layouts/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +30 -6
- package/dist/shared/{devtools.b5fb0de8.mjs → devtools.e6742cbd.mjs} +1 -1
- package/package.json +31 -29
- package/dist/client/_nuxt/Badge.e080ea4a.js +0 -1
- package/dist/client/_nuxt/ComponentItem.c17d2931.js +0 -1
- package/dist/client/_nuxt/ComponentItem.vue.3441f37f.js +0 -1
- package/dist/client/_nuxt/ComponentsGraph.4d50b4fe.js +0 -1
- package/dist/client/_nuxt/ComponentsGraph.vue.5b3b134e.js +0 -1
- package/dist/client/_nuxt/ComponentsList.ac84bcd1.js +0 -1
- package/dist/client/_nuxt/ComponentsList.vue.c704cf24.js +0 -1
- package/dist/client/_nuxt/ComposableItem.72806cd2.js +0 -1
- package/dist/client/_nuxt/ComposableItem.vue.90cd23bc.js +0 -1
- package/dist/client/_nuxt/ComposableTree.43de28f8.js +0 -1
- package/dist/client/_nuxt/ComposableTree.vue.808503d9.js +0 -1
- package/dist/client/_nuxt/CurrentRoute.e8d5b2cb.js +0 -1
- package/dist/client/_nuxt/Drawer.583a0aa3.js +0 -1
- package/dist/client/_nuxt/Drawer.vue.30b0fc28.js +0 -1
- package/dist/client/_nuxt/DrawerItem.e2effddf.js +0 -1
- package/dist/client/_nuxt/DrawerItem.vue.8cadb3c9.js +0 -1
- package/dist/client/_nuxt/FileIcon.68b82ecb.js +0 -1
- package/dist/client/_nuxt/FileIcon.vue.3bb914bc.js +0 -1
- package/dist/client/_nuxt/FilepathItem.8049add8.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.811409e2.js +0 -1
- package/dist/client/_nuxt/HooksTable.59d897cb.js +0 -1
- package/dist/client/_nuxt/HooksTable.vue.6b9004ef.js +0 -1
- package/dist/client/_nuxt/IconTitle.f576cbf3.js +0 -1
- package/dist/client/_nuxt/IconTitle.vue.dfa8cbcf.js +0 -1
- package/dist/client/_nuxt/IframeView.13e136bd.js +0 -1
- package/dist/client/_nuxt/IframeView.vue.6843a7fa.js +0 -1
- package/dist/client/_nuxt/LaunchPage.e39fe420.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.6be17436.js +0 -1
- package/dist/client/_nuxt/ModuleItem.8c304e21.js +0 -1
- package/dist/client/_nuxt/ModuleItem.vue.2d131549.js +0 -1
- package/dist/client/_nuxt/ModuleTreeNode.78ca9ece.js +0 -1
- package/dist/client/_nuxt/NButton.13233a1a.js +0 -1
- package/dist/client/_nuxt/NButton.vue.e86a98c0.js +0 -1
- package/dist/client/_nuxt/NCard.7a4e503f.js +0 -1
- package/dist/client/_nuxt/NCheckbox.2da82abb.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.f058658a.js +0 -1
- package/dist/client/_nuxt/NDarkToggle.b7397b85.js +0 -1
- package/dist/client/_nuxt/NDarkToggle.vue.104b9df7.js +0 -1
- package/dist/client/_nuxt/NDialog.ff796c22.js +0 -7
- package/dist/client/_nuxt/NDropdown.6e99be47.js +0 -1
- package/dist/client/_nuxt/NIcon.62a6a6a2.js +0 -1
- package/dist/client/_nuxt/NIcon.vue.5c5f9ae0.js +0 -1
- package/dist/client/_nuxt/NLink.f8b21877.js +0 -1
- package/dist/client/_nuxt/NLink.vue.0f719ab9.js +0 -1
- package/dist/client/_nuxt/NRadio.8c217808.js +0 -1
- package/dist/client/_nuxt/NSwitch.ea9c119a.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.a7a200ce.js +0 -1
- package/dist/client/_nuxt/NTextInput.48fb0a25.js +0 -1
- package/dist/client/_nuxt/NTextInput.vue.5d4d2524.js +0 -1
- package/dist/client/_nuxt/NTip.d9c4666f.js +0 -1
- package/dist/client/_nuxt/Notification.287365de.js +0 -1
- package/dist/client/_nuxt/Notification.vue.dd7d98d5.js +0 -1
- package/dist/client/_nuxt/NuxtContentLogo.447522e5.js +0 -1
- package/dist/client/_nuxt/NuxtExampleLayout.06f6d250.js +0 -1
- package/dist/client/_nuxt/NuxtLogo.b27dc990.js +0 -1
- package/dist/client/_nuxt/PluginItem.6a55c130.js +0 -1
- package/dist/client/_nuxt/PluginItem.vue.6e1d1965.js +0 -1
- package/dist/client/_nuxt/RoutePathItem.b209a7cb.js +0 -1
- package/dist/client/_nuxt/RoutePathItem.vue.90d1f11a.js +0 -1
- package/dist/client/_nuxt/RoutesTable.ffa3adf9.js +0 -1
- package/dist/client/_nuxt/RoutesTable.vue.1bbafbda.js +0 -1
- package/dist/client/_nuxt/SectionBlock.082cb101.css +0 -1
- package/dist/client/_nuxt/SectionBlock.2e26af4b.js +0 -1
- package/dist/client/_nuxt/Settings.a15dbb2e.js +0 -1
- package/dist/client/_nuxt/Settings.vue.f2a6e99c.js +0 -1
- package/dist/client/_nuxt/StateEditor.fd549a9f.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.ead0fa52.js +0 -1
- package/dist/client/_nuxt/StateGroup.bcb980bd.js +0 -1
- package/dist/client/_nuxt/StateGroup.vue.c133a773.js +0 -1
- package/dist/client/_nuxt/TabIcon.e55b5a67.js +0 -1
- package/dist/client/_nuxt/TabIcon.vue.adac3b56.js +0 -1
- package/dist/client/_nuxt/UnoIcon.3132b92a.js +0 -1
- package/dist/client/_nuxt/__inspecting.a43a7f80.js +0 -1
- package/dist/client/_nuxt/app.config.12fdda03.js +0 -1
- package/dist/client/_nuxt/asyncData.518fdb22.js +0 -1
- package/dist/client/_nuxt/client-only.f9d053f8.js +0 -4
- package/dist/client/_nuxt/client.210463dc.js +0 -1
- package/dist/client/_nuxt/color-mode-options.00c15dd1.js +0 -1
- package/dist/client/_nuxt/component.vue3.02eb71f6.js +0 -1
- package/dist/client/_nuxt/components.4f55e0db.js +0 -1
- package/dist/client/_nuxt/components.84a4af12.js +0 -1
- package/dist/client/_nuxt/components.client.e93eaead.js +0 -113
- package/dist/client/_nuxt/composables.2b96933d.js +0 -1
- package/dist/client/_nuxt/composables.59ebbb45.js +0 -1
- package/dist/client/_nuxt/context.c20dc632.js +0 -1
- package/dist/client/_nuxt/custom-_name_.2cdb4455.js +0 -1
- package/dist/client/_nuxt/default.585c2af8.js +0 -1
- package/dist/client/_nuxt/defu.5a7c1433.js +0 -1
- package/dist/client/_nuxt/dev-only.32de73cb.js +0 -1
- package/dist/client/_nuxt/editor.45ea8ca4.js +0 -1
- package/dist/client/_nuxt/entry.6e08c3bd.css +0 -1
- package/dist/client/_nuxt/entry.72ee2736.js +0 -1
- package/dist/client/_nuxt/error-404.bf8933d3.js +0 -1
- package/dist/client/_nuxt/error-500.fe852534.js +0 -1
- package/dist/client/_nuxt/error-component.0aa3c1f1.js +0 -3
- package/dist/client/_nuxt/error.ab352ad9.js +0 -1
- package/dist/client/_nuxt/hooks.da36eba4.js +0 -1
- package/dist/client/_nuxt/imports.05a63875.js +0 -1
- package/dist/client/_nuxt/index.bf1af76f.js +0 -1
- package/dist/client/_nuxt/index.d56af0a0.js +0 -1
- package/dist/client/_nuxt/index.e1377d3f.js +0 -1
- package/dist/client/_nuxt/index.e7819c37.js +0 -1
- package/dist/client/_nuxt/layout.f6e6e706.js +0 -1
- package/dist/client/_nuxt/layouts.ed44bf26.js +0 -1
- package/dist/client/_nuxt/middleware.42780100.js +0 -1
- package/dist/client/_nuxt/modules.58ec9d96.js +0 -1
- package/dist/client/_nuxt/none.a36fcb53.js +0 -1
- package/dist/client/_nuxt/nuxt-error-boundary.70c75848.js +0 -1
- package/dist/client/_nuxt/nuxt-link.ed65b9da.js +0 -1
- package/dist/client/_nuxt/nuxt-loading-indicator.366d3e52.js +0 -1
- package/dist/client/_nuxt/nuxt.21217109.js +0 -1
- package/dist/client/_nuxt/overview.c0a9db52.js +0 -1
- package/dist/client/_nuxt/page.fb94fd70.js +0 -1
- package/dist/client/_nuxt/pages.ca7b2f77.js +0 -1
- package/dist/client/_nuxt/payload.78a6e729.js +0 -1
- package/dist/client/_nuxt/plugins.48c9acc3.js +0 -1
- package/dist/client/_nuxt/router.96f0ba10.js +0 -1
- package/dist/client/_nuxt/rpc.2e6b297d.js +0 -1
- package/dist/client/_nuxt/runtime-configs.1c27e6f2.js +0 -1
- package/dist/client/_nuxt/runtime-core.esm-bundler.ad888d46.js +0 -1
- package/dist/client/_nuxt/runtime-dom.esm-bundler.c94e30c4.js +0 -1
- package/dist/client/_nuxt/server-placeholder.ba9b9f8a.js +0 -1
- package/dist/client/_nuxt/server-routes.de3e707e.js +0 -1
- package/dist/client/_nuxt/state.2c41a47c.js +0 -1
- package/dist/client/_nuxt/state.85e68c45.js +0 -1
- package/dist/client/_nuxt/storage.abd6f5f8.js +0 -1
- package/dist/client/_nuxt/unocss-runtime.1d429fd2.js +0 -2
- package/dist/client/_nuxt/utils.1c789938.js +0 -1
- package/dist/client/_nuxt/utils.8ee5a573.js +0 -5
- package/dist/client/_nuxt/welcome.11fc1574.js +0 -1
- package/dist/shared/devtools.38b2468f.mjs +0 -337
- package/dist/shared/devtools.cce722d0.mjs +0 -68
package/README.md
CHANGED
|
@@ -35,6 +35,8 @@ npx nuxi@latest devtools enable
|
|
|
35
35
|
|
|
36
36
|
Restart your Nuxt server and open your app in browser. Click the Nuxt icon on the bottom (or press <kbd>Alt</kbd> / <kbd>⌥ Option</kbd> + <kbd>D</kbd>) to toggle the DevTools.
|
|
37
37
|
|
|
38
|
+
> **Note**: If you using `nvm` or other Node version managers, we suggest to run the enable command again after switching Node version.
|
|
39
|
+
|
|
38
40
|
When you run `nuxi devtools enable`, Nuxt DevTools will be installed as a global module and only activated for the projects you enabled. The configuration will be saved in your local `~/.nuxtrc` file, so it doesn't affect your team unless they also opt-in.
|
|
39
41
|
|
|
40
42
|
Similarly, you can disable it per-project by running:
|
|
@@ -14,8 +14,8 @@ import require$$1 from 'http';
|
|
|
14
14
|
import require$$0$4 from 'url';
|
|
15
15
|
import * as qs from 'querystring';
|
|
16
16
|
import require$$0$5 from 'tty';
|
|
17
|
-
import
|
|
18
|
-
import { v as version } from '../shared/devtools.
|
|
17
|
+
import isInstalledGlobally from 'is-installed-globally';
|
|
18
|
+
import { v as version } from '../shared/devtools.e6742cbd.mjs';
|
|
19
19
|
import { createBirpcGroup } from 'birpc';
|
|
20
20
|
import { resolvePreset } from 'unimport';
|
|
21
21
|
import { join as join$1, dirname, resolve as resolve$1 } from 'pathe';
|
package/dist/chunks/vscode.mjs
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import require$$1$
|
|
1
|
+
import require$$1$2, { hostname } from 'os';
|
|
2
2
|
import { logger } from '@nuxt/kit';
|
|
3
3
|
import { execa } from 'execa';
|
|
4
4
|
import { createServer } from 'node:net';
|
|
5
5
|
import { networkInterfaces } from 'node:os';
|
|
6
6
|
import fs__default from 'fs';
|
|
7
|
-
import require$$
|
|
8
|
-
import require$$1 from 'util';
|
|
9
|
-
import require$$0
|
|
7
|
+
import require$$1 from 'path';
|
|
8
|
+
import require$$1$1 from 'util';
|
|
9
|
+
import require$$0 from 'url';
|
|
10
10
|
import require$$2$1 from 'https';
|
|
11
11
|
import require$$3 from 'net';
|
|
12
|
-
import require$$1$
|
|
13
|
-
import require$$0$
|
|
12
|
+
import require$$1$3 from 'http';
|
|
13
|
+
import require$$0$2 from 'stream';
|
|
14
14
|
import require$$4 from 'assert';
|
|
15
|
-
import require$$0$
|
|
16
|
-
import require$$0$
|
|
15
|
+
import require$$0$1 from 'tty';
|
|
16
|
+
import require$$0$3 from 'zlib';
|
|
17
17
|
import { L as LOG_PREFIX } from './module-main.mjs';
|
|
18
18
|
import 'buffer';
|
|
19
19
|
import 'tls';
|
|
20
20
|
import 'crypto';
|
|
21
21
|
import 'events';
|
|
22
22
|
import 'querystring';
|
|
23
|
-
import '
|
|
24
|
-
import '../shared/devtools.
|
|
25
|
-
import '../shared/devtools.b5fb0de8.mjs';
|
|
23
|
+
import 'is-installed-globally';
|
|
24
|
+
import '../shared/devtools.e6742cbd.mjs';
|
|
26
25
|
import 'birpc';
|
|
27
26
|
import 'unimport';
|
|
28
27
|
import 'pathe';
|
|
@@ -462,7 +461,7 @@ function sync (path, options) {
|
|
|
462
461
|
}
|
|
463
462
|
|
|
464
463
|
const isexe = isexe_1;
|
|
465
|
-
const { join, delimiter, sep, posix } = require$$
|
|
464
|
+
const { join, delimiter, sep, posix } = require$$1;
|
|
466
465
|
|
|
467
466
|
const isWindows = process.platform === 'win32';
|
|
468
467
|
|
|
@@ -11947,7 +11946,7 @@ var errors = {};
|
|
|
11947
11946
|
|
|
11948
11947
|
(function (exports) {
|
|
11949
11948
|
|
|
11950
|
-
const Url = require$$0
|
|
11949
|
+
const Url = require$$0;
|
|
11951
11950
|
|
|
11952
11951
|
const Errors = errors;
|
|
11953
11952
|
|
|
@@ -12072,7 +12071,7 @@ var errors = {};
|
|
|
12072
12071
|
|
|
12073
12072
|
var email = {};
|
|
12074
12073
|
|
|
12075
|
-
const Util = require$$1;
|
|
12074
|
+
const Util = require$$1$1;
|
|
12076
12075
|
|
|
12077
12076
|
const Domain = domain;
|
|
12078
12077
|
const Errors = errors;
|
|
@@ -17447,12 +17446,12 @@ var hasRequiredHasFlag;
|
|
|
17447
17446
|
function requireHasFlag () {
|
|
17448
17447
|
if (hasRequiredHasFlag) return hasFlag;
|
|
17449
17448
|
hasRequiredHasFlag = 1;
|
|
17450
|
-
|
|
17451
|
-
|
|
17449
|
+
|
|
17450
|
+
hasFlag = (flag, argv = process.argv) => {
|
|
17452
17451
|
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
|
|
17453
|
-
const
|
|
17454
|
-
const
|
|
17455
|
-
return
|
|
17452
|
+
const position = argv.indexOf(prefix + flag);
|
|
17453
|
+
const terminatorPosition = argv.indexOf('--');
|
|
17454
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
17456
17455
|
};
|
|
17457
17456
|
return hasFlag;
|
|
17458
17457
|
}
|
|
@@ -17463,24 +17462,33 @@ var hasRequiredSupportsColor;
|
|
|
17463
17462
|
function requireSupportsColor () {
|
|
17464
17463
|
if (hasRequiredSupportsColor) return supportsColor_1;
|
|
17465
17464
|
hasRequiredSupportsColor = 1;
|
|
17466
|
-
const os = require$$1$
|
|
17465
|
+
const os = require$$1$2;
|
|
17466
|
+
const tty = require$$0$1;
|
|
17467
17467
|
const hasFlag = requireHasFlag();
|
|
17468
17468
|
|
|
17469
|
-
const env = process
|
|
17469
|
+
const {env} = process;
|
|
17470
17470
|
|
|
17471
17471
|
let forceColor;
|
|
17472
17472
|
if (hasFlag('no-color') ||
|
|
17473
17473
|
hasFlag('no-colors') ||
|
|
17474
|
-
hasFlag('color=false')
|
|
17475
|
-
|
|
17474
|
+
hasFlag('color=false') ||
|
|
17475
|
+
hasFlag('color=never')) {
|
|
17476
|
+
forceColor = 0;
|
|
17476
17477
|
} else if (hasFlag('color') ||
|
|
17477
17478
|
hasFlag('colors') ||
|
|
17478
17479
|
hasFlag('color=true') ||
|
|
17479
17480
|
hasFlag('color=always')) {
|
|
17480
|
-
forceColor =
|
|
17481
|
+
forceColor = 1;
|
|
17481
17482
|
}
|
|
17483
|
+
|
|
17482
17484
|
if ('FORCE_COLOR' in env) {
|
|
17483
|
-
|
|
17485
|
+
if (env.FORCE_COLOR === 'true') {
|
|
17486
|
+
forceColor = 1;
|
|
17487
|
+
} else if (env.FORCE_COLOR === 'false') {
|
|
17488
|
+
forceColor = 0;
|
|
17489
|
+
} else {
|
|
17490
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
17491
|
+
}
|
|
17484
17492
|
}
|
|
17485
17493
|
|
|
17486
17494
|
function translateLevel(level) {
|
|
@@ -17496,8 +17504,8 @@ function requireSupportsColor () {
|
|
|
17496
17504
|
};
|
|
17497
17505
|
}
|
|
17498
17506
|
|
|
17499
|
-
function supportsColor(
|
|
17500
|
-
if (forceColor ===
|
|
17507
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
17508
|
+
if (forceColor === 0) {
|
|
17501
17509
|
return 0;
|
|
17502
17510
|
}
|
|
17503
17511
|
|
|
@@ -17511,22 +17519,21 @@ function requireSupportsColor () {
|
|
|
17511
17519
|
return 2;
|
|
17512
17520
|
}
|
|
17513
17521
|
|
|
17514
|
-
if (
|
|
17522
|
+
if (haveStream && !streamIsTTY && forceColor === undefined) {
|
|
17515
17523
|
return 0;
|
|
17516
17524
|
}
|
|
17517
17525
|
|
|
17518
|
-
const min = forceColor
|
|
17526
|
+
const min = forceColor || 0;
|
|
17527
|
+
|
|
17528
|
+
if (env.TERM === 'dumb') {
|
|
17529
|
+
return min;
|
|
17530
|
+
}
|
|
17519
17531
|
|
|
17520
17532
|
if (process.platform === 'win32') {
|
|
17521
|
-
//
|
|
17522
|
-
//
|
|
17523
|
-
// won't work. However, here we target Node.js 8 at minimum as it is an LTS
|
|
17524
|
-
// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows
|
|
17525
|
-
// release that supports 256 colors. Windows 10 build 14931 is the first release
|
|
17526
|
-
// that supports 16m/TrueColor.
|
|
17533
|
+
// Windows 10 build 10586 is the first Windows release that supports 256 colors.
|
|
17534
|
+
// Windows 10 build 14931 is the first release that supports 16m/TrueColor.
|
|
17527
17535
|
const osRelease = os.release().split('.');
|
|
17528
17536
|
if (
|
|
17529
|
-
Number(process.versions.node.split('.')[0]) >= 8 &&
|
|
17530
17537
|
Number(osRelease[0]) >= 10 &&
|
|
17531
17538
|
Number(osRelease[2]) >= 10586
|
|
17532
17539
|
) {
|
|
@@ -17537,7 +17544,7 @@ function requireSupportsColor () {
|
|
|
17537
17544
|
}
|
|
17538
17545
|
|
|
17539
17546
|
if ('CI' in env) {
|
|
17540
|
-
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
17547
|
+
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
17541
17548
|
return 1;
|
|
17542
17549
|
}
|
|
17543
17550
|
|
|
@@ -17576,22 +17583,18 @@ function requireSupportsColor () {
|
|
|
17576
17583
|
return 1;
|
|
17577
17584
|
}
|
|
17578
17585
|
|
|
17579
|
-
if (env.TERM === 'dumb') {
|
|
17580
|
-
return min;
|
|
17581
|
-
}
|
|
17582
|
-
|
|
17583
17586
|
return min;
|
|
17584
17587
|
}
|
|
17585
17588
|
|
|
17586
17589
|
function getSupportLevel(stream) {
|
|
17587
|
-
const level = supportsColor(stream);
|
|
17590
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
17588
17591
|
return translateLevel(level);
|
|
17589
17592
|
}
|
|
17590
17593
|
|
|
17591
17594
|
supportsColor_1 = {
|
|
17592
17595
|
supportsColor: getSupportLevel,
|
|
17593
|
-
stdout:
|
|
17594
|
-
stderr:
|
|
17596
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
17597
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
17595
17598
|
};
|
|
17596
17599
|
return supportsColor_1;
|
|
17597
17600
|
}
|
|
@@ -17606,8 +17609,8 @@ function requireNode () {
|
|
|
17606
17609
|
if (hasRequiredNode) return nodeExports;
|
|
17607
17610
|
hasRequiredNode = 1;
|
|
17608
17611
|
(function (module, exports) {
|
|
17609
|
-
const tty = require$$0$
|
|
17610
|
-
const util = require$$1;
|
|
17612
|
+
const tty = require$$0$1;
|
|
17613
|
+
const util = require$$1$1;
|
|
17611
17614
|
|
|
17612
17615
|
/**
|
|
17613
17616
|
* This is the Node.js implementation of `debug()`.
|
|
@@ -17905,11 +17908,11 @@ var debug_1 = function () {
|
|
|
17905
17908
|
debug$1.apply(null, arguments);
|
|
17906
17909
|
};
|
|
17907
17910
|
|
|
17908
|
-
var url$1 = require$$0
|
|
17911
|
+
var url$1 = require$$0;
|
|
17909
17912
|
var URL$1 = url$1.URL;
|
|
17910
|
-
var http$1 = require$$1$
|
|
17913
|
+
var http$1 = require$$1$3;
|
|
17911
17914
|
var https$2 = require$$2$1;
|
|
17912
|
-
var Writable = require$$0$
|
|
17915
|
+
var Writable = require$$0$2.Writable;
|
|
17913
17916
|
var assert = require$$4;
|
|
17914
17917
|
var debug = debug_1;
|
|
17915
17918
|
|
|
@@ -18535,12 +18538,12 @@ var utils$6 = utils$c;
|
|
|
18535
18538
|
var settle = settle$1;
|
|
18536
18539
|
var buildFullPath$1 = buildFullPath$2;
|
|
18537
18540
|
var buildURL$1 = buildURL$2;
|
|
18538
|
-
var http = require$$1$
|
|
18541
|
+
var http = require$$1$3;
|
|
18539
18542
|
var https$1 = require$$2$1;
|
|
18540
18543
|
var httpFollow = followRedirectsExports.http;
|
|
18541
18544
|
var httpsFollow = followRedirectsExports.https;
|
|
18542
|
-
var url = require$$0
|
|
18543
|
-
var zlib = require$$0$
|
|
18545
|
+
var url = require$$0;
|
|
18546
|
+
var zlib = require$$0$3;
|
|
18544
18547
|
var VERSION$1 = data.version;
|
|
18545
18548
|
var transitionalDefaults$1 = transitional;
|
|
18546
18549
|
var AxiosError$2 = AxiosError_1;
|
|
@@ -18964,8 +18967,8 @@ var hasRequiredDelayed_stream;
|
|
|
18964
18967
|
function requireDelayed_stream () {
|
|
18965
18968
|
if (hasRequiredDelayed_stream) return delayed_stream;
|
|
18966
18969
|
hasRequiredDelayed_stream = 1;
|
|
18967
|
-
var Stream = require$$0$
|
|
18968
|
-
var util = require$$1;
|
|
18970
|
+
var Stream = require$$0$2.Stream;
|
|
18971
|
+
var util = require$$1$1;
|
|
18969
18972
|
|
|
18970
18973
|
delayed_stream = DelayedStream;
|
|
18971
18974
|
function DelayedStream() {
|
|
@@ -19080,8 +19083,8 @@ var hasRequiredCombined_stream;
|
|
|
19080
19083
|
function requireCombined_stream () {
|
|
19081
19084
|
if (hasRequiredCombined_stream) return combined_stream;
|
|
19082
19085
|
hasRequiredCombined_stream = 1;
|
|
19083
|
-
var util = require$$1;
|
|
19084
|
-
var Stream = require$$0$
|
|
19086
|
+
var util = require$$1$1;
|
|
19087
|
+
var Stream = require$$0$2.Stream;
|
|
19085
19088
|
var DelayedStream = requireDelayed_stream();
|
|
19086
19089
|
|
|
19087
19090
|
combined_stream = CombinedStream;
|
|
@@ -30052,7 +30055,7 @@ function requireMimeTypes () {
|
|
|
30052
30055
|
*/
|
|
30053
30056
|
|
|
30054
30057
|
var db = requireMimeDb();
|
|
30055
|
-
var extname = require$$
|
|
30058
|
+
var extname = require$$1.extname;
|
|
30056
30059
|
|
|
30057
30060
|
/**
|
|
30058
30061
|
* Module variables.
|
|
@@ -30721,13 +30724,13 @@ function requireForm_data () {
|
|
|
30721
30724
|
if (hasRequiredForm_data) return form_data;
|
|
30722
30725
|
hasRequiredForm_data = 1;
|
|
30723
30726
|
var CombinedStream = requireCombined_stream();
|
|
30724
|
-
var util = require$$1;
|
|
30725
|
-
var path = require$$
|
|
30726
|
-
var http = require$$1$
|
|
30727
|
+
var util = require$$1$1;
|
|
30728
|
+
var path = require$$1;
|
|
30729
|
+
var http = require$$1$3;
|
|
30727
30730
|
var https = require$$2$1;
|
|
30728
|
-
var parseUrl = require$$0
|
|
30731
|
+
var parseUrl = require$$0.parse;
|
|
30729
30732
|
var fs = fs__default;
|
|
30730
|
-
var Stream = require$$0$
|
|
30733
|
+
var Stream = require$$0$2.Stream;
|
|
30731
30734
|
var mime = requireMimeTypes();
|
|
30732
30735
|
var asynckit = requireAsynckit();
|
|
30733
30736
|
var populate = requirePopulate();
|
|
@@ -41164,11 +41167,11 @@ race$1.race = race;
|
|
|
41164
41167
|
} (operators));
|
|
41165
41168
|
|
|
41166
41169
|
const fs = fs__default;
|
|
41167
|
-
const { promisify } = require$$1;
|
|
41170
|
+
const { promisify } = require$$1$1;
|
|
41168
41171
|
const Joi = requireLib();
|
|
41169
41172
|
const https = require$$2$1;
|
|
41170
41173
|
const net = require$$3;
|
|
41171
|
-
const util = require$$1;
|
|
41174
|
+
const util = require$$1$1;
|
|
41172
41175
|
const axiosPkg = axiosExports$1.default;
|
|
41173
41176
|
const axiosHttpAdapter = http_1;
|
|
41174
41177
|
const { isBoolean, isEmpty, negate, noop, once, partial, pick, zip } = fp;
|