Socket
Socket
Sign inDemoInstall

npm-check-updates

Package Overview
Dependencies
Maintainers
2
Versions
470
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-check-updates - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

11

lib/versionmanager.js

@@ -8,2 +8,3 @@ 'use strict';

const ProgressBar = require('progress');
const packageJson = require('package-json');
const versionUtil = require('./version-util.js');

@@ -328,4 +329,4 @@ const packageManagers = require('./package-managers');

if (!options.json && options.loglevel !== 'silent') {
bar = new ProgressBar('[:bar] :percent', {total: packageList.length*2+1, width: 20});
bar.tick();
bar = new ProgressBar('[:bar] :current/:total :percent', {total: packageList.length, width: 20});
bar.render();
}

@@ -363,7 +364,5 @@

function getPackageVersionProtected(dep) {
if (bar) {
bar.tick();
}
return getPackageVersion(dep, packageMap[dep], options.pre).catch(err => {
if (err && (err.message || err).toString().match(/E404|404 Not Found|doesn't exist/i)) {
if (err && (err.message || err).toString().match(/E404|ENOTFOUND|404 Not Found/i) ||
err instanceof packageJson.PackageNotFoundError) {
return null;

@@ -370,0 +369,0 @@ } else {

{
"name": "npm-check-updates",
"version": "3.0.6",
"version": "3.0.7",
"author": "Tomas Junnonen <tomas1@gmail.com>",

@@ -34,3 +34,3 @@ "license": "Apache-2.0",

"watch": "chokidar \"lib/**/*.js\" -c \"npm run test\"",
"test": "npm run lint && mocha && mocha test/individual; if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then snyk test; fi"
"test": "npm run lint && mocha && mocha test/individual && if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then snyk test; fi"
},

@@ -37,0 +37,0 @@ "bin": {

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