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

hasdep

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hasdep - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

19

index.js

@@ -174,6 +174,3 @@ "use strict";

github.repos.getForUser({
user: org,
per_page: 100
}, (err, response) => {
const handleRepos = (err, response) => {
if (err) {

@@ -192,4 +189,12 @@ console.log(err);

});
if (github.hasNextPage(response)) {
github.getNextPage(response, handleRepos);
}
};
github.repos.getForUser({
user: org,
per_page: 100
}, handleRepos);
};

@@ -258,3 +263,3 @@

console.log(Chalk.bgMagenta("Using global hasdep config file in homedir"));
console.log(Chalk.bgMagenta(Chalk.white("Using global hasdep config file in homedir")));
Config = JSON.parse(Fs.readFileSync(configFilePath));

@@ -268,3 +273,3 @@

console.log(Chalk.bgMagenta("Using local project hasdep config file"));
console.log(Chalk.bgMagenta(Chalk.white("Using local project hasdep config file")));
Config = JSON.parse(Fs.readFileSync(configFilePath));

@@ -271,0 +276,0 @@

{
"name": "hasdep",
"version": "1.2.1",
"version": "1.3.0",
"description": "Check for a dependency (and version) across a Github Org or specific repo",

@@ -5,0 +5,0 @@ "main": "index.js",

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