@slicemachine/adapter-next 0.3.85-beta.2 → 0.3.85
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/_node_modules/lru-cache/index.cjs +267 -0
- package/dist/_node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/_node_modules/lru-cache/index.js +267 -0
- package/dist/_node_modules/lru-cache/index.js.map +1 -0
- package/dist/_node_modules/yallist/iterator.cjs +18 -0
- package/dist/_node_modules/yallist/iterator.cjs.map +1 -0
- package/dist/_node_modules/yallist/iterator.js +18 -0
- package/dist/_node_modules/yallist/iterator.js.map +1 -0
- package/dist/_node_modules/yallist/yallist.cjs +367 -0
- package/dist/_node_modules/yallist/yallist.cjs.map +1 -0
- package/dist/_node_modules/yallist/yallist.js +367 -0
- package/dist/_node_modules/yallist/yallist.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +7 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/re.cjs +5 -0
- package/dist/_virtual/re.cjs.map +1 -0
- package/dist/_virtual/re.js +5 -0
- package/dist/_virtual/re.js.map +1 -0
- package/dist/hooks/project-init.cjs +5 -1
- package/dist/hooks/project-init.cjs.map +1 -1
- package/dist/hooks/project-init.js +5 -1
- package/dist/hooks/project-init.js.map +1 -1
- package/dist/lib/getNextJSVersion.cjs +34 -0
- package/dist/lib/getNextJSVersion.cjs.map +1 -0
- package/dist/lib/getNextJSVersion.d.ts +1 -0
- package/dist/lib/getNextJSVersion.js +12 -0
- package/dist/lib/getNextJSVersion.js.map +1 -0
- package/dist/lib/requireResolve.cjs +16 -0
- package/dist/lib/requireResolve.cjs.map +1 -0
- package/dist/lib/requireResolve.d.ts +10 -0
- package/dist/lib/requireResolve.js +16 -0
- package/dist/lib/requireResolve.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/comparator.cjs +122 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/comparator.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/comparator.js +122 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/comparator.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/range.cjs +373 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/range.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/range.js +373 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/range.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/semver.cjs +243 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/semver.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/semver.js +243 -0
- package/dist/packages/adapter-next/_node_modules/semver/classes/semver.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/clean.cjs +11 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/clean.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/clean.js +11 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/clean.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/cmp.cjs +53 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/cmp.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/cmp.js +53 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/cmp.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/coerce.cjs +40 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/coerce.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/coerce.js +40 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/coerce.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-build.cjs +12 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-build.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-build.js +12 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-build.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-loose.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-loose.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-loose.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare-loose.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/compare.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/diff.cjs +39 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/diff.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/diff.js +39 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/diff.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/eq.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/eq.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/eq.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/eq.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gt.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gt.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gt.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gt.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gte.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gte.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gte.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/gte.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/inc.cjs +22 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/inc.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/inc.js +22 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/inc.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lt.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lt.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lt.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lt.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lte.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lte.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lte.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/lte.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/major.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/major.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/major.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/major.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/minor.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/minor.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/minor.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/minor.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/neq.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/neq.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/neq.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/neq.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/parse.cjs +20 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/parse.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/parse.js +20 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/parse.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/patch.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/patch.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/patch.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/patch.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/prerelease.cjs +11 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/prerelease.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/prerelease.js +11 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/prerelease.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rcompare.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rcompare.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rcompare.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rcompare.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rsort.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rsort.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rsort.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/rsort.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/satisfies.cjs +15 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/satisfies.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/satisfies.js +15 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/satisfies.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/sort.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/sort.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/sort.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/sort.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/valid.cjs +11 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/valid.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/valid.js +11 -0
- package/dist/packages/adapter-next/_node_modules/semver/functions/valid.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/index.cjs +134 -0
- package/dist/packages/adapter-next/_node_modules/semver/index.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/index.js +135 -0
- package/dist/packages/adapter-next/_node_modules/semver/index.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/constants.cjs +27 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/constants.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/constants.js +27 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/constants.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/debug.cjs +7 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/debug.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/debug.js +7 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/debug.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/identifiers.cjs +19 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/identifiers.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/identifiers.js +19 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/identifiers.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/parse-options.cjs +16 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/parse-options.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/parse-options.js +16 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/parse-options.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/re.cjs +67 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/re.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/re.js +67 -0
- package/dist/packages/adapter-next/_node_modules/semver/internal/re.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/gtr.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/gtr.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/gtr.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/gtr.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/intersects.cjs +12 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/intersects.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/intersects.js +12 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/intersects.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/ltr.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/ltr.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/ltr.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/ltr.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/max-satisfying.cjs +28 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/max-satisfying.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/max-satisfying.js +28 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/max-satisfying.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-satisfying.cjs +28 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-satisfying.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-satisfying.js +28 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-satisfying.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-version.cjs +57 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-version.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-version.js +57 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/min-version.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/outside.cjs +74 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/outside.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/outside.js +74 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/outside.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/simplify.cjs +49 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/simplify.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/simplify.js +49 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/simplify.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/subset.cjs +163 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/subset.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/subset.js +163 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/subset.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/to-comparators.cjs +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/to-comparators.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/to-comparators.js +8 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/to-comparators.js.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/valid.cjs +14 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/valid.cjs.map +1 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/valid.js +14 -0
- package/dist/packages/adapter-next/_node_modules/semver/ranges/valid.js.map +1 -0
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +7 -8
- package/src/hooks/project-init.ts +6 -1
- package/src/lib/getNextJSVersion.ts +16 -0
- package/src/lib/requireResolve.ts +30 -0
- /package/dist/{package.json.cjs → packages/adapter-next/package.json.cjs} +0 -0
- /package/dist/{package.json.cjs.map → packages/adapter-next/package.json.cjs.map} +0 -0
- /package/dist/{package.json.js → packages/adapter-next/package.json.js} +0 -0
- /package/dist/{package.json.js.map → packages/adapter-next/package.json.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compare.js","sources":["../../../../../../node_modules/semver/functions/compare.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AACf,MAAM,UAAU,CAAC,GAAG,GAAG,UACrB,IAAI,OAAO,GAAG,KAAK,EAAE,QAAQ,IAAI,OAAO,GAAG,KAAK,CAAC;AAEnD,IAAA,YAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const parse$1 = require("./parse.cjs");
|
|
4
|
+
const parse = parse$1.parse_1;
|
|
5
|
+
const diff = (version1, version2) => {
|
|
6
|
+
const v1 = parse(version1, null, true);
|
|
7
|
+
const v2 = parse(version2, null, true);
|
|
8
|
+
const comparison = v1.compare(v2);
|
|
9
|
+
if (comparison === 0) {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
const v1Higher = comparison > 0;
|
|
13
|
+
const highVersion = v1Higher ? v1 : v2;
|
|
14
|
+
const lowVersion = v1Higher ? v2 : v1;
|
|
15
|
+
const highHasPre = !!highVersion.prerelease.length;
|
|
16
|
+
const prefix = highHasPre ? "pre" : "";
|
|
17
|
+
if (v1.major !== v2.major) {
|
|
18
|
+
return prefix + "major";
|
|
19
|
+
}
|
|
20
|
+
if (v1.minor !== v2.minor) {
|
|
21
|
+
return prefix + "minor";
|
|
22
|
+
}
|
|
23
|
+
if (v1.patch !== v2.patch) {
|
|
24
|
+
return prefix + "patch";
|
|
25
|
+
}
|
|
26
|
+
if (highHasPre) {
|
|
27
|
+
return "prerelease";
|
|
28
|
+
}
|
|
29
|
+
if (lowVersion.patch) {
|
|
30
|
+
return "patch";
|
|
31
|
+
}
|
|
32
|
+
if (lowVersion.minor) {
|
|
33
|
+
return "minor";
|
|
34
|
+
}
|
|
35
|
+
return "major";
|
|
36
|
+
};
|
|
37
|
+
var diff_1 = diff;
|
|
38
|
+
exports.diff_1 = diff_1;
|
|
39
|
+
//# sourceMappingURL=diff.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diff.cjs","sources":["../../../../../../node_modules/semver/functions/diff.js"],"sourcesContent":["const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // at this point we know stable versions match but overall versions are not equal,\n // so either they are both prereleases, or the lower version is a prerelease\n\n if (highHasPre) {\n // high and low are preleases\n return 'prerelease'\n }\n\n if (lowVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (lowVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n}\n\nmodule.exports = diff\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,QAAQA,QAAAA;AAEd,MAAM,OAAO,CAAC,UAAU,aAAa;AACnC,QAAM,KAAK,MAAM,UAAU,MAAM,IAAI;AACrC,QAAM,KAAK,MAAM,UAAU,MAAM,IAAI;AACrC,QAAM,aAAa,GAAG,QAAQ,EAAE;AAEhC,MAAI,eAAe,GAAG;AACpB,WAAO;AAAA,EACX;AAEE,QAAM,WAAW,aAAa;AAC9B,QAAM,cAAc,WAAW,KAAK;AACpC,QAAM,aAAa,WAAW,KAAK;AACnC,QAAM,aAAa,CAAC,CAAC,YAAY,WAAW;AAG5C,QAAM,SAAS,aAAa,QAAQ;AAEpC,MAAI,GAAG,UAAU,GAAG,OAAO;AACzB,WAAO,SAAS;AAAA,EACpB;AAEE,MAAI,GAAG,UAAU,GAAG,OAAO;AACzB,WAAO,SAAS;AAAA,EACpB;AAEE,MAAI,GAAG,UAAU,GAAG,OAAO;AACzB,WAAO,SAAS;AAAA,EACpB;AAKE,MAAI,YAAY;AAEd,WAAO;AAAA,EACX;AAEE,MAAI,WAAW,OAAO;AAEpB,WAAO;AAAA,EACX;AAEE,MAAI,WAAW,OAAO;AAEpB,WAAO;AAAA,EACX;AAGE,SAAO;AACT;AAEA,IAAA,SAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { p as parse_1 } from "./parse.js";
|
|
2
|
+
const parse = parse_1;
|
|
3
|
+
const diff = (version1, version2) => {
|
|
4
|
+
const v1 = parse(version1, null, true);
|
|
5
|
+
const v2 = parse(version2, null, true);
|
|
6
|
+
const comparison = v1.compare(v2);
|
|
7
|
+
if (comparison === 0) {
|
|
8
|
+
return null;
|
|
9
|
+
}
|
|
10
|
+
const v1Higher = comparison > 0;
|
|
11
|
+
const highVersion = v1Higher ? v1 : v2;
|
|
12
|
+
const lowVersion = v1Higher ? v2 : v1;
|
|
13
|
+
const highHasPre = !!highVersion.prerelease.length;
|
|
14
|
+
const prefix = highHasPre ? "pre" : "";
|
|
15
|
+
if (v1.major !== v2.major) {
|
|
16
|
+
return prefix + "major";
|
|
17
|
+
}
|
|
18
|
+
if (v1.minor !== v2.minor) {
|
|
19
|
+
return prefix + "minor";
|
|
20
|
+
}
|
|
21
|
+
if (v1.patch !== v2.patch) {
|
|
22
|
+
return prefix + "patch";
|
|
23
|
+
}
|
|
24
|
+
if (highHasPre) {
|
|
25
|
+
return "prerelease";
|
|
26
|
+
}
|
|
27
|
+
if (lowVersion.patch) {
|
|
28
|
+
return "patch";
|
|
29
|
+
}
|
|
30
|
+
if (lowVersion.minor) {
|
|
31
|
+
return "minor";
|
|
32
|
+
}
|
|
33
|
+
return "major";
|
|
34
|
+
};
|
|
35
|
+
var diff_1 = diff;
|
|
36
|
+
export {
|
|
37
|
+
diff_1 as d
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=diff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diff.js","sources":["../../../../../../node_modules/semver/functions/diff.js"],"sourcesContent":["const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // at this point we know stable versions match but overall versions are not equal,\n // so either they are both prereleases, or the lower version is a prerelease\n\n if (highHasPre) {\n // high and low are preleases\n return 'prerelease'\n }\n\n if (lowVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (lowVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n}\n\nmodule.exports = diff\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,QAAQA;AAEd,MAAM,OAAO,CAAC,UAAU,aAAa;AACnC,QAAM,KAAK,MAAM,UAAU,MAAM,IAAI;AACrC,QAAM,KAAK,MAAM,UAAU,MAAM,IAAI;AACrC,QAAM,aAAa,GAAG,QAAQ,EAAE;AAEhC,MAAI,eAAe,GAAG;AACpB,WAAO;AAAA,EACX;AAEE,QAAM,WAAW,aAAa;AAC9B,QAAM,cAAc,WAAW,KAAK;AACpC,QAAM,aAAa,WAAW,KAAK;AACnC,QAAM,aAAa,CAAC,CAAC,YAAY,WAAW;AAG5C,QAAM,SAAS,aAAa,QAAQ;AAEpC,MAAI,GAAG,UAAU,GAAG,OAAO;AACzB,WAAO,SAAS;AAAA,EACpB;AAEE,MAAI,GAAG,UAAU,GAAG,OAAO;AACzB,WAAO,SAAS;AAAA,EACpB;AAEE,MAAI,GAAG,UAAU,GAAG,OAAO;AACzB,WAAO,SAAS;AAAA,EACpB;AAKE,MAAI,YAAY;AAEd,WAAO;AAAA,EACX;AAEE,MAAI,WAAW,OAAO;AAEpB,WAAO;AAAA,EACX;AAEE,MAAI,WAAW,OAAO;AAEpB,WAAO;AAAA,EACX;AAGE,SAAO;AACT;AAEA,IAAA,SAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
6
|
+
var eq_1 = eq;
|
|
7
|
+
exports.eq_1 = eq_1;
|
|
8
|
+
//# sourceMappingURL=eq.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eq.cjs","sources":["../../../../../../node_modules/semver/functions/eq.js"],"sourcesContent":["const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,MAAM;AACrD,IAAA,OAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eq.js","sources":["../../../../../../node_modules/semver/functions/eq.js"],"sourcesContent":["const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,MAAM;AACrD,IAAA,OAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
6
|
+
var gt_1 = gt;
|
|
7
|
+
exports.gt_1 = gt_1;
|
|
8
|
+
//# sourceMappingURL=gt.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gt.cjs","sources":["../../../../../../node_modules/semver/functions/gt.js"],"sourcesContent":["const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,IAAI;AACnD,IAAA,OAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gt.js","sources":["../../../../../../node_modules/semver/functions/gt.js"],"sourcesContent":["const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,IAAI;AACnD,IAAA,OAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
6
|
+
var gte_1 = gte;
|
|
7
|
+
exports.gte_1 = gte_1;
|
|
8
|
+
//# sourceMappingURL=gte.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gte.cjs","sources":["../../../../../../node_modules/semver/functions/gte.js"],"sourcesContent":["const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,MAAM,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,KAAK;AACrD,IAAA,QAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gte.js","sources":["../../../../../../node_modules/semver/functions/gte.js"],"sourcesContent":["const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,MAAM,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,KAAK;AACrD,IAAA,QAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const semver = require("../classes/semver.cjs");
|
|
4
|
+
const SemVer = semver.semver;
|
|
5
|
+
const inc = (version, release, options, identifier, identifierBase) => {
|
|
6
|
+
if (typeof options === "string") {
|
|
7
|
+
identifierBase = identifier;
|
|
8
|
+
identifier = options;
|
|
9
|
+
options = void 0;
|
|
10
|
+
}
|
|
11
|
+
try {
|
|
12
|
+
return new SemVer(
|
|
13
|
+
version instanceof SemVer ? version.version : version,
|
|
14
|
+
options
|
|
15
|
+
).inc(release, identifier, identifierBase).version;
|
|
16
|
+
} catch (er) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
var inc_1 = inc;
|
|
21
|
+
exports.inc_1 = inc_1;
|
|
22
|
+
//# sourceMappingURL=inc.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inc.cjs","sources":["../../../../../../node_modules/semver/functions/inc.js"],"sourcesContent":["const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,SAASA,OAAAA;AAEf,MAAM,MAAM,CAAC,SAAS,SAAS,SAAS,YAAY,mBAAmB;AACrE,MAAI,OAAQ,YAAa,UAAU;AACjC,qBAAiB;AACjB,iBAAa;AACb,cAAU;AAAA,EACd;AAEE,MAAI;AACF,WAAO,IAAI;AAAA,MACT,mBAAmB,SAAS,QAAQ,UAAU;AAAA,MAC9C;AAAA,IACN,EAAM,IAAI,SAAS,YAAY,cAAc,EAAE;AAAA,EAC/C,SAAW,IAAI;AACX,WAAO;AAAA,EACX;AACA;AACA,IAAA,QAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { s as semver } from "../classes/semver.js";
|
|
2
|
+
const SemVer = semver;
|
|
3
|
+
const inc = (version, release, options, identifier, identifierBase) => {
|
|
4
|
+
if (typeof options === "string") {
|
|
5
|
+
identifierBase = identifier;
|
|
6
|
+
identifier = options;
|
|
7
|
+
options = void 0;
|
|
8
|
+
}
|
|
9
|
+
try {
|
|
10
|
+
return new SemVer(
|
|
11
|
+
version instanceof SemVer ? version.version : version,
|
|
12
|
+
options
|
|
13
|
+
).inc(release, identifier, identifierBase).version;
|
|
14
|
+
} catch (er) {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
var inc_1 = inc;
|
|
19
|
+
export {
|
|
20
|
+
inc_1 as i
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=inc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inc.js","sources":["../../../../../../node_modules/semver/functions/inc.js"],"sourcesContent":["const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(\n version instanceof SemVer ? version.version : version,\n options\n ).inc(release, identifier, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AAEf,MAAM,MAAM,CAAC,SAAS,SAAS,SAAS,YAAY,mBAAmB;AACrE,MAAI,OAAQ,YAAa,UAAU;AACjC,qBAAiB;AACjB,iBAAa;AACb,cAAU;AAAA,EACd;AAEE,MAAI;AACF,WAAO,IAAI;AAAA,MACT,mBAAmB,SAAS,QAAQ,UAAU;AAAA,MAC9C;AAAA,IACN,EAAM,IAAI,SAAS,YAAY,cAAc,EAAE;AAAA,EAC/C,SAAW,IAAI;AACX,WAAO;AAAA,EACX;AACA;AACA,IAAA,QAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
6
|
+
var lt_1 = lt;
|
|
7
|
+
exports.lt_1 = lt_1;
|
|
8
|
+
//# sourceMappingURL=lt.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lt.cjs","sources":["../../../../../../node_modules/semver/functions/lt.js"],"sourcesContent":["const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,IAAI;AACnD,IAAA,OAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lt.js","sources":["../../../../../../node_modules/semver/functions/lt.js"],"sourcesContent":["const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,KAAK,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,IAAI;AACnD,IAAA,OAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
6
|
+
var lte_1 = lte;
|
|
7
|
+
exports.lte_1 = lte_1;
|
|
8
|
+
//# sourceMappingURL=lte.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lte.cjs","sources":["../../../../../../node_modules/semver/functions/lte.js"],"sourcesContent":["const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,MAAM,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,KAAK;AACrD,IAAA,QAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lte.js","sources":["../../../../../../node_modules/semver/functions/lte.js"],"sourcesContent":["const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,MAAM,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,KAAK;AACrD,IAAA,QAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const semver = require("../classes/semver.cjs");
|
|
4
|
+
const SemVer = semver.semver;
|
|
5
|
+
const major = (a, loose) => new SemVer(a, loose).major;
|
|
6
|
+
var major_1 = major;
|
|
7
|
+
exports.major_1 = major_1;
|
|
8
|
+
//# sourceMappingURL=major.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"major.cjs","sources":["../../../../../../node_modules/semver/functions/major.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,SAASA,OAAAA;AACf,MAAM,QAAQ,CAAC,GAAG,UAAU,IAAI,OAAO,GAAG,KAAK,EAAE;AACjD,IAAA,UAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"major.js","sources":["../../../../../../node_modules/semver/functions/major.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AACf,MAAM,QAAQ,CAAC,GAAG,UAAU,IAAI,OAAO,GAAG,KAAK,EAAE;AACjD,IAAA,UAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const semver = require("../classes/semver.cjs");
|
|
4
|
+
const SemVer = semver.semver;
|
|
5
|
+
const minor = (a, loose) => new SemVer(a, loose).minor;
|
|
6
|
+
var minor_1 = minor;
|
|
7
|
+
exports.minor_1 = minor_1;
|
|
8
|
+
//# sourceMappingURL=minor.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minor.cjs","sources":["../../../../../../node_modules/semver/functions/minor.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,SAASA,OAAAA;AACf,MAAM,QAAQ,CAAC,GAAG,UAAU,IAAI,OAAO,GAAG,KAAK,EAAE;AACjD,IAAA,UAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minor.js","sources":["../../../../../../node_modules/semver/functions/minor.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AACf,MAAM,QAAQ,CAAC,GAAG,UAAU,IAAI,OAAO,GAAG,KAAK,EAAE;AACjD,IAAA,UAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
6
|
+
var neq_1 = neq;
|
|
7
|
+
exports.neq_1 = neq_1;
|
|
8
|
+
//# sourceMappingURL=neq.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neq.cjs","sources":["../../../../../../node_modules/semver/functions/neq.js"],"sourcesContent":["const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,MAAM,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,MAAM;AACtD,IAAA,QAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"neq.js","sources":["../../../../../../node_modules/semver/functions/neq.js"],"sourcesContent":["const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,MAAM,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK,MAAM;AACtD,IAAA,QAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const semver = require("../classes/semver.cjs");
|
|
4
|
+
const SemVer = semver.semver;
|
|
5
|
+
const parse = (version, options, throwErrors = false) => {
|
|
6
|
+
if (version instanceof SemVer) {
|
|
7
|
+
return version;
|
|
8
|
+
}
|
|
9
|
+
try {
|
|
10
|
+
return new SemVer(version, options);
|
|
11
|
+
} catch (er) {
|
|
12
|
+
if (!throwErrors) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
throw er;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
var parse_1 = parse;
|
|
19
|
+
exports.parse_1 = parse_1;
|
|
20
|
+
//# sourceMappingURL=parse.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.cjs","sources":["../../../../../../node_modules/semver/functions/parse.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,SAASA,OAAAA;AACf,MAAM,QAAQ,CAAC,SAAS,SAAS,cAAc,UAAU;AACvD,MAAI,mBAAmB,QAAQ;AAC7B,WAAO;AAAA,EACX;AACE,MAAI;AACF,WAAO,IAAI,OAAO,SAAS,OAAO;AAAA,EACtC,SAAW,IAAI;AACX,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACb;AACI,UAAM;AAAA,EACV;AACA;AAEA,IAAA,UAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { s as semver } from "../classes/semver.js";
|
|
2
|
+
const SemVer = semver;
|
|
3
|
+
const parse = (version, options, throwErrors = false) => {
|
|
4
|
+
if (version instanceof SemVer) {
|
|
5
|
+
return version;
|
|
6
|
+
}
|
|
7
|
+
try {
|
|
8
|
+
return new SemVer(version, options);
|
|
9
|
+
} catch (er) {
|
|
10
|
+
if (!throwErrors) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
throw er;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
var parse_1 = parse;
|
|
17
|
+
export {
|
|
18
|
+
parse_1 as p
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=parse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.js","sources":["../../../../../../node_modules/semver/functions/parse.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AACf,MAAM,QAAQ,CAAC,SAAS,SAAS,cAAc,UAAU;AACvD,MAAI,mBAAmB,QAAQ;AAC7B,WAAO;AAAA,EACX;AACE,MAAI;AACF,WAAO,IAAI,OAAO,SAAS,OAAO;AAAA,EACtC,SAAW,IAAI;AACX,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACb;AACI,UAAM;AAAA,EACV;AACA;AAEA,IAAA,UAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const semver = require("../classes/semver.cjs");
|
|
4
|
+
const SemVer = semver.semver;
|
|
5
|
+
const patch = (a, loose) => new SemVer(a, loose).patch;
|
|
6
|
+
var patch_1 = patch;
|
|
7
|
+
exports.patch_1 = patch_1;
|
|
8
|
+
//# sourceMappingURL=patch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch.cjs","sources":["../../../../../../node_modules/semver/functions/patch.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,SAASA,OAAAA;AACf,MAAM,QAAQ,CAAC,GAAG,UAAU,IAAI,OAAO,GAAG,KAAK,EAAE;AACjD,IAAA,UAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch.js","sources":["../../../../../../node_modules/semver/functions/patch.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AACf,MAAM,QAAQ,CAAC,GAAG,UAAU,IAAI,OAAO,GAAG,KAAK,EAAE;AACjD,IAAA,UAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const parse$1 = require("./parse.cjs");
|
|
4
|
+
const parse = parse$1.parse_1;
|
|
5
|
+
const prerelease = (version, options) => {
|
|
6
|
+
const parsed = parse(version, options);
|
|
7
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
8
|
+
};
|
|
9
|
+
var prerelease_1 = prerelease;
|
|
10
|
+
exports.prerelease_1 = prerelease_1;
|
|
11
|
+
//# sourceMappingURL=prerelease.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prerelease.cjs","sources":["../../../../../../node_modules/semver/functions/prerelease.js"],"sourcesContent":["const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,QAAQA,QAAAA;AACd,MAAM,aAAa,CAAC,SAAS,YAAY;AACvC,QAAM,SAAS,MAAM,SAAS,OAAO;AACrC,SAAQ,UAAU,OAAO,WAAW,SAAU,OAAO,aAAa;AACpE;AACA,IAAA,eAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { p as parse_1 } from "./parse.js";
|
|
2
|
+
const parse = parse_1;
|
|
3
|
+
const prerelease = (version, options) => {
|
|
4
|
+
const parsed = parse(version, options);
|
|
5
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
6
|
+
};
|
|
7
|
+
var prerelease_1 = prerelease;
|
|
8
|
+
export {
|
|
9
|
+
prerelease_1 as p
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=prerelease.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prerelease.js","sources":["../../../../../../node_modules/semver/functions/prerelease.js"],"sourcesContent":["const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,QAAQA;AACd,MAAM,aAAa,CAAC,SAAS,YAAY;AACvC,QAAM,SAAS,MAAM,SAAS,OAAO;AACrC,SAAQ,UAAU,OAAO,WAAW,SAAU,OAAO,aAAa;AACpE;AACA,IAAA,eAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compare$1 = require("./compare.cjs");
|
|
4
|
+
const compare = compare$1.compare_1;
|
|
5
|
+
const rcompare = (a, b, loose) => compare(b, a, loose);
|
|
6
|
+
var rcompare_1 = rcompare;
|
|
7
|
+
exports.rcompare_1 = rcompare_1;
|
|
8
|
+
//# sourceMappingURL=rcompare.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcompare.cjs","sources":["../../../../../../node_modules/semver/functions/rcompare.js"],"sourcesContent":["const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,UAAUA,UAAAA;AAChB,MAAM,WAAW,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK;AACrD,IAAA,aAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcompare.js","sources":["../../../../../../node_modules/semver/functions/rcompare.js"],"sourcesContent":["const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,UAAUA;AAChB,MAAM,WAAW,CAAC,GAAG,GAAG,UAAU,QAAQ,GAAG,GAAG,KAAK;AACrD,IAAA,aAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const compareBuild$1 = require("./compare-build.cjs");
|
|
4
|
+
const compareBuild = compareBuild$1.compareBuild_1;
|
|
5
|
+
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
6
|
+
var rsort_1 = rsort;
|
|
7
|
+
exports.rsort_1 = rsort_1;
|
|
8
|
+
//# sourceMappingURL=rsort.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rsort.cjs","sources":["../../../../../../node_modules/semver/functions/rsort.js"],"sourcesContent":["const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,eAAeA,eAAAA;AACrB,MAAM,QAAQ,CAAC,MAAM,UAAU,KAAK,KAAK,CAAC,GAAG,MAAM,aAAa,GAAG,GAAG,KAAK,CAAC;AAC5E,IAAA,UAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { c as compareBuild_1 } from "./compare-build.js";
|
|
2
|
+
const compareBuild = compareBuild_1;
|
|
3
|
+
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
4
|
+
var rsort_1 = rsort;
|
|
5
|
+
export {
|
|
6
|
+
rsort_1 as r
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=rsort.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rsort.js","sources":["../../../../../../node_modules/semver/functions/rsort.js"],"sourcesContent":["const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,eAAeA;AACrB,MAAM,QAAQ,CAAC,MAAM,UAAU,KAAK,KAAK,CAAC,GAAG,MAAM,aAAa,GAAG,GAAG,KAAK,CAAC;AAC5E,IAAA,UAAiB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const range = require("../classes/range.cjs");
|
|
4
|
+
const Range = range.__require();
|
|
5
|
+
const satisfies = (version, range2, options) => {
|
|
6
|
+
try {
|
|
7
|
+
range2 = new Range(range2, options);
|
|
8
|
+
} catch (er) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
return range2.test(version);
|
|
12
|
+
};
|
|
13
|
+
var satisfies_1 = satisfies;
|
|
14
|
+
exports.satisfies_1 = satisfies_1;
|
|
15
|
+
//# sourceMappingURL=satisfies.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"satisfies.cjs","sources":["../../../../../../node_modules/semver/functions/satisfies.js"],"sourcesContent":["const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n"],"names":["require$$0","range"],"mappings":";;;AAAA,MAAM,QAAQA,MAAAA,UAAA;AACd,MAAM,YAAY,CAAC,SAASC,QAAO,YAAY;AAC7C,MAAI;AACF,IAAAA,SAAQ,IAAI,MAAMA,QAAO,OAAO;AAAA,EACpC,SAAW,IAAI;AACX,WAAO;AAAA,EACX;AACE,SAAOA,OAAM,KAAK,OAAO;AAC3B;AACA,IAAA,cAAiB;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __require as requireRange } from "../classes/range.js";
|
|
2
|
+
const Range = requireRange();
|
|
3
|
+
const satisfies = (version, range, options) => {
|
|
4
|
+
try {
|
|
5
|
+
range = new Range(range, options);
|
|
6
|
+
} catch (er) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
return range.test(version);
|
|
10
|
+
};
|
|
11
|
+
var satisfies_1 = satisfies;
|
|
12
|
+
export {
|
|
13
|
+
satisfies_1 as s
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=satisfies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"satisfies.js","sources":["../../../../../../node_modules/semver/functions/satisfies.js"],"sourcesContent":["const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,QAAQA,aAAA;AACd,MAAM,YAAY,CAAC,SAAS,OAAO,YAAY;AAC7C,MAAI;AACF,YAAQ,IAAI,MAAM,OAAO,OAAO;AAAA,EACpC,SAAW,IAAI;AACX,WAAO;AAAA,EACX;AACE,SAAO,MAAM,KAAK,OAAO;AAC3B;AACA,IAAA,cAAiB;","x_google_ignoreList":[0]}
|