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.2.1 to 1.2.2

8

CHANGELOG.md

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

<a name="1.2.2"></a>
## [1.2.2](https://github.com/oclif/plugin-update/compare/v1.2.1...v1.2.2) (2018-05-09)
### Bug Fixes
* disable autoupdates entirely when env var is set ([8328b4f](https://github.com/oclif/plugin-update/commit/8328b4f))
<a name="1.2.1"></a>

@@ -2,0 +10,0 @@ ## [1.2.1](https://github.com/oclif/plugin-update/compare/v1.2.0...v1.2.1) (2018-05-04)

2

lib/commands/update.js

@@ -85,4 +85,2 @@ "use strict";

return this.config.scopedEnvVar('UPDATE_INSTRUCTIONS') || 'not updatable';
if (this.autoupdate && this.config.scopedEnvVar('DISABLE_AUTOUPDATE') === '1')
return 'autoupdates disabled';
const manifest = await this.fetchManifest();

@@ -89,0 +87,0 @@ if (this.config.version === manifest.version) {

@@ -19,2 +19,4 @@ "use strict";

return;
if (opts.config.scopedEnvVarTrue('DISABLE_AUTOUPDATE'))
return;
cli_ux_1.default.config.errlog = opts.config.errlog;

@@ -21,0 +23,0 @@ const binPath = this.config.binPath || this.config.bin;

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

{"version":"1.2.1","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}},"args":[{"name":"channel"}]}}}
{"version":"1.2.2","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}},"args":[{"name":"channel"}]}}}
{
"name": "@oclif/plugin-update",
"version": "1.2.1",
"version": "1.2.2",
"author": "Jeff Dickey @jdxcode",

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

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

$ oclif-example (-v|--version|version)
@oclif/plugin-update/1.2.1 linux-x64 node-v8.11.1
@oclif/plugin-update/1.2.2 linux-x64 node-v8.11.1
$ oclif-example --help [COMMAND]

@@ -45,3 +45,3 @@ USAGE

_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.2.1/src/commands/update.ts)_
_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.2.2/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