Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

get-pkgs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-pkgs - npm Package Compare versions

Comparing version
0.3.0
to
0.4.0
+16
-1
index.js

@@ -24,3 +24,18 @@ /*!

}
utils.async.map(repos, utils.pkg, cb);
var i = 0;
utils.async.map(repos, utils.pkg, function(err, res) {
var name = repos[i];
i++;
if (err) {
if (err.message !== 'document not found') {
cb(err);
return;
}
console.error('npm package "%s" does not exist', name);
res = res.filter(Boolean);
}
cb(null, res);
});
};
+4
-4
{
"name": "get-pkgs",
"description": "Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.",
"version": "0.3.0",
"version": "0.4.0",
"homepage": "https://github.com/jonschlinkert/get-pkgs",

@@ -24,5 +24,5 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"dependencies": {
"async": "^1.5.0",
"get-pkg": "^0.1.0",
"lazy-cache": "^0.2.4"
"async": "^1.5.2",
"get-pkg": "^0.2.0",
"lazy-cache": "^1.0.3"
},

@@ -29,0 +29,0 @@ "devDependencies": {