@prisma/migrate 5.17.0-dev.10 → 5.17.0-dev.4

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.
@@ -26,13 +26,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_AJFOZSAR_exports = {};
30
- __export(chunk_AJFOZSAR_exports, {
29
+ var chunk_3BUUXV4H_exports = {};
30
+ __export(chunk_3BUUXV4H_exports, {
31
31
  MigrateDiff: () => MigrateDiff,
32
32
  init_MigrateDiff: () => init_MigrateDiff
33
33
  });
34
- module.exports = __toCommonJS(chunk_AJFOZSAR_exports);
35
- var import_chunk_ODPKPRK7 = require("./chunk-ODPKPRK7.js");
34
+ module.exports = __toCommonJS(chunk_3BUUXV4H_exports);
35
+ var import_chunk_NNDVFXHL = require("./chunk-NNDVFXHL.js");
36
36
  var import_chunk_XRTNIFND = require("./chunk-XRTNIFND.js");
37
37
  var import_chunk_TKAGMA5K = require("./chunk-TKAGMA5K.js");
38
38
  var import_chunk_WIZM7TFT = require("./chunk-WIZM7TFT.js");
@@ -8540,6 +8540,448 @@ ${codeFrame}
8540
8540
  );
8541
8541
  }
8542
8542
  });
