New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sao

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sao - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

5

lib/index.js

@@ -74,3 +74,6 @@ const path = require('path')

checkGenerator:
config.updateCheck !== false && generator.type === 'npm'
config.updateCheck !== false && generator.type === 'npm',
// Don't show the notifier after updated the generator
// Since the notifier is for the older version
showNotifier: !this.opts.update
})

@@ -77,0 +80,0 @@ }

9

lib/updateCheck.js

@@ -7,6 +7,6 @@ const path = require('path')

module.exports = ({ generator, checkGenerator }) => {
module.exports = ({ generator, checkGenerator, showNotifier }) => {
performSelfUpdateCheck()
if (checkGenerator) {
performGeneratorUpdateCheck(generator)
performGeneratorUpdateCheck(generator, showNotifier)
}

@@ -37,3 +37,3 @@ }

function performGeneratorUpdateCheck(generator) {
function performGeneratorUpdateCheck(generator, showNotifier) {
const pkg = require(path.join(generator.path, 'package.json'))

@@ -43,3 +43,3 @@

if (notifier.update) {
if (notifier.update && showNotifier) {
process.on('exit', () => {

@@ -51,2 +51,3 @@ logger.warn(

)
logger.tip(

@@ -53,0 +54,0 @@ `To run the generator with an updated version, run the following command:\n${chalk.dim(

{
"name": "sao",
"version": "1.1.4",
"version": "1.1.5",
"description": "Futuristic scaffolding tool.",

@@ -5,0 +5,0 @@ "repository": {

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