dinou 9.3.0 → 10.0.1
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/CHANGELOG.md +196 -0
- package/README.md +157 -132
- package/dinou/adapters/bun.js +34 -5
- package/dinou/adapters/cloudflare.js +110 -17
- package/dinou/adapters/deno.js +46 -8
- package/dinou/adapters/netlify.js +86 -50
- package/dinou/adapters/node.js +8 -0
- package/dinou/assets.d.ts +32 -5
- package/dinou/bun/build.js +190 -106
- package/dinou/cli.js +992 -532
- package/dinou/cloudflare/build.js +187 -106
- package/dinou/compiled/autoprefixer/index.js +509 -517
- package/dinou/compiled/babel-core/index.js +738 -716
- package/dinou/compiled/babel-generator/index.js +341 -299
- package/dinou/compiled/babel-loader/index.js +766 -744
- package/dinou/compiled/babel-parser/index.js +2 -2
- package/dinou/compiled/babel-plugin-react-compiler/index.js +178 -178
- package/dinou/compiled/babel-plugin-syntax-import-meta/index.js +4 -4
- package/dinou/compiled/babel-preset-react/index.js +752 -730
- package/dinou/compiled/babel-preset-typescript/index.js +738 -716
- package/dinou/compiled/babel-traverse/index.js +463 -433
- package/dinou/compiled/babel-types/index.js +176 -176
- package/dinou/compiled/chokidar/index.js +4 -4
- package/dinou/compiled/commander/index.js +15 -15
- package/dinou/compiled/copy-webpack-plugin/index.js +433 -425
- package/dinou/compiled/css-loader/index.js +289 -289
- package/dinou/compiled/css-loader/runtime/api.js +85 -0
- package/dinou/compiled/css-loader/runtime/getUrl.js +26 -0
- package/dinou/compiled/css-loader/runtime/noSourceMaps.js +5 -0
- package/dinou/compiled/css-loader/runtime/package.json +3 -0
- package/dinou/compiled/css-loader/runtime/sourceMaps.js +16 -0
- package/dinou/compiled/fast-glob/index.js +5810 -0
- package/dinou/compiled/generic-names/index.js +16 -16
- package/dinou/compiled/mini-css-extract-plugin/{chunk-YYEJWYXE.js → chunk-R6DP5ZYM.js} +36 -36
- package/dinou/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js +253 -0
- package/dinou/compiled/mini-css-extract-plugin/hmr/normalize-url.js +39 -0
- package/dinou/compiled/mini-css-extract-plugin/hmr/package.json +3 -0
- package/dinou/compiled/mini-css-extract-plugin/index.js +1 -1
- package/dinou/compiled/mini-css-extract-plugin/loader.js +5 -5
- package/dinou/compiled/postcss/index.js +83 -83
- package/dinou/compiled/postcss-import/index.js +147 -117
- package/dinou/compiled/postcss-modules/index.js +216 -216
- package/dinou/compiled/resolve/index.js +1224 -0
- package/dinou/compiled/rollup-plugin-babel/index.js +753 -731
- package/dinou/compiled/rollup-plugin-commonjs/index.js +43 -38
- package/dinou/compiled/rollup-plugin-delete/index.js +615 -253
- package/dinou/compiled/rollup-plugin-json/index.js +22 -18
- package/dinou/compiled/rollup-plugin-node-resolve/index.js +130 -100
- package/dinou/compiled/rollup-plugin-postcss/index.js +3299 -3277
- package/dinou/compiled/rollup-plugin-replace/index.js +34 -29
- package/dinou/compiled/tailwindcss-postcss/index.js +214 -211
- package/dinou/compiled/vendors-manifest.json +59 -83
- package/dinou/core/asset-extensions.js +482 -33
- package/dinou/core/bailout-proxy.js +21 -2
- package/dinou/core/build-static-pages.js +523 -371
- package/dinou/core/builtin-asset-extensions.js +63 -0
- package/dinou/core/cache-revalidate.js +449 -256
- package/dinou/core/cache-slot.js +289 -79
- package/dinou/core/client-webpack.jsx +470 -39
- package/dinou/core/client.jsx +402 -39
- package/dinou/core/config.js +3 -0
- package/dinou/core/copy-static-dirs.js +98 -0
- package/dinou/core/createScopedName.js +22 -4
- package/dinou/core/dinou-paths.js +1 -1
- package/dinou/core/discover-layouts.js +200 -0
- package/dinou/core/edge-ssr.js +1 -1
- package/dinou/core/ensure-vendor-mode.js +78 -19
- package/dinou/core/env.js +544 -0
- package/dinou/core/export-static.js +41 -9
- package/dinou/core/generate-route-types.js +989 -95
- package/dinou/core/generate-static-rsc.js +5 -6
- package/dinou/core/generate-static.js +45 -6
- package/dinou/core/get-abs-path-with-ext.js +217 -75
- package/dinou/core/get-asset-from-manifest.js +19 -8
- package/dinou/core/get-error-jsx.js +4 -5
- package/dinou/core/get-file-path-and-dynamic-params.js +561 -338
- package/dinou/core/get-jsx.js +220 -53
- package/dinou/core/handler.js +1647 -466
- package/dinou/core/import-module.js +7 -0
- package/dinou/core/layout-functions.js +72 -13
- package/dinou/core/link.jsx +34 -6
- package/dinou/core/load-dinou-config.js +520 -89
- package/dinou/core/manifest-provider.js +4 -14
- package/dinou/core/navigation-utils.js +141 -3
- package/dinou/core/navigation.js +134 -50
- package/dinou/core/node-middleware-runner.js +165 -0
- package/dinou/core/postcss-pipeline.js +236 -0
- package/dinou/core/ppr-context.js +114 -22
- package/dinou/core/ppr-runtime.js +391 -127
- package/dinou/core/redirect.jsx +1 -1
- package/dinou/core/render-jsx-to-client-jsx.js +216 -48
- package/dinou/core/request-context.js +59 -3
- package/dinou/core/resolve-contextual-dinou.js +523 -0
- package/dinou/core/resolve-setup-files.js +85 -27
- package/dinou/core/revalidating.js +10 -2
- package/dinou/core/route-generator.js +6 -2
- package/dinou/core/rsc-renderer.js +4 -1
- package/dinou/core/run-ssg.js +6 -0
- package/dinou/core/runtime-env.js +265 -0
- package/dinou/core/server-css-modules-plugin.js +155 -0
- package/dinou/core/server-function-proxy-webpack.js +27 -2
- package/dinou/core/server-function-proxy.js +27 -2
- package/dinou/core/slot.js +47 -2
- package/dinou/core/static-assets.js +503 -0
- package/dinou/core/storage-adapter.js +452 -24
- package/dinou/core/transform-server-functions.js +272 -24
- package/dinou/core/tsconfig-aliases.js +964 -0
- package/dinou/core/uneject.js +640 -0
- package/dinou/core/url-resolver.js +1 -1
- package/dinou/core/vfs.js +11 -2
- package/dinou/css.d.ts +4 -1
- package/dinou/deno/build.js +205 -153
- package/dinou/deno/seed-kv.js +4 -0
- package/dinou/env.d.ts +22 -2
- package/dinou/esbuild/build.js +40 -50
- package/dinou/esbuild/dev.js +33 -7
- package/dinou/esbuild/helpers-esbuild/get-config-esbuild-prod.js +41 -16
- package/dinou/esbuild/helpers-esbuild/get-config-esbuild.js +51 -49
- package/dinou/esbuild/helpers-esbuild/get-esbuild-entries.js +73 -60
- package/dinou/esbuild/helpers-esbuild/swc-disk-cache.js +35 -16
- package/dinou/esbuild/helpers-esbuild/write.js +13 -3
- package/dinou/esbuild/plugins-esbuild/assets-plugin.js +100 -238
- package/dinou/esbuild/plugins-esbuild/babel-react-compiler-plugin.js +73 -29
- package/dinou/esbuild/plugins-esbuild/css-processor-plugin.js +283 -91
- package/dinou/esbuild/plugins-esbuild/manifest-generator-plugin.js +3 -5
- package/dinou/esbuild/plugins-esbuild/react-client-manifest-plugin.js +9 -3
- package/dinou/esbuild/plugins-esbuild/server-functions-plugin.js +4 -3
- package/dinou/esbuild/plugins-esbuild/stable-chunk-names-and-maps-plugin.js +10 -1
- package/dinou/esbuild/plugins-postcss/postcss-extract-plugin.js +84 -21
- package/dinou/esbuild/react-refresh/esm-hmr/client.js +31 -10
- package/dinou/esbuild/react-refresh/esm-hmr-plugin.js +48 -18
- package/dinou/esbuild/react-refresh/is-react-refresh-boundary.js +9 -1
- package/dinou/esbuild/react-refresh/react-refresh-runtime.js +13 -7
- package/dinou/index.d.ts +1028 -88
- package/dinou/node/build.js +138 -74
- package/dinou/node/bundle-dual-engine.js +393 -131
- package/dinou/node/dev.js +1005 -275
- package/dinou/package.json +11 -34
- package/dinou/rollup/postcss.config.js +3 -4
- package/dinou/rollup/react-refresh/esm-hmr/client.js +31 -10
- package/dinou/rollup/react-refresh/react-refresh-wrap-modules.js +16 -13
- package/dinou/rollup/react-refresh/rollup-plugin-esm-hmr.js +53 -7
- package/dinou/rollup/rollup-plugins/dinou-asset-plugin.js +58 -20
- package/dinou/rollup/rollup-plugins/manifest-generator-plugin.js +16 -7
- package/dinou/rollup/rollup-plugins/rollup-plugin-react-client-manifest.js +118 -42
- package/dinou/rollup/rollup-plugins/rollup-plugin-server-functions.js +48 -36
- package/dinou/rollup/rollup.config.js +174 -101
- package/dinou/scripts/build-vendors.js +123 -33
- package/dinou/server.d.ts +126 -15
- package/dinou/webpack/helpers/get-webpack-entries.js +87 -41
- package/dinou/webpack/helpers/patch-webpack-internals.js +93 -1
- package/dinou/webpack/loaders/server-functions-loader.js +1 -1
- package/dinou/webpack/plugins/manifest-generator-plugin.js +27 -7
- package/dinou/webpack/plugins/server-functions-plugin.js +39 -12
- package/dinou/webpack/plugins/webpack-memory-plugin.js +25 -12
- package/dinou/webpack/postcss.config.js +3 -4
- package/dinou/webpack/webpack.config.js +408 -132
- package/eject.js +6 -224
- package/package.json +7 -9
- package/dinou/compiled/cross-env/index.js +0 -661
- package/dinou/compiled/dotenv/index.js +0 -375
- package/dinou/compiled/esbuild-copy-static-files/index.js +0 -63
- package/dinou/compiled/esbuild-tsconfig-paths/index.js +0 -1314
- package/dinou/compiled/rollup-plugin-copy/index.js +0 -12066
- package/dinou/compiled/rollup-plugin-tsconfig-paths/index.js +0 -569
- package/dinou/compiled/tsconfig-paths-webpack-plugin/index.js +0 -3956
|
@@ -15,9 +15,9 @@ var __commonJS = (cb, mod) => function __require2() {
|
|
|
15
15
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
//
|
|
18
|
+
// node_modules/postcss-import/lib/format-import-prelude.js
|
|
19
19
|
var require_format_import_prelude = __commonJS({
|
|
20
|
-
"
|
|
20
|
+
"node_modules/postcss-import/lib/format-import-prelude.js"(exports, module) {
|
|
21
21
|
"use strict";
|
|
22
22
|
module.exports = function formatImportPrelude(layer, media, supports) {
|
|
23
23
|
const parts = [];
|
|
@@ -39,9 +39,9 @@ var require_format_import_prelude = __commonJS({
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
//
|
|
42
|
+
// node_modules/postcss-import/lib/base64-encoded-import.js
|
|
43
43
|
var require_base64_encoded_import = __commonJS({
|
|
44
|
-
"
|
|
44
|
+
"node_modules/postcss-import/lib/base64-encoded-import.js"(exports, module) {
|
|
45
45
|
"use strict";
|
|
46
46
|
var formatImportPrelude = require_format_import_prelude();
|
|
47
47
|
module.exports = function base64EncodedConditionalImport(prelude, conditions) {
|
|
@@ -67,9 +67,9 @@ var require_base64_encoded_import = __commonJS({
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
//
|
|
70
|
+
// node_modules/postcss-import/lib/apply-conditions.js
|
|
71
71
|
var require_apply_conditions = __commonJS({
|
|
72
|
-
"
|
|
72
|
+
"node_modules/postcss-import/lib/apply-conditions.js"(exports, module) {
|
|
73
73
|
"use strict";
|
|
74
74
|
var base64EncodedConditionalImport = require_base64_encoded_import();
|
|
75
75
|
module.exports = function applyConditions(bundle, atRule) {
|
|
@@ -161,9 +161,9 @@ var require_apply_conditions = __commonJS({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
//
|
|
164
|
+
// node_modules/postcss-import/lib/apply-raws.js
|
|
165
165
|
var require_apply_raws = __commonJS({
|
|
166
|
-
"
|
|
166
|
+
"node_modules/postcss-import/lib/apply-raws.js"(exports, module) {
|
|
167
167
|
"use strict";
|
|
168
168
|
module.exports = function applyRaws(bundle) {
|
|
169
169
|
bundle.forEach((stmt, index) => {
|
|
@@ -175,9 +175,9 @@ var require_apply_raws = __commonJS({
|
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
//
|
|
178
|
+
// node_modules/postcss-import/lib/apply-styles.js
|
|
179
179
|
var require_apply_styles = __commonJS({
|
|
180
|
-
"
|
|
180
|
+
"node_modules/postcss-import/lib/apply-styles.js"(exports, module) {
|
|
181
181
|
"use strict";
|
|
182
182
|
module.exports = function applyStyles(bundle, styles) {
|
|
183
183
|
styles.nodes = [];
|
|
@@ -196,9 +196,9 @@ var require_apply_styles = __commonJS({
|
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
|
|
199
|
-
//
|
|
199
|
+
// node_modules/read-cache/index.js
|
|
200
200
|
var require_read_cache = __commonJS({
|
|
201
|
-
"
|
|
201
|
+
"node_modules/read-cache/index.js"(exports, module) {
|
|
202
202
|
var fs = __require("fs");
|
|
203
203
|
var path = __require("path");
|
|
204
204
|
var resolve = path.resolve;
|
|
@@ -282,9 +282,9 @@ var require_read_cache = __commonJS({
|
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
284
|
|
|
285
|
-
//
|
|
285
|
+
// node_modules/postcss-import/lib/data-url.js
|
|
286
286
|
var require_data_url = __commonJS({
|
|
287
|
-
"
|
|
287
|
+
"node_modules/postcss-import/lib/data-url.js"(exports, module) {
|
|
288
288
|
"use strict";
|
|
289
289
|
var anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i;
|
|
290
290
|
var base64DataURLRegexp = /^data:text\/css;base64,/i;
|
|
@@ -308,9 +308,9 @@ var require_data_url = __commonJS({
|
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
310
|
|
|
311
|
-
//
|
|
311
|
+
// node_modules/postcss-import/lib/load-content.js
|
|
312
312
|
var require_load_content = __commonJS({
|
|
313
|
-
"
|
|
313
|
+
"node_modules/postcss-import/lib/load-content.js"(exports, module) {
|
|
314
314
|
"use strict";
|
|
315
315
|
var readCache = require_read_cache();
|
|
316
316
|
var dataURL = require_data_url();
|
|
@@ -323,9 +323,9 @@ var require_load_content = __commonJS({
|
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
//
|
|
326
|
+
// node_modules/postcss-value-parser/lib/parse.js
|
|
327
327
|
var require_parse = __commonJS({
|
|
328
|
-
"
|
|
328
|
+
"node_modules/postcss-value-parser/lib/parse.js"(exports, module) {
|
|
329
329
|
var openParentheses = "(".charCodeAt(0);
|
|
330
330
|
var closeParentheses = ")".charCodeAt(0);
|
|
331
331
|
var singleQuote = "'".charCodeAt(0);
|
|
@@ -573,9 +573,9 @@ var require_parse = __commonJS({
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
//
|
|
576
|
+
// node_modules/postcss-value-parser/lib/walk.js
|
|
577
577
|
var require_walk = __commonJS({
|
|
578
|
-
"
|
|
578
|
+
"node_modules/postcss-value-parser/lib/walk.js"(exports, module) {
|
|
579
579
|
module.exports = function walk(nodes, cb, bubble) {
|
|
580
580
|
var i, max, node, result;
|
|
581
581
|
for (i = 0, max = nodes.length; i < max; i += 1) {
|
|
@@ -594,9 +594,9 @@ var require_walk = __commonJS({
|
|
|
594
594
|
}
|
|
595
595
|
});
|
|
596
596
|
|
|
597
|
-
//
|
|
597
|
+
// node_modules/postcss-value-parser/lib/stringify.js
|
|
598
598
|
var require_stringify = __commonJS({
|
|
599
|
-
"
|
|
599
|
+
"node_modules/postcss-value-parser/lib/stringify.js"(exports, module) {
|
|
600
600
|
function stringifyNode(node, custom) {
|
|
601
601
|
var type = node.type;
|
|
602
602
|
var value = node.value;
|
|
@@ -637,9 +637,9 @@ var require_stringify = __commonJS({
|
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
|
|
640
|
-
//
|
|
640
|
+
// node_modules/postcss-value-parser/lib/unit.js
|
|
641
641
|
var require_unit = __commonJS({
|
|
642
|
-
"
|
|
642
|
+
"node_modules/postcss-value-parser/lib/unit.js"(exports, module) {
|
|
643
643
|
var minus = "-".charCodeAt(0);
|
|
644
644
|
var plus = "+".charCodeAt(0);
|
|
645
645
|
var dot = ".".charCodeAt(0);
|
|
@@ -724,9 +724,9 @@ var require_unit = __commonJS({
|
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
726
|
|
|
727
|
-
//
|
|
727
|
+
// node_modules/postcss-value-parser/lib/index.js
|
|
728
728
|
var require_lib = __commonJS({
|
|
729
|
-
"
|
|
729
|
+
"node_modules/postcss-value-parser/lib/index.js"(exports, module) {
|
|
730
730
|
var parse = require_parse();
|
|
731
731
|
var walk = require_walk();
|
|
732
732
|
var stringify = require_stringify();
|
|
@@ -751,9 +751,9 @@ var require_lib = __commonJS({
|
|
|
751
751
|
}
|
|
752
752
|
});
|
|
753
753
|
|
|
754
|
-
//
|
|
754
|
+
// node_modules/postcss-import/lib/parse-statements.js
|
|
755
755
|
var require_parse_statements = __commonJS({
|
|
756
|
-
"
|
|
756
|
+
"node_modules/postcss-import/lib/parse-statements.js"(exports, module) {
|
|
757
757
|
"use strict";
|
|
758
758
|
var valueParser = require_lib();
|
|
759
759
|
var { stringify } = valueParser;
|
|
@@ -949,9 +949,9 @@ var require_parse_statements = __commonJS({
|
|
|
949
949
|
}
|
|
950
950
|
});
|
|
951
951
|
|
|
952
|
-
//
|
|
952
|
+
// node_modules/postcss-import/lib/process-content.js
|
|
953
953
|
var require_process_content = __commonJS({
|
|
954
|
-
"
|
|
954
|
+
"node_modules/postcss-import/lib/process-content.js"(exports, module) {
|
|
955
955
|
"use strict";
|
|
956
956
|
var path = __require("path");
|
|
957
957
|
var sugarss;
|
|
@@ -990,16 +990,16 @@ var require_process_content = __commonJS({
|
|
|
990
990
|
}
|
|
991
991
|
});
|
|
992
992
|
|
|
993
|
-
//
|
|
993
|
+
// node_modules/resolve/lib/homedir.js
|
|
994
994
|
var require_homedir = __commonJS({
|
|
995
|
-
"
|
|
995
|
+
"node_modules/resolve/lib/homedir.js"(exports, module) {
|
|
996
996
|
"use strict";
|
|
997
997
|
var os = __require("os");
|
|
998
998
|
module.exports = os.homedir || function homedir() {
|
|
999
999
|
var home = process.env.HOME;
|
|
1000
1000
|
var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;
|
|
1001
1001
|
if (process.platform === "win32") {
|
|
1002
|
-
return process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || home || null;
|
|
1002
|
+
return process.env.USERPROFILE || process.env.HOMEDRIVE && process.env.HOMEPATH && process.env.HOMEDRIVE + process.env.HOMEPATH || home || null;
|
|
1003
1003
|
}
|
|
1004
1004
|
if (process.platform === "darwin") {
|
|
1005
1005
|
return home || (user ? "/Users/" + user : null);
|
|
@@ -1012,24 +1012,34 @@ var require_homedir = __commonJS({
|
|
|
1012
1012
|
}
|
|
1013
1013
|
});
|
|
1014
1014
|
|
|
1015
|
-
//
|
|
1015
|
+
// node_modules/es-errors/index.js
|
|
1016
|
+
var require_es_errors = __commonJS({
|
|
1017
|
+
"node_modules/es-errors/index.js"(exports, module) {
|
|
1018
|
+
"use strict";
|
|
1019
|
+
module.exports = Error;
|
|
1020
|
+
}
|
|
1021
|
+
});
|
|
1022
|
+
|
|
1023
|
+
// node_modules/resolve/lib/caller.js
|
|
1016
1024
|
var require_caller = __commonJS({
|
|
1017
|
-
"
|
|
1025
|
+
"node_modules/resolve/lib/caller.js"(exports, module) {
|
|
1026
|
+
"use strict";
|
|
1027
|
+
var $Error = require_es_errors();
|
|
1018
1028
|
module.exports = function() {
|
|
1019
|
-
var origPrepareStackTrace = Error.prepareStackTrace;
|
|
1020
|
-
Error.prepareStackTrace = function(_, stack2) {
|
|
1029
|
+
var origPrepareStackTrace = $Error.prepareStackTrace;
|
|
1030
|
+
$Error.prepareStackTrace = function(_, stack2) {
|
|
1021
1031
|
return stack2;
|
|
1022
1032
|
};
|
|
1023
|
-
var stack = new Error().stack;
|
|
1024
|
-
Error.prepareStackTrace = origPrepareStackTrace;
|
|
1033
|
+
var stack = new $Error().stack;
|
|
1034
|
+
$Error.prepareStackTrace = origPrepareStackTrace;
|
|
1025
1035
|
return stack[2].getFileName();
|
|
1026
1036
|
};
|
|
1027
1037
|
}
|
|
1028
1038
|
});
|
|
1029
1039
|
|
|
1030
|
-
//
|
|
1040
|
+
// node_modules/path-parse/index.js
|
|
1031
1041
|
var require_path_parse = __commonJS({
|
|
1032
|
-
"
|
|
1042
|
+
"node_modules/path-parse/index.js"(exports, module) {
|
|
1033
1043
|
"use strict";
|
|
1034
1044
|
var isWindows = process.platform === "win32";
|
|
1035
1045
|
var splitWindowsRe = /^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;
|
|
@@ -1087,14 +1097,14 @@ var require_path_parse = __commonJS({
|
|
|
1087
1097
|
}
|
|
1088
1098
|
});
|
|
1089
1099
|
|
|
1090
|
-
//
|
|
1100
|
+
// node_modules/resolve/lib/node-modules-paths.js
|
|
1091
1101
|
var require_node_modules_paths = __commonJS({
|
|
1092
|
-
"
|
|
1102
|
+
"node_modules/resolve/lib/node-modules-paths.js"(exports, module) {
|
|
1093
1103
|
var path = __require("path");
|
|
1094
1104
|
var parse = path.parse || require_path_parse();
|
|
1095
1105
|
var driveLetterRegex = /^([A-Za-z]:)/;
|
|
1096
1106
|
var uncPathRegex = /^\\\\/;
|
|
1097
|
-
|
|
1107
|
+
function getNodeModulesDirs(absoluteStart, modules) {
|
|
1098
1108
|
var prefix = "/";
|
|
1099
1109
|
if (driveLetterRegex.test(absoluteStart)) {
|
|
1100
1110
|
prefix = "";
|
|
@@ -1112,7 +1122,7 @@ var require_node_modules_paths = __commonJS({
|
|
|
1112
1122
|
return path.resolve(prefix, aPath, moduleDir);
|
|
1113
1123
|
}));
|
|
1114
1124
|
}, []);
|
|
1115
|
-
}
|
|
1125
|
+
}
|
|
1116
1126
|
module.exports = function nodeModulesPaths(start, opts, request) {
|
|
1117
1127
|
var modules = opts && opts.moduleDirectory ? [].concat(opts.moduleDirectory) : ["node_modules"];
|
|
1118
1128
|
if (opts && typeof opts.paths === "function") {
|
|
@@ -1131,18 +1141,18 @@ var require_node_modules_paths = __commonJS({
|
|
|
1131
1141
|
}
|
|
1132
1142
|
});
|
|
1133
1143
|
|
|
1134
|
-
//
|
|
1144
|
+
// node_modules/resolve/lib/normalize-options.js
|
|
1135
1145
|
var require_normalize_options = __commonJS({
|
|
1136
|
-
"
|
|
1146
|
+
"node_modules/resolve/lib/normalize-options.js"(exports, module) {
|
|
1137
1147
|
module.exports = function(x, opts) {
|
|
1138
1148
|
return opts || {};
|
|
1139
1149
|
};
|
|
1140
1150
|
}
|
|
1141
1151
|
});
|
|
1142
1152
|
|
|
1143
|
-
//
|
|
1153
|
+
// node_modules/function-bind/implementation.js
|
|
1144
1154
|
var require_implementation = __commonJS({
|
|
1145
|
-
"
|
|
1155
|
+
"node_modules/function-bind/implementation.js"(exports, module) {
|
|
1146
1156
|
"use strict";
|
|
1147
1157
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
1148
1158
|
var toStr = Object.prototype.toString;
|
|
@@ -1216,18 +1226,18 @@ var require_implementation = __commonJS({
|
|
|
1216
1226
|
}
|
|
1217
1227
|
});
|
|
1218
1228
|
|
|
1219
|
-
//
|
|
1229
|
+
// node_modules/function-bind/index.js
|
|
1220
1230
|
var require_function_bind = __commonJS({
|
|
1221
|
-
"
|
|
1231
|
+
"node_modules/function-bind/index.js"(exports, module) {
|
|
1222
1232
|
"use strict";
|
|
1223
1233
|
var implementation = require_implementation();
|
|
1224
1234
|
module.exports = Function.prototype.bind || implementation;
|
|
1225
1235
|
}
|
|
1226
1236
|
});
|
|
1227
1237
|
|
|
1228
|
-
//
|
|
1238
|
+
// node_modules/hasown/index.js
|
|
1229
1239
|
var require_hasown = __commonJS({
|
|
1230
|
-
"
|
|
1240
|
+
"node_modules/hasown/index.js"(exports, module) {
|
|
1231
1241
|
"use strict";
|
|
1232
1242
|
var call = Function.prototype.call;
|
|
1233
1243
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -1236,9 +1246,9 @@ var require_hasown = __commonJS({
|
|
|
1236
1246
|
}
|
|
1237
1247
|
});
|
|
1238
1248
|
|
|
1239
|
-
//
|
|
1249
|
+
// node_modules/is-core-module/core.json
|
|
1240
1250
|
var require_core = __commonJS({
|
|
1241
|
-
"
|
|
1251
|
+
"node_modules/is-core-module/core.json"(exports, module) {
|
|
1242
1252
|
module.exports = {
|
|
1243
1253
|
assert: true,
|
|
1244
1254
|
"node:assert": [">= 14.18 && < 15", ">= 16"],
|
|
@@ -1273,6 +1283,7 @@ var require_core = __commonJS({
|
|
|
1273
1283
|
"node:domain": [">= 14.18 && < 15", ">= 16"],
|
|
1274
1284
|
events: true,
|
|
1275
1285
|
"node:events": [">= 14.18 && < 15", ">= 16"],
|
|
1286
|
+
"node:ffi": ">= 26.9",
|
|
1276
1287
|
freelist: "< 6",
|
|
1277
1288
|
fs: true,
|
|
1278
1289
|
"node:fs": [">= 14.18 && < 15", ">= 16"],
|
|
@@ -1333,18 +1344,18 @@ var require_core = __commonJS({
|
|
|
1333
1344
|
"node:sea": [">= 20.12 && < 21", ">= 21.7"],
|
|
1334
1345
|
smalloc: ">= 0.11.5 && < 3",
|
|
1335
1346
|
"node:sqlite": [">= 22.13 && < 23", ">= 23.4"],
|
|
1336
|
-
_stream_duplex: ">= 0.9.4",
|
|
1337
|
-
"node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
|
|
1338
|
-
_stream_transform: ">= 0.9.4",
|
|
1339
|
-
"node:_stream_transform": [">= 14.18 && < 15", ">= 16"],
|
|
1340
|
-
_stream_wrap: ">= 1.4.1",
|
|
1341
|
-
"node:_stream_wrap": [">= 14.18 && < 15", ">= 16"],
|
|
1342
|
-
_stream_passthrough: ">= 0.9.4",
|
|
1343
|
-
"node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"],
|
|
1344
|
-
_stream_readable: ">= 0.9.4",
|
|
1345
|
-
"node:_stream_readable": [">= 14.18 && < 15", ">= 16"],
|
|
1346
|
-
_stream_writable: ">= 0.9.4",
|
|
1347
|
-
"node:_stream_writable": [">= 14.18 && < 15", ">= 16"],
|
|
1347
|
+
_stream_duplex: ">= 0.9.4 && < 26",
|
|
1348
|
+
"node:_stream_duplex": [">= 14.18 && < 15", ">= 16 && < 26"],
|
|
1349
|
+
_stream_transform: ">= 0.9.4 && < 26",
|
|
1350
|
+
"node:_stream_transform": [">= 14.18 && < 15", ">= 16 && < 26"],
|
|
1351
|
+
_stream_wrap: ">= 1.4.1 && < 26",
|
|
1352
|
+
"node:_stream_wrap": [">= 14.18 && < 15", ">= 16 && < 26"],
|
|
1353
|
+
_stream_passthrough: ">= 0.9.4 && < 26",
|
|
1354
|
+
"node:_stream_passthrough": [">= 14.18 && < 15", ">= 16 && < 26"],
|
|
1355
|
+
_stream_readable: ">= 0.9.4 && < 26",
|
|
1356
|
+
"node:_stream_readable": [">= 14.18 && < 15", ">= 16 && < 26"],
|
|
1357
|
+
_stream_writable: ">= 0.9.4 && < 26",
|
|
1358
|
+
"node:_stream_writable": [">= 14.18 && < 15", ">= 16 && < 26"],
|
|
1348
1359
|
stream: true,
|
|
1349
1360
|
"node:stream": [">= 14.18 && < 15", ">= 16"],
|
|
1350
1361
|
"stream/consumers": ">= 16.7",
|
|
@@ -1404,9 +1415,9 @@ var require_core = __commonJS({
|
|
|
1404
1415
|
}
|
|
1405
1416
|
});
|
|
1406
1417
|
|
|
1407
|
-
//
|
|
1418
|
+
// node_modules/is-core-module/index.js
|
|
1408
1419
|
var require_is_core_module = __commonJS({
|
|
1409
|
-
"
|
|
1420
|
+
"node_modules/is-core-module/index.js"(exports, module) {
|
|
1410
1421
|
"use strict";
|
|
1411
1422
|
var hasOwn = require_hasown();
|
|
1412
1423
|
function specifierIncluded(current, specifier) {
|
|
@@ -1415,8 +1426,8 @@ var require_is_core_module = __commonJS({
|
|
|
1415
1426
|
var op = parts.length > 1 ? parts[0] : "=";
|
|
1416
1427
|
var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split(".");
|
|
1417
1428
|
for (var i = 0; i < 3; ++i) {
|
|
1418
|
-
var cur = parseInt(nodeParts[i] || 0, 10);
|
|
1419
|
-
var ver = parseInt(versionParts[i] || 0, 10);
|
|
1429
|
+
var cur = parseInt(nodeParts[i] || "0", 10);
|
|
1430
|
+
var ver = parseInt(versionParts[i] || "0", 10);
|
|
1420
1431
|
if (cur === ver) {
|
|
1421
1432
|
continue;
|
|
1422
1433
|
}
|
|
@@ -1462,14 +1473,25 @@ var require_is_core_module = __commonJS({
|
|
|
1462
1473
|
}
|
|
1463
1474
|
var data = require_core();
|
|
1464
1475
|
module.exports = function isCore(x, nodeVersion) {
|
|
1465
|
-
return hasOwn(data, x) && versionIncluded(nodeVersion, data[
|
|
1476
|
+
return hasOwn(data, x) && versionIncluded(nodeVersion, data[
|
|
1477
|
+
/** @type {Module} */
|
|
1478
|
+
x
|
|
1479
|
+
]);
|
|
1466
1480
|
};
|
|
1467
1481
|
}
|
|
1468
1482
|
});
|
|
1469
1483
|
|
|
1470
|
-
//
|
|
1484
|
+
// node_modules/es-errors/type.js
|
|
1485
|
+
var require_type = __commonJS({
|
|
1486
|
+
"node_modules/es-errors/type.js"(exports, module) {
|
|
1487
|
+
"use strict";
|
|
1488
|
+
module.exports = TypeError;
|
|
1489
|
+
}
|
|
1490
|
+
});
|
|
1491
|
+
|
|
1492
|
+
// node_modules/resolve/lib/async.js
|
|
1471
1493
|
var require_async = __commonJS({
|
|
1472
|
-
"
|
|
1494
|
+
"node_modules/resolve/lib/async.js"(exports, module) {
|
|
1473
1495
|
var fs = __require("fs");
|
|
1474
1496
|
var getHomedir = require_homedir();
|
|
1475
1497
|
var path = __require("path");
|
|
@@ -1477,17 +1499,20 @@ var require_async = __commonJS({
|
|
|
1477
1499
|
var nodeModulesPaths = require_node_modules_paths();
|
|
1478
1500
|
var normalizeOptions = require_normalize_options();
|
|
1479
1501
|
var isCore = require_is_core_module();
|
|
1502
|
+
var $Error = require_es_errors();
|
|
1503
|
+
var $TypeError = require_type();
|
|
1480
1504
|
var realpathFS = process.platform !== "win32" && fs.realpath && typeof fs.realpath.native === "function" ? fs.realpath.native : fs.realpath;
|
|
1481
1505
|
var relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/;
|
|
1482
1506
|
var windowsDriveRegex = /^\w:[/\\]*$/;
|
|
1483
1507
|
var nodeModulesRegex = /[/\\]node_modules[/\\]*$/;
|
|
1484
1508
|
var homedir = getHomedir();
|
|
1485
|
-
|
|
1509
|
+
function defaultPaths() {
|
|
1510
|
+
if (!homedir) return [];
|
|
1486
1511
|
return [
|
|
1487
1512
|
path.join(homedir, ".node_modules"),
|
|
1488
1513
|
path.join(homedir, ".node_libraries")
|
|
1489
1514
|
];
|
|
1490
|
-
}
|
|
1515
|
+
}
|
|
1491
1516
|
var defaultIsFile = function isFile(file, cb) {
|
|
1492
1517
|
fs.stat(file, function(err, stat) {
|
|
1493
1518
|
if (!err) {
|
|
@@ -1512,14 +1537,14 @@ var require_async = __commonJS({
|
|
|
1512
1537
|
else cb(null, realpathErr ? x : realPath);
|
|
1513
1538
|
});
|
|
1514
1539
|
};
|
|
1515
|
-
|
|
1540
|
+
function maybeRealpath(realpath, x, opts, cb) {
|
|
1516
1541
|
if (opts && opts.preserveSymlinks === false) {
|
|
1517
1542
|
realpath(x, cb);
|
|
1518
1543
|
} else {
|
|
1519
1544
|
cb(null, x);
|
|
1520
1545
|
}
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1546
|
+
}
|
|
1547
|
+
function defaultReadPackage(readFile, pkgfile, cb) {
|
|
1523
1548
|
readFile(pkgfile, function(readFileErr, body) {
|
|
1524
1549
|
if (readFileErr) cb(readFileErr);
|
|
1525
1550
|
else {
|
|
@@ -1531,14 +1556,14 @@ var require_async = __commonJS({
|
|
|
1531
1556
|
}
|
|
1532
1557
|
}
|
|
1533
1558
|
});
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1559
|
+
}
|
|
1560
|
+
function getPackageCandidates(x, start, opts) {
|
|
1536
1561
|
var dirs = nodeModulesPaths(start, opts, x);
|
|
1537
1562
|
for (var i = 0; i < dirs.length; i++) {
|
|
1538
1563
|
dirs[i] = path.join(dirs[i], x);
|
|
1539
1564
|
}
|
|
1540
1565
|
return dirs;
|
|
1541
|
-
}
|
|
1566
|
+
}
|
|
1542
1567
|
module.exports = function resolve(x, options, callback) {
|
|
1543
1568
|
var cb = callback;
|
|
1544
1569
|
var opts = options;
|
|
@@ -1547,7 +1572,7 @@ var require_async = __commonJS({
|
|
|
1547
1572
|
opts = {};
|
|
1548
1573
|
}
|
|
1549
1574
|
if (typeof x !== "string") {
|
|
1550
|
-
var err = new TypeError("Path must be a string.");
|
|
1575
|
+
var err = new $TypeError("Path must be a string.");
|
|
1551
1576
|
return process.nextTick(function() {
|
|
1552
1577
|
cb(err);
|
|
1553
1578
|
});
|
|
@@ -1559,7 +1584,7 @@ var require_async = __commonJS({
|
|
|
1559
1584
|
var realpath = opts.realpath || defaultRealpath;
|
|
1560
1585
|
var readPackage = opts.readPackage || defaultReadPackage;
|
|
1561
1586
|
if (opts.readFile && opts.readPackage) {
|
|
1562
|
-
var conflictErr = new TypeError("`readFile` and `readPackage` are mutually exclusive.");
|
|
1587
|
+
var conflictErr = new $TypeError("`readFile` and `readPackage` are mutually exclusive.");
|
|
1563
1588
|
return process.nextTick(function() {
|
|
1564
1589
|
cb(conflictErr);
|
|
1565
1590
|
});
|
|
@@ -1601,7 +1626,7 @@ var require_async = __commonJS({
|
|
|
1601
1626
|
}
|
|
1602
1627
|
});
|
|
1603
1628
|
} else {
|
|
1604
|
-
var moduleError = new Error("Cannot find module '" + x + "' from '" + parent + "'");
|
|
1629
|
+
var moduleError = new $Error("Cannot find module '" + x + "' from '" + parent + "'");
|
|
1605
1630
|
moduleError.code = "MODULE_NOT_FOUND";
|
|
1606
1631
|
cb(moduleError);
|
|
1607
1632
|
}
|
|
@@ -1621,7 +1646,7 @@ var require_async = __commonJS({
|
|
|
1621
1646
|
}
|
|
1622
1647
|
});
|
|
1623
1648
|
} else {
|
|
1624
|
-
var moduleError = new Error("Cannot find module '" + x + "' from '" + parent + "'");
|
|
1649
|
+
var moduleError = new $Error("Cannot find module '" + x + "' from '" + parent + "'");
|
|
1625
1650
|
moduleError.code = "MODULE_NOT_FOUND";
|
|
1626
1651
|
cb(moduleError);
|
|
1627
1652
|
}
|
|
@@ -1650,7 +1675,7 @@ var require_async = __commonJS({
|
|
|
1650
1675
|
var rel = rfile.slice(0, rfile.length - exts2[0].length);
|
|
1651
1676
|
var r = opts.pathFilter(pkg, x3, rel);
|
|
1652
1677
|
if (r) return load(
|
|
1653
|
-
[""].concat(extensions
|
|
1678
|
+
[""].concat(extensions),
|
|
1654
1679
|
path.resolve(dir, r),
|
|
1655
1680
|
pkg
|
|
1656
1681
|
);
|
|
@@ -1676,7 +1701,9 @@ var require_async = __commonJS({
|
|
|
1676
1701
|
isFile(pkgfile, function(err2, ex) {
|
|
1677
1702
|
if (!ex) return loadpkg(path.dirname(dir), cb2);
|
|
1678
1703
|
readPackage(readFile, pkgfile, function(err3, pkgParam) {
|
|
1679
|
-
if (err3)
|
|
1704
|
+
if (err3) {
|
|
1705
|
+
return cb2(err3);
|
|
1706
|
+
}
|
|
1680
1707
|
var pkg = pkgParam;
|
|
1681
1708
|
if (pkg && opts.packageFilter) {
|
|
1682
1709
|
pkg = opts.packageFilter(pkg, pkgfile);
|
|
@@ -1707,7 +1734,7 @@ var require_async = __commonJS({
|
|
|
1707
1734
|
}
|
|
1708
1735
|
if (pkg && pkg.main) {
|
|
1709
1736
|
if (typeof pkg.main !== "string") {
|
|
1710
|
-
var mainError = new TypeError("package \u201C" + pkg.name + "\u201D `main` must be a string");
|
|
1737
|
+
var mainError = new $TypeError("package \u201C" + pkg.name + "\u201D `main` must be a string");
|
|
1711
1738
|
mainError.code = "INVALID_PACKAGE_MAIN";
|
|
1712
1739
|
return cb2(mainError);
|
|
1713
1740
|
}
|
|
@@ -1765,9 +1792,9 @@ var require_async = __commonJS({
|
|
|
1765
1792
|
}
|
|
1766
1793
|
});
|
|
1767
1794
|
|
|
1768
|
-
//
|
|
1795
|
+
// node_modules/resolve/lib/core.json
|
|
1769
1796
|
var require_core2 = __commonJS({
|
|
1770
|
-
"
|
|
1797
|
+
"node_modules/resolve/lib/core.json"(exports, module) {
|
|
1771
1798
|
module.exports = {
|
|
1772
1799
|
assert: true,
|
|
1773
1800
|
"node:assert": [">= 14.18 && < 15", ">= 16"],
|
|
@@ -1933,9 +1960,9 @@ var require_core2 = __commonJS({
|
|
|
1933
1960
|
}
|
|
1934
1961
|
});
|
|
1935
1962
|
|
|
1936
|
-
//
|
|
1963
|
+
// node_modules/resolve/lib/core.js
|
|
1937
1964
|
var require_core3 = __commonJS({
|
|
1938
|
-
"
|
|
1965
|
+
"node_modules/resolve/lib/core.js"(exports, module) {
|
|
1939
1966
|
"use strict";
|
|
1940
1967
|
var isCoreModule = require_is_core_module();
|
|
1941
1968
|
var data = require_core2();
|
|
@@ -1950,9 +1977,9 @@ var require_core3 = __commonJS({
|
|
|
1950
1977
|
}
|
|
1951
1978
|
});
|
|
1952
1979
|
|
|
1953
|
-
//
|
|
1980
|
+
// node_modules/resolve/lib/is-core.js
|
|
1954
1981
|
var require_is_core = __commonJS({
|
|
1955
|
-
"
|
|
1982
|
+
"node_modules/resolve/lib/is-core.js"(exports, module) {
|
|
1956
1983
|
var isCoreModule = require_is_core_module();
|
|
1957
1984
|
module.exports = function isCore(x) {
|
|
1958
1985
|
return isCoreModule(x);
|
|
@@ -1960,12 +1987,14 @@ var require_is_core = __commonJS({
|
|
|
1960
1987
|
}
|
|
1961
1988
|
});
|
|
1962
1989
|
|
|
1963
|
-
//
|
|
1990
|
+
// node_modules/resolve/lib/sync.js
|
|
1964
1991
|
var require_sync = __commonJS({
|
|
1965
|
-
"
|
|
1992
|
+
"node_modules/resolve/lib/sync.js"(exports, module) {
|
|
1966
1993
|
var isCore = require_is_core_module();
|
|
1967
1994
|
var fs = __require("fs");
|
|
1968
1995
|
var path = __require("path");
|
|
1996
|
+
var $Error = require_es_errors();
|
|
1997
|
+
var $TypeError = require_type();
|
|
1969
1998
|
var getHomedir = require_homedir();
|
|
1970
1999
|
var caller = require_caller();
|
|
1971
2000
|
var nodeModulesPaths = require_node_modules_paths();
|
|
@@ -1975,12 +2004,13 @@ var require_sync = __commonJS({
|
|
|
1975
2004
|
var windowsDriveRegex = /^\w:[/\\]*$/;
|
|
1976
2005
|
var nodeModulesRegex = /[/\\]node_modules[/\\]*$/;
|
|
1977
2006
|
var homedir = getHomedir();
|
|
1978
|
-
|
|
2007
|
+
function defaultPaths() {
|
|
2008
|
+
if (!homedir) return [];
|
|
1979
2009
|
return [
|
|
1980
2010
|
path.join(homedir, ".node_modules"),
|
|
1981
2011
|
path.join(homedir, ".node_libraries")
|
|
1982
2012
|
];
|
|
1983
|
-
}
|
|
2013
|
+
}
|
|
1984
2014
|
var defaultIsFile = function isFile(file) {
|
|
1985
2015
|
try {
|
|
1986
2016
|
var stat = fs.statSync(file, { throwIfNoEntry: false });
|
|
@@ -2009,30 +2039,30 @@ var require_sync = __commonJS({
|
|
|
2009
2039
|
}
|
|
2010
2040
|
return x;
|
|
2011
2041
|
};
|
|
2012
|
-
|
|
2042
|
+
function maybeRealpathSync(realpathSync, x, opts) {
|
|
2013
2043
|
if (opts && opts.preserveSymlinks === false) {
|
|
2014
2044
|
return realpathSync(x);
|
|
2015
2045
|
}
|
|
2016
2046
|
return x;
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2047
|
+
}
|
|
2048
|
+
function defaultReadPackageSync(readFileSync, pkgfile) {
|
|
2019
2049
|
var body = readFileSync(pkgfile);
|
|
2020
2050
|
try {
|
|
2021
2051
|
var pkg = JSON.parse(body);
|
|
2022
2052
|
return pkg;
|
|
2023
2053
|
} catch (jsonErr) {
|
|
2024
2054
|
}
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2055
|
+
}
|
|
2056
|
+
function getPackageCandidates(x, start, opts) {
|
|
2027
2057
|
var dirs = nodeModulesPaths(start, opts, x);
|
|
2028
2058
|
for (var i = 0; i < dirs.length; i++) {
|
|
2029
2059
|
dirs[i] = path.join(dirs[i], x);
|
|
2030
2060
|
}
|
|
2031
2061
|
return dirs;
|
|
2032
|
-
}
|
|
2062
|
+
}
|
|
2033
2063
|
module.exports = function resolveSync(x, options) {
|
|
2034
2064
|
if (typeof x !== "string") {
|
|
2035
|
-
throw new TypeError("Path must be a string.");
|
|
2065
|
+
throw new $TypeError("Path must be a string.");
|
|
2036
2066
|
}
|
|
2037
2067
|
var opts = normalizeOptions(x, options);
|
|
2038
2068
|
var isFile = opts.isFile || defaultIsFile;
|
|
@@ -2041,7 +2071,7 @@ var require_sync = __commonJS({
|
|
|
2041
2071
|
var realpathSync = opts.realpathSync || defaultRealpathSync;
|
|
2042
2072
|
var readPackageSync = opts.readPackageSync || defaultReadPackageSync;
|
|
2043
2073
|
if (opts.readFileSync && opts.readPackageSync) {
|
|
2044
|
-
throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");
|
|
2074
|
+
throw new $TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");
|
|
2045
2075
|
}
|
|
2046
2076
|
var packageIterator = opts.packageIterator;
|
|
2047
2077
|
var extensions = opts.extensions || [".js"];
|
|
@@ -2061,7 +2091,7 @@ var require_sync = __commonJS({
|
|
|
2061
2091
|
var n = loadNodeModulesSync(x, absoluteStart);
|
|
2062
2092
|
if (n) return maybeRealpathSync(realpathSync, n, opts);
|
|
2063
2093
|
}
|
|
2064
|
-
var err = new Error("Cannot find module '" + x + "' from '" + parent + "'");
|
|
2094
|
+
var err = new $Error("Cannot find module '" + x + "' from '" + parent + "'");
|
|
2065
2095
|
err.code = "MODULE_NOT_FOUND";
|
|
2066
2096
|
throw err;
|
|
2067
2097
|
function loadAsFileSync(x2) {
|
|
@@ -2119,7 +2149,7 @@ var require_sync = __commonJS({
|
|
|
2119
2149
|
}
|
|
2120
2150
|
if (pkg && pkg.main) {
|
|
2121
2151
|
if (typeof pkg.main !== "string") {
|
|
2122
|
-
var mainError = new TypeError("package \u201C" + pkg.name + "\u201D `main` must be a string");
|
|
2152
|
+
var mainError = new $TypeError("package \u201C" + pkg.name + "\u201D `main` must be a string");
|
|
2123
2153
|
mainError.code = "INVALID_PACKAGE_MAIN";
|
|
2124
2154
|
throw mainError;
|
|
2125
2155
|
}
|
|
@@ -2156,9 +2186,9 @@ var require_sync = __commonJS({
|
|
|
2156
2186
|
}
|
|
2157
2187
|
});
|
|
2158
2188
|
|
|
2159
|
-
//
|
|
2189
|
+
// node_modules/resolve/index.js
|
|
2160
2190
|
var require_resolve = __commonJS({
|
|
2161
|
-
"
|
|
2191
|
+
"node_modules/resolve/index.js"(exports, module) {
|
|
2162
2192
|
var async = require_async();
|
|
2163
2193
|
async.core = require_core3();
|
|
2164
2194
|
async.isCore = require_is_core();
|
|
@@ -2167,9 +2197,9 @@ var require_resolve = __commonJS({
|
|
|
2167
2197
|
}
|
|
2168
2198
|
});
|
|
2169
2199
|
|
|
2170
|
-
//
|
|
2200
|
+
// node_modules/postcss-import/lib/resolve-id.js
|
|
2171
2201
|
var require_resolve_id = __commonJS({
|
|
2172
|
-
"
|
|
2202
|
+
"node_modules/postcss-import/lib/resolve-id.js"(exports, module) {
|
|
2173
2203
|
"use strict";
|
|
2174
2204
|
var resolve = require_resolve();
|
|
2175
2205
|
var moduleDirectories = ["web_modules", "node_modules"];
|
|
@@ -2205,9 +2235,9 @@ var require_resolve_id = __commonJS({
|
|
|
2205
2235
|
}
|
|
2206
2236
|
});
|
|
2207
2237
|
|
|
2208
|
-
//
|
|
2238
|
+
// node_modules/postcss-import/lib/parse-styles.js
|
|
2209
2239
|
var require_parse_styles = __commonJS({
|
|
2210
|
-
"
|
|
2240
|
+
"node_modules/postcss-import/lib/parse-styles.js"(exports, module) {
|
|
2211
2241
|
"use strict";
|
|
2212
2242
|
var path = __require("path");
|
|
2213
2243
|
var dataURL = require_data_url();
|
|
@@ -2375,9 +2405,9 @@ var require_parse_styles = __commonJS({
|
|
|
2375
2405
|
}
|
|
2376
2406
|
});
|
|
2377
2407
|
|
|
2378
|
-
//
|
|
2408
|
+
// node_modules/postcss-import/index.js
|
|
2379
2409
|
var require_postcss_import = __commonJS({
|
|
2380
|
-
"
|
|
2410
|
+
"node_modules/postcss-import/index.js"(exports, module) {
|
|
2381
2411
|
var path = __require("path");
|
|
2382
2412
|
var applyConditions = require_apply_conditions();
|
|
2383
2413
|
var applyRaws = require_apply_raws();
|