@oclif/plugin-warn-if-update-available
Advanced tools
Comparing version 3.0.19 to 3.1.0
@@ -1,2 +0,2 @@ | ||
import chalk from 'chalk'; | ||
import { Ansis } from 'ansis'; | ||
import makeDebug from 'debug'; | ||
@@ -7,2 +7,3 @@ import { spawn } from 'node:child_process'; | ||
import { fileURLToPath } from 'node:url'; | ||
const ansis = new Ansis(); | ||
async function readJSON(file) { | ||
@@ -134,3 +135,5 @@ return JSON.parse(await readFile(file, 'utf8')); | ||
this.warn(lodash.template(message)({ | ||
chalk, | ||
ansis, | ||
// chalk and ansis have the same api. Keeping chalk for backwards compatibility. | ||
chalk: ansis, | ||
config, | ||
@@ -137,0 +140,0 @@ latest: newerVersion, |
{ | ||
"commands": {}, | ||
"version": "3.0.19" | ||
"version": "3.1.0" | ||
} |
{ | ||
"name": "@oclif/plugin-warn-if-update-available", | ||
"description": "warns if there is a newer version of CLI released", | ||
"version": "3.0.19", | ||
"version": "3.1.0", | ||
"author": "Salesforce", | ||
"bugs": "https://github.com/oclif/plugin-warn-if-update-available/issues", | ||
"dependencies": { | ||
"@oclif/core": "^3.26.6", | ||
"chalk": "^5.3.0", | ||
"@oclif/core": "^4.0.0-beat.13", | ||
"ansis": "^3.2.0", | ||
"debug": "^4.1.0", | ||
@@ -15,11 +15,12 @@ "http-call": "^5.2.2", | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "^18", | ||
"@commitlint/config-conventional": "^19", | ||
"@oclif/prettier-config": "^0.2.1", | ||
"@oclif/test": "^3.2.13", | ||
"@types/chai": "^4.3.11", | ||
"@types/debug": "^4.1.12", | ||
"@types/lodash": "^4.17.4", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^18", | ||
"@types/sinon": "^17.0.3", | ||
"chai": "^4.4.0", | ||
"commitlint": "^18", | ||
"commitlint": "^19", | ||
"eslint": "^8.57.0", | ||
@@ -32,6 +33,6 @@ "eslint-config-oclif": "^5.2.0", | ||
"mocha": "^10.4.0", | ||
"oclif": "^4.10.6", | ||
"oclif": "^4.11.1", | ||
"prettier": "^3.2.5", | ||
"shx": "^0.3.3", | ||
"sinon": "^16.1.3", | ||
"sinon": "^18.0.0", | ||
"ts-node": "^10.9.2", | ||
@@ -38,0 +39,0 @@ "typescript": "^5.4.5" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16285
209
1
23
+ Addedansis@^3.2.0
+ Added@oclif/core@4.2.0(transitive)
+ Addedansis@3.5.1(transitive)
+ Addedcli-spinners@2.9.2(transitive)
+ Addedlilconfig@3.1.3(transitive)
+ Addedsemver@7.6.3(transitive)
- Removedchalk@^5.3.0
- Removed@oclif/core@3.27.0(transitive)
- Removed@types/cli-progress@3.11.6(transitive)
- Removed@types/node@22.10.2(transitive)
- Removedansicolors@0.3.2(transitive)
- Removedargparse@1.0.10(transitive)
- Removedastral-regex@2.0.0(transitive)
- Removedcardinal@2.1.1(transitive)
- Removedchalk@5.4.1(transitive)
- Removedcli-progress@3.12.0(transitive)
- Removedcolor@4.2.3(transitive)
- Removedcolor-string@1.9.1(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedesprima@4.0.1(transitive)
- Removedhyperlinker@1.0.0(transitive)
- Removedis-arrayish@0.3.2(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removednatural-orderby@2.0.3(transitive)
- Removedobject-treeify@1.1.33(transitive)
- Removedpassword-prompt@1.1.3(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedredeyed@2.1.1(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsimple-swizzle@0.2.2(transitive)
- Removedslice-ansi@4.0.0(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedsupports-hyperlinks@2.3.0(transitive)
- Removedundici-types@6.20.0(transitive)
- Removedwhich@2.0.2(transitive)
Updated@oclif/core@^4.0.0-beat.13