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

@oclif/plugin-update

Package Overview
Dependencies
Maintainers
2
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.1.16 to 1.1.17

2

.oclif.manifest.json

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

{"version":"1.1.16","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.1.17","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"}]}}}

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

<a name="1.1.17"></a>
## [1.1.17](https://github.com/oclif/plugin-update/compare/v1.1.16...v1.1.17) (2018-04-21)
### Bug Fixes
* only show waiting message once ([5c75700](https://github.com/oclif/plugin-update/commit/5c75700))
<a name="1.1.16"></a>

@@ -2,0 +10,0 @@ ## [1.1.16](https://github.com/oclif/plugin-update/compare/v1.1.15...v1.1.16) (2018-04-21)

@@ -113,2 +113,3 @@ "use strict";

async debounce() {
let output = false;
const lastrunfile = path.join(this.config.cacheDir, 'lastrun');

@@ -118,3 +119,10 @@ const m = await this.mtime(lastrunfile);

if (m > new Date()) {
await cli_ux_1.default.log(`waiting until ${m.toISOString()} to update`);
const msg = `waiting until ${m.toISOString()} to update`;
if (output) {
this.debug(msg);
}
else {
await cli_ux_1.default.log(msg);
output = true;
}
await util_1.wait(60 * 1000); // wait 1 minute

@@ -121,0 +129,0 @@ return this.debounce();

{
"name": "@oclif/plugin-update",
"version": "1.1.16",
"version": "1.1.17",
"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.1.16 linux-x64 node-v8.11.1
@oclif/plugin-update/1.1.17 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.1.16/src/commands/update.ts)_
_See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/v1.1.17/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