@toptal/davinci-cli-shared
Advanced tools
Comparing version 2.3.6 to 2.3.7-alpha-fx-4316-reduction-davinci-telemetry-9fc70279.2
{ | ||
"name": "@toptal/davinci-cli-shared", | ||
"version": "2.3.6", | ||
"version": "2.3.7-alpha-fx-4316-reduction-davinci-telemetry-9fc70279.2+9fc70279", | ||
"description": "Shared CLI code and CLI engine for davinci", | ||
@@ -26,4 +26,6 @@ "publishConfig": { | ||
"chalk": "^4.1.2", | ||
"commander": "^11.0.0", | ||
"execa": "^5.1.1", | ||
"find-yarn-workspace-root": "^2.0.0", | ||
"gradient-string": "^2.0.0", | ||
"inquirer": "^8.2.4", | ||
@@ -33,12 +35,11 @@ "isomorphic-git": "^1.24.5", | ||
"lodash": "^4.17.21", | ||
"ora": "^5.4.1", | ||
"proper-lockfile": "^4.1.2", | ||
"read-pkg-up": "7.0.1", | ||
"semver": "^7.5.3", | ||
"commander": "^11.0.0", | ||
"gradient-string": "^2.0.0", | ||
"ora": "^5.4.1" | ||
"semver": "^7.5.3" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.4.2" | ||
} | ||
}, | ||
"gitHead": "9fc70279d9402a6bcbea5b9678433984e17c98e0" | ||
} |
import { Command } from 'commander' | ||
import { createMetricsSidecar } from '../utils/metrics/sidecar.js' | ||
// eslint-disable-next-line no-restricted-syntax | ||
import { isCi } from '../utils/ci.js' | ||
@@ -68,3 +70,8 @@ /** | ||
action(fn) { | ||
super.action(withTelemetry(fn)) | ||
// Don't send telemetry when running in CI | ||
if (isCi()) { | ||
super.action(fn) | ||
} else { | ||
super.action(withTelemetry(fn)) | ||
} | ||
@@ -71,0 +78,0 @@ return this |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
53016
1114
2
2