Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oclif/plugin-update

Package Overview
Dependencies
Maintainers
3
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-update - npm Package Compare versions

Comparing version 1.3.6 to 1.3.7

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.3.7](https://github.com/oclif/plugin-update/compare/v1.3.6...v1.3.7) (2018-11-12)
### Bug Fixes
* warn if not updatable ([#44](https://github.com/oclif/plugin-update/issues/44)) ([947d454](https://github.com/oclif/plugin-update/commit/947d454))
## [1.3.6](https://github.com/oclif/plugin-update/compare/v1.3.5...v1.3.6) (2018-10-26)

@@ -2,0 +9,0 @@

8

lib/commands/update.js

@@ -101,4 +101,8 @@ "use strict";

async skipUpdate() {
if (!this.config.binPath)
return this.config.scopedEnvVar('UPDATE_INSTRUCTIONS') || 'not updatable';
if (!this.config.binPath) {
const instructions = this.config.scopedEnvVar('UPDATE_INSTRUCTIONS');
if (instructions)
this.warn(instructions);
return 'not updatable';
}
const manifest = await this.fetchManifest();

@@ -105,0 +109,0 @@ if (this.config.version === manifest.version) {

@@ -1,1 +0,1 @@

{"version":"1.3.6","commands":{"update":{"id":"update","description":"update the <%= config.bin %> CLI","pluginName":"@oclif/plugin-update","pluginType":"core","aliases":[],"flags":{"autoupdate":{"name":"autoupdate","type":"boolean","hidden":true,"allowNo":false}},"args":[{"name":"channel"}]}}}
{"version":"1.3.7","commands":{"update":{"id":"update","description":"update the <%= config.bin %> CLI","pluginName":"@oclif/plugin-update","pluginType":"core","aliases":[],"flags":{"autoupdate":{"name":"autoupdate","type":"boolean","hidden":true,"allowNo":false}},"args":[{"name":"channel"}]}}}
{
"name": "@oclif/plugin-update",
"version": "1.3.6",
"version": "1.3.7",
"author": "Jeff Dickey @jdxcode",

@@ -9,10 +9,10 @@ "bugs": "https://github.com/oclif/plugin-update/issues",

"@oclif/command": "^1.5.4",
"@oclif/config": "^1.8.7",
"@oclif/config": "^1.9.0",
"@oclif/errors": "^1.2.2",
"@types/semver": "^5.5.0",
"cli-ux": "^4.9.0",
"cli-ux": "^4.9.3",
"cross-spawn": "^6.0.5",
"debug": "^4.1.0",
"filesize": "^3.6.1",
"fs-extra": "^7.0.0",
"fs-extra": "^7.0.1",
"http-call": "^5.2.2",

@@ -25,7 +25,7 @@ "lodash": "^4.17.11",

"devDependencies": {
"@oclif/dev-cli": "^1.19.1",
"@oclif/plugin-help": "^2.1.2",
"@oclif/test": "^1.2.1",
"@oclif/tslint": "^3.1.0",
"@types/chai": "^4.1.6",
"@oclif/dev-cli": "^1.19.4",
"@oclif/plugin-help": "^2.1.3",
"@oclif/test": "^1.2.2",
"@oclif/tslint": "^3.1.1",
"@types/chai": "^4.1.7",
"@types/cross-spawn": "^6.0.0",

@@ -35,5 +35,5 @@ "@types/execa": "^0.9.0",

"@types/glob": "^7.1.1",
"@types/lodash": "^4.14.117",
"@types/lodash": "^4.14.118",
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.7",
"@types/node": "^10.12.5",
"@types/supports-color": "^5.3.0",

@@ -48,3 +48,3 @@ "@types/write-json-file": "^2.2.1",

"tslint": "^5.11.0",
"typescript": "^3.1.3"
"typescript": "^3.1.6"
},

@@ -51,0 +51,0 @@ "engines": {

@@ -31,3 +31,3 @@ @oclif/plugin-update

_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.3.6/src/commands/update.ts)_
_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.3.7/src/commands/update.ts)_
<!-- commandsstop -->
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc