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
|
@@ -36,9 +36,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
36
|
mod
|
|
37
37
|
));
|
|
38
38
|
|
|
39
|
-
//
|
|
39
|
+
// node_modules/fast-glob/out/utils/array.js
|
|
40
40
|
var require_array = __commonJS({
|
|
41
|
-
"
|
|
41
|
+
"node_modules/fast-glob/out/utils/array.js"(exports) {
|
|
42
42
|
"use strict";
|
|
43
43
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
44
|
exports.splitWhen = exports.flatten = void 0;
|
|
@@ -63,9 +63,9 @@ var require_array = __commonJS({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
//
|
|
66
|
+
// node_modules/fast-glob/out/utils/errno.js
|
|
67
67
|
var require_errno = __commonJS({
|
|
68
|
-
"
|
|
68
|
+
"node_modules/fast-glob/out/utils/errno.js"(exports) {
|
|
69
69
|
"use strict";
|
|
70
70
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
71
71
|
exports.isEnoentCodeError = void 0;
|
|
@@ -76,9 +76,9 @@ var require_errno = __commonJS({
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
//
|
|
79
|
+
// node_modules/fast-glob/out/utils/fs.js
|
|
80
80
|
var require_fs = __commonJS({
|
|
81
|
-
"
|
|
81
|
+
"node_modules/fast-glob/out/utils/fs.js"(exports) {
|
|
82
82
|
"use strict";
|
|
83
83
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
84
84
|
exports.createDirentFromStats = void 0;
|
|
@@ -101,9 +101,9 @@ var require_fs = __commonJS({
|
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
//
|
|
104
|
+
// node_modules/fast-glob/out/utils/path.js
|
|
105
105
|
var require_path = __commonJS({
|
|
106
|
-
"
|
|
106
|
+
"node_modules/fast-glob/out/utils/path.js"(exports) {
|
|
107
107
|
"use strict";
|
|
108
108
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109
109
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
@@ -154,9 +154,9 @@ var require_path = __commonJS({
|
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
|
|
157
|
-
//
|
|
157
|
+
// node_modules/is-extglob/index.js
|
|
158
158
|
var require_is_extglob = __commonJS({
|
|
159
|
-
"
|
|
159
|
+
"node_modules/is-extglob/index.js"(exports, module) {
|
|
160
160
|
module.exports = function isExtglob(str) {
|
|
161
161
|
if (typeof str !== "string" || str === "") {
|
|
162
162
|
return false;
|
|
@@ -171,9 +171,9 @@ var require_is_extglob = __commonJS({
|
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
//
|
|
174
|
+
// node_modules/is-glob/index.js
|
|
175
175
|
var require_is_glob = __commonJS({
|
|
176
|
-
"
|
|
176
|
+
"node_modules/is-glob/index.js"(exports, module) {
|
|
177
177
|
var isExtglob = require_is_extglob();
|
|
178
178
|
var chars = { "{": "}", "(": ")", "[": "]" };
|
|
179
179
|
var strictCheck = function(str) {
|
|
@@ -302,9 +302,9 @@ var require_is_glob = __commonJS({
|
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
304
|
|
|
305
|
-
//
|
|
305
|
+
// node_modules/fast-glob/node_modules/glob-parent/index.js
|
|
306
306
|
var require_glob_parent = __commonJS({
|
|
307
|
-
"
|
|
307
|
+
"node_modules/fast-glob/node_modules/glob-parent/index.js"(exports, module) {
|
|
308
308
|
"use strict";
|
|
309
309
|
var isGlob2 = require_is_glob();
|
|
310
310
|
var pathPosixDirname = __require("path").posix.dirname;
|
|
@@ -331,9 +331,9 @@ var require_glob_parent = __commonJS({
|
|
|
331
331
|
}
|
|
332
332
|
});
|
|
333
333
|
|
|
334
|
-
//
|
|
334
|
+
// node_modules/braces/lib/utils.js
|
|
335
335
|
var require_utils = __commonJS({
|
|
336
|
-
"
|
|
336
|
+
"node_modules/braces/lib/utils.js"(exports) {
|
|
337
337
|
"use strict";
|
|
338
338
|
exports.isInteger = (num) => {
|
|
339
339
|
if (typeof num === "number") {
|
|
@@ -413,9 +413,9 @@ var require_utils = __commonJS({
|
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
|
|
416
|
-
//
|
|
416
|
+
// node_modules/braces/lib/stringify.js
|
|
417
417
|
var require_stringify = __commonJS({
|
|
418
|
-
"
|
|
418
|
+
"node_modules/braces/lib/stringify.js"(exports, module) {
|
|
419
419
|
"use strict";
|
|
420
420
|
var utils = require_utils();
|
|
421
421
|
module.exports = (ast, options = {}) => {
|
|
@@ -444,9 +444,9 @@ var require_stringify = __commonJS({
|
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
//
|
|
447
|
+
// node_modules/is-number/index.js
|
|
448
448
|
var require_is_number = __commonJS({
|
|
449
|
-
"
|
|
449
|
+
"node_modules/is-number/index.js"(exports, module) {
|
|
450
450
|
"use strict";
|
|
451
451
|
module.exports = function(num) {
|
|
452
452
|
if (typeof num === "number") {
|
|
@@ -460,9 +460,9 @@ var require_is_number = __commonJS({
|
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
462
|
|
|
463
|
-
//
|
|
463
|
+
// node_modules/to-regex-range/index.js
|
|
464
464
|
var require_to_regex_range = __commonJS({
|
|
465
|
-
"
|
|
465
|
+
"node_modules/to-regex-range/index.js"(exports, module) {
|
|
466
466
|
"use strict";
|
|
467
467
|
var isNumber = require_is_number();
|
|
468
468
|
var toRegexRange = (min, max, options) => {
|
|
@@ -671,9 +671,9 @@ var require_to_regex_range = __commonJS({
|
|
|
671
671
|
}
|
|
672
672
|
});
|
|
673
673
|
|
|
674
|
-
//
|
|
674
|
+
// node_modules/fill-range/index.js
|
|
675
675
|
var require_fill_range = __commonJS({
|
|
676
|
-
"
|
|
676
|
+
"node_modules/fill-range/index.js"(exports, module) {
|
|
677
677
|
"use strict";
|
|
678
678
|
var util = __require("util");
|
|
679
679
|
var toRegexRange = require_to_regex_range();
|
|
@@ -865,9 +865,9 @@ var require_fill_range = __commonJS({
|
|
|
865
865
|
}
|
|
866
866
|
});
|
|
867
867
|
|
|
868
|
-
//
|
|
868
|
+
// node_modules/braces/lib/compile.js
|
|
869
869
|
var require_compile = __commonJS({
|
|
870
|
-
"
|
|
870
|
+
"node_modules/braces/lib/compile.js"(exports, module) {
|
|
871
871
|
"use strict";
|
|
872
872
|
var fill = require_fill_range();
|
|
873
873
|
var utils = require_utils();
|
|
@@ -917,9 +917,9 @@ var require_compile = __commonJS({
|
|
|
917
917
|
}
|
|
918
918
|
});
|
|
919
919
|
|
|
920
|
-
//
|
|
920
|
+
// node_modules/braces/lib/expand.js
|
|
921
921
|
var require_expand = __commonJS({
|
|
922
|
-
"
|
|
922
|
+
"node_modules/braces/lib/expand.js"(exports, module) {
|
|
923
923
|
"use strict";
|
|
924
924
|
var fill = require_fill_range();
|
|
925
925
|
var stringify = require_stringify();
|
|
@@ -1011,9 +1011,9 @@ var require_expand = __commonJS({
|
|
|
1011
1011
|
}
|
|
1012
1012
|
});
|
|
1013
1013
|
|
|
1014
|
-
//
|
|
1014
|
+
// node_modules/braces/lib/constants.js
|
|
1015
1015
|
var require_constants = __commonJS({
|
|
1016
|
-
"
|
|
1016
|
+
"node_modules/braces/lib/constants.js"(exports, module) {
|
|
1017
1017
|
"use strict";
|
|
1018
1018
|
module.exports = {
|
|
1019
1019
|
MAX_LENGTH: 1e4,
|
|
@@ -1112,9 +1112,9 @@ var require_constants = __commonJS({
|
|
|
1112
1112
|
}
|
|
1113
1113
|
});
|
|
1114
1114
|
|
|
1115
|
-
//
|
|
1115
|
+
// node_modules/braces/lib/parse.js
|
|
1116
1116
|
var require_parse = __commonJS({
|
|
1117
|
-
"
|
|
1117
|
+
"node_modules/braces/lib/parse.js"(exports, module) {
|
|
1118
1118
|
"use strict";
|
|
1119
1119
|
var stringify = require_stringify();
|
|
1120
1120
|
var {
|
|
@@ -1350,9 +1350,9 @@ var require_parse = __commonJS({
|
|
|
1350
1350
|
}
|
|
1351
1351
|
});
|
|
1352
1352
|
|
|
1353
|
-
//
|
|
1353
|
+
// node_modules/braces/index.js
|
|
1354
1354
|
var require_braces = __commonJS({
|
|
1355
|
-
"
|
|
1355
|
+
"node_modules/braces/index.js"(exports, module) {
|
|
1356
1356
|
"use strict";
|
|
1357
1357
|
var stringify = require_stringify();
|
|
1358
1358
|
var compile = require_compile();
|
|
@@ -1413,9 +1413,9 @@ var require_braces = __commonJS({
|
|
|
1413
1413
|
}
|
|
1414
1414
|
});
|
|
1415
1415
|
|
|
1416
|
-
//
|
|
1416
|
+
// node_modules/micromatch/node_modules/picomatch/lib/constants.js
|
|
1417
1417
|
var require_constants2 = __commonJS({
|
|
1418
|
-
"
|
|
1418
|
+
"node_modules/micromatch/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
1419
1419
|
"use strict";
|
|
1420
1420
|
var path5 = __require("path");
|
|
1421
1421
|
var WIN_SLASH = "\\\\/";
|
|
@@ -1614,9 +1614,9 @@ var require_constants2 = __commonJS({
|
|
|
1614
1614
|
}
|
|
1615
1615
|
});
|
|
1616
1616
|
|
|
1617
|
-
//
|
|
1617
|
+
// node_modules/micromatch/node_modules/picomatch/lib/utils.js
|
|
1618
1618
|
var require_utils2 = __commonJS({
|
|
1619
|
-
"
|
|
1619
|
+
"node_modules/micromatch/node_modules/picomatch/lib/utils.js"(exports) {
|
|
1620
1620
|
"use strict";
|
|
1621
1621
|
var path5 = __require("path");
|
|
1622
1622
|
var win32 = process.platform === "win32";
|
|
@@ -1675,9 +1675,9 @@ var require_utils2 = __commonJS({
|
|
|
1675
1675
|
}
|
|
1676
1676
|
});
|
|
1677
1677
|
|
|
1678
|
-
//
|
|
1678
|
+
// node_modules/micromatch/node_modules/picomatch/lib/scan.js
|
|
1679
1679
|
var require_scan = __commonJS({
|
|
1680
|
-
"
|
|
1680
|
+
"node_modules/micromatch/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
1681
1681
|
"use strict";
|
|
1682
1682
|
var utils = require_utils2();
|
|
1683
1683
|
var {
|
|
@@ -2005,9 +2005,9 @@ var require_scan = __commonJS({
|
|
|
2005
2005
|
}
|
|
2006
2006
|
});
|
|
2007
2007
|
|
|
2008
|
-
//
|
|
2008
|
+
// node_modules/micromatch/node_modules/picomatch/lib/parse.js
|
|
2009
2009
|
var require_parse2 = __commonJS({
|
|
2010
|
-
"
|
|
2010
|
+
"node_modules/micromatch/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
2011
2011
|
"use strict";
|
|
2012
2012
|
var constants = require_constants2();
|
|
2013
2013
|
var utils = require_utils2();
|
|
@@ -3007,9 +3007,9 @@ var require_parse2 = __commonJS({
|
|
|
3007
3007
|
}
|
|
3008
3008
|
});
|
|
3009
3009
|
|
|
3010
|
-
//
|
|
3010
|
+
// node_modules/micromatch/node_modules/picomatch/lib/picomatch.js
|
|
3011
3011
|
var require_picomatch = __commonJS({
|
|
3012
|
-
"
|
|
3012
|
+
"node_modules/micromatch/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
3013
3013
|
"use strict";
|
|
3014
3014
|
var path5 = __require("path");
|
|
3015
3015
|
var scan = require_scan();
|
|
@@ -3148,17 +3148,17 @@ var require_picomatch = __commonJS({
|
|
|
3148
3148
|
}
|
|
3149
3149
|
});
|
|
3150
3150
|
|
|
3151
|
-
//
|
|
3151
|
+
// node_modules/micromatch/node_modules/picomatch/index.js
|
|
3152
3152
|
var require_picomatch2 = __commonJS({
|
|
3153
|
-
"
|
|
3153
|
+
"node_modules/micromatch/node_modules/picomatch/index.js"(exports, module) {
|
|
3154
3154
|
"use strict";
|
|
3155
3155
|
module.exports = require_picomatch();
|
|
3156
3156
|
}
|
|
3157
3157
|
});
|
|
3158
3158
|
|
|
3159
|
-
//
|
|
3159
|
+
// node_modules/micromatch/index.js
|
|
3160
3160
|
var require_micromatch = __commonJS({
|
|
3161
|
-
"
|
|
3161
|
+
"node_modules/micromatch/index.js"(exports, module) {
|
|
3162
3162
|
"use strict";
|
|
3163
3163
|
var util = __require("util");
|
|
3164
3164
|
var braces = require_braces();
|
|
@@ -3317,9 +3317,9 @@ var require_micromatch = __commonJS({
|
|
|
3317
3317
|
}
|
|
3318
3318
|
});
|
|
3319
3319
|
|
|
3320
|
-
//
|
|
3320
|
+
// node_modules/fast-glob/out/utils/pattern.js
|
|
3321
3321
|
var require_pattern = __commonJS({
|
|
3322
|
-
"
|
|
3322
|
+
"node_modules/fast-glob/out/utils/pattern.js"(exports) {
|
|
3323
3323
|
"use strict";
|
|
3324
3324
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3325
3325
|
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
@@ -3482,9 +3482,9 @@ var require_pattern = __commonJS({
|
|
|
3482
3482
|
}
|
|
3483
3483
|
});
|
|
3484
3484
|
|
|
3485
|
-
//
|
|
3485
|
+
// node_modules/merge2/index.js
|
|
3486
3486
|
var require_merge2 = __commonJS({
|
|
3487
|
-
"
|
|
3487
|
+
"node_modules/merge2/index.js"(exports, module) {
|
|
3488
3488
|
"use strict";
|
|
3489
3489
|
var Stream = __require("stream");
|
|
3490
3490
|
var PassThrough = Stream.PassThrough;
|
|
@@ -3601,9 +3601,9 @@ var require_merge2 = __commonJS({
|
|
|
3601
3601
|
}
|
|
3602
3602
|
});
|
|
3603
3603
|
|
|
3604
|
-
//
|
|
3604
|
+
// node_modules/fast-glob/out/utils/stream.js
|
|
3605
3605
|
var require_stream = __commonJS({
|
|
3606
|
-
"
|
|
3606
|
+
"node_modules/fast-glob/out/utils/stream.js"(exports) {
|
|
3607
3607
|
"use strict";
|
|
3608
3608
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3609
3609
|
exports.merge = void 0;
|
|
@@ -3624,9 +3624,9 @@ var require_stream = __commonJS({
|
|
|
3624
3624
|
}
|
|
3625
3625
|
});
|
|
3626
3626
|
|
|
3627
|
-
//
|
|
3627
|
+
// node_modules/fast-glob/out/utils/string.js
|
|
3628
3628
|
var require_string = __commonJS({
|
|
3629
|
-
"
|
|
3629
|
+
"node_modules/fast-glob/out/utils/string.js"(exports) {
|
|
3630
3630
|
"use strict";
|
|
3631
3631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3632
3632
|
exports.isEmpty = exports.isString = void 0;
|
|
@@ -3641,9 +3641,9 @@ var require_string = __commonJS({
|
|
|
3641
3641
|
}
|
|
3642
3642
|
});
|
|
3643
3643
|
|
|
3644
|
-
//
|
|
3644
|
+
// node_modules/fast-glob/out/utils/index.js
|
|
3645
3645
|
var require_utils3 = __commonJS({
|
|
3646
|
-
"
|
|
3646
|
+
"node_modules/fast-glob/out/utils/index.js"(exports) {
|
|
3647
3647
|
"use strict";
|
|
3648
3648
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3649
3649
|
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
@@ -3664,9 +3664,9 @@ var require_utils3 = __commonJS({
|
|
|
3664
3664
|
}
|
|
3665
3665
|
});
|
|
3666
3666
|
|
|
3667
|
-
//
|
|
3667
|
+
// node_modules/fast-glob/out/managers/tasks.js
|
|
3668
3668
|
var require_tasks = __commonJS({
|
|
3669
|
-
"
|
|
3669
|
+
"node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
3670
3670
|
"use strict";
|
|
3671
3671
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3672
3672
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
@@ -3760,9 +3760,9 @@ var require_tasks = __commonJS({
|
|
|
3760
3760
|
}
|
|
3761
3761
|
});
|
|
3762
3762
|
|
|
3763
|
-
//
|
|
3763
|
+
// node_modules/@nodelib/fs.stat/out/providers/async.js
|
|
3764
3764
|
var require_async = __commonJS({
|
|
3765
|
-
"
|
|
3765
|
+
"node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
|
|
3766
3766
|
"use strict";
|
|
3767
3767
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3768
3768
|
exports.read = void 0;
|
|
@@ -3802,9 +3802,9 @@ var require_async = __commonJS({
|
|
|
3802
3802
|
}
|
|
3803
3803
|
});
|
|
3804
3804
|
|
|
3805
|
-
//
|
|
3805
|
+
// node_modules/@nodelib/fs.stat/out/providers/sync.js
|
|
3806
3806
|
var require_sync = __commonJS({
|
|
3807
|
-
"
|
|
3807
|
+
"node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
|
|
3808
3808
|
"use strict";
|
|
3809
3809
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3810
3810
|
exports.read = void 0;
|
|
@@ -3830,9 +3830,9 @@ var require_sync = __commonJS({
|
|
|
3830
3830
|
}
|
|
3831
3831
|
});
|
|
3832
3832
|
|
|
3833
|
-
//
|
|
3833
|
+
// node_modules/@nodelib/fs.stat/out/adapters/fs.js
|
|
3834
3834
|
var require_fs2 = __commonJS({
|
|
3835
|
-
"
|
|
3835
|
+
"node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
|
|
3836
3836
|
"use strict";
|
|
3837
3837
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3838
3838
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -3853,9 +3853,9 @@ var require_fs2 = __commonJS({
|
|
|
3853
3853
|
}
|
|
3854
3854
|
});
|
|
3855
3855
|
|
|
3856
|
-
//
|
|
3856
|
+
// node_modules/@nodelib/fs.stat/out/settings.js
|
|
3857
3857
|
var require_settings = __commonJS({
|
|
3858
|
-
"
|
|
3858
|
+
"node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
|
|
3859
3859
|
"use strict";
|
|
3860
3860
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3861
3861
|
var fs4 = require_fs2();
|
|
@@ -3875,9 +3875,9 @@ var require_settings = __commonJS({
|
|
|
3875
3875
|
}
|
|
3876
3876
|
});
|
|
3877
3877
|
|
|
3878
|
-
//
|
|
3878
|
+
// node_modules/@nodelib/fs.stat/out/index.js
|
|
3879
3879
|
var require_out = __commonJS({
|
|
3880
|
-
"
|
|
3880
|
+
"node_modules/@nodelib/fs.stat/out/index.js"(exports) {
|
|
3881
3881
|
"use strict";
|
|
3882
3882
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3883
3883
|
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
@@ -3907,9 +3907,9 @@ var require_out = __commonJS({
|
|
|
3907
3907
|
}
|
|
3908
3908
|
});
|
|
3909
3909
|
|
|
3910
|
-
//
|
|
3910
|
+
// node_modules/queue-microtask/index.js
|
|
3911
3911
|
var require_queue_microtask = __commonJS({
|
|
3912
|
-
"
|
|
3912
|
+
"node_modules/queue-microtask/index.js"(exports, module) {
|
|
3913
3913
|
var promise;
|
|
3914
3914
|
module.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
|
|
3915
3915
|
throw err;
|
|
@@ -3917,9 +3917,9 @@ var require_queue_microtask = __commonJS({
|
|
|
3917
3917
|
}
|
|
3918
3918
|
});
|
|
3919
3919
|
|
|
3920
|
-
//
|
|
3920
|
+
// node_modules/run-parallel/index.js
|
|
3921
3921
|
var require_run_parallel = __commonJS({
|
|
3922
|
-
"
|
|
3922
|
+
"node_modules/run-parallel/index.js"(exports, module) {
|
|
3923
3923
|
module.exports = runParallel;
|
|
3924
3924
|
var queueMicrotask2 = require_queue_microtask();
|
|
3925
3925
|
function runParallel(tasks, cb) {
|
|
@@ -3967,9 +3967,9 @@ var require_run_parallel = __commonJS({
|
|
|
3967
3967
|
}
|
|
3968
3968
|
});
|
|
3969
3969
|
|
|
3970
|
-
//
|
|
3970
|
+
// node_modules/@nodelib/fs.scandir/out/constants.js
|
|
3971
3971
|
var require_constants3 = __commonJS({
|
|
3972
|
-
"
|
|
3972
|
+
"node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
|
|
3973
3973
|
"use strict";
|
|
3974
3974
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3975
3975
|
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
@@ -3987,9 +3987,9 @@ var require_constants3 = __commonJS({
|
|
|
3987
3987
|
}
|
|
3988
3988
|
});
|
|
3989
3989
|
|
|
3990
|
-
//
|
|
3990
|
+
// node_modules/@nodelib/fs.scandir/out/utils/fs.js
|
|
3991
3991
|
var require_fs3 = __commonJS({
|
|
3992
|
-
"
|
|
3992
|
+
"node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
|
|
3993
3993
|
"use strict";
|
|
3994
3994
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3995
3995
|
exports.createDirentFromStats = void 0;
|
|
@@ -4012,9 +4012,9 @@ var require_fs3 = __commonJS({
|
|
|
4012
4012
|
}
|
|
4013
4013
|
});
|
|
4014
4014
|
|
|
4015
|
-
//
|
|
4015
|
+
// node_modules/@nodelib/fs.scandir/out/utils/index.js
|
|
4016
4016
|
var require_utils4 = __commonJS({
|
|
4017
|
-
"
|
|
4017
|
+
"node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
|
|
4018
4018
|
"use strict";
|
|
4019
4019
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4020
4020
|
exports.fs = void 0;
|
|
@@ -4023,9 +4023,9 @@ var require_utils4 = __commonJS({
|
|
|
4023
4023
|
}
|
|
4024
4024
|
});
|
|
4025
4025
|
|
|
4026
|
-
//
|
|
4026
|
+
// node_modules/@nodelib/fs.scandir/out/providers/common.js
|
|
4027
4027
|
var require_common = __commonJS({
|
|
4028
|
-
"
|
|
4028
|
+
"node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
|
|
4029
4029
|
"use strict";
|
|
4030
4030
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4031
4031
|
exports.joinPathSegments = void 0;
|
|
@@ -4039,9 +4039,9 @@ var require_common = __commonJS({
|
|
|
4039
4039
|
}
|
|
4040
4040
|
});
|
|
4041
4041
|
|
|
4042
|
-
//
|
|
4042
|
+
// node_modules/@nodelib/fs.scandir/out/providers/async.js
|
|
4043
4043
|
var require_async2 = __commonJS({
|
|
4044
|
-
"
|
|
4044
|
+
"node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
|
|
4045
4045
|
"use strict";
|
|
4046
4046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4047
4047
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
@@ -4149,9 +4149,9 @@ var require_async2 = __commonJS({
|
|
|
4149
4149
|
}
|
|
4150
4150
|
});
|
|
4151
4151
|
|
|
4152
|
-
//
|
|
4152
|
+
// node_modules/@nodelib/fs.scandir/out/providers/sync.js
|
|
4153
4153
|
var require_sync2 = __commonJS({
|
|
4154
|
-
"
|
|
4154
|
+
"node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
|
|
4155
4155
|
"use strict";
|
|
4156
4156
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4157
4157
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
@@ -4208,9 +4208,9 @@ var require_sync2 = __commonJS({
|
|
|
4208
4208
|
}
|
|
4209
4209
|
});
|
|
4210
4210
|
|
|
4211
|
-
//
|
|
4211
|
+
// node_modules/@nodelib/fs.scandir/out/adapters/fs.js
|
|
4212
4212
|
var require_fs4 = __commonJS({
|
|
4213
|
-
"
|
|
4213
|
+
"node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
|
|
4214
4214
|
"use strict";
|
|
4215
4215
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4216
4216
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -4233,9 +4233,9 @@ var require_fs4 = __commonJS({
|
|
|
4233
4233
|
}
|
|
4234
4234
|
});
|
|
4235
4235
|
|
|
4236
|
-
//
|
|
4236
|
+
// node_modules/@nodelib/fs.scandir/out/settings.js
|
|
4237
4237
|
var require_settings2 = __commonJS({
|
|
4238
|
-
"
|
|
4238
|
+
"node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
|
|
4239
4239
|
"use strict";
|
|
4240
4240
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4241
4241
|
var path5 = __require("path");
|
|
@@ -4263,9 +4263,9 @@ var require_settings2 = __commonJS({
|
|
|
4263
4263
|
}
|
|
4264
4264
|
});
|
|
4265
4265
|
|
|
4266
|
-
//
|
|
4266
|
+
// node_modules/@nodelib/fs.scandir/out/index.js
|
|
4267
4267
|
var require_out2 = __commonJS({
|
|
4268
|
-
"
|
|
4268
|
+
"node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
|
|
4269
4269
|
"use strict";
|
|
4270
4270
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4271
4271
|
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
@@ -4295,9 +4295,9 @@ var require_out2 = __commonJS({
|
|
|
4295
4295
|
}
|
|
4296
4296
|
});
|
|
4297
4297
|
|
|
4298
|
-
//
|
|
4298
|
+
// node_modules/reusify/reusify.js
|
|
4299
4299
|
var require_reusify = __commonJS({
|
|
4300
|
-
"
|
|
4300
|
+
"node_modules/reusify/reusify.js"(exports, module) {
|
|
4301
4301
|
"use strict";
|
|
4302
4302
|
function reusify(Constructor) {
|
|
4303
4303
|
var head = new Constructor();
|
|
@@ -4326,9 +4326,9 @@ var require_reusify = __commonJS({
|
|
|
4326
4326
|
}
|
|
4327
4327
|
});
|
|
4328
4328
|
|
|
4329
|
-
//
|
|
4329
|
+
// node_modules/fastq/queue.js
|
|
4330
4330
|
var require_queue = __commonJS({
|
|
4331
|
-
"
|
|
4331
|
+
"node_modules/fastq/queue.js"(exports, module) {
|
|
4332
4332
|
"use strict";
|
|
4333
4333
|
var reusify = require_reusify();
|
|
4334
4334
|
function fastqueue(context, worker, _concurrency) {
|
|
@@ -4507,11 +4507,12 @@ var require_queue = __commonJS({
|
|
|
4507
4507
|
current.value = null;
|
|
4508
4508
|
current.callback = noop2;
|
|
4509
4509
|
current.errorHandler = null;
|
|
4510
|
+
current.next = null;
|
|
4510
4511
|
if (errorHandler2) {
|
|
4511
4512
|
errorHandler2(new Error("abort"), val);
|
|
4512
4513
|
}
|
|
4513
4514
|
callback.call(context2, new Error("abort"));
|
|
4514
|
-
|
|
4515
|
+
cache.release(current);
|
|
4515
4516
|
current = next;
|
|
4516
4517
|
}
|
|
4517
4518
|
self.drain = noop2;
|
|
@@ -4610,9 +4611,9 @@ var require_queue = __commonJS({
|
|
|
4610
4611
|
}
|
|
4611
4612
|
});
|
|
4612
4613
|
|
|
4613
|
-
//
|
|
4614
|
+
// node_modules/@nodelib/fs.walk/out/readers/common.js
|
|
4614
4615
|
var require_common2 = __commonJS({
|
|
4615
|
-
"
|
|
4616
|
+
"node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
|
|
4616
4617
|
"use strict";
|
|
4617
4618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4618
4619
|
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
@@ -4644,9 +4645,9 @@ var require_common2 = __commonJS({
|
|
|
4644
4645
|
}
|
|
4645
4646
|
});
|
|
4646
4647
|
|
|
4647
|
-
//
|
|
4648
|
+
// node_modules/@nodelib/fs.walk/out/readers/reader.js
|
|
4648
4649
|
var require_reader = __commonJS({
|
|
4649
|
-
"
|
|
4650
|
+
"node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) {
|
|
4650
4651
|
"use strict";
|
|
4651
4652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4652
4653
|
var common = require_common2();
|
|
@@ -4661,9 +4662,9 @@ var require_reader = __commonJS({
|
|
|
4661
4662
|
}
|
|
4662
4663
|
});
|
|
4663
4664
|
|
|
4664
|
-
//
|
|
4665
|
+
// node_modules/@nodelib/fs.walk/out/readers/async.js
|
|
4665
4666
|
var require_async3 = __commonJS({
|
|
4666
|
-
"
|
|
4667
|
+
"node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
|
|
4667
4668
|
"use strict";
|
|
4668
4669
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4669
4670
|
var events_1 = __require("events");
|
|
@@ -4764,9 +4765,9 @@ var require_async3 = __commonJS({
|
|
|
4764
4765
|
}
|
|
4765
4766
|
});
|
|
4766
4767
|
|
|
4767
|
-
//
|
|
4768
|
+
// node_modules/@nodelib/fs.walk/out/providers/async.js
|
|
4768
4769
|
var require_async4 = __commonJS({
|
|
4769
|
-
"
|
|
4770
|
+
"node_modules/@nodelib/fs.walk/out/providers/async.js"(exports) {
|
|
4770
4771
|
"use strict";
|
|
4771
4772
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4772
4773
|
var async_1 = require_async3();
|
|
@@ -4800,9 +4801,9 @@ var require_async4 = __commonJS({
|
|
|
4800
4801
|
}
|
|
4801
4802
|
});
|
|
4802
4803
|
|
|
4803
|
-
//
|
|
4804
|
+
// node_modules/@nodelib/fs.walk/out/providers/stream.js
|
|
4804
4805
|
var require_stream2 = __commonJS({
|
|
4805
|
-
"
|
|
4806
|
+
"node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
|
|
4806
4807
|
"use strict";
|
|
4807
4808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4808
4809
|
var stream_1 = __require("stream");
|
|
@@ -4841,9 +4842,9 @@ var require_stream2 = __commonJS({
|
|
|
4841
4842
|
}
|
|
4842
4843
|
});
|
|
4843
4844
|
|
|
4844
|
-
//
|
|
4845
|
+
// node_modules/@nodelib/fs.walk/out/readers/sync.js
|
|
4845
4846
|
var require_sync3 = __commonJS({
|
|
4846
|
-
"
|
|
4847
|
+
"node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports) {
|
|
4847
4848
|
"use strict";
|
|
4848
4849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4849
4850
|
var fsScandir = require_out2();
|
|
@@ -4905,9 +4906,9 @@ var require_sync3 = __commonJS({
|
|
|
4905
4906
|
}
|
|
4906
4907
|
});
|
|
4907
4908
|
|
|
4908
|
-
//
|
|
4909
|
+
// node_modules/@nodelib/fs.walk/out/providers/sync.js
|
|
4909
4910
|
var require_sync4 = __commonJS({
|
|
4910
|
-
"
|
|
4911
|
+
"node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports) {
|
|
4911
4912
|
"use strict";
|
|
4912
4913
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4913
4914
|
var sync_1 = require_sync3();
|
|
@@ -4925,9 +4926,9 @@ var require_sync4 = __commonJS({
|
|
|
4925
4926
|
}
|
|
4926
4927
|
});
|
|
4927
4928
|
|
|
4928
|
-
//
|
|
4929
|
+
// node_modules/@nodelib/fs.walk/out/settings.js
|
|
4929
4930
|
var require_settings3 = __commonJS({
|
|
4930
|
-
"
|
|
4931
|
+
"node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
|
|
4931
4932
|
"use strict";
|
|
4932
4933
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4933
4934
|
var path5 = __require("path");
|
|
@@ -4957,9 +4958,9 @@ var require_settings3 = __commonJS({
|
|
|
4957
4958
|
}
|
|
4958
4959
|
});
|
|
4959
4960
|
|
|
4960
|
-
//
|
|
4961
|
+
// node_modules/@nodelib/fs.walk/out/index.js
|
|
4961
4962
|
var require_out3 = __commonJS({
|
|
4962
|
-
"
|
|
4963
|
+
"node_modules/@nodelib/fs.walk/out/index.js"(exports) {
|
|
4963
4964
|
"use strict";
|
|
4964
4965
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4965
4966
|
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
@@ -4997,9 +4998,9 @@ var require_out3 = __commonJS({
|
|
|
4997
4998
|
}
|
|
4998
4999
|
});
|
|
4999
5000
|
|
|
5000
|
-
//
|
|
5001
|
+
// node_modules/fast-glob/out/readers/reader.js
|
|
5001
5002
|
var require_reader2 = __commonJS({
|
|
5002
|
-
"
|
|
5003
|
+
"node_modules/fast-glob/out/readers/reader.js"(exports) {
|
|
5003
5004
|
"use strict";
|
|
5004
5005
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5005
5006
|
var path5 = __require("path");
|
|
@@ -5036,9 +5037,9 @@ var require_reader2 = __commonJS({
|
|
|
5036
5037
|
}
|
|
5037
5038
|
});
|
|
5038
5039
|
|
|
5039
|
-
//
|
|
5040
|
+
// node_modules/fast-glob/out/readers/stream.js
|
|
5040
5041
|
var require_stream3 = __commonJS({
|
|
5041
|
-
"
|
|
5042
|
+
"node_modules/fast-glob/out/readers/stream.js"(exports) {
|
|
5042
5043
|
"use strict";
|
|
5043
5044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5044
5045
|
var stream_1 = __require("stream");
|
|
@@ -5093,9 +5094,9 @@ var require_stream3 = __commonJS({
|
|
|
5093
5094
|
}
|
|
5094
5095
|
});
|
|
5095
5096
|
|
|
5096
|
-
//
|
|
5097
|
+
// node_modules/fast-glob/out/readers/async.js
|
|
5097
5098
|
var require_async5 = __commonJS({
|
|
5098
|
-
"
|
|
5099
|
+
"node_modules/fast-glob/out/readers/async.js"(exports) {
|
|
5099
5100
|
"use strict";
|
|
5100
5101
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5101
5102
|
var fsWalk = require_out3();
|
|
@@ -5132,9 +5133,9 @@ var require_async5 = __commonJS({
|
|
|
5132
5133
|
}
|
|
5133
5134
|
});
|
|
5134
5135
|
|
|
5135
|
-
//
|
|
5136
|
+
// node_modules/fast-glob/out/providers/matchers/matcher.js
|
|
5136
5137
|
var require_matcher = __commonJS({
|
|
5137
|
-
"
|
|
5138
|
+
"node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
|
5138
5139
|
"use strict";
|
|
5139
5140
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5140
5141
|
var utils = require_utils3();
|
|
@@ -5183,9 +5184,9 @@ var require_matcher = __commonJS({
|
|
|
5183
5184
|
}
|
|
5184
5185
|
});
|
|
5185
5186
|
|
|
5186
|
-
//
|
|
5187
|
+
// node_modules/fast-glob/out/providers/matchers/partial.js
|
|
5187
5188
|
var require_partial = __commonJS({
|
|
5188
|
-
"
|
|
5189
|
+
"node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
|
|
5189
5190
|
"use strict";
|
|
5190
5191
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5191
5192
|
var matcher_1 = require_matcher();
|
|
@@ -5220,9 +5221,9 @@ var require_partial = __commonJS({
|
|
|
5220
5221
|
}
|
|
5221
5222
|
});
|
|
5222
5223
|
|
|
5223
|
-
//
|
|
5224
|
+
// node_modules/fast-glob/out/providers/filters/deep.js
|
|
5224
5225
|
var require_deep = __commonJS({
|
|
5225
|
-
"
|
|
5226
|
+
"node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
|
5226
5227
|
"use strict";
|
|
5227
5228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5228
5229
|
var utils = require_utils3();
|
|
@@ -5285,9 +5286,9 @@ var require_deep = __commonJS({
|
|
|
5285
5286
|
}
|
|
5286
5287
|
});
|
|
5287
5288
|
|
|
5288
|
-
//
|
|
5289
|
+
// node_modules/fast-glob/out/providers/filters/entry.js
|
|
5289
5290
|
var require_entry = __commonJS({
|
|
5290
|
-
"
|
|
5291
|
+
"node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
|
5291
5292
|
"use strict";
|
|
5292
5293
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5293
5294
|
var utils = require_utils3();
|
|
@@ -5373,9 +5374,9 @@ var require_entry = __commonJS({
|
|
|
5373
5374
|
}
|
|
5374
5375
|
});
|
|
5375
5376
|
|
|
5376
|
-
//
|
|
5377
|
+
// node_modules/fast-glob/out/providers/filters/error.js
|
|
5377
5378
|
var require_error = __commonJS({
|
|
5378
|
-
"
|
|
5379
|
+
"node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
|
5379
5380
|
"use strict";
|
|
5380
5381
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5381
5382
|
var utils = require_utils3();
|
|
@@ -5394,9 +5395,9 @@ var require_error = __commonJS({
|
|
|
5394
5395
|
}
|
|
5395
5396
|
});
|
|
5396
5397
|
|
|
5397
|
-
//
|
|
5398
|
+
// node_modules/fast-glob/out/providers/transformers/entry.js
|
|
5398
5399
|
var require_entry2 = __commonJS({
|
|
5399
|
-
"
|
|
5400
|
+
"node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
|
5400
5401
|
"use strict";
|
|
5401
5402
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5402
5403
|
var utils = require_utils3();
|
|
@@ -5426,9 +5427,9 @@ var require_entry2 = __commonJS({
|
|
|
5426
5427
|
}
|
|
5427
5428
|
});
|
|
5428
5429
|
|
|
5429
|
-
//
|
|
5430
|
+
// node_modules/fast-glob/out/providers/provider.js
|
|
5430
5431
|
var require_provider = __commonJS({
|
|
5431
|
-
"
|
|
5432
|
+
"node_modules/fast-glob/out/providers/provider.js"(exports) {
|
|
5432
5433
|
"use strict";
|
|
5433
5434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5434
5435
|
var path5 = __require("path");
|
|
@@ -5480,9 +5481,9 @@ var require_provider = __commonJS({
|
|
|
5480
5481
|
}
|
|
5481
5482
|
});
|
|
5482
5483
|
|
|
5483
|
-
//
|
|
5484
|
+
// node_modules/fast-glob/out/providers/async.js
|
|
5484
5485
|
var require_async6 = __commonJS({
|
|
5485
|
-
"
|
|
5486
|
+
"node_modules/fast-glob/out/providers/async.js"(exports) {
|
|
5486
5487
|
"use strict";
|
|
5487
5488
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5488
5489
|
var async_1 = require_async5();
|
|
@@ -5509,9 +5510,9 @@ var require_async6 = __commonJS({
|
|
|
5509
5510
|
}
|
|
5510
5511
|
});
|
|
5511
5512
|
|
|
5512
|
-
//
|
|
5513
|
+
// node_modules/fast-glob/out/providers/stream.js
|
|
5513
5514
|
var require_stream4 = __commonJS({
|
|
5514
|
-
"
|
|
5515
|
+
"node_modules/fast-glob/out/providers/stream.js"(exports) {
|
|
5515
5516
|
"use strict";
|
|
5516
5517
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5517
5518
|
var stream_1 = __require("stream");
|
|
@@ -5543,9 +5544,9 @@ var require_stream4 = __commonJS({
|
|
|
5543
5544
|
}
|
|
5544
5545
|
});
|
|
5545
5546
|
|
|
5546
|
-
//
|
|
5547
|
+
// node_modules/fast-glob/out/readers/sync.js
|
|
5547
5548
|
var require_sync5 = __commonJS({
|
|
5548
|
-
"
|
|
5549
|
+
"node_modules/fast-glob/out/readers/sync.js"(exports) {
|
|
5549
5550
|
"use strict";
|
|
5550
5551
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5551
5552
|
var fsStat = require_out();
|
|
@@ -5591,9 +5592,9 @@ var require_sync5 = __commonJS({
|
|
|
5591
5592
|
}
|
|
5592
5593
|
});
|
|
5593
5594
|
|
|
5594
|
-
//
|
|
5595
|
+
// node_modules/fast-glob/out/providers/sync.js
|
|
5595
5596
|
var require_sync6 = __commonJS({
|
|
5596
|
-
"
|
|
5597
|
+
"node_modules/fast-glob/out/providers/sync.js"(exports) {
|
|
5597
5598
|
"use strict";
|
|
5598
5599
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5599
5600
|
var sync_1 = require_sync5();
|
|
@@ -5620,9 +5621,9 @@ var require_sync6 = __commonJS({
|
|
|
5620
5621
|
}
|
|
5621
5622
|
});
|
|
5622
5623
|
|
|
5623
|
-
//
|
|
5624
|
+
// node_modules/fast-glob/out/settings.js
|
|
5624
5625
|
var require_settings4 = __commonJS({
|
|
5625
|
-
"
|
|
5626
|
+
"node_modules/fast-glob/out/settings.js"(exports) {
|
|
5626
5627
|
"use strict";
|
|
5627
5628
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5628
5629
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -5680,9 +5681,9 @@ var require_settings4 = __commonJS({
|
|
|
5680
5681
|
}
|
|
5681
5682
|
});
|
|
5682
5683
|
|
|
5683
|
-
//
|
|
5684
|
+
// node_modules/fast-glob/out/index.js
|
|
5684
5685
|
var require_out4 = __commonJS({
|
|
5685
|
-
"
|
|
5686
|
+
"node_modules/fast-glob/out/index.js"(exports, module) {
|
|
5686
5687
|
"use strict";
|
|
5687
5688
|
var taskManager = require_tasks();
|
|
5688
5689
|
var async_1 = require_async6();
|
|
@@ -5781,9 +5782,9 @@ var require_out4 = __commonJS({
|
|
|
5781
5782
|
}
|
|
5782
5783
|
});
|
|
5783
5784
|
|
|
5784
|
-
//
|
|
5785
|
+
// node_modules/del/node_modules/ignore/index.js
|
|
5785
5786
|
var require_ignore = __commonJS({
|
|
5786
|
-
"
|
|
5787
|
+
"node_modules/del/node_modules/ignore/index.js"(exports, module) {
|
|
5787
5788
|
function makeArray(subject) {
|
|
5788
5789
|
return Array.isArray(subject) ? subject : [subject];
|
|
5789
5790
|
}
|
|
@@ -5791,13 +5792,15 @@ var require_ignore = __commonJS({
|
|
|
5791
5792
|
var EMPTY = "";
|
|
5792
5793
|
var SPACE = " ";
|
|
5793
5794
|
var ESCAPE = "\\";
|
|
5794
|
-
var
|
|
5795
|
+
var REGEX_LITERAL_SPECIAL = /[.*+?()[\]{}^$|\\/]/;
|
|
5796
|
+
var REGEX_TEST_BLANK_LINE = /^\uFEFF? *$/;
|
|
5795
5797
|
var REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/;
|
|
5796
5798
|
var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/;
|
|
5797
5799
|
var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/;
|
|
5798
5800
|
var REGEX_SPLITALL_CRLF = /\r?\n/g;
|
|
5799
|
-
var
|
|
5800
|
-
var
|
|
5801
|
+
var DOUBLE_SLASH = "//";
|
|
5802
|
+
var SLASH_CODE = 47;
|
|
5803
|
+
var DOT_CODE = 46;
|
|
5801
5804
|
var SLASH = "/";
|
|
5802
5805
|
var TMP_KEY_IGNORE = "node-ignore";
|
|
5803
5806
|
if (typeof Symbol !== "undefined") {
|
|
@@ -5808,39 +5811,194 @@ var require_ignore = __commonJS({
|
|
|
5808
5811
|
Object.defineProperty(object, key, { value });
|
|
5809
5812
|
return value;
|
|
5810
5813
|
};
|
|
5811
|
-
var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
|
|
5812
5814
|
var RETURN_FALSE = () => false;
|
|
5813
|
-
var sanitizeRange = (range) => range.replace(
|
|
5814
|
-
REGEX_REGEXP_RANGE,
|
|
5815
|
-
(match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY
|
|
5816
|
-
);
|
|
5817
5815
|
var cleanRangeBackSlash = (slashes) => {
|
|
5818
5816
|
const { length } = slashes;
|
|
5819
5817
|
return slashes.slice(0, length - length % 2);
|
|
5820
5818
|
};
|
|
5819
|
+
var POSIX_CLASSES = {
|
|
5820
|
+
alnum: "0-9A-Za-z",
|
|
5821
|
+
alpha: "A-Za-z",
|
|
5822
|
+
blank: " \\t",
|
|
5823
|
+
cntrl: "\\x00-\\x1f\\x7f",
|
|
5824
|
+
digit: "0-9",
|
|
5825
|
+
graph: "!-.0-~",
|
|
5826
|
+
lower: "a-z",
|
|
5827
|
+
print: " -.0-~",
|
|
5828
|
+
punct: "!-.:-@\\[-`{-~",
|
|
5829
|
+
// git's `sane-ctype.h` classifies \v and \f as control, not space,
|
|
5830
|
+
// unlike C's `isspace`
|
|
5831
|
+
space: " \\t\\n\\r",
|
|
5832
|
+
upper: "A-Z",
|
|
5833
|
+
xdigit: "0-9A-Fa-f"
|
|
5834
|
+
};
|
|
5835
|
+
var CLASS_MEMBERS_TO_ESCAPE = "\\]^-[";
|
|
5836
|
+
var escapeMember = (char) => CLASS_MEMBERS_TO_ESCAPE.indexOf(char) < 0 ? char : ESCAPE + char;
|
|
5837
|
+
var NON_SLASH = "(?!\\/)";
|
|
5838
|
+
var classSource = (negated, body) => {
|
|
5839
|
+
if (negated) {
|
|
5840
|
+
return `[^\\/${body}]`;
|
|
5841
|
+
}
|
|
5842
|
+
const source = `[${body}]`;
|
|
5843
|
+
return new RegExp(source).test("/") ? NON_SLASH + source : source;
|
|
5844
|
+
};
|
|
5845
|
+
var scanBracket = (pattern, start) => {
|
|
5846
|
+
const { length } = pattern;
|
|
5847
|
+
let index = start + 1;
|
|
5848
|
+
let negated = EMPTY;
|
|
5849
|
+
const lead = pattern[index];
|
|
5850
|
+
if (lead === "!" || lead === "^") {
|
|
5851
|
+
negated = "^";
|
|
5852
|
+
index++;
|
|
5853
|
+
}
|
|
5854
|
+
let body = EMPTY;
|
|
5855
|
+
let prev = EMPTY;
|
|
5856
|
+
for (; ; ) {
|
|
5857
|
+
const char = pattern[index];
|
|
5858
|
+
if (char === UNDEFINED) {
|
|
5859
|
+
return null;
|
|
5860
|
+
}
|
|
5861
|
+
if (char === ESCAPE) {
|
|
5862
|
+
const escaped = pattern[index + 1];
|
|
5863
|
+
if (escaped === UNDEFINED) {
|
|
5864
|
+
return null;
|
|
5865
|
+
}
|
|
5866
|
+
body += escapeMember(escaped);
|
|
5867
|
+
prev = escaped;
|
|
5868
|
+
index++;
|
|
5869
|
+
} else if (char === "-" && prev && index + 1 < length && pattern[index + 1] !== "]") {
|
|
5870
|
+
index++;
|
|
5871
|
+
let to = pattern[index];
|
|
5872
|
+
if (to === ESCAPE) {
|
|
5873
|
+
to = pattern[index += 1];
|
|
5874
|
+
}
|
|
5875
|
+
if (prev <= to) {
|
|
5876
|
+
body += `-${escapeMember(to)}`;
|
|
5877
|
+
}
|
|
5878
|
+
prev = EMPTY;
|
|
5879
|
+
} else if (char === "[" && pattern[index + 1] === ":") {
|
|
5880
|
+
const nameStart = index + 2;
|
|
5881
|
+
let end = nameStart;
|
|
5882
|
+
while (end < length && pattern[end] !== "]") {
|
|
5883
|
+
end++;
|
|
5884
|
+
}
|
|
5885
|
+
if (end === length) {
|
|
5886
|
+
return null;
|
|
5887
|
+
}
|
|
5888
|
+
if (end > nameStart && pattern[end - 1] === ":") {
|
|
5889
|
+
const expanded = POSIX_CLASSES[pattern.slice(nameStart, end - 1)];
|
|
5890
|
+
if (expanded === UNDEFINED) {
|
|
5891
|
+
return null;
|
|
5892
|
+
}
|
|
5893
|
+
body += expanded;
|
|
5894
|
+
prev = EMPTY;
|
|
5895
|
+
index = end;
|
|
5896
|
+
} else {
|
|
5897
|
+
body += escapeMember("[");
|
|
5898
|
+
prev = "[";
|
|
5899
|
+
index = nameStart - 2;
|
|
5900
|
+
}
|
|
5901
|
+
} else {
|
|
5902
|
+
body += escapeMember(char);
|
|
5903
|
+
prev = char;
|
|
5904
|
+
}
|
|
5905
|
+
index++;
|
|
5906
|
+
if (pattern[index] === "]") {
|
|
5907
|
+
return {
|
|
5908
|
+
end: index,
|
|
5909
|
+
source: classSource(negated, body)
|
|
5910
|
+
};
|
|
5911
|
+
}
|
|
5912
|
+
}
|
|
5913
|
+
};
|
|
5914
|
+
var NEVER_MATCH = "[]";
|
|
5915
|
+
var PLACEHOLDER = "\0";
|
|
5916
|
+
var REGEX_RESTORE_PLACEHOLDER = new RegExp(
|
|
5917
|
+
`${PLACEHOLDER}(\\d+)${PLACEHOLDER}`,
|
|
5918
|
+
"g"
|
|
5919
|
+
);
|
|
5920
|
+
var TRAILING_WILDCARD = "\uE000";
|
|
5921
|
+
var extractBrackets = (pattern) => {
|
|
5922
|
+
const sources = [];
|
|
5923
|
+
const hold = (source) => `${PLACEHOLDER}${sources.push(source) - 1}${PLACEHOLDER}`;
|
|
5924
|
+
const { length } = pattern;
|
|
5925
|
+
let out = EMPTY;
|
|
5926
|
+
let index = 0;
|
|
5927
|
+
while (index < length) {
|
|
5928
|
+
const char = pattern[index];
|
|
5929
|
+
if (char === ESCAPE) {
|
|
5930
|
+
const escaped = pattern[index + 1];
|
|
5931
|
+
if (escaped === "*" || escaped === "[" || escaped === SPACE || escaped === ESCAPE) {
|
|
5932
|
+
out += pattern.slice(index, index + 2);
|
|
5933
|
+
} else {
|
|
5934
|
+
out += hold(
|
|
5935
|
+
REGEX_LITERAL_SPECIAL.test(escaped) ? ESCAPE + escaped : escaped
|
|
5936
|
+
);
|
|
5937
|
+
}
|
|
5938
|
+
index += 2;
|
|
5939
|
+
} else if (char === PLACEHOLDER) {
|
|
5940
|
+
out += hold(`[${PLACEHOLDER}]`);
|
|
5941
|
+
index++;
|
|
5942
|
+
} else if (char === "[") {
|
|
5943
|
+
const scanned = scanBracket(pattern, index);
|
|
5944
|
+
if (scanned === null) {
|
|
5945
|
+
out += hold(NEVER_MATCH);
|
|
5946
|
+
index = length;
|
|
5947
|
+
} else {
|
|
5948
|
+
out += hold(scanned.source);
|
|
5949
|
+
index = scanned.end + 1;
|
|
5950
|
+
}
|
|
5951
|
+
} else {
|
|
5952
|
+
out += char;
|
|
5953
|
+
index++;
|
|
5954
|
+
}
|
|
5955
|
+
}
|
|
5956
|
+
return {
|
|
5957
|
+
source: out,
|
|
5958
|
+
sources
|
|
5959
|
+
};
|
|
5960
|
+
};
|
|
5961
|
+
var DIRECT = null;
|
|
5962
|
+
var REGEX_INNER_SLASH = /\/(?!$)/;
|
|
5821
5963
|
var REPLACERS = [
|
|
5822
5964
|
[
|
|
5823
5965
|
// Remove BOM
|
|
5824
5966
|
// TODO:
|
|
5825
5967
|
// Other similar zero-width characters?
|
|
5826
5968
|
/^\uFEFF/,
|
|
5969
|
+
() => EMPTY,
|
|
5970
|
+
"\uFEFF"
|
|
5971
|
+
],
|
|
5972
|
+
[
|
|
5973
|
+
// A trailing line terminator, left on when a whole file's contents are
|
|
5974
|
+
// added as one pattern rather than split into lines. git never sees one
|
|
5975
|
+
// -- it reads a `.gitignore` line by line -- so it is not part of the
|
|
5976
|
+
// pattern and is dropped here, apart from the trailing-space trimming,
|
|
5977
|
+
// which follows git in touching spaces and nothing else.
|
|
5978
|
+
/[\r\n]+$/,
|
|
5827
5979
|
() => EMPTY
|
|
5828
5980
|
],
|
|
5829
5981
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
5830
5982
|
[
|
|
5983
|
+
// Only spaces, never tabs or other whitespace: git trims a trailing run
|
|
5984
|
+
// of `' '` and nothing else (dir.c, `trim_trailing_spaces`, a single
|
|
5985
|
+
// `case ' '`), so a pattern ending in a tab keeps it as a literal.
|
|
5831
5986
|
// (a\ ) -> (a )
|
|
5832
5987
|
// (a ) -> (a)
|
|
5833
5988
|
// (a ) -> (a)
|
|
5834
5989
|
// (a \ ) -> (a )
|
|
5835
|
-
/((?:\\\\)*?)(
|
|
5990
|
+
/((?:\\\\)*?)(\\? +)$/,
|
|
5836
5991
|
(_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
|
|
5837
5992
|
],
|
|
5838
5993
|
// Replace (\ ) with ' '
|
|
5994
|
+
// Only a space: an escaped tab or other whitespace is already a literal by
|
|
5995
|
+
// the time it reaches here, and a bare tab must be left as one, not turned
|
|
5996
|
+
// into a space.
|
|
5839
5997
|
// (\ ) -> ' '
|
|
5840
5998
|
// (\\ ) -> '\\ '
|
|
5841
5999
|
// (\\\ ) -> '\\ '
|
|
5842
6000
|
[
|
|
5843
|
-
/(\\+?)
|
|
6001
|
+
/(\\+?) /g,
|
|
5844
6002
|
(_, m1) => {
|
|
5845
6003
|
const { length } = m1;
|
|
5846
6004
|
return m1.slice(0, length - length % 2) + SPACE;
|
|
@@ -5869,7 +6027,8 @@ var require_ignore = __commonJS({
|
|
|
5869
6027
|
[
|
|
5870
6028
|
// > a question mark (?) matches a single character
|
|
5871
6029
|
/(?!\\)\?/g,
|
|
5872
|
-
() => "[^/]"
|
|
6030
|
+
() => "[^/]",
|
|
6031
|
+
"?"
|
|
5873
6032
|
],
|
|
5874
6033
|
// leading slash
|
|
5875
6034
|
[
|
|
@@ -5877,12 +6036,14 @@ var require_ignore = __commonJS({
|
|
|
5877
6036
|
// > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".
|
|
5878
6037
|
// A leading slash matches the beginning of the pathname
|
|
5879
6038
|
/^\//,
|
|
5880
|
-
() => "^"
|
|
6039
|
+
() => "^",
|
|
6040
|
+
SLASH
|
|
5881
6041
|
],
|
|
5882
6042
|
// replace special metacharacter slash after the leading slash
|
|
5883
6043
|
[
|
|
5884
6044
|
/\//g,
|
|
5885
|
-
() => "\\/"
|
|
6045
|
+
() => "\\/",
|
|
6046
|
+
SLASH
|
|
5886
6047
|
],
|
|
5887
6048
|
[
|
|
5888
6049
|
// > A leading "**" followed by a slash means match in all directories.
|
|
@@ -5891,18 +6052,23 @@ var require_ignore = __commonJS({
|
|
|
5891
6052
|
// > "**/foo/bar" matches file or directory "bar" anywhere that is directly
|
|
5892
6053
|
// > under directory "foo".
|
|
5893
6054
|
// Notice that the '*'s have been replaced as '\\*'
|
|
5894
|
-
|
|
6055
|
+
/^\^*(?:\\\*\\\*\\\/)+/,
|
|
5895
6056
|
// '**/foo' <-> 'foo'
|
|
5896
|
-
() => "^(?:.*\\/)?"
|
|
6057
|
+
() => "^(?:.*\\/)?",
|
|
6058
|
+
"*"
|
|
5897
6059
|
],
|
|
5898
6060
|
// starting
|
|
5899
6061
|
[
|
|
5900
6062
|
// there will be no leading '/'
|
|
5901
6063
|
// (which has been replaced by section "leading slash")
|
|
5902
6064
|
// If starts with '**', adding a '^' to the regular expression also works
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
6065
|
+
DIRECT,
|
|
6066
|
+
(source, pattern) => {
|
|
6067
|
+
if (!source || source[0] === "^") {
|
|
6068
|
+
return source;
|
|
6069
|
+
}
|
|
6070
|
+
const anchor = !REGEX_INNER_SLASH.test(pattern) ? "(?:^|\\/)" : "^";
|
|
6071
|
+
return anchor + source;
|
|
5906
6072
|
}
|
|
5907
6073
|
],
|
|
5908
6074
|
// two globstars
|
|
@@ -5912,7 +6078,8 @@ var require_ignore = __commonJS({
|
|
|
5912
6078
|
// Zero, one or several directories
|
|
5913
6079
|
// should not use '*', or it will be replaced by the next replacer
|
|
5914
6080
|
// Check if it is not the last `'/**'`
|
|
5915
|
-
(_, index, str) => index + 6 < str.length ? "(?:\\/[^\\/]+)*" : "\\/.+"
|
|
6081
|
+
(_, index, str) => index + 6 < str.length ? str.slice(index + 6) === "\\/" ? "(?:\\/[^\\/]+)+" : "(?:\\/[^\\/]+)*" : "\\/.+",
|
|
6082
|
+
"*"
|
|
5916
6083
|
],
|
|
5917
6084
|
// normal intermediate wildcards
|
|
5918
6085
|
[
|
|
@@ -5927,32 +6094,56 @@ var require_ignore = __commonJS({
|
|
|
5927
6094
|
(_, p1, p2) => {
|
|
5928
6095
|
const unescaped = p2.replace(/\\\*/g, "[^\\/]*");
|
|
5929
6096
|
return p1 + unescaped;
|
|
5930
|
-
}
|
|
6097
|
+
},
|
|
6098
|
+
"*"
|
|
6099
|
+
],
|
|
6100
|
+
// trailing wildcard, held apart from a literal star
|
|
6101
|
+
[
|
|
6102
|
+
// The step above leaves a trailing `*` alone, so a single `\*` is all that
|
|
6103
|
+
// can be left at the end here. Whether it is a wildcard or a literal
|
|
6104
|
+
// turns on the backslashes the user put in front of it: the escaper has
|
|
6105
|
+
// since doubled every one, so what stands here is those `2N` doubled
|
|
6106
|
+
// backslashes and then the star's own escape. An even number of the
|
|
6107
|
+
// original `N` leaves the star unescaped -- a wildcard -- and an odd
|
|
6108
|
+
// number escapes it -- a literal. This runs while the two are still
|
|
6109
|
+
// distinct, before the unescape steps below collapse the literal onto
|
|
6110
|
+
// the very `\*` a wildcard leaves behind.
|
|
6111
|
+
/(^|[^\\])((?:\\\\)*)\\\*$/,
|
|
6112
|
+
(match, p1, p2) => (
|
|
6113
|
+
// `p2` holds the doubled user backslashes; half of them is `N`.
|
|
6114
|
+
p2.length / 2 % 2 === 0 ? p1 + p2 + TRAILING_WILDCARD : match
|
|
6115
|
+
),
|
|
6116
|
+
"*"
|
|
5931
6117
|
],
|
|
5932
6118
|
[
|
|
5933
6119
|
// unescape, revert step 3 except for back slash
|
|
5934
6120
|
// For example, if a user escape a '\\*',
|
|
5935
6121
|
// after step 3, the result will be '\\\\\\*'
|
|
5936
6122
|
/\\\\\\(?=[$.|*+(){^])/g,
|
|
5937
|
-
() => ESCAPE
|
|
6123
|
+
() => ESCAPE,
|
|
6124
|
+
ESCAPE + ESCAPE
|
|
5938
6125
|
],
|
|
5939
6126
|
[
|
|
5940
6127
|
// '\\\\' -> '\\'
|
|
5941
6128
|
/\\\\/g,
|
|
5942
|
-
() => ESCAPE
|
|
6129
|
+
() => ESCAPE,
|
|
6130
|
+
ESCAPE + ESCAPE
|
|
5943
6131
|
],
|
|
5944
6132
|
[
|
|
5945
|
-
//
|
|
5946
|
-
//
|
|
6133
|
+
// Every real bracket expression -- POSIX classes included -- has already
|
|
6134
|
+
// been held aside by `extractBrackets`, so the only `[` left in the
|
|
6135
|
+
// pattern is an escaped, literal one.
|
|
5947
6136
|
// `\` is escaped by step 3
|
|
5948
|
-
|
|
5949
|
-
|
|
6137
|
+
/\\\[([^\]/]*?)(\\*)($|\])/g,
|
|
6138
|
+
// '\\[bar]' -> '\\\\[bar\\]'
|
|
6139
|
+
(match, range, endEscape, close) => `\\[${range}${cleanRangeBackSlash(endEscape)}${close}`,
|
|
6140
|
+
"["
|
|
5950
6141
|
],
|
|
5951
6142
|
// ending
|
|
5952
6143
|
[
|
|
5953
6144
|
// 'js' will not match 'js.'
|
|
5954
6145
|
// 'ab' will not match 'abc'
|
|
5955
|
-
|
|
6146
|
+
DIRECT,
|
|
5956
6147
|
// WTF!
|
|
5957
6148
|
// https://git-scm.com/docs/gitignore
|
|
5958
6149
|
// changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1)
|
|
@@ -5963,10 +6154,16 @@ var require_ignore = __commonJS({
|
|
|
5963
6154
|
// 'js*' will not match 'a.js'
|
|
5964
6155
|
// 'js/' will not match 'a.js'
|
|
5965
6156
|
// 'js' will match 'a.js' and 'a.js/'
|
|
5966
|
-
(
|
|
6157
|
+
(source) => {
|
|
6158
|
+
const last = source[source.length - 1];
|
|
6159
|
+
if (!last || last === TRAILING_WILDCARD) {
|
|
6160
|
+
return source;
|
|
6161
|
+
}
|
|
6162
|
+
return last === SLASH ? `${source}$` : `${source}(?=$|\\/$)`;
|
|
6163
|
+
}
|
|
5967
6164
|
]
|
|
5968
6165
|
];
|
|
5969
|
-
var REGEX_REPLACE_TRAILING_WILDCARD = /(^|\\\/)
|
|
6166
|
+
var REGEX_REPLACE_TRAILING_WILDCARD = /(^|\\\/)?\uE000$/;
|
|
5970
6167
|
var MODE_IGNORE = "regex";
|
|
5971
6168
|
var MODE_CHECK_IGNORE = "checkRegex";
|
|
5972
6169
|
var UNDERSCORE = "_";
|
|
@@ -5980,10 +6177,146 @@ var require_ignore = __commonJS({
|
|
|
5980
6177
|
return `${prefix}(?=$|\\/$)`;
|
|
5981
6178
|
}
|
|
5982
6179
|
};
|
|
5983
|
-
var
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
6180
|
+
var WILDCARD = "[^\\/]*";
|
|
6181
|
+
var separatorAfter = (run, at) => {
|
|
6182
|
+
let separator = EMPTY;
|
|
6183
|
+
for (let index = at + 1; index < run.length && !run[index].wildcard; index++) {
|
|
6184
|
+
separator += run[index].single;
|
|
6185
|
+
}
|
|
6186
|
+
return separator;
|
|
6187
|
+
};
|
|
6188
|
+
var pinWildcards = (source) => {
|
|
6189
|
+
if (source.indexOf(WILDCARD) < 0) {
|
|
6190
|
+
return source;
|
|
6191
|
+
}
|
|
6192
|
+
const tokens = [];
|
|
6193
|
+
const { length } = source;
|
|
6194
|
+
let index = 0;
|
|
6195
|
+
while (index < length) {
|
|
6196
|
+
const char = source[index];
|
|
6197
|
+
if (source.startsWith(WILDCARD, index)) {
|
|
6198
|
+
tokens.push({ wildcard: true });
|
|
6199
|
+
index += WILDCARD.length;
|
|
6200
|
+
} else if (char === "[") {
|
|
6201
|
+
let end = index + 1;
|
|
6202
|
+
if (source[end] === "^") {
|
|
6203
|
+
end++;
|
|
6204
|
+
}
|
|
6205
|
+
if (source[end] === "]") {
|
|
6206
|
+
end++;
|
|
6207
|
+
}
|
|
6208
|
+
while (end < length && source[end] !== "]") {
|
|
6209
|
+
end += source[end] === ESCAPE ? 2 : 1;
|
|
6210
|
+
}
|
|
6211
|
+
end++;
|
|
6212
|
+
tokens.push({ single: source.slice(index, end) });
|
|
6213
|
+
index = end;
|
|
6214
|
+
} else if (char === ESCAPE) {
|
|
6215
|
+
tokens.push({ single: source.slice(index, index + 2) });
|
|
6216
|
+
index += 2;
|
|
6217
|
+
} else if (char === "(") {
|
|
6218
|
+
let depth = 0;
|
|
6219
|
+
let end = index;
|
|
6220
|
+
do {
|
|
6221
|
+
if (source[end] === ESCAPE) {
|
|
6222
|
+
end++;
|
|
6223
|
+
} else if (source[end] === "(") {
|
|
6224
|
+
depth++;
|
|
6225
|
+
} else if (source[end] === ")") {
|
|
6226
|
+
depth--;
|
|
6227
|
+
}
|
|
6228
|
+
end++;
|
|
6229
|
+
} while (end < length && depth > 0);
|
|
6230
|
+
if ("*+?".indexOf(source[end]) >= 0) {
|
|
6231
|
+
end++;
|
|
6232
|
+
}
|
|
6233
|
+
tokens.push({ boundary: source.slice(index, end) });
|
|
6234
|
+
index = end;
|
|
6235
|
+
} else if (char === "^" || char === "$") {
|
|
6236
|
+
tokens.push({ boundary: char });
|
|
6237
|
+
index++;
|
|
6238
|
+
} else {
|
|
6239
|
+
tokens.push({ single: char });
|
|
6240
|
+
index++;
|
|
6241
|
+
}
|
|
6242
|
+
}
|
|
6243
|
+
let out = EMPTY;
|
|
6244
|
+
let run = [];
|
|
6245
|
+
const flush = () => {
|
|
6246
|
+
let lastWildcard;
|
|
6247
|
+
run.forEach((token, at) => {
|
|
6248
|
+
if (token.wildcard) {
|
|
6249
|
+
lastWildcard = at;
|
|
6250
|
+
}
|
|
6251
|
+
});
|
|
6252
|
+
run.forEach((token, at) => {
|
|
6253
|
+
if (!token.wildcard) {
|
|
6254
|
+
out += token.single;
|
|
6255
|
+
return;
|
|
6256
|
+
}
|
|
6257
|
+
out += at === lastWildcard ? WILDCARD : `(?:(?!${separatorAfter(run, at)})[^\\/])*`;
|
|
6258
|
+
});
|
|
6259
|
+
run = [];
|
|
6260
|
+
};
|
|
6261
|
+
tokens.forEach((token) => {
|
|
6262
|
+
if (token.boundary === void 0) {
|
|
6263
|
+
run.push(token);
|
|
6264
|
+
return;
|
|
6265
|
+
}
|
|
6266
|
+
flush();
|
|
6267
|
+
out += token.boundary;
|
|
6268
|
+
});
|
|
6269
|
+
flush();
|
|
6270
|
+
return out;
|
|
6271
|
+
};
|
|
6272
|
+
var makeRegexPrefix = (pattern) => {
|
|
6273
|
+
const { source, sources } = extractBrackets(pattern);
|
|
6274
|
+
const replaced = REPLACERS.reduce(
|
|
6275
|
+
// A pass whose matcher finds nothing hands back the very string it was
|
|
6276
|
+
// given, so asking first costs a search and saves a rewrite. Ten of the
|
|
6277
|
+
// fifteen passes never fire for a typical .gitignore line, and between
|
|
6278
|
+
// them they were 45% of this chain.
|
|
6279
|
+
(prev, [matcher, replacer, required]) => {
|
|
6280
|
+
if (matcher === DIRECT) {
|
|
6281
|
+
return replacer(prev, pattern);
|
|
6282
|
+
}
|
|
6283
|
+
if (required !== UNDEFINED && prev.indexOf(required) < 0) {
|
|
6284
|
+
return prev;
|
|
6285
|
+
}
|
|
6286
|
+
return matcher.test(prev) ? prev.replace(matcher, replacer.bind(pattern)) : prev;
|
|
6287
|
+
},
|
|
6288
|
+
source
|
|
6289
|
+
);
|
|
6290
|
+
return sources.length ? replaced.replace(
|
|
6291
|
+
REGEX_RESTORE_PLACEHOLDER,
|
|
6292
|
+
(match, index) => sources[index]
|
|
6293
|
+
) : replaced;
|
|
6294
|
+
};
|
|
6295
|
+
var matchesBasename = (body) => {
|
|
6296
|
+
const index = body.indexOf(SLASH);
|
|
6297
|
+
return index < 0 || index === body.length - 1;
|
|
6298
|
+
};
|
|
6299
|
+
var basenameOf = (path5) => {
|
|
6300
|
+
const end = path5.length - 1;
|
|
6301
|
+
const index = path5.lastIndexOf(
|
|
6302
|
+
SLASH,
|
|
6303
|
+
path5[end] === SLASH ? end - 1 : end
|
|
6304
|
+
);
|
|
6305
|
+
return index < 0 ? path5 : path5.slice(index + 1);
|
|
6306
|
+
};
|
|
6307
|
+
var parentOf = (path5) => {
|
|
6308
|
+
if (path5.charCodeAt(0) === SLASH_CODE || path5.indexOf(DOUBLE_SLASH) >= 0) {
|
|
6309
|
+
const slices = path5.split(SLASH).filter(Boolean);
|
|
6310
|
+
slices.pop();
|
|
6311
|
+
return slices.length ? slices.join(SLASH) + SLASH : EMPTY;
|
|
6312
|
+
}
|
|
6313
|
+
const end = path5.length - 1;
|
|
6314
|
+
const cut = path5.lastIndexOf(
|
|
6315
|
+
SLASH,
|
|
6316
|
+
path5.charCodeAt(end) === SLASH_CODE ? end - 1 : end
|
|
6317
|
+
);
|
|
6318
|
+
return cut < 0 ? EMPTY : path5.slice(0, cut + 1);
|
|
6319
|
+
};
|
|
5987
6320
|
var isString = (subject) => typeof subject === "string";
|
|
5988
6321
|
var checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0;
|
|
5989
6322
|
var splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF).filter(Boolean);
|
|
@@ -5996,6 +6329,14 @@ var require_ignore = __commonJS({
|
|
|
5996
6329
|
define(this, "ignoreCase", ignoreCase);
|
|
5997
6330
|
define(this, "regexPrefix", prefix);
|
|
5998
6331
|
}
|
|
6332
|
+
// Worked out on first use and kept behind an own property, the way `regex`
|
|
6333
|
+
// caches itself in `_regex`. Deciding it in the constructor instead would
|
|
6334
|
+
// add a fourth `defineProperty` to every rule ever built, which cost 4% of
|
|
6335
|
+
// every compile -- including the compiles of rules that are never matched
|
|
6336
|
+
// against anything.
|
|
6337
|
+
get _basenameOnly() {
|
|
6338
|
+
return define(this, "_basenameOnly", matchesBasename(this.body));
|
|
6339
|
+
}
|
|
5999
6340
|
get regex() {
|
|
6000
6341
|
const key = UNDERSCORE + MODE_IGNORE;
|
|
6001
6342
|
if (this[key]) {
|
|
@@ -6011,11 +6352,11 @@ var require_ignore = __commonJS({
|
|
|
6011
6352
|
return this._make(MODE_CHECK_IGNORE, key);
|
|
6012
6353
|
}
|
|
6013
6354
|
_make(mode, key) {
|
|
6014
|
-
const str = this.regexPrefix.replace(
|
|
6355
|
+
const str = pinWildcards(this.regexPrefix.replace(
|
|
6015
6356
|
REGEX_REPLACE_TRAILING_WILDCARD,
|
|
6016
6357
|
// It does not need to bind pattern
|
|
6017
6358
|
TRAILING_WILD_CARD_REPLACERS[mode]
|
|
6018
|
-
);
|
|
6359
|
+
));
|
|
6019
6360
|
const regex = this.ignoreCase ? new RegExp(str, "i") : new RegExp(str);
|
|
6020
6361
|
return define(this, key, regex);
|
|
6021
6362
|
}
|
|
@@ -6045,10 +6386,12 @@ var require_ignore = __commonJS({
|
|
|
6045
6386
|
constructor(ignoreCase) {
|
|
6046
6387
|
this._ignoreCase = ignoreCase;
|
|
6047
6388
|
this._rules = [];
|
|
6389
|
+
this._basenameCount = 0;
|
|
6048
6390
|
}
|
|
6049
6391
|
_add(pattern) {
|
|
6050
6392
|
if (pattern && pattern[KEY_IGNORE]) {
|
|
6051
6393
|
this._rules = this._rules.concat(pattern._rules._rules);
|
|
6394
|
+
this._basenameCount += pattern._rules._basenameCount;
|
|
6052
6395
|
this._added = true;
|
|
6053
6396
|
return;
|
|
6054
6397
|
}
|
|
@@ -6061,6 +6404,9 @@ var require_ignore = __commonJS({
|
|
|
6061
6404
|
const rule = createRule(pattern, this._ignoreCase);
|
|
6062
6405
|
this._added = true;
|
|
6063
6406
|
this._rules.push(rule);
|
|
6407
|
+
if (matchesBasename(rule.body)) {
|
|
6408
|
+
this._basenameCount++;
|
|
6409
|
+
}
|
|
6064
6410
|
}
|
|
6065
6411
|
}
|
|
6066
6412
|
// @param {Array<string> | string | Ignore} pattern
|
|
@@ -6082,19 +6428,22 @@ var require_ignore = __commonJS({
|
|
|
6082
6428
|
let ignored = false;
|
|
6083
6429
|
let unignored = false;
|
|
6084
6430
|
let matchedRule;
|
|
6085
|
-
this._rules
|
|
6431
|
+
const rules = this._rules;
|
|
6432
|
+
const { length } = rules;
|
|
6433
|
+
const shortcut = this._basenameCount * 2 >= length;
|
|
6434
|
+
const basename = shortcut ? basenameOf(path5) : path5;
|
|
6435
|
+
for (let index = 0; index < length; index++) {
|
|
6436
|
+
const rule = rules[index];
|
|
6086
6437
|
const { negative } = rule;
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6438
|
+
const skip = unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored;
|
|
6439
|
+
if (!skip && rule[mode].test(
|
|
6440
|
+
shortcut && rule._basenameOnly ? basename : path5
|
|
6441
|
+
)) {
|
|
6442
|
+
ignored = !negative;
|
|
6443
|
+
unignored = negative;
|
|
6444
|
+
matchedRule = negative ? UNDEFINED : rule;
|
|
6093
6445
|
}
|
|
6094
|
-
|
|
6095
|
-
unignored = negative;
|
|
6096
|
-
matchedRule = negative ? UNDEFINED : rule;
|
|
6097
|
-
});
|
|
6446
|
+
}
|
|
6098
6447
|
const ret = {
|
|
6099
6448
|
ignored,
|
|
6100
6449
|
unignored
|
|
@@ -6127,7 +6476,26 @@ var require_ignore = __commonJS({
|
|
|
6127
6476
|
}
|
|
6128
6477
|
return true;
|
|
6129
6478
|
};
|
|
6130
|
-
var isNotRelative = (path5) =>
|
|
6479
|
+
var isNotRelative = (path5) => {
|
|
6480
|
+
const first = path5.charCodeAt(0);
|
|
6481
|
+
if (first === SLASH_CODE) {
|
|
6482
|
+
return true;
|
|
6483
|
+
}
|
|
6484
|
+
if (first !== DOT_CODE) {
|
|
6485
|
+
return false;
|
|
6486
|
+
}
|
|
6487
|
+
if (path5.length === 1) {
|
|
6488
|
+
return true;
|
|
6489
|
+
}
|
|
6490
|
+
const second = path5.charCodeAt(1);
|
|
6491
|
+
if (second === SLASH_CODE) {
|
|
6492
|
+
return true;
|
|
6493
|
+
}
|
|
6494
|
+
if (second !== DOT_CODE) {
|
|
6495
|
+
return false;
|
|
6496
|
+
}
|
|
6497
|
+
return path5.length === 2 || path5.charCodeAt(2) === SLASH_CODE;
|
|
6498
|
+
};
|
|
6131
6499
|
checkPath.isNotRelative = isNotRelative;
|
|
6132
6500
|
checkPath.convert = (p) => p;
|
|
6133
6501
|
var Ignore = class {
|
|
@@ -6156,52 +6524,35 @@ var require_ignore = __commonJS({
|
|
|
6156
6524
|
return this.add(pattern);
|
|
6157
6525
|
}
|
|
6158
6526
|
// @returns {TestResult}
|
|
6159
|
-
_test(originalPath, cache, checkUnignored
|
|
6527
|
+
_test(originalPath, cache, checkUnignored) {
|
|
6160
6528
|
const path5 = originalPath && checkPath.convert(originalPath);
|
|
6161
6529
|
checkPath(
|
|
6162
6530
|
path5,
|
|
6163
6531
|
originalPath,
|
|
6164
6532
|
this._strictPathCheck ? throwError : RETURN_FALSE
|
|
6165
6533
|
);
|
|
6166
|
-
return this._t(path5, cache, checkUnignored
|
|
6534
|
+
return this._t(path5, cache, checkUnignored);
|
|
6167
6535
|
}
|
|
6168
6536
|
checkIgnore(path5) {
|
|
6169
|
-
if (
|
|
6537
|
+
if (path5.charCodeAt(path5.length - 1) !== SLASH_CODE) {
|
|
6170
6538
|
return this.test(path5);
|
|
6171
6539
|
}
|
|
6172
|
-
const
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
const parent = this._t(
|
|
6176
|
-
slices.join(SLASH) + SLASH,
|
|
6177
|
-
this._testCache,
|
|
6178
|
-
true,
|
|
6179
|
-
slices
|
|
6180
|
-
);
|
|
6540
|
+
const parentPath = parentOf(path5);
|
|
6541
|
+
if (parentPath) {
|
|
6542
|
+
const parent = this._t(parentPath, this._testCache, true);
|
|
6181
6543
|
if (parent.ignored) {
|
|
6182
6544
|
return parent;
|
|
6183
6545
|
}
|
|
6184
6546
|
}
|
|
6185
6547
|
return this._rules.test(path5, false, MODE_CHECK_IGNORE);
|
|
6186
6548
|
}
|
|
6187
|
-
_t(path5, cache, checkUnignored
|
|
6549
|
+
_t(path5, cache, checkUnignored) {
|
|
6188
6550
|
if (path5 in cache) {
|
|
6189
6551
|
return cache[path5];
|
|
6190
6552
|
}
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
slices.pop();
|
|
6195
|
-
if (!slices.length) {
|
|
6196
|
-
return cache[path5] = this._rules.test(path5, checkUnignored, MODE_IGNORE);
|
|
6197
|
-
}
|
|
6198
|
-
const parent = this._t(
|
|
6199
|
-
slices.join(SLASH) + SLASH,
|
|
6200
|
-
cache,
|
|
6201
|
-
checkUnignored,
|
|
6202
|
-
slices
|
|
6203
|
-
);
|
|
6204
|
-
return cache[path5] = parent.ignored ? parent : this._rules.test(path5, checkUnignored, MODE_IGNORE);
|
|
6553
|
+
const parentPath = parentOf(path5);
|
|
6554
|
+
const parent = parentPath ? this._t(parentPath, cache, checkUnignored) : UNDEFINED;
|
|
6555
|
+
return cache[path5] = parent && parent.ignored ? parent : this._rules.test(path5, checkUnignored, MODE_IGNORE);
|
|
6205
6556
|
}
|
|
6206
6557
|
ignores(path5) {
|
|
6207
6558
|
return this._test(path5, this._ignoreCache, false).ignored;
|
|
@@ -6238,17 +6589,17 @@ var require_ignore = __commonJS({
|
|
|
6238
6589
|
}
|
|
6239
6590
|
});
|
|
6240
6591
|
|
|
6241
|
-
//
|
|
6592
|
+
// node_modules/del/index.js
|
|
6242
6593
|
import fsPromises3 from "node:fs/promises";
|
|
6243
6594
|
import path4 from "node:path";
|
|
6244
6595
|
import process5 from "node:process";
|
|
6245
6596
|
|
|
6246
|
-
//
|
|
6597
|
+
// node_modules/del/node_modules/globby/index.js
|
|
6247
6598
|
import process3 from "node:process";
|
|
6248
6599
|
import fs3 from "node:fs";
|
|
6249
6600
|
import nodePath from "node:path";
|
|
6250
6601
|
|
|
6251
|
-
//
|
|
6602
|
+
// node_modules/@sindresorhus/merge-streams/index.js
|
|
6252
6603
|
import { on, once } from "node:events";
|
|
6253
6604
|
import { PassThrough as PassThroughStream } from "node:stream";
|
|
6254
6605
|
import { finished } from "node:stream/promises";
|
|
@@ -6425,10 +6776,10 @@ var updateMaxListeners = (passThroughStream, increment) => {
|
|
|
6425
6776
|
var PASSTHROUGH_LISTENERS_COUNT = 2;
|
|
6426
6777
|
var PASSTHROUGH_LISTENERS_PER_STREAM = 1;
|
|
6427
6778
|
|
|
6428
|
-
//
|
|
6779
|
+
// node_modules/del/node_modules/globby/index.js
|
|
6429
6780
|
var import_fast_glob2 = __toESM(require_out4(), 1);
|
|
6430
6781
|
|
|
6431
|
-
//
|
|
6782
|
+
// node_modules/del/node_modules/path-type/index.js
|
|
6432
6783
|
import fs from "node:fs";
|
|
6433
6784
|
import fsPromises from "node:fs/promises";
|
|
6434
6785
|
async function isType(fsStatType, statsMethodName, filePath) {
|
|
@@ -6465,7 +6816,7 @@ var isFileSync = isTypeSync.bind(void 0, "statSync", "isFile");
|
|
|
6465
6816
|
var isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory");
|
|
6466
6817
|
var isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
|
|
6467
6818
|
|
|
6468
|
-
//
|
|
6819
|
+
// node_modules/unicorn-magic/node.js
|
|
6469
6820
|
import { promisify } from "node:util";
|
|
6470
6821
|
import { execFile as execFileCallback, execFileSync as execFileSyncOriginal } from "node:child_process";
|
|
6471
6822
|
import { fileURLToPath } from "node:url";
|
|
@@ -6475,7 +6826,7 @@ function toPath(urlOrPath) {
|
|
|
6475
6826
|
}
|
|
6476
6827
|
var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
|
|
6477
6828
|
|
|
6478
|
-
//
|
|
6829
|
+
// node_modules/del/node_modules/globby/ignore.js
|
|
6479
6830
|
var import_fast_glob = __toESM(require_out4(), 1);
|
|
6480
6831
|
var import_ignore = __toESM(require_ignore(), 1);
|
|
6481
6832
|
import process2 from "node:process";
|
|
@@ -6483,7 +6834,7 @@ import fs2 from "node:fs";
|
|
|
6483
6834
|
import fsPromises2 from "node:fs/promises";
|
|
6484
6835
|
import path from "node:path";
|
|
6485
6836
|
|
|
6486
|
-
//
|
|
6837
|
+
// node_modules/del/node_modules/slash/index.js
|
|
6487
6838
|
function slash(path5) {
|
|
6488
6839
|
const isExtendedLengthPath = path5.startsWith("\\\\?\\");
|
|
6489
6840
|
if (isExtendedLengthPath) {
|
|
@@ -6492,10 +6843,10 @@ function slash(path5) {
|
|
|
6492
6843
|
return path5.replace(/\\/g, "/");
|
|
6493
6844
|
}
|
|
6494
6845
|
|
|
6495
|
-
//
|
|
6846
|
+
// node_modules/del/node_modules/globby/utilities.js
|
|
6496
6847
|
var isNegativePattern = (pattern) => pattern[0] === "!";
|
|
6497
6848
|
|
|
6498
|
-
//
|
|
6849
|
+
// node_modules/del/node_modules/globby/ignore.js
|
|
6499
6850
|
var defaultIgnoredDirectories = [
|
|
6500
6851
|
"**/node_modules",
|
|
6501
6852
|
"**/flow-typed",
|
|
@@ -6570,7 +6921,7 @@ var isIgnoredByIgnoreFilesSync = (patterns, options) => {
|
|
|
6570
6921
|
return getIsIgnoredPredicate(files, cwd);
|
|
6571
6922
|
};
|
|
6572
6923
|
|
|
6573
|
-
//
|
|
6924
|
+
// node_modules/del/node_modules/globby/index.js
|
|
6574
6925
|
var assertPatternsInput = (patterns) => {
|
|
6575
6926
|
if (patterns.some((pattern) => typeof pattern !== "string")) {
|
|
6576
6927
|
throw new TypeError("Patterns must be a string or an array of strings");
|
|
@@ -6760,10 +7111,10 @@ var generateGlobTasks = normalizeArguments(generateTasks);
|
|
|
6760
7111
|
var generateGlobTasksSync = normalizeArgumentsSync(generateTasksSync);
|
|
6761
7112
|
var { convertPathToPattern } = import_fast_glob2.default;
|
|
6762
7113
|
|
|
6763
|
-
//
|
|
7114
|
+
// node_modules/del/index.js
|
|
6764
7115
|
var import_is_glob = __toESM(require_is_glob(), 1);
|
|
6765
7116
|
|
|
6766
|
-
//
|
|
7117
|
+
// node_modules/is-path-cwd/index.js
|
|
6767
7118
|
import process4 from "node:process";
|
|
6768
7119
|
import path2 from "node:path";
|
|
6769
7120
|
function isPathCwd(path_) {
|
|
@@ -6776,7 +7127,7 @@ function isPathCwd(path_) {
|
|
|
6776
7127
|
return path_ === cwd;
|
|
6777
7128
|
}
|
|
6778
7129
|
|
|
6779
|
-
//
|
|
7130
|
+
// node_modules/is-path-inside/index.js
|
|
6780
7131
|
import path3 from "node:path";
|
|
6781
7132
|
function isPathInside(childPath, parentPath) {
|
|
6782
7133
|
const relation = path3.relative(parentPath, childPath);
|
|
@@ -6785,7 +7136,7 @@ function isPathInside(childPath, parentPath) {
|
|
|
6785
7136
|
);
|
|
6786
7137
|
}
|
|
6787
7138
|
|
|
6788
|
-
//
|
|
7139
|
+
// node_modules/p-map/index.js
|
|
6789
7140
|
async function pMap(iterable, mapper, {
|
|
6790
7141
|
concurrency = Number.POSITIVE_INFINITY,
|
|
6791
7142
|
stopOnError = true,
|
|
@@ -6809,7 +7160,7 @@ async function pMap(iterable, mapper, {
|
|
|
6809
7160
|
let isIterableDone = false;
|
|
6810
7161
|
let resolvingCount = 0;
|
|
6811
7162
|
let currentIndex = 0;
|
|
6812
|
-
const iterator = iterable[Symbol.
|
|
7163
|
+
const iterator = iterable[Symbol.asyncIterator] === void 0 ? iterable[Symbol.iterator]() : iterable[Symbol.asyncIterator]();
|
|
6813
7164
|
const signalListener = () => {
|
|
6814
7165
|
reject(signal.reason);
|
|
6815
7166
|
};
|
|
@@ -6821,14 +7172,21 @@ async function pMap(iterable, mapper, {
|
|
|
6821
7172
|
cleanup();
|
|
6822
7173
|
};
|
|
6823
7174
|
const reject = (reason) => {
|
|
7175
|
+
if (isResolved) {
|
|
7176
|
+
return;
|
|
7177
|
+
}
|
|
6824
7178
|
isRejected = true;
|
|
6825
7179
|
isResolved = true;
|
|
6826
7180
|
reject_(reason);
|
|
6827
7181
|
cleanup();
|
|
7182
|
+
if (!isIterableDone) {
|
|
7183
|
+
closeIterator(iterator);
|
|
7184
|
+
}
|
|
6828
7185
|
};
|
|
6829
7186
|
if (signal) {
|
|
6830
7187
|
if (signal.aborted) {
|
|
6831
7188
|
reject(signal.reason);
|
|
7189
|
+
return;
|
|
6832
7190
|
}
|
|
6833
7191
|
signal.addEventListener("abort", signalListener, { once: true });
|
|
6834
7192
|
}
|
|
@@ -6836,7 +7194,7 @@ async function pMap(iterable, mapper, {
|
|
|
6836
7194
|
if (isResolved) {
|
|
6837
7195
|
return;
|
|
6838
7196
|
}
|
|
6839
|
-
const nextItem = await iterator.next();
|
|
7197
|
+
const nextItem = isIterableDone ? { done: true } : await iterator.next();
|
|
6840
7198
|
const index = currentIndex;
|
|
6841
7199
|
currentIndex++;
|
|
6842
7200
|
if (nextItem.done) {
|
|
@@ -6874,20 +7232,18 @@ async function pMap(iterable, mapper, {
|
|
|
6874
7232
|
skippedIndexesMap.set(index, value);
|
|
6875
7233
|
}
|
|
6876
7234
|
result[index] = value;
|
|
6877
|
-
resolvingCount--;
|
|
6878
|
-
await next();
|
|
6879
7235
|
} catch (error) {
|
|
6880
7236
|
if (stopOnError) {
|
|
6881
7237
|
reject(error);
|
|
6882
|
-
|
|
6883
|
-
errors.push(error);
|
|
6884
|
-
resolvingCount--;
|
|
6885
|
-
try {
|
|
6886
|
-
await next();
|
|
6887
|
-
} catch (error2) {
|
|
6888
|
-
reject(error2);
|
|
6889
|
-
}
|
|
7238
|
+
return;
|
|
6890
7239
|
}
|
|
7240
|
+
errors.push(error);
|
|
7241
|
+
}
|
|
7242
|
+
resolvingCount--;
|
|
7243
|
+
try {
|
|
7244
|
+
await next();
|
|
7245
|
+
} catch (error) {
|
|
7246
|
+
reject(error);
|
|
6891
7247
|
}
|
|
6892
7248
|
})();
|
|
6893
7249
|
};
|
|
@@ -6907,8 +7263,14 @@ async function pMap(iterable, mapper, {
|
|
|
6907
7263
|
});
|
|
6908
7264
|
}
|
|
6909
7265
|
var pMapSkip = /* @__PURE__ */ Symbol("skip");
|
|
7266
|
+
async function closeIterator(iterator) {
|
|
7267
|
+
try {
|
|
7268
|
+
await iterator.return?.();
|
|
7269
|
+
} catch {
|
|
7270
|
+
}
|
|
7271
|
+
}
|
|
6910
7272
|
|
|
6911
|
-
//
|
|
7273
|
+
// node_modules/presentable-error/index.js
|
|
6912
7274
|
var { toString } = Object.prototype;
|
|
6913
7275
|
var PresentableError = class _PresentableError extends Error {
|
|
6914
7276
|
constructor(message, { cause } = {}) {
|
|
@@ -6928,7 +7290,7 @@ var PresentableError = class _PresentableError extends Error {
|
|
|
6928
7290
|
}
|
|
6929
7291
|
};
|
|
6930
7292
|
|
|
6931
|
-
//
|
|
7293
|
+
// node_modules/del/index.js
|
|
6932
7294
|
function safeCheck(file, cwd) {
|
|
6933
7295
|
if (isPathCwd(file)) {
|
|
6934
7296
|
throw new PresentableError("Cannot delete the current working directory. Can be overridden with the `force` option.");
|
|
@@ -6989,7 +7351,7 @@ async function deleteAsync(patterns, { force, dryRun, cwd = process5.cwd(), onPr
|
|
|
6989
7351
|
return removedFiles;
|
|
6990
7352
|
}
|
|
6991
7353
|
|
|
6992
|
-
//
|
|
7354
|
+
// node_modules/rollup-plugin-delete/dist/index.mjs
|
|
6993
7355
|
function del(options = {}) {
|
|
6994
7356
|
const { hook = "buildStart", runOnce = false, targets = [], verbose = false, ...delOptions } = options;
|
|
6995
7357
|
let deleted = false;
|