@algolia/wizard 0.52.0-rc.151.365 → 0.52.0-rc.151.366

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/main.js +6 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -3651,7 +3651,7 @@ async function runAnalysis(mode, extraInstructions = []) {
3651
3651
  // package.json
3652
3652
  var package_default = {
3653
3653
  name: "@algolia/wizard",
3654
- version: "0.52.0-rc.151.365",
3654
+ version: "0.52.0-rc.151.366",
3655
3655
  description: "Magically implement Algolia functionality in your codebase",
3656
3656
  type: "module",
3657
3657
  engines: {
@@ -6465,7 +6465,7 @@ function delay(ms) {
6465
6465
  // package.json with { type: 'json' }
6466
6466
  var package_default2 = {
6467
6467
  name: "@algolia/wizard",
6468
- version: "0.52.0-rc.151.365",
6468
+ version: "0.52.0-rc.151.366",
6469
6469
  description: "Magically implement Algolia functionality in your codebase",
6470
6470
  type: "module",
6471
6471
  engines: {
@@ -6535,6 +6535,9 @@ var package_default2 = {
6535
6535
  };
6536
6536
 
6537
6537
  // src/lib/checkVersion.ts
6538
+ function isReleaseCandidate(version) {
6539
+ return version.includes("rc");
6540
+ }
6538
6541
  function parseVersion(version) {
6539
6542
  const [major = 0, minor = 0, patch = 0] = version.split("-")[0].split(".").map((part) => Number.parseInt(part, 10) || 0);
6540
6543
  return [major, minor, patch];
@@ -6548,6 +6551,7 @@ function isOlder(local, remote) {
6548
6551
  return false;
6549
6552
  }
6550
6553
  async function checkVersion() {
6554
+ if (isReleaseCandidate(package_default2.version)) return false;
6551
6555
  try {
6552
6556
  const res = await fetch(
6553
6557
  "https://registry.npmjs.org/@algolia/wizard/latest",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/wizard",
3
- "version": "0.52.0-rc.151.365",
3
+ "version": "0.52.0-rc.151.366",
4
4
  "description": "Magically implement Algolia functionality in your codebase",
5
5
  "type": "module",
6
6
  "engines": {