Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

package-dependents

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package-dependents - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

17

lib/index.js

@@ -0,6 +1,7 @@

"use strict";
// Dependencies
var GetDependents = require('npm-get-dependents')
, SameTime = require("same-time")
, PackageJson = require("package-json")
;
var GetDependents = require('npm-get-dependents'),
SameTime = require("same-time"),
PackageJson = require("package-json");

@@ -23,4 +24,6 @@ /**

}
GetDependents(name, function(err, packages) {
if (err) { return callback(err); }
GetDependents(name, function (err, packages) {
if (err) {
return callback(err);
}
SameTime(packages.map(function (c) {

@@ -40,2 +43,2 @@ return function (fn) {

module.exports = PackageDependents;
module.exports = PackageDependents;
{
"name": "package-dependents",
"version": "1.2.2",
"version": "1.2.3",
"description": "Get the npm dependents of a given package.",

@@ -45,2 +45,3 @@ "main": "lib/index.js",

"menu/",
"scripts/",
"cli.js",

@@ -47,0 +48,0 @@ "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