nf3 0.1.0 → 0.1.2
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 +7 -2
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +104 -97
- package/dist/node_modules/.nft/confbox@0.1.8/dist/index.cjs +1 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/index.mjs +1 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/json5.cjs +14 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/json5.mjs +14 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/shared/confbox.3768c7e9.cjs +1 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/shared/confbox.6b479c78.cjs +7 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/shared/confbox.9388d834.mjs +1 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/shared/confbox.f9f03f05.mjs +7 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/toml.cjs +239 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/toml.mjs +239 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/yaml.cjs +32 -0
- package/dist/node_modules/.nft/confbox@0.1.8/dist/yaml.mjs +32 -0
- package/dist/node_modules/.nft/confbox@0.1.8/package.json +86 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/index.mjs +1 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/ini.mjs +3 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/json5.mjs +14 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/shared/confbox.DA7CpUDY.mjs +1 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/shared/confbox.DnMsyigM.mjs +7 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/toml.mjs +239 -0
- package/dist/node_modules/.nft/confbox@0.2.2/dist/yaml.mjs +32 -0
- package/dist/node_modules/.nft/confbox@0.2.2/package.json +85 -0
- package/dist/node_modules/.nft/pkg-types@1.3.1/dist/index.cjs +171 -0
- package/dist/node_modules/.nft/pkg-types@1.3.1/dist/index.mjs +157 -0
- package/dist/node_modules/.nft/pkg-types@1.3.1/package.json +47 -0
- package/dist/node_modules/.nft/pkg-types@2.3.0/dist/index.mjs +371 -0
- package/dist/node_modules/.nft/pkg-types@2.3.0/package.json +45 -0
- package/dist/node_modules/@vercel/nft/out/analyze.js +0 -8
- package/dist/node_modules/@vercel/nft/package.json +1 -1
- package/dist/node_modules/exsolve/dist/index.mjs +1440 -0
- package/dist/node_modules/exsolve/package.json +43 -0
- package/dist/node_modules/fsevents/fsevents.js +83 -0
- package/dist/node_modules/fsevents/fsevents.node +0 -0
- package/dist/node_modules/fsevents/package.json +62 -0
- package/dist/node_modules/mlly/dist/index.cjs +2661 -0
- package/dist/node_modules/mlly/dist/index.mjs +2613 -0
- package/dist/node_modules/mlly/package.json +55 -0
- package/dist/node_modules/pathe/dist/index.cjs +39 -0
- package/dist/node_modules/pathe/dist/index.mjs +19 -0
- package/dist/node_modules/pathe/dist/shared/pathe.BSlhyZSM.cjs +266 -0
- package/dist/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +249 -0
- package/dist/node_modules/pathe/package.json +61 -0
- package/dist/node_modules/rollup/dist/es/rollup.js +2 -2
- package/dist/node_modules/rollup/dist/es/shared/node-entry.js +3 -3
- package/dist/node_modules/rollup/dist/es/shared/parseAst.js +2 -2
- package/dist/node_modules/rollup/dist/es/shared/watch.js +2 -2
- package/dist/node_modules/rollup/package.json +44 -44
- package/dist/node_modules/semver/classes/range.js +1 -0
- package/dist/node_modules/semver/classes/semver.js +19 -5
- package/dist/node_modules/semver/internal/identifiers.js +4 -0
- package/dist/node_modules/semver/package.json +3 -3
- package/dist/node_modules/ufo/dist/index.cjs +691 -0
- package/dist/node_modules/ufo/dist/index.mjs +638 -0
- package/dist/node_modules/ufo/package.json +47 -0
- package/package.json +13 -13
- package/dist/node_modules/package.json +0 -49
package/README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# 📦 nf3
|
|
2
2
|
|
|
3
|
-
<!-- automd:badges color=yellow -->
|
|
3
|
+
<!-- automd:badges color=yellow codecov packagephobia -->
|
|
4
4
|
|
|
5
5
|
[](https://npmjs.com/package/nf3)
|
|
6
6
|
[](https://npm.chart.dev/nf3)
|
|
7
|
+
[](https://packagephobia.com/result?p=nf3)
|
|
8
|
+
[](https://codecov.io/gh/unjs/nf3)
|
|
9
|
+
|
|
10
|
+
<!-- /automd -->
|
|
7
11
|
|
|
8
12
|
This plugin traces and copies only the `node_modules` that are actually required at runtime for your built output — powered by [@vercel/nft](https://github.com/vercel/nft).
|
|
9
13
|
|
|
@@ -34,6 +38,7 @@ export default {
|
|
|
34
38
|
// external: ["fsevents"],
|
|
35
39
|
// moduleDirectories: ["node_modules"],
|
|
36
40
|
// traceInclude: ["some-lib"],
|
|
41
|
+
// writePackageJson: true,
|
|
37
42
|
// traceOptions: { /* see https://github.com/vercel/nft#options */ }
|
|
38
43
|
}),
|
|
39
44
|
],
|
|
@@ -43,7 +48,7 @@ export default {
|
|
|
43
48
|
### API
|
|
44
49
|
|
|
45
50
|
```js
|
|
46
|
-
import { traceNodeModules } from "
|
|
51
|
+
import { traceNodeModules } from "nf3";
|
|
47
52
|
|
|
48
53
|
await traceNodeModules(["./index.mjs"], {
|
|
49
54
|
/* options */
|
package/dist/index.d.mts
CHANGED
|
@@ -31,6 +31,10 @@ interface ExternalsTraceOptions {
|
|
|
31
31
|
* Preserve file permissions when copying files. If set to `true`, original file permissions are preserved. If set to a number, that value is used as the permission mode (e.g., `0o755`).
|
|
32
32
|
*/
|
|
33
33
|
chmod?: boolean | number;
|
|
34
|
+
/**
|
|
35
|
+
* If `true`, writes a `package.json` file to the output directory (parent) with the traced files as dependencies.
|
|
36
|
+
*/
|
|
37
|
+
writePackageJson?: boolean;
|
|
34
38
|
}
|
|
35
39
|
interface ExternalsPluginOptions extends ExternalsTraceOptions {
|
|
36
40
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -3495,8 +3495,8 @@ async function resolvePackageJSON(id = process.cwd(), options = {}) {
|
|
|
3495
3495
|
}
|
|
3496
3496
|
|
|
3497
3497
|
//#endregion
|
|
3498
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3499
|
-
var require_constants = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3498
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js
|
|
3499
|
+
var require_constants = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js"(exports, module) {
|
|
3500
3500
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
3501
3501
|
const MAX_LENGTH$2 = 256;
|
|
3502
3502
|
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -3524,15 +3524,15 @@ var require_constants = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
3524
3524
|
} });
|
|
3525
3525
|
|
|
3526
3526
|
//#endregion
|
|
3527
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3528
|
-
var require_debug = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3527
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
|
|
3528
|
+
var require_debug = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js"(exports, module) {
|
|
3529
3529
|
const debug$4 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
3530
3530
|
module.exports = debug$4;
|
|
3531
3531
|
} });
|
|
3532
3532
|
|
|
3533
3533
|
//#endregion
|
|
3534
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3535
|
-
var require_re = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3534
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js
|
|
3535
|
+
var require_re = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js"(exports, module) {
|
|
3536
3536
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH: MAX_LENGTH$1 } = require_constants();
|
|
3537
3537
|
const debug$3 = require_debug();
|
|
3538
3538
|
exports = module.exports = {};
|
|
@@ -3611,8 +3611,8 @@ var require_re = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/semv
|
|
|
3611
3611
|
} });
|
|
3612
3612
|
|
|
3613
3613
|
//#endregion
|
|
3614
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3615
|
-
var require_parse_options = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3614
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js
|
|
3615
|
+
var require_parse_options = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
3616
3616
|
const looseOption = Object.freeze({ loose: true });
|
|
3617
3617
|
const emptyOpts = Object.freeze({});
|
|
3618
3618
|
const parseOptions$3 = (options) => {
|
|
@@ -3624,10 +3624,11 @@ var require_parse_options = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_m
|
|
|
3624
3624
|
} });
|
|
3625
3625
|
|
|
3626
3626
|
//#endregion
|
|
3627
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3628
|
-
var require_identifiers = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3627
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js
|
|
3628
|
+
var require_identifiers = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
3629
3629
|
const numeric = /^[0-9]+$/;
|
|
3630
3630
|
const compareIdentifiers$1 = (a, b$1) => {
|
|
3631
|
+
if (typeof a === "number" && typeof b$1 === "number") return a === b$1 ? 0 : a < b$1 ? -1 : 1;
|
|
3631
3632
|
const anum = numeric.test(a);
|
|
3632
3633
|
const bnum = numeric.test(b$1);
|
|
3633
3634
|
if (anum && bnum) {
|
|
@@ -3644,8 +3645,8 @@ var require_identifiers = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
3644
3645
|
} });
|
|
3645
3646
|
|
|
3646
3647
|
//#endregion
|
|
3647
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3648
|
-
var require_semver$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3648
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js
|
|
3649
|
+
var require_semver$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js"(exports, module) {
|
|
3649
3650
|
const debug$2 = require_debug();
|
|
3650
3651
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
3651
3652
|
const { safeRe: re$3, t: t$3 } = require_re();
|
|
@@ -3701,7 +3702,13 @@ var require_semver$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
3701
3702
|
}
|
|
3702
3703
|
compareMain(other) {
|
|
3703
3704
|
if (!(other instanceof SemVer$15)) other = new SemVer$15(other, this.options);
|
|
3704
|
-
|
|
3705
|
+
if (this.major < other.major) return -1;
|
|
3706
|
+
if (this.major > other.major) return 1;
|
|
3707
|
+
if (this.minor < other.minor) return -1;
|
|
3708
|
+
if (this.minor > other.minor) return 1;
|
|
3709
|
+
if (this.patch < other.patch) return -1;
|
|
3710
|
+
if (this.patch > other.patch) return 1;
|
|
3711
|
+
return 0;
|
|
3705
3712
|
}
|
|
3706
3713
|
comparePre(other) {
|
|
3707
3714
|
if (!(other instanceof SemVer$15)) other = new SemVer$15(other, this.options);
|
|
@@ -3818,8 +3825,8 @@ var require_semver$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
3818
3825
|
} });
|
|
3819
3826
|
|
|
3820
3827
|
//#endregion
|
|
3821
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3822
|
-
var require_parse = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3828
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js
|
|
3829
|
+
var require_parse = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js"(exports, module) {
|
|
3823
3830
|
const SemVer$14 = require_semver$1();
|
|
3824
3831
|
const parse$6 = (version, options, throwErrors = false) => {
|
|
3825
3832
|
if (version instanceof SemVer$14) return version;
|
|
@@ -3834,8 +3841,8 @@ var require_parse = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/s
|
|
|
3834
3841
|
} });
|
|
3835
3842
|
|
|
3836
3843
|
//#endregion
|
|
3837
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3838
|
-
var require_valid$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3844
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js
|
|
3845
|
+
var require_valid$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js"(exports, module) {
|
|
3839
3846
|
const parse$5 = require_parse();
|
|
3840
3847
|
const valid$1 = (version, options) => {
|
|
3841
3848
|
const v$2 = parse$5(version, options);
|
|
@@ -3845,8 +3852,8 @@ var require_valid$1 = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules
|
|
|
3845
3852
|
} });
|
|
3846
3853
|
|
|
3847
3854
|
//#endregion
|
|
3848
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3849
|
-
var require_clean = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3855
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js
|
|
3856
|
+
var require_clean = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js"(exports, module) {
|
|
3850
3857
|
const parse$4 = require_parse();
|
|
3851
3858
|
const clean$1 = (version, options) => {
|
|
3852
3859
|
const s = parse$4(version.trim().replace(/^[=v]+/, ""), options);
|
|
@@ -3856,8 +3863,8 @@ var require_clean = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/s
|
|
|
3856
3863
|
} });
|
|
3857
3864
|
|
|
3858
3865
|
//#endregion
|
|
3859
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3860
|
-
var require_inc = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3866
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js
|
|
3867
|
+
var require_inc = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js"(exports, module) {
|
|
3861
3868
|
const SemVer$13 = require_semver$1();
|
|
3862
3869
|
const inc$1 = (version, release, options, identifier, identifierBase) => {
|
|
3863
3870
|
if (typeof options === "string") {
|
|
@@ -3875,8 +3882,8 @@ var require_inc = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/sem
|
|
|
3875
3882
|
} });
|
|
3876
3883
|
|
|
3877
3884
|
//#endregion
|
|
3878
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3879
|
-
var require_diff = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3885
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js
|
|
3886
|
+
var require_diff = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js"(exports, module) {
|
|
3880
3887
|
const parse$3 = require_parse();
|
|
3881
3888
|
const diff$1 = (version1, version2) => {
|
|
3882
3889
|
const v1 = parse$3(version1, null, true);
|
|
@@ -3905,32 +3912,32 @@ var require_diff = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/se
|
|
|
3905
3912
|
} });
|
|
3906
3913
|
|
|
3907
3914
|
//#endregion
|
|
3908
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3909
|
-
var require_major = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3915
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js
|
|
3916
|
+
var require_major = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js"(exports, module) {
|
|
3910
3917
|
const SemVer$12 = require_semver$1();
|
|
3911
3918
|
const major$1 = (a, loose) => new SemVer$12(a, loose).major;
|
|
3912
3919
|
module.exports = major$1;
|
|
3913
3920
|
} });
|
|
3914
3921
|
|
|
3915
3922
|
//#endregion
|
|
3916
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3917
|
-
var require_minor = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3923
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js
|
|
3924
|
+
var require_minor = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js"(exports, module) {
|
|
3918
3925
|
const SemVer$11 = require_semver$1();
|
|
3919
3926
|
const minor$1 = (a, loose) => new SemVer$11(a, loose).minor;
|
|
3920
3927
|
module.exports = minor$1;
|
|
3921
3928
|
} });
|
|
3922
3929
|
|
|
3923
3930
|
//#endregion
|
|
3924
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3925
|
-
var require_patch = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3931
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js
|
|
3932
|
+
var require_patch = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js"(exports, module) {
|
|
3926
3933
|
const SemVer$10 = require_semver$1();
|
|
3927
3934
|
const patch$1 = (a, loose) => new SemVer$10(a, loose).patch;
|
|
3928
3935
|
module.exports = patch$1;
|
|
3929
3936
|
} });
|
|
3930
3937
|
|
|
3931
3938
|
//#endregion
|
|
3932
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3933
|
-
var require_prerelease = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3939
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js
|
|
3940
|
+
var require_prerelease = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
3934
3941
|
const parse$2 = require_parse();
|
|
3935
3942
|
const prerelease$1 = (version, options) => {
|
|
3936
3943
|
const parsed = parse$2(version, options);
|
|
@@ -3940,32 +3947,32 @@ var require_prerelease = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modu
|
|
|
3940
3947
|
} });
|
|
3941
3948
|
|
|
3942
3949
|
//#endregion
|
|
3943
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3944
|
-
var require_compare = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3950
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js
|
|
3951
|
+
var require_compare = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js"(exports, module) {
|
|
3945
3952
|
const SemVer$9 = require_semver$1();
|
|
3946
3953
|
const compare$11 = (a, b$1, loose) => new SemVer$9(a, loose).compare(new SemVer$9(b$1, loose));
|
|
3947
3954
|
module.exports = compare$11;
|
|
3948
3955
|
} });
|
|
3949
3956
|
|
|
3950
3957
|
//#endregion
|
|
3951
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3952
|
-
var require_rcompare = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3958
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js
|
|
3959
|
+
var require_rcompare = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
3953
3960
|
const compare$10 = require_compare();
|
|
3954
3961
|
const rcompare$1 = (a, b$1, loose) => compare$10(b$1, a, loose);
|
|
3955
3962
|
module.exports = rcompare$1;
|
|
3956
3963
|
} });
|
|
3957
3964
|
|
|
3958
3965
|
//#endregion
|
|
3959
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3960
|
-
var require_compare_loose = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3966
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js
|
|
3967
|
+
var require_compare_loose = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
3961
3968
|
const compare$9 = require_compare();
|
|
3962
3969
|
const compareLoose$1 = (a, b$1) => compare$9(a, b$1, true);
|
|
3963
3970
|
module.exports = compareLoose$1;
|
|
3964
3971
|
} });
|
|
3965
3972
|
|
|
3966
3973
|
//#endregion
|
|
3967
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3968
|
-
var require_compare_build = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3974
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js
|
|
3975
|
+
var require_compare_build = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
3969
3976
|
const SemVer$8 = require_semver$1();
|
|
3970
3977
|
const compareBuild$3 = (a, b$1, loose) => {
|
|
3971
3978
|
const versionA = new SemVer$8(a, loose);
|
|
@@ -3976,72 +3983,72 @@ var require_compare_build = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_m
|
|
|
3976
3983
|
} });
|
|
3977
3984
|
|
|
3978
3985
|
//#endregion
|
|
3979
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3980
|
-
var require_sort = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3986
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js
|
|
3987
|
+
var require_sort = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js"(exports, module) {
|
|
3981
3988
|
const compareBuild$2 = require_compare_build();
|
|
3982
3989
|
const sort$1 = (list, loose) => list.sort((a, b$1) => compareBuild$2(a, b$1, loose));
|
|
3983
3990
|
module.exports = sort$1;
|
|
3984
3991
|
} });
|
|
3985
3992
|
|
|
3986
3993
|
//#endregion
|
|
3987
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3988
|
-
var require_rsort = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
3994
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js
|
|
3995
|
+
var require_rsort = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
3989
3996
|
const compareBuild$1 = require_compare_build();
|
|
3990
3997
|
const rsort$1 = (list, loose) => list.sort((a, b$1) => compareBuild$1(b$1, a, loose));
|
|
3991
3998
|
module.exports = rsort$1;
|
|
3992
3999
|
} });
|
|
3993
4000
|
|
|
3994
4001
|
//#endregion
|
|
3995
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
3996
|
-
var require_gt = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4002
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js
|
|
4003
|
+
var require_gt = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js"(exports, module) {
|
|
3997
4004
|
const compare$8 = require_compare();
|
|
3998
4005
|
const gt$4 = (a, b$1, loose) => compare$8(a, b$1, loose) > 0;
|
|
3999
4006
|
module.exports = gt$4;
|
|
4000
4007
|
} });
|
|
4001
4008
|
|
|
4002
4009
|
//#endregion
|
|
4003
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4004
|
-
var require_lt = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4010
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js
|
|
4011
|
+
var require_lt = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js"(exports, module) {
|
|
4005
4012
|
const compare$7 = require_compare();
|
|
4006
4013
|
const lt$3 = (a, b$1, loose) => compare$7(a, b$1, loose) < 0;
|
|
4007
4014
|
module.exports = lt$3;
|
|
4008
4015
|
} });
|
|
4009
4016
|
|
|
4010
4017
|
//#endregion
|
|
4011
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4012
|
-
var require_eq = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4018
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js
|
|
4019
|
+
var require_eq = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js"(exports, module) {
|
|
4013
4020
|
const compare$6 = require_compare();
|
|
4014
4021
|
const eq$2 = (a, b$1, loose) => compare$6(a, b$1, loose) === 0;
|
|
4015
4022
|
module.exports = eq$2;
|
|
4016
4023
|
} });
|
|
4017
4024
|
|
|
4018
4025
|
//#endregion
|
|
4019
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4020
|
-
var require_neq = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4026
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js
|
|
4027
|
+
var require_neq = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js"(exports, module) {
|
|
4021
4028
|
const compare$5 = require_compare();
|
|
4022
4029
|
const neq$2 = (a, b$1, loose) => compare$5(a, b$1, loose) !== 0;
|
|
4023
4030
|
module.exports = neq$2;
|
|
4024
4031
|
} });
|
|
4025
4032
|
|
|
4026
4033
|
//#endregion
|
|
4027
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4028
|
-
var require_gte = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4034
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js
|
|
4035
|
+
var require_gte = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js"(exports, module) {
|
|
4029
4036
|
const compare$4 = require_compare();
|
|
4030
4037
|
const gte$3 = (a, b$1, loose) => compare$4(a, b$1, loose) >= 0;
|
|
4031
4038
|
module.exports = gte$3;
|
|
4032
4039
|
} });
|
|
4033
4040
|
|
|
4034
4041
|
//#endregion
|
|
4035
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4036
|
-
var require_lte = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4042
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js
|
|
4043
|
+
var require_lte = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js"(exports, module) {
|
|
4037
4044
|
const compare$3 = require_compare();
|
|
4038
4045
|
const lte$3 = (a, b$1, loose) => compare$3(a, b$1, loose) <= 0;
|
|
4039
4046
|
module.exports = lte$3;
|
|
4040
4047
|
} });
|
|
4041
4048
|
|
|
4042
4049
|
//#endregion
|
|
4043
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4044
|
-
var require_cmp = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4050
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js
|
|
4051
|
+
var require_cmp = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
4045
4052
|
const eq$1 = require_eq();
|
|
4046
4053
|
const neq$1 = require_neq();
|
|
4047
4054
|
const gt$3 = require_gt();
|
|
@@ -4073,8 +4080,8 @@ var require_cmp = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/sem
|
|
|
4073
4080
|
} });
|
|
4074
4081
|
|
|
4075
4082
|
//#endregion
|
|
4076
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4077
|
-
var require_coerce = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4083
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js
|
|
4084
|
+
var require_coerce = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
4078
4085
|
const SemVer$7 = require_semver$1();
|
|
4079
4086
|
const parse$1 = require_parse();
|
|
4080
4087
|
const { safeRe: re$2, t: t$2 } = require_re();
|
|
@@ -4106,8 +4113,8 @@ var require_coerce = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/
|
|
|
4106
4113
|
} });
|
|
4107
4114
|
|
|
4108
4115
|
//#endregion
|
|
4109
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4110
|
-
var require_lrucache = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4116
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js
|
|
4117
|
+
var require_lrucache = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
4111
4118
|
var LRUCache = class {
|
|
4112
4119
|
constructor() {
|
|
4113
4120
|
this.max = 1e3;
|
|
@@ -4141,8 +4148,8 @@ var require_lrucache = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
4141
4148
|
} });
|
|
4142
4149
|
|
|
4143
4150
|
//#endregion
|
|
4144
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4145
|
-
var require_range = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4151
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js
|
|
4152
|
+
var require_range = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js"(exports, module) {
|
|
4146
4153
|
const SPACE_CHARACTERS = /\s+/g;
|
|
4147
4154
|
var Range$11 = class Range$11 {
|
|
4148
4155
|
constructor(range, options) {
|
|
@@ -4273,6 +4280,7 @@ var require_range = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/s
|
|
|
4273
4280
|
return result;
|
|
4274
4281
|
};
|
|
4275
4282
|
const parseComparator = (comp, options) => {
|
|
4283
|
+
comp = comp.replace(re$1[t$1.BUILD], "");
|
|
4276
4284
|
debug$1("comp", comp, options);
|
|
4277
4285
|
comp = replaceCarets(comp, options);
|
|
4278
4286
|
debug$1("caret", comp);
|
|
@@ -4416,8 +4424,8 @@ var require_range = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/s
|
|
|
4416
4424
|
} });
|
|
4417
4425
|
|
|
4418
4426
|
//#endregion
|
|
4419
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4420
|
-
var require_comparator = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4427
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js
|
|
4428
|
+
var require_comparator = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
4421
4429
|
const ANY$2 = Symbol("SemVer ANY");
|
|
4422
4430
|
var Comparator$3 = class Comparator$3 {
|
|
4423
4431
|
static get ANY() {
|
|
@@ -4488,8 +4496,8 @@ var require_comparator = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modu
|
|
|
4488
4496
|
} });
|
|
4489
4497
|
|
|
4490
4498
|
//#endregion
|
|
4491
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4492
|
-
var require_satisfies = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4499
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js
|
|
4500
|
+
var require_satisfies = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
4493
4501
|
const Range$9 = require_range();
|
|
4494
4502
|
const satisfies$4 = (version, range, options) => {
|
|
4495
4503
|
try {
|
|
@@ -4503,16 +4511,16 @@ var require_satisfies = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
4503
4511
|
} });
|
|
4504
4512
|
|
|
4505
4513
|
//#endregion
|
|
4506
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4507
|
-
var require_to_comparators = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4514
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js
|
|
4515
|
+
var require_to_comparators = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
4508
4516
|
const Range$8 = require_range();
|
|
4509
4517
|
const toComparators$1 = (range, options) => new Range$8(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
4510
4518
|
module.exports = toComparators$1;
|
|
4511
4519
|
} });
|
|
4512
4520
|
|
|
4513
4521
|
//#endregion
|
|
4514
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4515
|
-
var require_max_satisfying = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4522
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js
|
|
4523
|
+
var require_max_satisfying = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
4516
4524
|
const SemVer$4 = require_semver$1();
|
|
4517
4525
|
const Range$7 = require_range();
|
|
4518
4526
|
const maxSatisfying$1 = (versions, range, options) => {
|
|
@@ -4538,8 +4546,8 @@ var require_max_satisfying = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_
|
|
|
4538
4546
|
} });
|
|
4539
4547
|
|
|
4540
4548
|
//#endregion
|
|
4541
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4542
|
-
var require_min_satisfying = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4549
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js
|
|
4550
|
+
var require_min_satisfying = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
4543
4551
|
const SemVer$3 = require_semver$1();
|
|
4544
4552
|
const Range$6 = require_range();
|
|
4545
4553
|
const minSatisfying$1 = (versions, range, options) => {
|
|
@@ -4565,8 +4573,8 @@ var require_min_satisfying = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_
|
|
|
4565
4573
|
} });
|
|
4566
4574
|
|
|
4567
4575
|
//#endregion
|
|
4568
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4569
|
-
var require_min_version = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4576
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js
|
|
4577
|
+
var require_min_version = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
4570
4578
|
const SemVer$2 = require_semver$1();
|
|
4571
4579
|
const Range$5 = require_range();
|
|
4572
4580
|
const gt$2 = require_gt();
|
|
@@ -4605,8 +4613,8 @@ var require_min_version = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
4605
4613
|
} });
|
|
4606
4614
|
|
|
4607
4615
|
//#endregion
|
|
4608
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4609
|
-
var require_valid = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4616
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js
|
|
4617
|
+
var require_valid = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
4610
4618
|
const Range$4 = require_range();
|
|
4611
4619
|
const validRange$1 = (range, options) => {
|
|
4612
4620
|
try {
|
|
@@ -4619,8 +4627,8 @@ var require_valid = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/s
|
|
|
4619
4627
|
} });
|
|
4620
4628
|
|
|
4621
4629
|
//#endregion
|
|
4622
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4623
|
-
var require_outside = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4630
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js
|
|
4631
|
+
var require_outside = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
4624
4632
|
const SemVer$1 = require_semver$1();
|
|
4625
4633
|
const Comparator$2 = require_comparator();
|
|
4626
4634
|
const { ANY: ANY$1 } = Comparator$2;
|
|
@@ -4673,24 +4681,24 @@ var require_outside = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules
|
|
|
4673
4681
|
} });
|
|
4674
4682
|
|
|
4675
4683
|
//#endregion
|
|
4676
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4677
|
-
var require_gtr = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4684
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js
|
|
4685
|
+
var require_gtr = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
4678
4686
|
const outside$2 = require_outside();
|
|
4679
4687
|
const gtr$1 = (version, range, options) => outside$2(version, range, ">", options);
|
|
4680
4688
|
module.exports = gtr$1;
|
|
4681
4689
|
} });
|
|
4682
4690
|
|
|
4683
4691
|
//#endregion
|
|
4684
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4685
|
-
var require_ltr = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4692
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js
|
|
4693
|
+
var require_ltr = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
4686
4694
|
const outside$1 = require_outside();
|
|
4687
4695
|
const ltr$1 = (version, range, options) => outside$1(version, range, "<", options);
|
|
4688
4696
|
module.exports = ltr$1;
|
|
4689
4697
|
} });
|
|
4690
4698
|
|
|
4691
4699
|
//#endregion
|
|
4692
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4693
|
-
var require_intersects = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4700
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js
|
|
4701
|
+
var require_intersects = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
4694
4702
|
const Range$2 = require_range();
|
|
4695
4703
|
const intersects$1 = (r1, r2, options) => {
|
|
4696
4704
|
r1 = new Range$2(r1, options);
|
|
@@ -4701,8 +4709,8 @@ var require_intersects = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modu
|
|
|
4701
4709
|
} });
|
|
4702
4710
|
|
|
4703
4711
|
//#endregion
|
|
4704
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4705
|
-
var require_simplify = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4712
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js
|
|
4713
|
+
var require_simplify = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
4706
4714
|
const satisfies$2 = require_satisfies();
|
|
4707
4715
|
const compare$2 = require_compare();
|
|
4708
4716
|
module.exports = (versions, range, options) => {
|
|
@@ -4735,8 +4743,8 @@ var require_simplify = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
4735
4743
|
} });
|
|
4736
4744
|
|
|
4737
4745
|
//#endregion
|
|
4738
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4739
|
-
var require_subset = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4746
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js
|
|
4747
|
+
var require_subset = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
4740
4748
|
const Range$1 = require_range();
|
|
4741
4749
|
const Comparator$1 = require_comparator();
|
|
4742
4750
|
const { ANY } = Comparator$1;
|
|
@@ -4831,8 +4839,8 @@ var require_subset = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/
|
|
|
4831
4839
|
} });
|
|
4832
4840
|
|
|
4833
4841
|
//#endregion
|
|
4834
|
-
//#region node_modules/.pnpm/semver@7.7.
|
|
4835
|
-
var require_semver = __commonJS({ "node_modules/.pnpm/semver@7.7.
|
|
4842
|
+
//#region node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js
|
|
4843
|
+
var require_semver = __commonJS({ "node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js"(exports, module) {
|
|
4836
4844
|
const internalRe = require_re();
|
|
4837
4845
|
const constants = require_constants();
|
|
4838
4846
|
const SemVer = require_semver$1();
|
|
@@ -4925,7 +4933,7 @@ var require_semver = __commonJS({ "node_modules/.pnpm/semver@7.7.2/node_modules/
|
|
|
4925
4933
|
|
|
4926
4934
|
//#endregion
|
|
4927
4935
|
//#region src/trace.ts
|
|
4928
|
-
var import_semver = __toESM(require_semver());
|
|
4936
|
+
var import_semver = __toESM(require_semver(), 1);
|
|
4929
4937
|
async function traceNodeModules(input, opts) {
|
|
4930
4938
|
const _fileTrace = await nodeFileTrace([...input], {
|
|
4931
4939
|
conditions: (opts.exportConditions || [
|
|
@@ -5019,7 +5027,7 @@ async function traceNodeModules(input, opts) {
|
|
|
5019
5027
|
if (exists) return;
|
|
5020
5028
|
await promises.mkdir(dirname(dst), { recursive: true });
|
|
5021
5029
|
await promises.symlink(relative(dirname(dst), src$1), dst, isWindows$1 ? "junction" : "dir").catch((error) => {
|
|
5022
|
-
console.error("Cannot link", from, "to", to, error);
|
|
5030
|
+
if (error.code !== "EEXIST") console.error("Cannot link", from, "to", to, error);
|
|
5023
5031
|
});
|
|
5024
5032
|
};
|
|
5025
5033
|
const findPackageParents = (pkg, version) => {
|
|
@@ -5062,10 +5070,9 @@ async function traceNodeModules(input, opts) {
|
|
|
5062
5070
|
}
|
|
5063
5071
|
}
|
|
5064
5072
|
}
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
version: userPkg.version || "0.0.0",
|
|
5073
|
+
if (opts.writePackageJson) await writePackageJSON(resolve(outDir, "../package.json"), {
|
|
5074
|
+
name: "traced-node-modules",
|
|
5075
|
+
version: "1.0.0",
|
|
5069
5076
|
type: "module",
|
|
5070
5077
|
private: true,
|
|
5071
5078
|
dependencies: Object.fromEntries([...Object.values(tracedPackages).map((pkg) => [pkg.name, Object.keys(pkg.versions)[0]]), ...Object.entries(usedAliases)].sort(([a], [b$1]) => a.localeCompare(b$1)))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const json5=require("./json5.cjs"),jsonc=require("./shared/confbox.6b479c78.cjs"),yaml=require("./yaml.cjs"),toml=require("./toml.cjs");require("./shared/confbox.3768c7e9.cjs"),exports.parseJSON5=json5.parseJSON5,exports.stringifyJSON5=json5.stringifyJSON5,exports.parseJSON=jsonc.parseJSON,exports.parseJSONC=jsonc.parseJSONC,exports.stringifyJSON=jsonc.stringifyJSON,exports.stringifyJSONC=jsonc.stringifyJSONC,exports.parseYAML=yaml.parseYAML,exports.stringifyYAML=yaml.stringifyYAML,exports.parseTOML=toml.parseTOML,exports.stringifyTOML=toml.stringifyTOML;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{parseJSON5,stringifyJSON5}from"./json5.mjs";export{a as parseJSON,p as parseJSONC,b as stringifyJSON,s as stringifyJSONC}from"./shared/confbox.f9f03f05.mjs";export{parseYAML,stringifyYAML}from"./yaml.mjs";export{parseTOML,stringifyTOML}from"./toml.mjs";import"./shared/confbox.9388d834.mjs";
|