@amaster.ai/cli 1.1.61 → 1.1.62

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/cli.js CHANGED
@@ -12,7 +12,7 @@ import { execFile, spawn, spawnSync } from 'child_process';
12
12
  import { createServer } from 'http';
13
13
  import YAML2, { parse as parse$1 } from 'yaml';
14
14
  import { promisify } from 'util';
15
- import { validRange, intersects, minVersion, gte } from 'semver';
15
+ import { validRange, minVersion, gte } from 'semver';
16
16
  import ts from 'typescript';
17
17
 
18
18
  var EXCLUDED_NAMES = /* @__PURE__ */ new Set([".git", "node_modules", ".DS_Store", "PROMPT.md"]);
@@ -1381,9 +1381,6 @@ function isExistingNpmDependencyCompatible(existingVersion, requestedVersion) {
1381
1381
  if (!existingRange || !requestedRange) {
1382
1382
  return false;
1383
1383
  }
1384
- if (intersects(existingRange, requestedRange, { includePrerelease: true })) {
1385
- return true;
1386
- }
1387
1384
  const existingMinimum = minVersion(existingRange);
1388
1385
  const requestedMinimum = minVersion(requestedRange);
1389
1386
  if (!existingMinimum || !requestedMinimum) {