@powerlines/plugin-rspack 0.5.137 → 0.5.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.cjs +2 -0
- package/dist/_virtual/rolldown_runtime.mjs +32 -0
- package/dist/helpers/unplugin.cjs +3 -4
- package/dist/helpers/unplugin.mjs +2 -3
- package/dist/index.cjs +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/node_modules/.pnpm/@jridgewell_gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.cjs +2 -0
- package/dist/node_modules/.pnpm/@jridgewell_gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +4 -0
- package/dist/node_modules/.pnpm/@jridgewell_remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.cjs +2 -0
- package/dist/node_modules/.pnpm/@jridgewell_remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.mjs +4 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.cjs +15 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +15 -0
- package/dist/node_modules/.pnpm/@jridgewell_trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.cjs +1 -0
- package/dist/node_modules/.pnpm/@jridgewell_trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +3 -0
- package/dist/node_modules/.pnpm/@storm-software_config-tools@1.188.75_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.cjs +16 -0
- package/dist/node_modules/.pnpm/@storm-software_config-tools@1.188.75_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.mjs +15 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.cjs +28 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +23 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.cjs +175 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +170 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.cjs +871 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +866 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.cjs +307 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +302 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.cjs +300 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +295 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.cjs +60 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +55 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.cjs +46 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.mjs +44 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.cjs +142 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs +140 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.cjs +114 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.mjs +112 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.cjs +59 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.mjs +54 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.cjs +35 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.mjs +33 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.cjs +236 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.mjs +231 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.cjs +54 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.mjs +49 -0
- package/dist/{powerlines → packages/powerlines}/src/types/config.d.mts +2 -3
- package/dist/{powerlines → packages/powerlines}/src/types/context.d.mts +5 -5
- package/dist/{powerlines → packages/powerlines}/src/types/fs.d.mts +1 -1
- package/dist/{powerlines → packages/powerlines}/src/types/tsconfig.d.mts +1 -1
- package/dist/types/plugin.d.mts +3 -3
- package/package.json +4 -5
- package/dist/powerlines/schemas/fs.cjs +0 -226
- package/dist/powerlines/schemas/fs.mjs +0 -224
- package/dist/powerlines/src/api.cjs +0 -580
- package/dist/powerlines/src/api.mjs +0 -578
- package/dist/powerlines/src/internal/babel/module-resolver-plugin.cjs +0 -86
- package/dist/powerlines/src/internal/babel/module-resolver-plugin.mjs +0 -84
- package/dist/powerlines/src/internal/helpers/environment.cjs +0 -52
- package/dist/powerlines/src/internal/helpers/environment.mjs +0 -48
- package/dist/powerlines/src/internal/helpers/generate-types.cjs +0 -51
- package/dist/powerlines/src/internal/helpers/generate-types.mjs +0 -49
- package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -66
- package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -64
- package/dist/powerlines/src/internal/helpers/install-dependencies.cjs +0 -25
- package/dist/powerlines/src/internal/helpers/install-dependencies.mjs +0 -24
- package/dist/powerlines/src/internal/helpers/install.cjs +0 -37
- package/dist/powerlines/src/internal/helpers/install.mjs +0 -36
- package/dist/powerlines/src/internal/helpers/resolve-tsconfig.cjs +0 -98
- package/dist/powerlines/src/internal/helpers/resolve-tsconfig.mjs +0 -94
- package/dist/powerlines/src/internal/helpers/resolver.cjs +0 -43
- package/dist/powerlines/src/internal/helpers/resolver.mjs +0 -41
- package/dist/powerlines/src/lib/build/rspack.cjs +0 -43
- package/dist/powerlines/src/lib/build/rspack.mjs +0 -41
- package/dist/powerlines/src/lib/config-file.cjs +0 -79
- package/dist/powerlines/src/lib/config-file.mjs +0 -76
- package/dist/powerlines/src/lib/contexts/api-context.cjs +0 -184
- package/dist/powerlines/src/lib/contexts/api-context.mjs +0 -182
- package/dist/powerlines/src/lib/contexts/context.cjs +0 -933
- package/dist/powerlines/src/lib/contexts/context.mjs +0 -931
- package/dist/powerlines/src/lib/contexts/environment-context.cjs +0 -195
- package/dist/powerlines/src/lib/contexts/environment-context.mjs +0 -194
- package/dist/powerlines/src/lib/contexts/plugin-context.cjs +0 -75
- package/dist/powerlines/src/lib/contexts/plugin-context.mjs +0 -74
- package/dist/powerlines/src/lib/entry.cjs +0 -69
- package/dist/powerlines/src/lib/entry.mjs +0 -67
- package/dist/powerlines/src/lib/fs/helpers.cjs +0 -85
- package/dist/powerlines/src/lib/fs/helpers.mjs +0 -81
- package/dist/powerlines/src/lib/fs/storage/base.cjs +0 -196
- package/dist/powerlines/src/lib/fs/storage/base.mjs +0 -195
- package/dist/powerlines/src/lib/fs/storage/file-system.cjs +0 -170
- package/dist/powerlines/src/lib/fs/storage/file-system.mjs +0 -169
- package/dist/powerlines/src/lib/fs/storage/virtual.cjs +0 -88
- package/dist/powerlines/src/lib/fs/storage/virtual.mjs +0 -87
- package/dist/powerlines/src/lib/fs/vfs.cjs +0 -830
- package/dist/powerlines/src/lib/fs/vfs.mjs +0 -828
- package/dist/powerlines/src/lib/logger.cjs +0 -58
- package/dist/powerlines/src/lib/logger.mjs +0 -55
- package/dist/powerlines/src/lib/typescript/ts-morph.cjs +0 -104
- package/dist/powerlines/src/lib/typescript/ts-morph.mjs +0 -102
- package/dist/powerlines/src/lib/typescript/tsconfig.cjs +0 -149
- package/dist/powerlines/src/lib/typescript/tsconfig.mjs +0 -144
- package/dist/powerlines/src/lib/unplugin/factory.cjs +0 -6
- package/dist/powerlines/src/lib/unplugin/factory.mjs +0 -8
- package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -29
- package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -27
- package/dist/powerlines/src/lib/unplugin/index.cjs +0 -3
- package/dist/powerlines/src/lib/unplugin/index.mjs +0 -5
- package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -128
- package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -127
- package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -22
- package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -21
- package/dist/powerlines/src/lib/utilities/meta.cjs +0 -45
- package/dist/powerlines/src/lib/utilities/meta.mjs +0 -41
- package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -22
- package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -21
- package/dist/powerlines/src/plugin-utils/helpers.cjs +0 -167
- package/dist/powerlines/src/plugin-utils/helpers.mjs +0 -156
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -36
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -35
- package/dist/powerlines/src/types/babel.d.mts +0 -4
- package/dist/powerlines/src/types/build.cjs +0 -23
- package/dist/powerlines/src/types/build.mjs +0 -21
- package/dist/powerlines/src/types/commands.cjs +0 -16
- package/dist/powerlines/src/types/commands.mjs +0 -15
- package/dist/powerlines/src/types/plugin.cjs +0 -33
- package/dist/powerlines/src/types/plugin.mjs +0 -32
- /package/dist/{powerlines → packages/powerlines}/src/internal/helpers/hooks.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/api.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/build.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/commands.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/hooks.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/plugin.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/resolved.d.mts +0 -0
- /package/dist/{powerlines → packages/powerlines}/src/types/unplugin.d.mts +0 -0
|
@@ -5,6 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
8
9
|
var __copyProps = (to, from, except, desc) => {
|
|
9
10
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
11
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -26,4 +27,5 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
27
|
|
|
27
28
|
//#endregion
|
|
28
29
|
|
|
30
|
+
exports.__commonJSMin = __commonJSMin;
|
|
29
31
|
exports.__toESM = __toESM;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
|
|
3
|
+
//#region rolldown:runtime
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
+
key = keys[i];
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
16
|
+
__defProp(to, key, {
|
|
17
|
+
get: ((k) => from[k]).bind(null, key),
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: true
|
|
28
|
+
}) : target, mod));
|
|
29
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { __commonJSMin, __require, __toESM };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const
|
|
3
|
-
require(
|
|
4
|
-
let unplugin = require("unplugin");
|
|
2
|
+
const require_index = require('../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.cjs');
|
|
3
|
+
let powerlines_lib_unplugin = require("powerlines/lib/unplugin");
|
|
5
4
|
|
|
6
5
|
//#region src/helpers/unplugin.ts
|
|
7
6
|
function createRspackPlugin(context) {
|
|
8
|
-
return (0,
|
|
7
|
+
return require_index.createRspackPlugin((0, powerlines_lib_unplugin.createUnplugin)(context))({});
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import { createRspackPlugin as createRspackPlugin$1 } from "unplugin";
|
|
1
|
+
import { createRspackPlugin as createRspackPlugin$1 } from "../node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs";
|
|
2
|
+
import { createUnplugin } from "powerlines/lib/unplugin";
|
|
4
3
|
|
|
5
4
|
//#region src/helpers/unplugin.ts
|
|
6
5
|
function createRspackPlugin(context) {
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
-
const
|
|
3
|
+
const require_chunk_POXTJ6GF = require('./node_modules/.pnpm/@storm-software_config-tools@1.188.75_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.cjs');
|
|
4
4
|
const require_helpers_unplugin = require('./helpers/unplugin.cjs');
|
|
5
5
|
require('./helpers/index.cjs');
|
|
6
6
|
let __rspack_core = require("@rspack/core");
|
|
7
|
-
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
8
7
|
let defu = require("defu");
|
|
9
8
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
9
|
+
let powerlines_lib_build_rspack = require("powerlines/lib/build/rspack");
|
|
10
10
|
|
|
11
11
|
//#region src/index.ts
|
|
12
12
|
/**
|
|
@@ -16,7 +16,7 @@ const plugin = (options = {}) => {
|
|
|
16
16
|
return {
|
|
17
17
|
name: "rspack",
|
|
18
18
|
config() {
|
|
19
|
-
this.log(
|
|
19
|
+
this.log(require_chunk_POXTJ6GF.LogLevelLabel.TRACE, "Providing default configuration for the Powerlines `rspack` build plugin.");
|
|
20
20
|
return { build: {
|
|
21
21
|
...options,
|
|
22
22
|
variant: "rspack"
|
|
@@ -26,7 +26,7 @@ const plugin = (options = {}) => {
|
|
|
26
26
|
(0, __rspack_core.rspack)((0, defu.default)({ entry: this.entry.reduce((ret, entry) => {
|
|
27
27
|
ret[entry.output || entry.name || entry.file] = entry.file;
|
|
28
28
|
return ret;
|
|
29
|
-
}, {}) },
|
|
29
|
+
}, {}) }, (0, powerlines_lib_build_rspack.extractRspackConfig)(this), { plugins: [require_helpers_unplugin.createRspackPlugin(this)] }));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Plugin } from "./powerlines/src/types/plugin.mjs";
|
|
1
|
+
import { Plugin } from "./packages/powerlines/src/types/plugin.mjs";
|
|
2
2
|
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig } from "./types/plugin.mjs";
|
|
3
3
|
import { createRspackPlugin } from "./helpers/unplugin.mjs";
|
|
4
4
|
import "./helpers/index.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LogLevelLabel } from "./node_modules/.pnpm/@storm-software_config-tools@1.188.75_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.mjs";
|
|
2
2
|
import { createRspackPlugin } from "./helpers/unplugin.mjs";
|
|
3
3
|
import "./helpers/index.mjs";
|
|
4
4
|
import { rspack } from "@rspack/core";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import defu from "defu";
|
|
6
|
+
import { extractRspackConfig } from "powerlines/lib/build/rspack";
|
|
7
7
|
|
|
8
8
|
//#region src/index.ts
|
|
9
9
|
/**
|
|
@@ -20,7 +20,7 @@ const plugin = (options = {}) => {
|
|
|
20
20
|
} };
|
|
21
21
|
},
|
|
22
22
|
async build() {
|
|
23
|
-
rspack(defu
|
|
23
|
+
rspack(defu({ entry: this.entry.reduce((ret, entry) => {
|
|
24
24
|
ret[entry.output || entry.name || entry.file] = entry.file;
|
|
25
25
|
return ret;
|
|
26
26
|
}, {}) }, extractRspackConfig(this), { plugins: [createRspackPlugin(this)] }));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
3
|
+
var comma = ",".charCodeAt(0);
|
|
4
|
+
var semicolon = ";".charCodeAt(0);
|
|
5
|
+
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
6
|
+
var intToChar = new Uint8Array(64);
|
|
7
|
+
var charToInt = new Uint8Array(128);
|
|
8
|
+
for (let i = 0; i < chars.length; i++) {
|
|
9
|
+
const c = chars.charCodeAt(i);
|
|
10
|
+
intToChar[i] = c;
|
|
11
|
+
charToInt[c] = i;
|
|
12
|
+
}
|
|
13
|
+
var bufLength = 1024 * 16;
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
2
|
+
var comma = ",".charCodeAt(0);
|
|
3
|
+
var semicolon = ";".charCodeAt(0);
|
|
4
|
+
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
5
|
+
var intToChar = new Uint8Array(64);
|
|
6
|
+
var charToInt = new Uint8Array(128);
|
|
7
|
+
for (let i = 0; i < chars.length; i++) {
|
|
8
|
+
const c = chars.charCodeAt(i);
|
|
9
|
+
intToChar[i] = c;
|
|
10
|
+
charToInt[c] = i;
|
|
11
|
+
}
|
|
12
|
+
var bufLength = 1024 * 16;
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../../../../../@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.cjs');
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.188.75_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
|
|
3
|
+
var LogLevelLabel = {
|
|
4
|
+
SILENT: "silent",
|
|
5
|
+
FATAL: "fatal",
|
|
6
|
+
ERROR: "error",
|
|
7
|
+
WARN: "warn",
|
|
8
|
+
SUCCESS: "success",
|
|
9
|
+
INFO: "info",
|
|
10
|
+
DEBUG: "debug",
|
|
11
|
+
TRACE: "trace",
|
|
12
|
+
ALL: "all"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.LogLevelLabel = LogLevelLabel;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.188.75_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
|
|
2
|
+
var LogLevelLabel = {
|
|
3
|
+
SILENT: "silent",
|
|
4
|
+
FATAL: "fatal",
|
|
5
|
+
ERROR: "error",
|
|
6
|
+
WARN: "warn",
|
|
7
|
+
SUCCESS: "success",
|
|
8
|
+
INFO: "info",
|
|
9
|
+
DEBUG: "debug",
|
|
10
|
+
TRACE: "trace",
|
|
11
|
+
ALL: "all"
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { LogLevelLabel };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
const require_utils$1 = require('./lib/utils.cjs');
|
|
5
|
+
const require_picomatch$2 = require('./lib/picomatch.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
|
|
8
|
+
var require_picomatch = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
9
|
+
const pico = require_picomatch$2.default;
|
|
10
|
+
const utils = require_utils$1.default;
|
|
11
|
+
function picomatch(glob, options, returnState = false) {
|
|
12
|
+
if (options && (options.windows === null || options.windows === void 0)) options = {
|
|
13
|
+
...options,
|
|
14
|
+
windows: utils.isWindows()
|
|
15
|
+
};
|
|
16
|
+
return pico(glob, options, returnState);
|
|
17
|
+
}
|
|
18
|
+
Object.assign(picomatch, pico);
|
|
19
|
+
module.exports = picomatch;
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
Object.defineProperty(exports, 'default', {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () {
|
|
26
|
+
return require_picomatch();
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_utils } from "./lib/utils.mjs";
|
|
3
|
+
import { require_picomatch as require_picomatch$1 } from "./lib/picomatch.mjs";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
|
|
6
|
+
var require_picomatch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
+
const pico = require_picomatch$1();
|
|
8
|
+
const utils = require_utils();
|
|
9
|
+
function picomatch(glob, options, returnState = false) {
|
|
10
|
+
if (options && (options.windows === null || options.windows === void 0)) options = {
|
|
11
|
+
...options,
|
|
12
|
+
windows: utils.isWindows()
|
|
13
|
+
};
|
|
14
|
+
return pico(glob, options, returnState);
|
|
15
|
+
}
|
|
16
|
+
Object.assign(picomatch, pico);
|
|
17
|
+
module.exports = picomatch;
|
|
18
|
+
}));
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export default require_picomatch();
|
|
22
|
+
|
|
23
|
+
export { require_picomatch };
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
|
|
6
|
+
var require_constants = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
7
|
+
const WIN_SLASH = "\\\\/";
|
|
8
|
+
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
9
|
+
/**
|
|
10
|
+
* Posix glob regex
|
|
11
|
+
*/
|
|
12
|
+
const DOT_LITERAL = "\\.";
|
|
13
|
+
const PLUS_LITERAL = "\\+";
|
|
14
|
+
const QMARK_LITERAL = "\\?";
|
|
15
|
+
const SLASH_LITERAL = "\\/";
|
|
16
|
+
const ONE_CHAR = "(?=.)";
|
|
17
|
+
const QMARK = "[^/]";
|
|
18
|
+
const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
|
|
19
|
+
const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
|
|
20
|
+
const DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
|
|
21
|
+
const POSIX_CHARS = {
|
|
22
|
+
DOT_LITERAL,
|
|
23
|
+
PLUS_LITERAL,
|
|
24
|
+
QMARK_LITERAL,
|
|
25
|
+
SLASH_LITERAL,
|
|
26
|
+
ONE_CHAR,
|
|
27
|
+
QMARK,
|
|
28
|
+
END_ANCHOR,
|
|
29
|
+
DOTS_SLASH,
|
|
30
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
31
|
+
NO_DOTS: `(?!${START_ANCHOR}${DOTS_SLASH})`,
|
|
32
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,
|
|
33
|
+
NO_DOTS_SLASH: `(?!${DOTS_SLASH})`,
|
|
34
|
+
QMARK_NO_DOT: `[^.${SLASH_LITERAL}]`,
|
|
35
|
+
STAR: `${QMARK}*?`,
|
|
36
|
+
START_ANCHOR,
|
|
37
|
+
SEP: "/"
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Windows glob regex
|
|
41
|
+
*/
|
|
42
|
+
const WINDOWS_CHARS = {
|
|
43
|
+
...POSIX_CHARS,
|
|
44
|
+
SLASH_LITERAL: `[${WIN_SLASH}]`,
|
|
45
|
+
QMARK: WIN_NO_SLASH,
|
|
46
|
+
STAR: `${WIN_NO_SLASH}*?`,
|
|
47
|
+
DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,
|
|
48
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
49
|
+
NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
|
|
50
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,
|
|
51
|
+
NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
|
|
52
|
+
QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
|
|
53
|
+
START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
|
|
54
|
+
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,
|
|
55
|
+
SEP: "\\"
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* POSIX Bracket Regex
|
|
59
|
+
*/
|
|
60
|
+
const POSIX_REGEX_SOURCE = {
|
|
61
|
+
alnum: "a-zA-Z0-9",
|
|
62
|
+
alpha: "a-zA-Z",
|
|
63
|
+
ascii: "\\x00-\\x7F",
|
|
64
|
+
blank: " \\t",
|
|
65
|
+
cntrl: "\\x00-\\x1F\\x7F",
|
|
66
|
+
digit: "0-9",
|
|
67
|
+
graph: "\\x21-\\x7E",
|
|
68
|
+
lower: "a-z",
|
|
69
|
+
print: "\\x20-\\x7E ",
|
|
70
|
+
punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
|
|
71
|
+
space: " \\t\\r\\n\\v\\f",
|
|
72
|
+
upper: "A-Z",
|
|
73
|
+
word: "A-Za-z0-9_",
|
|
74
|
+
xdigit: "A-Fa-f0-9"
|
|
75
|
+
};
|
|
76
|
+
module.exports = {
|
|
77
|
+
MAX_LENGTH: 1024 * 64,
|
|
78
|
+
POSIX_REGEX_SOURCE,
|
|
79
|
+
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
80
|
+
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
81
|
+
REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
|
|
82
|
+
REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
|
|
83
|
+
REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
|
|
84
|
+
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
85
|
+
REPLACEMENTS: {
|
|
86
|
+
__proto__: null,
|
|
87
|
+
"***": "*",
|
|
88
|
+
"**/**": "**",
|
|
89
|
+
"**/**/**": "**"
|
|
90
|
+
},
|
|
91
|
+
CHAR_0: 48,
|
|
92
|
+
CHAR_9: 57,
|
|
93
|
+
CHAR_UPPERCASE_A: 65,
|
|
94
|
+
CHAR_LOWERCASE_A: 97,
|
|
95
|
+
CHAR_UPPERCASE_Z: 90,
|
|
96
|
+
CHAR_LOWERCASE_Z: 122,
|
|
97
|
+
CHAR_LEFT_PARENTHESES: 40,
|
|
98
|
+
CHAR_RIGHT_PARENTHESES: 41,
|
|
99
|
+
CHAR_ASTERISK: 42,
|
|
100
|
+
CHAR_AMPERSAND: 38,
|
|
101
|
+
CHAR_AT: 64,
|
|
102
|
+
CHAR_BACKWARD_SLASH: 92,
|
|
103
|
+
CHAR_CARRIAGE_RETURN: 13,
|
|
104
|
+
CHAR_CIRCUMFLEX_ACCENT: 94,
|
|
105
|
+
CHAR_COLON: 58,
|
|
106
|
+
CHAR_COMMA: 44,
|
|
107
|
+
CHAR_DOT: 46,
|
|
108
|
+
CHAR_DOUBLE_QUOTE: 34,
|
|
109
|
+
CHAR_EQUAL: 61,
|
|
110
|
+
CHAR_EXCLAMATION_MARK: 33,
|
|
111
|
+
CHAR_FORM_FEED: 12,
|
|
112
|
+
CHAR_FORWARD_SLASH: 47,
|
|
113
|
+
CHAR_GRAVE_ACCENT: 96,
|
|
114
|
+
CHAR_HASH: 35,
|
|
115
|
+
CHAR_HYPHEN_MINUS: 45,
|
|
116
|
+
CHAR_LEFT_ANGLE_BRACKET: 60,
|
|
117
|
+
CHAR_LEFT_CURLY_BRACE: 123,
|
|
118
|
+
CHAR_LEFT_SQUARE_BRACKET: 91,
|
|
119
|
+
CHAR_LINE_FEED: 10,
|
|
120
|
+
CHAR_NO_BREAK_SPACE: 160,
|
|
121
|
+
CHAR_PERCENT: 37,
|
|
122
|
+
CHAR_PLUS: 43,
|
|
123
|
+
CHAR_QUESTION_MARK: 63,
|
|
124
|
+
CHAR_RIGHT_ANGLE_BRACKET: 62,
|
|
125
|
+
CHAR_RIGHT_CURLY_BRACE: 125,
|
|
126
|
+
CHAR_RIGHT_SQUARE_BRACKET: 93,
|
|
127
|
+
CHAR_SEMICOLON: 59,
|
|
128
|
+
CHAR_SINGLE_QUOTE: 39,
|
|
129
|
+
CHAR_SPACE: 32,
|
|
130
|
+
CHAR_TAB: 9,
|
|
131
|
+
CHAR_UNDERSCORE: 95,
|
|
132
|
+
CHAR_VERTICAL_LINE: 124,
|
|
133
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
|
|
134
|
+
extglobChars(chars) {
|
|
135
|
+
return {
|
|
136
|
+
"!": {
|
|
137
|
+
type: "negate",
|
|
138
|
+
open: "(?:(?!(?:",
|
|
139
|
+
close: `))${chars.STAR})`
|
|
140
|
+
},
|
|
141
|
+
"?": {
|
|
142
|
+
type: "qmark",
|
|
143
|
+
open: "(?:",
|
|
144
|
+
close: ")?"
|
|
145
|
+
},
|
|
146
|
+
"+": {
|
|
147
|
+
type: "plus",
|
|
148
|
+
open: "(?:",
|
|
149
|
+
close: ")+"
|
|
150
|
+
},
|
|
151
|
+
"*": {
|
|
152
|
+
type: "star",
|
|
153
|
+
open: "(?:",
|
|
154
|
+
close: ")*"
|
|
155
|
+
},
|
|
156
|
+
"@": {
|
|
157
|
+
type: "at",
|
|
158
|
+
open: "(?:",
|
|
159
|
+
close: ")"
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
},
|
|
163
|
+
globChars(win32) {
|
|
164
|
+
return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}));
|
|
168
|
+
|
|
169
|
+
//#endregion
|
|
170
|
+
Object.defineProperty(exports, 'default', {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function () {
|
|
173
|
+
return require_constants();
|
|
174
|
+
}
|
|
175
|
+
});
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
|
|
4
|
+
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
const WIN_SLASH = "\\\\/";
|
|
6
|
+
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
7
|
+
/**
|
|
8
|
+
* Posix glob regex
|
|
9
|
+
*/
|
|
10
|
+
const DOT_LITERAL = "\\.";
|
|
11
|
+
const PLUS_LITERAL = "\\+";
|
|
12
|
+
const QMARK_LITERAL = "\\?";
|
|
13
|
+
const SLASH_LITERAL = "\\/";
|
|
14
|
+
const ONE_CHAR = "(?=.)";
|
|
15
|
+
const QMARK = "[^/]";
|
|
16
|
+
const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
|
|
17
|
+
const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
|
|
18
|
+
const DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
|
|
19
|
+
const POSIX_CHARS = {
|
|
20
|
+
DOT_LITERAL,
|
|
21
|
+
PLUS_LITERAL,
|
|
22
|
+
QMARK_LITERAL,
|
|
23
|
+
SLASH_LITERAL,
|
|
24
|
+
ONE_CHAR,
|
|
25
|
+
QMARK,
|
|
26
|
+
END_ANCHOR,
|
|
27
|
+
DOTS_SLASH,
|
|
28
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
29
|
+
NO_DOTS: `(?!${START_ANCHOR}${DOTS_SLASH})`,
|
|
30
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,
|
|
31
|
+
NO_DOTS_SLASH: `(?!${DOTS_SLASH})`,
|
|
32
|
+
QMARK_NO_DOT: `[^.${SLASH_LITERAL}]`,
|
|
33
|
+
STAR: `${QMARK}*?`,
|
|
34
|
+
START_ANCHOR,
|
|
35
|
+
SEP: "/"
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Windows glob regex
|
|
39
|
+
*/
|
|
40
|
+
const WINDOWS_CHARS = {
|
|
41
|
+
...POSIX_CHARS,
|
|
42
|
+
SLASH_LITERAL: `[${WIN_SLASH}]`,
|
|
43
|
+
QMARK: WIN_NO_SLASH,
|
|
44
|
+
STAR: `${WIN_NO_SLASH}*?`,
|
|
45
|
+
DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`,
|
|
46
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
47
|
+
NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
|
|
48
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`,
|
|
49
|
+
NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
|
|
50
|
+
QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
|
|
51
|
+
START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
|
|
52
|
+
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,
|
|
53
|
+
SEP: "\\"
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* POSIX Bracket Regex
|
|
57
|
+
*/
|
|
58
|
+
const POSIX_REGEX_SOURCE = {
|
|
59
|
+
alnum: "a-zA-Z0-9",
|
|
60
|
+
alpha: "a-zA-Z",
|
|
61
|
+
ascii: "\\x00-\\x7F",
|
|
62
|
+
blank: " \\t",
|
|
63
|
+
cntrl: "\\x00-\\x1F\\x7F",
|
|
64
|
+
digit: "0-9",
|
|
65
|
+
graph: "\\x21-\\x7E",
|
|
66
|
+
lower: "a-z",
|
|
67
|
+
print: "\\x20-\\x7E ",
|
|
68
|
+
punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",
|
|
69
|
+
space: " \\t\\r\\n\\v\\f",
|
|
70
|
+
upper: "A-Z",
|
|
71
|
+
word: "A-Za-z0-9_",
|
|
72
|
+
xdigit: "A-Fa-f0-9"
|
|
73
|
+
};
|
|
74
|
+
module.exports = {
|
|
75
|
+
MAX_LENGTH: 1024 * 64,
|
|
76
|
+
POSIX_REGEX_SOURCE,
|
|
77
|
+
REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
|
|
78
|
+
REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
|
|
79
|
+
REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/,
|
|
80
|
+
REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g,
|
|
81
|
+
REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g,
|
|
82
|
+
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
83
|
+
REPLACEMENTS: {
|
|
84
|
+
__proto__: null,
|
|
85
|
+
"***": "*",
|
|
86
|
+
"**/**": "**",
|
|
87
|
+
"**/**/**": "**"
|
|
88
|
+
},
|
|
89
|
+
CHAR_0: 48,
|
|
90
|
+
CHAR_9: 57,
|
|
91
|
+
CHAR_UPPERCASE_A: 65,
|
|
92
|
+
CHAR_LOWERCASE_A: 97,
|
|
93
|
+
CHAR_UPPERCASE_Z: 90,
|
|
94
|
+
CHAR_LOWERCASE_Z: 122,
|
|
95
|
+
CHAR_LEFT_PARENTHESES: 40,
|
|
96
|
+
CHAR_RIGHT_PARENTHESES: 41,
|
|
97
|
+
CHAR_ASTERISK: 42,
|
|
98
|
+
CHAR_AMPERSAND: 38,
|
|
99
|
+
CHAR_AT: 64,
|
|
100
|
+
CHAR_BACKWARD_SLASH: 92,
|
|
101
|
+
CHAR_CARRIAGE_RETURN: 13,
|
|
102
|
+
CHAR_CIRCUMFLEX_ACCENT: 94,
|
|
103
|
+
CHAR_COLON: 58,
|
|
104
|
+
CHAR_COMMA: 44,
|
|
105
|
+
CHAR_DOT: 46,
|
|
106
|
+
CHAR_DOUBLE_QUOTE: 34,
|
|
107
|
+
CHAR_EQUAL: 61,
|
|
108
|
+
CHAR_EXCLAMATION_MARK: 33,
|
|
109
|
+
CHAR_FORM_FEED: 12,
|
|
110
|
+
CHAR_FORWARD_SLASH: 47,
|
|
111
|
+
CHAR_GRAVE_ACCENT: 96,
|
|
112
|
+
CHAR_HASH: 35,
|
|
113
|
+
CHAR_HYPHEN_MINUS: 45,
|
|
114
|
+
CHAR_LEFT_ANGLE_BRACKET: 60,
|
|
115
|
+
CHAR_LEFT_CURLY_BRACE: 123,
|
|
116
|
+
CHAR_LEFT_SQUARE_BRACKET: 91,
|
|
117
|
+
CHAR_LINE_FEED: 10,
|
|
118
|
+
CHAR_NO_BREAK_SPACE: 160,
|
|
119
|
+
CHAR_PERCENT: 37,
|
|
120
|
+
CHAR_PLUS: 43,
|
|
121
|
+
CHAR_QUESTION_MARK: 63,
|
|
122
|
+
CHAR_RIGHT_ANGLE_BRACKET: 62,
|
|
123
|
+
CHAR_RIGHT_CURLY_BRACE: 125,
|
|
124
|
+
CHAR_RIGHT_SQUARE_BRACKET: 93,
|
|
125
|
+
CHAR_SEMICOLON: 59,
|
|
126
|
+
CHAR_SINGLE_QUOTE: 39,
|
|
127
|
+
CHAR_SPACE: 32,
|
|
128
|
+
CHAR_TAB: 9,
|
|
129
|
+
CHAR_UNDERSCORE: 95,
|
|
130
|
+
CHAR_VERTICAL_LINE: 124,
|
|
131
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
|
|
132
|
+
extglobChars(chars) {
|
|
133
|
+
return {
|
|
134
|
+
"!": {
|
|
135
|
+
type: "negate",
|
|
136
|
+
open: "(?:(?!(?:",
|
|
137
|
+
close: `))${chars.STAR})`
|
|
138
|
+
},
|
|
139
|
+
"?": {
|
|
140
|
+
type: "qmark",
|
|
141
|
+
open: "(?:",
|
|
142
|
+
close: ")?"
|
|
143
|
+
},
|
|
144
|
+
"+": {
|
|
145
|
+
type: "plus",
|
|
146
|
+
open: "(?:",
|
|
147
|
+
close: ")+"
|
|
148
|
+
},
|
|
149
|
+
"*": {
|
|
150
|
+
type: "star",
|
|
151
|
+
open: "(?:",
|
|
152
|
+
close: ")*"
|
|
153
|
+
},
|
|
154
|
+
"@": {
|
|
155
|
+
type: "at",
|
|
156
|
+
open: "(?:",
|
|
157
|
+
close: ")"
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
globChars(win32) {
|
|
162
|
+
return win32 === true ? WINDOWS_CHARS : POSIX_CHARS;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}));
|
|
166
|
+
|
|
167
|
+
//#endregion
|
|
168
|
+
export default require_constants();
|
|
169
|
+
|
|
170
|
+
export { require_constants };
|