@arcgis/create 5.0.0-next.36 → 5.0.0-next.38

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.
Files changed (2) hide show
  1. package/dist/init.js +4 -2
  2. package/package.json +1 -1
package/dist/init.js CHANGED
@@ -2612,7 +2612,7 @@ const Tr = /* @__PURE__ */ ze(Ir), {
2612
2612
  Argument: co,
2613
2613
  Option: ho,
2614
2614
  Help: Do
2615
- } = Tr, kr = "5.0.0-next.36";
2615
+ } = Tr, kr = "5.0.0-next.38";
2616
2616
  var me = /* @__PURE__ */ ((s) => (s.VANILLA = "vanilla JS", s.REACT = "react", s.ANGULAR = "angular", s.VITE = "vite", s.VUE = "vue", s.WEBPACK = "webpack", s.LUMINA_COMPONENTS = "lumina-components", s))(me || {}), Ue = /* @__PURE__ */ ((s) => (s.MAP_COMPONENTS = "map-components", s.CHARTS_COMPONENTS = "charts-components", s.CODING_COMPONENTS = "coding-components", s))(Ue || {});
2617
2617
  const Gr = {
2618
2618
  "map-components": {
@@ -2744,6 +2744,8 @@ function zr() {
2744
2744
  if (Kt) return tt;
2745
2745
  Kt = 1;
2746
2746
  const s = /^[0-9]+$/, r = (l, n) => {
2747
+ if (typeof l == "number" && typeof n == "number")
2748
+ return l === n ? 0 : l < n ? -1 : 1;
2747
2749
  const i = s.test(l), e = s.test(n);
2748
2750
  return i && e && (l = +l, n = +n), l === n ? 0 : i && !e ? -1 : e && !i ? 1 : l < n ? -1 : 1;
2749
2751
  };
@@ -2803,7 +2805,7 @@ function Yr() {
2803
2805
  return C.version === this.version ? 0 : this.compareMain(C) || this.comparePre(C);
2804
2806
  }
2805
2807
  compareMain(C) {
2806
- return C instanceof a || (C = new a(C, this.options)), e(this.major, C.major) || e(this.minor, C.minor) || e(this.patch, C.patch);
2808
+ return C instanceof a || (C = new a(C, this.options)), this.major < C.major ? -1 : this.major > C.major ? 1 : this.minor < C.minor ? -1 : this.minor > C.minor ? 1 : this.patch < C.patch ? -1 : this.patch > C.patch ? 1 : 0;
2807
2809
  }
2808
2810
  comparePre(C) {
2809
2811
  if (C instanceof a || (C = new a(C, this.options)), this.prerelease.length && !C.prerelease.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/create",
3
- "version": "5.0.0-next.36",
3
+ "version": "5.0.0-next.38",
4
4
  "description": "ArcGIS command line tool to create new web GIS projects and applications",
5
5
  "keywords": [
6
6
  "ArcGIS",