@take-out/scripts 0.0.77 → 0.0.78

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/package.json +1 -1
  2. package/src/up.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@take-out/scripts",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
4
4
  "type": "module",
5
5
  "main": "./src/run.ts",
6
6
  "sideEffects": false,
package/src/up.ts CHANGED
@@ -206,6 +206,10 @@ function updatePackageJsonVersions(
206
206
  depsObject[pkg] = newVersion
207
207
  } else {
208
208
  const currentVersion = depsObject[pkg]
209
+ // skip wildcard ranges like "*" - they should stay as-is
210
+ if (currentVersion === '*') {
211
+ continue
212
+ }
209
213
  const prefixMatch = currentVersion.match(/^([^\d]*)/)
210
214
  const prefix = prefixMatch?.[1] || ''
211
215
  depsObject[pkg] = `${prefix}${newVersion}`