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.16 to 3.0.17

6

lib/hooks/init/check-update.js

@@ -126,4 +126,4 @@ import chalk from 'chalk';

// Default message if the user doesn't provide one
const [template] = await Promise.all([
import('lodash.template'),
const [lodash] = await Promise.all([
import('lodash'),
// Update the modified time (mtime) of the last-warning file so that we can track the last time we

@@ -133,3 +133,3 @@ // showed the warning. This makes it possible to respect the frequency and frequencyUnit options.

]);
this.warn(template.default(message)({
this.warn(lodash.template(message)({
chalk,

@@ -136,0 +136,0 @@ config,

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

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

"http-call": "^5.2.2",
"lodash.template": "^4.5.0"
"lodash": "^4.17.21"
},

@@ -18,6 +18,5 @@ "devDependencies": {

"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.2.11",
"@oclif/test": "^3.2.13",
"@types/chai": "^4.3.11",
"@types/debug": "^4.1.12",
"@types/lodash.template": "^4.5.3",
"@types/mocha": "^10.0.6",

@@ -28,4 +27,4 @@ "@types/node": "^18",

"eslint": "^8.57.0",
"eslint-config-oclif": "^5.1.3",
"eslint-config-oclif-typescript": "^3.1.5",
"eslint-config-oclif": "^5.2.0",
"eslint-config-oclif-typescript": "^3.1.7",
"eslint-config-prettier": "^9.1.0",

@@ -35,3 +34,3 @@ "husky": "^9",

"mocha": "^10.4.0",
"oclif": "^4.8.6",
"oclif": "^4.10.2",
"prettier": "^3.2.5",

@@ -38,0 +37,0 @@ "shx": "^0.3.3",

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