@storm-software/esbuild 0.35.3 → 0.35.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/assets.cjs +6 -5
- package/dist/assets.js +5 -4
- package/dist/build.cjs +14 -13
- package/dist/build.js +13 -12
- package/dist/{chunk-FQQYNAPT.cjs → chunk-2DAVPJ7D.cjs} +126 -82
- package/dist/{chunk-EVDNG72R.cjs → chunk-2SU3HI5Q.cjs} +65 -35
- package/dist/{chunk-4D6ICA75.js → chunk-347I4FKJ.js} +5 -36
- package/dist/{chunk-VTBMJYSM.cjs → chunk-6WPLL2C2.cjs} +8 -6
- package/dist/{chunk-TSQT5MWW.js → chunk-6YDZYQLV.js} +32 -2
- package/dist/{chunk-G66JI4BS.cjs → chunk-AEHXBLG2.cjs} +9 -5
- package/dist/{chunk-SLSBBNRF.cjs → chunk-C23H24WU.cjs} +7 -3
- package/dist/{chunk-CVOQEYHW.cjs → chunk-CQGBWOR4.cjs} +29 -27
- package/dist/{chunk-NJJBR57W.js → chunk-DK7FJ3YJ.js} +47 -3
- package/dist/{chunk-2CM3VAO5.cjs → chunk-EP4M3VJ3.cjs} +16 -12
- package/dist/{chunk-PTHYT3U2.cjs → chunk-FBR7AR6F.cjs} +463 -372
- package/dist/{chunk-ABRK5MYP.js → chunk-FWIPARM7.js} +6 -2
- package/dist/{chunk-WXURMFT7.js → chunk-IGG5GIIV.js} +5 -1
- package/dist/{chunk-R2KKGNQL.js → chunk-MFZUNTR7.js} +8 -4
- package/dist/chunk-N3AYB46G.cjs +6 -0
- package/dist/{chunk-RK34D7S5.cjs → chunk-N5MGZ2YM.cjs} +8 -6
- package/dist/{chunk-EBTMX5WL.js → chunk-ODOBFGX6.js} +11 -9
- package/dist/{chunk-WLJT52I3.cjs → chunk-POL6NUTY.cjs} +21 -17
- package/dist/{chunk-EDLA3ZZN.js → chunk-QNVXA3GL.js} +6 -4
- package/dist/{chunk-YHMM6RY5.cjs → chunk-RIGD2PFD.cjs} +11 -42
- package/dist/{chunk-QWTKBUQW.js → chunk-RT5QOWTF.js} +1024 -1022
- package/dist/chunk-SJESTPEC.cjs +49 -0
- package/dist/{chunk-QVMJLFU5.cjs → chunk-T2DBJGI2.cjs} +9 -7
- package/dist/chunk-V5SXPYDB.js +56 -0
- package/dist/{chunk-OCDIIBBZ.js → chunk-VW5VOVX7.js} +5 -3
- package/dist/{chunk-DNZNN5SK.js → chunk-WCXP7IBU.js} +5 -3
- package/dist/chunk-X3XWFR6F.js +6 -0
- package/dist/{chunk-ECCVVXNX.js → chunk-XWGV6MFZ.js} +10 -6
- package/dist/clean.cjs +5 -4
- package/dist/clean.js +4 -3
- package/dist/config.cjs +6 -5
- package/dist/config.js +5 -4
- package/dist/context.cjs +8 -7
- package/dist/context.js +7 -6
- package/dist/index.cjs +20 -14
- package/dist/index.js +19 -13
- package/dist/package-json.cjs +6 -5
- package/dist/package-json.js +5 -4
- package/dist/plugins/deps-check.cjs +5 -4
- package/dist/plugins/deps-check.js +4 -3
- package/dist/plugins/resolve-paths.cjs +4 -3
- package/dist/plugins/resolve-paths.js +3 -2
- package/dist/tsup.cjs +5 -4
- package/dist/tsup.js +4 -3
- package/dist/types.cjs +2 -1
- package/dist/types.js +2 -1
- package/dist/watch.cjs +15 -11
- package/dist/watch.js +7 -3
- package/package.json +4 -4
- package/dist/chunk-GGNOJ77I.js +0 -0
- package/dist/chunk-SFZRYJZ2.cjs +0 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
joinPaths
|
|
3
|
+
} from "./chunk-347I4FKJ.js";
|
|
1
4
|
import {
|
|
2
5
|
__name,
|
|
3
6
|
__require,
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
init_esm_shims
|
|
8
|
+
} from "./chunk-V5SXPYDB.js";
|
|
6
9
|
|
|
7
10
|
// src/plugins/resolve-paths.ts
|
|
11
|
+
init_esm_shims();
|
|
8
12
|
import path from "node:path";
|
|
9
13
|
function resolvePathsConfig(options, cwd) {
|
|
10
14
|
if (options?.compilerOptions?.paths) {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_COMPILED_BANNER
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DK7FJ3YJ.js";
|
|
4
|
+
import {
|
|
5
|
+
init_esm_shims
|
|
6
|
+
} from "./chunk-V5SXPYDB.js";
|
|
4
7
|
|
|
5
8
|
// src/config.ts
|
|
9
|
+
init_esm_shims();
|
|
6
10
|
var DEFAULT_BUILD_OPTIONS = {
|
|
7
11
|
assets: [],
|
|
8
12
|
platform: "node",
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addPackageDependencies,
|
|
3
3
|
addWorkspacePackageJsonFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DK7FJ3YJ.js";
|
|
5
5
|
import {
|
|
6
6
|
getStopwatch,
|
|
7
7
|
writeDebug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6YDZYQLV.js";
|
|
9
9
|
import {
|
|
10
|
-
__name,
|
|
11
10
|
joinPaths
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-347I4FKJ.js";
|
|
12
|
+
import {
|
|
13
|
+
__name,
|
|
14
|
+
init_esm_shims
|
|
15
|
+
} from "./chunk-V5SXPYDB.js";
|
|
13
16
|
|
|
14
17
|
// src/package-json.ts
|
|
18
|
+
init_esm_shims();
|
|
15
19
|
import { writeJsonFile } from "@nx/devkit";
|
|
16
20
|
import { existsSync } from "node:fs";
|
|
17
21
|
import hf from "node:fs/promises";
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2SU3HI5Qcjs = require('./chunk-2SU3HI5Q.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
var _chunkSJESTPECcjs = require('./chunk-SJESTPEC.cjs');
|
|
8
9
|
|
|
9
10
|
// src/clean.ts
|
|
11
|
+
_chunkSJESTPECcjs.init_cjs_shims.call(void 0, );
|
|
10
12
|
var _promises = require('fs/promises');
|
|
11
13
|
async function clean(name = "ESBuild", directory, config) {
|
|
12
|
-
|
|
13
|
-
const stopwatch =
|
|
14
|
+
_chunk2SU3HI5Qcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
15
|
+
const stopwatch = _chunk2SU3HI5Qcjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
14
16
|
await cleanDirectories(directory);
|
|
15
17
|
stopwatch();
|
|
16
18
|
}
|
|
17
|
-
|
|
19
|
+
_chunkSJESTPECcjs.__name.call(void 0, clean, "clean");
|
|
18
20
|
async function cleanDirectories(directory) {
|
|
19
21
|
await _promises.rm.call(void 0, directory, {
|
|
20
22
|
recursive: true,
|
|
21
23
|
force: true
|
|
22
24
|
});
|
|
23
25
|
}
|
|
24
|
-
|
|
26
|
+
_chunkSJESTPECcjs.__name.call(void 0, cleanDirectories, "cleanDirectories");
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
depsCheckPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VW5VOVX7.js";
|
|
4
4
|
import {
|
|
5
5
|
copyBuildAssets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QNVXA3GL.js";
|
|
7
7
|
import {
|
|
8
8
|
cleanDirectories
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WCXP7IBU.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XWGV6MFZ.js";
|
|
13
13
|
import {
|
|
14
14
|
generatePackageJson
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MFZUNTR7.js";
|
|
16
16
|
import {
|
|
17
17
|
executeTsup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RT5QOWTF.js";
|
|
19
19
|
import {
|
|
20
20
|
getStopwatch,
|
|
21
21
|
writeDebug,
|
|
@@ -23,12 +23,14 @@ import {
|
|
|
23
23
|
writeFatal,
|
|
24
24
|
writeSuccess,
|
|
25
25
|
writeWarning
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6YDZYQLV.js";
|
|
27
27
|
import {
|
|
28
|
-
__name
|
|
29
|
-
|
|
28
|
+
__name,
|
|
29
|
+
init_esm_shims
|
|
30
|
+
} from "./chunk-V5SXPYDB.js";
|
|
30
31
|
|
|
31
32
|
// src/build.ts
|
|
33
|
+
init_esm_shims();
|
|
32
34
|
import * as esbuild from "esbuild";
|
|
33
35
|
import { globbySync } from "globby";
|
|
34
36
|
async function reportResults(context) {
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkAEHXBLG2cjs = require('./chunk-AEHXBLG2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkC23H24WUcjs = require('./chunk-C23H24WU.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2DAVPJ7Dcjs = require('./chunk-2DAVPJ7D.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk2SU3HI5Qcjs = require('./chunk-2SU3HI5Q.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
var _chunkRIGD2PFDcjs = require('./chunk-RIGD2PFD.cjs');
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var _chunkSJESTPECcjs = require('./chunk-SJESTPEC.cjs');
|
|
19
22
|
|
|
20
23
|
// src/context.ts
|
|
24
|
+
_chunkSJESTPECcjs.init_cjs_shims.call(void 0, );
|
|
21
25
|
var _devkit = require('@nx/devkit');
|
|
22
26
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
23
27
|
var _fs = require('fs');
|
|
@@ -29,15 +33,15 @@ async function resolveContext(userOptions) {
|
|
|
29
33
|
if (!workspaceRoot) {
|
|
30
34
|
throw new Error("Cannot find Nx workspace root");
|
|
31
35
|
}
|
|
32
|
-
const workspaceConfig = await
|
|
36
|
+
const workspaceConfig = await _chunk2DAVPJ7Dcjs.getWorkspaceConfig.call(void 0, true, {
|
|
33
37
|
workspaceRoot: workspaceRoot.dir
|
|
34
38
|
});
|
|
35
|
-
|
|
36
|
-
const stopwatch =
|
|
39
|
+
_chunk2SU3HI5Qcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
40
|
+
const stopwatch = _chunk2SU3HI5Qcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
37
41
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
38
42
|
exitOnError: true
|
|
39
43
|
});
|
|
40
|
-
const projectJsonPath =
|
|
44
|
+
const projectJsonPath = _chunkRIGD2PFDcjs.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "project.json");
|
|
41
45
|
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
42
46
|
throw new Error("Cannot find project.json configuration");
|
|
43
47
|
}
|
|
@@ -48,17 +52,17 @@ async function resolveContext(userOptions) {
|
|
|
48
52
|
if (!_optionalChain([projectConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName]])) {
|
|
49
53
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
50
54
|
}
|
|
51
|
-
const options = _defu2.default.call(void 0, userOptions,
|
|
55
|
+
const options = _defu2.default.call(void 0, userOptions, _chunkC23H24WUcjs.DEFAULT_BUILD_OPTIONS);
|
|
52
56
|
options.name ??= projectName;
|
|
53
|
-
const packageJsonPath =
|
|
57
|
+
const packageJsonPath = _chunkRIGD2PFDcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
54
58
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
55
59
|
throw new Error("Cannot find package.json configuration");
|
|
56
60
|
}
|
|
57
|
-
const env =
|
|
61
|
+
const env = _chunk2DAVPJ7Dcjs.getEnv.call(void 0, "esbuild", options);
|
|
58
62
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
59
63
|
const resolvedOptions = {
|
|
60
64
|
...options,
|
|
61
|
-
tsconfig:
|
|
65
|
+
tsconfig: _chunkRIGD2PFDcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
62
66
|
metafile: userOptions.mode === "development",
|
|
63
67
|
clean: false,
|
|
64
68
|
env,
|
|
@@ -83,17 +87,17 @@ async function resolveContext(userOptions) {
|
|
|
83
87
|
projectConfigurations,
|
|
84
88
|
projectName,
|
|
85
89
|
projectGraph,
|
|
86
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
87
|
-
outputPath: resolvedOptions.outputPath ||
|
|
90
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkRIGD2PFDcjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
91
|
+
outputPath: resolvedOptions.outputPath || _chunkRIGD2PFDcjs.joinPaths.call(void 0, workspaceConfig.workspaceRoot, "dist", resolvedOptions.projectRoot),
|
|
88
92
|
minify: resolvedOptions.minify || resolvedOptions.mode === "production"
|
|
89
93
|
};
|
|
90
94
|
context.options.esbuildPlugins = [
|
|
91
|
-
|
|
95
|
+
_chunkAEHXBLG2cjs.resolvePathsPlugin.call(void 0, context),
|
|
92
96
|
..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))
|
|
93
97
|
];
|
|
94
98
|
return context;
|
|
95
99
|
}
|
|
96
|
-
|
|
100
|
+
_chunkSJESTPECcjs.__name.call(void 0, resolveContext, "resolveContext");
|
|
97
101
|
|
|
98
102
|
|
|
99
103
|
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
copyAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DK7FJ3YJ.js";
|
|
4
4
|
import {
|
|
5
5
|
getStopwatch,
|
|
6
6
|
writeDebug
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6YDZYQLV.js";
|
|
8
8
|
import {
|
|
9
|
-
__name
|
|
10
|
-
|
|
9
|
+
__name,
|
|
10
|
+
init_esm_shims
|
|
11
|
+
} from "./chunk-V5SXPYDB.js";
|
|
11
12
|
|
|
12
13
|
// src/assets.ts
|
|
14
|
+
init_esm_shims();
|
|
13
15
|
async function copyBuildAssets(context) {
|
|
14
16
|
if (context.result?.errors.length === 0) {
|
|
15
17
|
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
|
|
@@ -1,37 +1,10 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
8
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
-
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
15
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
|
-
};
|
|
17
|
-
var __copyProps = (to, from, except, desc) => {
|
|
18
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
19
|
-
for (let key of __getOwnPropNames(from))
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
21
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
22
|
-
}
|
|
23
|
-
return to;
|
|
24
|
-
};
|
|
25
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
26
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
27
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
28
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
29
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
30
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
31
|
-
mod
|
|
32
|
-
));
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkSJESTPECcjs = require('./chunk-SJESTPEC.cjs');
|
|
33
5
|
|
|
34
6
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
7
|
+
_chunkSJESTPECcjs.init_cjs_shims.call(void 0, );
|
|
35
8
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
36
9
|
function normalizeWindowsPath(input = "") {
|
|
37
10
|
if (!input) {
|
|
@@ -39,11 +12,11 @@ function normalizeWindowsPath(input = "") {
|
|
|
39
12
|
}
|
|
40
13
|
return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
|
41
14
|
}
|
|
42
|
-
__name(normalizeWindowsPath, "normalizeWindowsPath");
|
|
15
|
+
_chunkSJESTPECcjs.__name.call(void 0, normalizeWindowsPath, "normalizeWindowsPath");
|
|
43
16
|
var _UNC_REGEX = /^[/\\]{2}/;
|
|
44
17
|
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
45
18
|
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
46
|
-
var correctPaths = /* @__PURE__ */ __name(function(path) {
|
|
19
|
+
var correctPaths = /* @__PURE__ */ _chunkSJESTPECcjs.__name.call(void 0, function(path) {
|
|
47
20
|
if (!path || path.length === 0) {
|
|
48
21
|
return ".";
|
|
49
22
|
}
|
|
@@ -72,7 +45,7 @@ var correctPaths = /* @__PURE__ */ __name(function(path) {
|
|
|
72
45
|
}
|
|
73
46
|
return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
|
|
74
47
|
}, "correctPaths");
|
|
75
|
-
var joinPaths = /* @__PURE__ */ __name(function(...segments) {
|
|
48
|
+
var joinPaths = /* @__PURE__ */ _chunkSJESTPECcjs.__name.call(void 0, function(...segments) {
|
|
76
49
|
let path = "";
|
|
77
50
|
for (const seg of segments) {
|
|
78
51
|
if (!seg) {
|
|
@@ -153,16 +126,12 @@ function normalizeString(path, allowAboveRoot) {
|
|
|
153
126
|
}
|
|
154
127
|
return res;
|
|
155
128
|
}
|
|
156
|
-
__name(normalizeString, "normalizeString");
|
|
157
|
-
var isAbsolute = /* @__PURE__ */ __name(function(p) {
|
|
129
|
+
_chunkSJESTPECcjs.__name.call(void 0, normalizeString, "normalizeString");
|
|
130
|
+
var isAbsolute = /* @__PURE__ */ _chunkSJESTPECcjs.__name.call(void 0, function(p) {
|
|
158
131
|
return _IS_ABSOLUTE_RE.test(p);
|
|
159
132
|
}, "isAbsolute");
|
|
160
133
|
|
|
161
134
|
|
|
162
135
|
|
|
163
136
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
exports.__name = __name; exports.__require = __require; exports.__commonJS = __commonJS; exports.__toESM = __toESM; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths;
|
|
137
|
+
exports.correctPaths = correctPaths; exports.joinPaths = joinPaths;
|