@capgo/cli 4.10.2 → 4.10.3

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.10.3](https://github.com/Cap-go/CLI/compare/v4.10.2...v4.10.3) (2024-05-14)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * info command ([a79f247](https://github.com/Cap-go/CLI/commit/a79f247160ad992688e297335cb4bacfe0e039a8))
11
+
5
12
  ### [4.10.2](https://github.com/Cap-go/CLI/compare/v4.10.1...v4.10.2) (2024-05-14)
6
13
 
7
14
 
package/dist/index.js CHANGED
@@ -109783,7 +109783,7 @@ async function getUserId(options) {
109783
109783
  // package.json
109784
109784
  var package_default = {
109785
109785
  name: "@capgo/cli",
109786
- version: "4.10.2",
109786
+ version: "4.10.3",
109787
109787
  description: "A CLI to upload to capgo servers",
109788
109788
  author: "github.com/riderx",
109789
109789
  license: "Apache 2.0",
@@ -111715,7 +111715,7 @@ async function getInstalledDependencies() {
111715
111715
  "@capgo/cli": package_default.version
111716
111716
  };
111717
111717
  for (const dependency in dependencies) {
111718
- if (Object.prototype.hasOwnProperty.call(dependencies, dependency) && dependency.startsWith("@capgo/")) {
111718
+ if (Object.prototype.hasOwnProperty.call(dependencies, dependency) && dependency.startsWith("@capgo/") && dependency.startsWith("@capawesome/") && dependency.startsWith("capacitor")) {
111719
111719
  const version2 = dependencies[dependency].replace("^", "").replace("~", "");
111720
111720
  installedDependencies[dependency] = version2;
111721
111721
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "4.10.2",
3
+ "version": "4.10.3",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "github.com/riderx",
6
6
  "license": "Apache 2.0",
package/src/app/info.ts CHANGED
@@ -39,7 +39,10 @@ async function getInstalledDependencies() {
39
39
  '@capgo/cli': pack.version,
40
40
  }
41
41
  for (const dependency in dependencies) {
42
- if (Object.prototype.hasOwnProperty.call(dependencies, dependency) && dependency.startsWith('@capgo/')) {
42
+ if (Object.prototype.hasOwnProperty.call(dependencies, dependency)
43
+ && dependency.startsWith('@capgo/')
44
+ && dependency.startsWith('@capawesome/')
45
+ && dependency.startsWith('capacitor')) {
43
46
  // remove ^ or ~ from version
44
47
  const version = dependencies[dependency].replace('^', '').replace('~', '')
45
48
  installedDependencies[dependency] = version