8543
+ var require_debug = (0, import_chunk_WWAWV7DQ.__commonJS)({
8544
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"(exports, module2) {
8545
+ "use strict";
8546
+ var debug4 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
8547
+ };
8548
+ module2.exports = debug4;
8549
+ }
8550
+ });
8551
+ var require_constants = (0, import_chunk_WWAWV7DQ.__commonJS)({
8552
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"(exports, module2) {
8553
+ "use strict";
8554
+ var SEMVER_SPEC_VERSION = "2.0.0";
8555
+ var MAX_LENGTH = 256;
8556
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
8557
+ 9007199254740991;
8558
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
8559
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
8560
+ var RELEASE_TYPES = [
8561
+ "major",
8562
+ "premajor",
8563
+ "minor",
8564
+ "preminor",
8565
+ "patch",
8566
+ "prepatch",
8567
+ "prerelease"
8568
+ ];
8569
+ module2.exports = {
8570
+ MAX_LENGTH,
8571
+ MAX_SAFE_COMPONENT_LENGTH,
8572
+ MAX_SAFE_BUILD_LENGTH,
8573
+ MAX_SAFE_INTEGER,
8574
+ RELEASE_TYPES,
8575
+ SEMVER_SPEC_VERSION,
8576
+ FLAG_INCLUDE_PRERELEASE: 1,
8577
+ FLAG_LOOSE: 2
8578
+ };
8579
+ }
8580
+ });
8581
+ var require_re = (0, import_chunk_WWAWV7DQ.__commonJS)({
8582
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"(exports, module2) {
8583
+ "use strict";
8584
+ var {
8585
+ MAX_SAFE_COMPONENT_LENGTH,
8586
+ MAX_SAFE_BUILD_LENGTH,
8587
+ MAX_LENGTH
8588
+ } = require_constants();
8589
+ var debug4 = require_debug();
8590
+ exports = module2.exports = {};
8591
+ var re = exports.re = [];
8592
+ var safeRe = exports.safeRe = [];
8593
+ var src = exports.src = [];
8594
+ var t = exports.t = {};
8595
+ var R = 0;
8596
+ var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
8597
+ var safeRegexReplacements = [
8598
+ ["\\s", 1],
8599
+ ["\\d", MAX_LENGTH],
8600
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
8601
+ ];
8602
+ var makeSafeRegex = (value) => {
8603
+ for (const [token, max] of safeRegexReplacements) {
8604
+ value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
8605
+ }
8606
+ return value;
8607
+ };
8608
+ var createToken = (name, value, isGlobal) => {
8609
+ const safe = makeSafeRegex(value);
8610
+ const index = R++;
8611
+ debug4(name, index, value);
8612
+ t[name] = index;
8613
+ src[index] = value;
8614
+ re[index] = new RegExp(value, isGlobal ? "g" : void 0);
8615
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
8616
+ };
8617
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
8618
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
8619
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
8620
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
8621
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
8622
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
8623
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
8624
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
8625
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
8626
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
8627
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
8628
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
8629
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
8630
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
8631
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
8632
+ createToken("GTLT", "((?:<|>)?=?)");
8633
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
8634
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
8635
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
8636
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
8637
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
8638
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
8639
+ createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
8640
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
8641
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
8642
+ createToken("COERCERTL", src[t.COERCE], true);
8643
+ createToken("COERCERTLFULL", src[t.COERCEFULL], true);
8644
+ createToken("LONETILDE", "(?:~>?)");
8645
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
8646
+ exports.tildeTrimReplace = "$1~";
8647
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
8648
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
8649
+ createToken("LONECARET", "(?:\\^)");
8650
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
8651
+ exports.caretTrimReplace = "$1^";
8652
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
8653
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
8654
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
8655
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
8656
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
8657
+ exports.comparatorTrimReplace = "$1$2$3";
8658
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
8659
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
8660
+ createToken("STAR", "(<|>)?=?\\s*\\*");
8661
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
8662
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
8663
+ }
8664
+ });
8665
+ var require_parse_options = (0, import_chunk_WWAWV7DQ.__commonJS)({
8666
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"(exports, module2) {
8667
+ "use strict";
8668
+ var looseOption = Object.freeze({ loose: true });
8669
+ var emptyOpts = Object.freeze({});
8670
+ var parseOptions = (options) => {
8671
+ if (!options) {
8672
+ return emptyOpts;
8673
+ }
8674
+ if (typeof options !== "object") {
8675
+ return looseOption;
8676
+ }
8677
+ return options;
8678
+ };
8679
+ module2.exports = parseOptions;
8680
+ }
8681
+ });
8682
+ var require_identifiers = (0, import_chunk_WWAWV7DQ.__commonJS)({
8683
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"(exports, module2) {
8684
+ "use strict";
8685
+ var numeric = /^[0-9]+$/;
8686
+ var compareIdentifiers = (a, b) => {
8687
+ const anum = numeric.test(a);
8688
+ const bnum = numeric.test(b);
8689
+ if (anum && bnum) {
8690
+ a = +a;
8691
+ b = +b;
8692
+ }
8693
+ return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
8694
+ };
8695
+ var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
8696
+ module2.exports = {
8697
+ compareIdentifiers,
8698
+ rcompareIdentifiers
8699
+ };
8700
+ }
8701
+ });
8702
+ var require_semver = (0, import_chunk_WWAWV7DQ.__commonJS)({
8703
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"(exports, module2) {
8704
+ "use strict";
8705
+ var debug4 = require_debug();
8706
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
8707
+ var { safeRe: re, t } = require_re();
8708
+ var parseOptions = require_parse_options();
8709
+ var { compareIdentifiers } = require_identifiers();
8710
+ var SemVer = class _SemVer {
8711
+ constructor(version2, options) {
8712
+ options = parseOptions(options);
8713
+ if (version2 instanceof _SemVer) {
8714
+ if (version2.loose === !!options.loose && version2.includePrerelease === !!options.includePrerelease) {
8715
+ return version2;
8716
+ } else {
8717
+ version2 = version2.version;
8718
+ }
8719
+ } else if (typeof version2 !== "string") {
8720
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);
8721
+ }
8722
+ if (version2.length > MAX_LENGTH) {
8723
+ throw new TypeError(
8724
+ `version is longer than ${MAX_LENGTH} characters`
8725
+ );
8726
+ }
8727
+ debug4("SemVer", version2, options);
8728
+ this.options = options;
8729
+ this.loose = !!options.loose;
8730
+ this.includePrerelease = !!options.includePrerelease;
8731
+ const m = version2.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
8732
+ if (!m) {
8733
+ throw new TypeError(`Invalid Version: ${version2}`);
8734
+ }
8735
+ this.raw = version2;
8736
+ this.major = +m[1];
8737
+ this.minor = +m[2];
8738
+ this.patch = +m[3];
8739
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
8740
+ throw new TypeError("Invalid major version");
8741
+ }
8742
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
8743
+ throw new TypeError("Invalid minor version");
8744
+ }
8745
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
8746
+ throw new TypeError("Invalid patch version");
8747
+ }
8748
+ if (!m[4]) {
8749
+ this.prerelease = [];
8750
+ } else {
8751
+ this.prerelease = m[4].split(".").map((id) => {
8752
+ if (/^[0-9]+$/.test(id)) {
8753
+ const num = +id;
8754
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
8755
+ return num;
8756
+ }
8757
+ }
8758
+ return id;
8759
+ });
8760
+ }
8761
+ this.build = m[5] ? m[5].split(".") : [];
8762
+ this.format();
8763
+ }
8764
+ format() {
8765
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
8766
+ if (this.prerelease.length) {
8767
+ this.version += `-${this.prerelease.join(".")}`;
8768
+ }
8769
+ return this.version;
8770
+ }
8771
+ toString() {
8772
+ return this.version;
8773
+ }
8774
+ compare(other) {
8775
+ debug4("SemVer.compare", this.version, this.options, other);
8776
+ if (!(other instanceof _SemVer)) {
8777
+ if (typeof other === "string" && other === this.version) {
8778
+ return 0;
8779
+ }
8780
+ other = new _SemVer(other, this.options);
8781
+ }
8782
+ if (other.version === this.version) {
8783
+ return 0;
8784
+ }
8785
+ return this.compareMain(other) || this.comparePre(other);
8786
+ }
8787
+ compareMain(other) {
8788
+ if (!(other instanceof _SemVer)) {
8789
+ other = new _SemVer(other, this.options);
8790
+ }
8791
+ return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
8792
+ }
8793
+ comparePre(other) {
8794
+ if (!(other instanceof _SemVer)) {
8795
+ other = new _SemVer(other, this.options);
8796
+ }
8797
+ if (this.prerelease.length && !other.prerelease.length) {
8798
+ return -1;
8799
+ } else if (!this.prerelease.length && other.prerelease.length) {
8800
+ return 1;
8801
+ } else if (!this.prerelease.length && !other.prerelease.length) {
8802
+ return 0;
8803
+ }
8804
+ let i = 0;
8805
+ do {
8806
+ const a = this.prerelease[i];
8807
+ const b = other.prerelease[i];
8808
+ debug4("prerelease compare", i, a, b);
8809
+ if (a === void 0 && b === void 0) {
8810
+ return 0;
8811
+ } else if (b === void 0) {
8812
+ return 1;
8813
+ } else if (a === void 0) {
8814
+ return -1;
8815
+ } else if (a === b) {
8816
+ continue;
8817
+ } else {
8818
+ return compareIdentifiers(a, b);
8819
+ }
8820
+ } while (++i);
8821
+ }
8822
+ compareBuild(other) {
8823
+ if (!(other instanceof _SemVer)) {
8824
+ other = new _SemVer(other, this.options);
8825
+ }
8826
+ let i = 0;
8827
+ do {
8828
+ const a = this.build[i];
8829
+ const b = other.build[i];
8830
+ debug4("build compare", i, a, b);
8831
+ if (a === void 0 && b === void 0) {
8832
+ return 0;
8833
+ } else if (b === void 0) {
8834
+ return 1;
8835
+ } else if (a === void 0) {
8836
+ return -1;
8837
+ } else if (a === b) {
8838
+ continue;
8839
+ } else {
8840
+ return compareIdentifiers(a, b);
8841
+ }
8842
+ } while (++i);
8843
+ }
8844
+ // preminor will bump the version up to the next minor release, and immediately
8845
+ // down to pre-release. premajor and prepatch work the same way.
8846
+ inc(release, identifier, identifierBase) {
8847
+ switch (release) {
8848
+ case "premajor":
8849
+ this.prerelease.length = 0;
8850
+ this.patch = 0;
8851
+ this.minor = 0;
8852
+ this.major++;
8853
+ this.inc("pre", identifier, identifierBase);
8854
+ break;
8855
+ case "preminor":
8856
+ this.prerelease.length = 0;
8857
+ this.patch = 0;
8858
+ this.minor++;
8859
+ this.inc("pre", identifier, identifierBase);
8860
+ break;
8861
+ case "prepatch":
8862
+ this.prerelease.length = 0;
8863
+ this.inc("patch", identifier, identifierBase);
8864
+ this.inc("pre", identifier, identifierBase);
8865
+ break;
8866
+ case "prerelease":
8867
+ if (this.prerelease.length === 0) {
8868
+ this.inc("patch", identifier, identifierBase);
8869
+ }
8870
+ this.inc("pre", identifier, identifierBase);
8871
+ break;
8872
+ case "major":
8873
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
8874
+ this.major++;
8875
+ }
8876
+ this.minor = 0;
8877
+ this.patch = 0;
8878
+ this.prerelease = [];
8879
+ break;
8880
+ case "minor":
8881
+ if (this.patch !== 0 || this.prerelease.length === 0) {
8882
+ this.minor++;
8883
+ }
8884
+ this.patch = 0;
8885
+ this.prerelease = [];
8886
+ break;
8887
+ case "patch":
8888
+ if (this.prerelease.length === 0) {
8889
+ this.patch++;
8890
+ }
8891
+ this.prerelease = [];
8892
+ break;
8893
+ case "pre": {
8894
+ const base = Number(identifierBase) ? 1 : 0;
8895
+ if (!identifier && identifierBase === false) {
8896
+ throw new Error("invalid increment argument: identifier is empty");
8897
+ }
8898
+ if (this.prerelease.length === 0) {
8899
+ this.prerelease = [base];
8900
+ } else {
8901
+ let i = this.prerelease.length;
8902
+ while (--i >= 0) {
8903
+ if (typeof this.prerelease[i] === "number") {
8904
+ this.prerelease[i]++;
8905
+ i = -2;
8906
+ }
8907
+ }
8908
+ if (i === -1) {
8909
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
8910
+ throw new Error("invalid increment argument: identifier already exists");
8911
+ }
8912
+ this.prerelease.push(base);
8913
+ }
8914
+ }
8915
+ if (identifier) {
8916
+ let prerelease = [identifier, base];
8917
+ if (identifierBase === false) {
8918
+ prerelease = [identifier];
8919
+ }
8920
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
8921
+ if (isNaN(this.prerelease[1])) {
8922
+ this.prerelease = prerelease;
8923
+ }
8924
+ } else {
8925
+ this.prerelease = prerelease;
8926
+ }
8927
+ }
8928
+ break;
8929
+ }
8930
+ default:
8931
+ throw new Error(`invalid increment argument: ${release}`);
8932
+ }
8933
+ this.raw = this.format();
8934
+ if (this.build.length) {
8935
+ this.raw += `+${this.build.join(".")}`;
8936
+ }
8937
+ return this;
8938
+ }
8939
+ };
8940
+ module2.exports = SemVer;
8941
+ }
8942
+ });
8943
+ var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
8944
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"(exports, module2) {
8945
+ "use strict";
8946
+ var SemVer = require_semver();
8947
+ var parse = (version2, options, throwErrors = false) => {
8948
+ if (version2 instanceof SemVer) {
8949
+ return version2;
8950
+ }
8951
+ try {
8952
+ return new SemVer(version2, options);
8953
+ } catch (er) {
8954
+ if (!throwErrors) {
8955
+ return null;
8956
+ }
8957
+ throw er;
8958
+ }
8959
+ };
8960
+ module2.exports = parse;
8961
+ }
8962
+ });
8963
+ var require_valid = (0, import_chunk_WWAWV7DQ.__commonJS)({
8964
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"(exports, module2) {
8965
+ "use strict";
8966
+ var parse = require_parse();
8967
+ var valid = (version2, options) => {
8968
+ const v = parse(version2, options);
8969
+ return v ? v.version : null;
8970
+ };
8971
+ module2.exports = valid;
8972
+ }
8973
+ });
8974
+ var require_clean = (0, import_chunk_WWAWV7DQ.__commonJS)({
8975
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"(exports, module2) {
8976
+ "use strict";
8977
+ var parse = require_parse();
8978
+ var clean = (version2, options) => {
8979
+ const s = parse(version2.trim().replace(/^[=v]+/, ""), options);
8980
+ return s ? s.version : null;
8981
+ };
8982
+ module2.exports = clean;
8983
+ }
8984
+ });
8543
8985
  var require_spdx_license_ids = (0, import_chunk_WWAWV7DQ.__commonJS)({
8544
8986
  "../../node_modules/.pnpm/spdx-license-ids@3.0.18/node_modules/spdx-license-ids/index.json"(exports, module2) {
8545
8987
  module2.exports = [
@@ -9348,7 +9790,7 @@ var require_scan = (0, import_chunk_WWAWV7DQ.__commonJS)({
9348
9790
  };
9349
9791
  }
9350
9792
  });
9351
- var require_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
9793
+ var require_parse2 = (0, import_chunk_WWAWV7DQ.__commonJS)({
9352
9794
  "../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js"(exports, module2) {
9353
9795
  "use strict";
9354
9796
  module2.exports = function(tokens) {
@@ -9464,7 +9906,7 @@ var require_spdx_expression_parse = (0, import_chunk_WWAWV7DQ.__commonJS)({
9464
9906
  "../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/index.js"(exports, module2) {
9465
9907
  "use strict";
9466
9908
  var scan = require_scan();
9467
- var parse = require_parse();
9909
+ var parse = require_parse2();
9468
9910
  module2.exports = function(source) {
9469
9911
  return parse(scan(source));
9470
9912
  };
@@ -10313,93 +10755,12 @@ var require_lib5 = (0, import_chunk_WWAWV7DQ.__commonJS)({
10313
10755
  module2.exports = GitHost;
10314
10756
  }
10315
10757
  });
10316
- var require_implementation = (0, import_chunk_WWAWV7DQ.__commonJS)({
10317
- "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module2) {
10318
- "use strict";
10319
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
10320
- var toStr = Object.prototype.toString;
10321
- var max = Math.max;
10322
- var funcType = "[object Function]";
10323
- var concatty = function concatty2(a, b) {
10324
- var arr = [];
10325
- for (var i = 0; i < a.length; i += 1) {
10326
- arr[i] = a[i];
10327
- }
10328
- for (var j = 0; j < b.length; j += 1) {
10329
- arr[j + a.length] = b[j];
10330
- }
10331
- return arr;
10332
- };
10333
- var slicy = function slicy2(arrLike, offset) {
10334
- var arr = [];
10335
- for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
10336
- arr[j] = arrLike[i];
10337
- }
10338
- return arr;
10339
- };
10340
- var joiny = function(arr, joiner) {
10341
- var str = "";
10342
- for (var i = 0; i < arr.length; i += 1) {
10343
- str += arr[i];
10344
- if (i + 1 < arr.length) {
10345
- str += joiner;
10346
- }
10347
- }
10348
- return str;
10349
- };
10350
- module2.exports = function bind2(that) {
10351
- var target = this;
10352
- if (typeof target !== "function" || toStr.apply(target) !== funcType) {
10353
- throw new TypeError(ERROR_MESSAGE + target);
10354
- }
10355
- var args = slicy(arguments, 1);
10356
- var bound;
10357
- var binder = function() {
10358
- if (this instanceof bound) {
10359
- var result = target.apply(
10360
- this,
10361
- concatty(args, arguments)
10362
- );
10363
- if (Object(result) === result) {
10364
- return result;
10365
- }
10366
- return this;
10367
- }
10368
- return target.apply(
10369
- that,
10370
- concatty(args, arguments)
10371
- );
10372
- };
10373
- var boundLength = max(0, target.length - args.length);
10374
- var boundArgs = [];
10375
- for (var i = 0; i < boundLength; i++) {
10376
- boundArgs[i] = "$" + i;
10377
- }
10378
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
10379
- if (target.prototype) {
10380
- var Empty = function Empty2() {
10381
- };
10382
- Empty.prototype = target.prototype;
10383
- bound.prototype = new Empty();
10384
- Empty.prototype = null;
10385
- }
10386
- return bound;
10387
- };
10388
- }
10389
- });
10390
- var require_function_bind = (0, import_chunk_WWAWV7DQ.__commonJS)({
10391
- "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module2) {
10392
- "use strict";
10393
- var implementation = require_implementation();
10394
- module2.exports = Function.prototype.bind || implementation;
10395
- }
10396
- });
10397
10758
  var require_hasown = (0, import_chunk_WWAWV7DQ.__commonJS)({
10398
10759
  "../../node_modules/.pnpm/hasown@2.0.0/node_modules/hasown/index.js"(exports, module2) {
10399
10760
  "use strict";
10400
10761
  var call = Function.prototype.call;
10401
10762
  var $hasOwn = Object.prototype.hasOwnProperty;
10402
- var bind2 = require_function_bind();
10763
+ var bind2 = (0, import_chunk_NNDVFXHL.require_function_bind)();
10403
10764
  module2.exports = bind2.call(call, $hasOwn);
10404
10765
  }
10405
10766
  });
@@ -10683,8 +11044,8 @@ var require_typos = (0, import_chunk_WWAWV7DQ.__commonJS)({
10683
11044
  var require_fixer = (0, import_chunk_WWAWV7DQ.__commonJS)({
10684
11045
  "../../node_modules/.pnpm/normalize-package-data@6.0.0/node_modules/normalize-package-data/lib/fixer.js"(exports, module2) {
10685
11046
  "use strict";
10686
- var isValidSemver = (0, import_chunk_ODPKPRK7.require_valid)();
10687
- var cleanSemver = (0, import_chunk_ODPKPRK7.require_clean)();
11047
+ var isValidSemver = require_valid();
11048
+ var cleanSemver = require_clean();
10688
11049
  var validateLicense = require_validate_npm_package_license();
10689
11050
  var hostedGitInfo = require_lib5();
10690
11051
  var isBuiltinModule = require_is_core_module();
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var chunk_NNDVFXHL_exports = {};
20
+ __export(chunk_NNDVFXHL_exports, {
21
+ require_function_bind: () => require_function_bind
22
+ });
23
+ module.exports = __toCommonJS(chunk_NNDVFXHL_exports);
24
+ var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
+ var require_implementation = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
+ "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module2) {
27
+ "use strict";
28
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
29
+ var toStr = Object.prototype.toString;
30
+ var max = Math.max;
31
+ var funcType = "[object Function]";
32
+ var concatty = function concatty2(a, b) {
33
+ var arr = [];
34
+ for (var i = 0; i < a.length; i += 1) {
35
+ arr[i] = a[i];
36
+ }
37
+ for (var j = 0; j < b.length; j += 1) {
38
+ arr[j + a.length] = b[j];
39
+ }
40
+ return arr;
41
+ };
42
+ var slicy = function slicy2(arrLike, offset) {
43
+ var arr = [];
44
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
45
+ arr[j] = arrLike[i];
46
+ }
47
+ return arr;
48
+ };
49
+ var joiny = function(arr, joiner) {
50
+ var str = "";
51
+ for (var i = 0; i < arr.length; i += 1) {
52
+ str += arr[i];
53
+ if (i + 1 < arr.length) {
54
+ str += joiner;
55
+ }
56
+ }
57
+ return str;
58
+ };
59
+ module2.exports = function bind(that) {
60
+ var target = this;
61
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
62
+ throw new TypeError(ERROR_MESSAGE + target);
63
+ }
64
+ var args = slicy(arguments, 1);
65
+ var bound;
66
+ var binder = function() {
67
+ if (this instanceof bound) {
68
+ var result = target.apply(
69
+ this,
70
+ concatty(args, arguments)
71
+ );
72
+ if (Object(result) === result) {
73
+ return result;
74
+ }
75
+ return this;
76
+ }
77
+ return target.apply(
78
+ that,
79
+ concatty(args, arguments)
80
+ );
81
+ };
82
+ var boundLength = max(0, target.length - args.length);
83
+ var boundArgs = [];
84
+ for (var i = 0; i < boundLength; i++) {
85
+ boundArgs[i] = "$" + i;
86
+ }
87
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
88
+ if (target.prototype) {
89
+ var Empty = function Empty2() {
90
+ };
91
+ Empty.prototype = target.prototype;
92
+ bound.prototype = new Empty();
93
+ Empty.prototype = null;
94
+ }
95
+ return bound;
96
+ };
97
+ }
98
+ });
99
+ var require_function_bind = (0, import_chunk_WWAWV7DQ.__commonJS)({
100
+ "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module2) {
101
+ "use strict";
102
+ var implementation = require_implementation();
103
+ module2.exports = Function.prototype.bind || implementation;
104
+ }
105
+ });