@visulima/package 3.5.5 → 3.5.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## @visulima/package [3.5.7](https://github.com/visulima/visulima/compare/@visulima/package@3.5.6...@visulima/package@3.5.7) (2025-06-03)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/fs:** upgraded to 3.1.4
7
+
8
+ ## @visulima/package [3.5.6](https://github.com/visulima/visulima/compare/@visulima/package@3.5.5...@visulima/package@3.5.6) (2025-06-01)
9
+
10
+ ### Bug Fixes
11
+
12
+ * **package-json:** add check to prevent installation of already installed packages ([8c0d9ff](https://github.com/visulima/visulima/commit/8c0d9ff20aaa598642ef3c6e6620dcd036770799))
13
+
1
14
  ## @visulima/package [3.5.5](https://github.com/visulima/visulima/compare/@visulima/package@3.5.4...@visulima/package@3.5.5) (2025-05-30)
2
15
 
3
16
  ### Bug Fixes
@@ -1249,6 +1249,9 @@ const ensurePackages = /* @__PURE__ */ __name(async (packageJson, packages, inst
1249
1249
  }
1250
1250
  nonExistingPackages.push(packageName);
1251
1251
  }
1252
+ if (nonExistingPackages.length === 0) {
1253
+ return;
1254
+ }
1252
1255
  if (typeof config.confirm?.message === "function") {
1253
1256
  config.confirm.message = config.confirm.message(nonExistingPackages);
1254
1257
  }
@@ -1235,6 +1235,9 @@ const ensurePackages = /* @__PURE__ */ __name(async (packageJson, packages, inst
1235
1235
  }
1236
1236
  nonExistingPackages.push(packageName);
1237
1237
  }
1238
+ if (nonExistingPackages.length === 0) {
1239
+ return;
1240
+ }
1238
1241
  if (typeof config.confirm?.message === "function") {
1239
1242
  config.confirm.message = config.confirm.message(nonExistingPackages);
1240
1243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/package",
3
- "version": "3.5.5",
3
+ "version": "3.5.7",
4
4
  "description": "One Package to rule them all, finds your root-dir, monorepo, or package manager.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -146,7 +146,7 @@
146
146
  ],
147
147
  "dependencies": {
148
148
  "@inquirer/confirm": "^5.1.10",
149
- "@visulima/fs": "3.1.3",
149
+ "@visulima/fs": "3.1.4",
150
150
  "@visulima/path": "1.3.6",
151
151
  "normalize-package-data": "^7.0.0"
152
152
  },