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

@oclif/plugin-warn-if-update-available

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-warn-if-update-available - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16

2

lib/hooks/init/check-update.d.ts

@@ -23,3 +23,3 @@ import { Hook, Interfaces } from '@oclif/core';

}): Promise<string | undefined>;
declare const hook: Hook<'init'>;
declare const hook: Hook.Init;
export default hook;

@@ -97,3 +97,3 @@ import chalk from 'chalk';

// Destructure package.json configuration with defaults
const { authorization = '', message = '<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>.', registry = 'https://registry.npmjs.org', timeoutInDays = 60, } = config.pjson.oclif['warn-if-update-available'] ?? {};
const { authorization = '', message = '<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>.', registry = config.npmRegistry ?? 'https://registry.npmjs.org', timeoutInDays = 60, } = config.pjson.oclif['warn-if-update-available'] ?? {};
const refreshNeeded = async () => {

@@ -100,0 +100,0 @@ if (this.config.scopedEnvVarTrue('FORCE_VERSION_CACHE_UPDATE'))

{
"commands": {},
"version": "3.0.15"
"version": "3.0.16"
}
{
"name": "@oclif/plugin-warn-if-update-available",
"description": "warns if there is a newer version of CLI released",
"version": "3.0.15",
"version": "3.0.16",
"author": "Salesforce",

@@ -17,3 +17,3 @@ "bugs": "https://github.com/oclif/plugin-warn-if-update-available/issues",

"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.2.6",
"@oclif/test": "^3.2.11",
"@types/chai": "^4.3.11",

@@ -27,9 +27,9 @@ "@types/debug": "^4.1.12",

"eslint": "^8.57.0",
"eslint-config-oclif": "^5.1.1",
"eslint-config-oclif-typescript": "^3.1.2",
"eslint-config-oclif": "^5.1.3",
"eslint-config-oclif-typescript": "^3.1.5",
"eslint-config-prettier": "^9.1.0",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"oclif": "^4.6.1",
"mocha": "^10.4.0",
"oclif": "^4.8.6",
"prettier": "^3.2.5",

@@ -39,3 +39,3 @@ "shx": "^0.3.3",

"ts-node": "^10.9.2",
"typescript": "^5.4.2"
"typescript": "^5.4.5"
},

@@ -49,4 +49,3 @@ "engines": {

"/lib",
"npm-shrinkwrap.json",
"oclif.lock"
"npm-shrinkwrap.json"
],

@@ -70,3 +69,3 @@ "homepage": "https://github.com/oclif/plugin-warn-if-update-available",

"build": "shx rm -rf lib && tsc",
"clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json oclif.lock",
"clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json",
"compile": "tsc",

@@ -76,3 +75,3 @@ "lint": "eslint . --ext .ts",

"posttest": "yarn lint",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap",
"prepare": "husky && yarn build",

@@ -79,0 +78,0 @@ "pretest": "yarn build --noEmit && tsc -p test --noEmit",

Sorry, the diff of this file is too big to display

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