Socket
Socket
Sign inDemoInstall

dependents-editor-backend

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependents-editor-backend - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

17

lib/cli.js

@@ -6,2 +6,4 @@ var Config = require('./Config');

var findDependents = require('dependents');
var callers = require('callers');
var q = require('q');

@@ -78,2 +80,17 @@ var path = require('path');

}));
} else if (program.findCallers) {
options.functionName = program.args[0].replace(/["|'|;]/g, '');
options.success = function(err, callers) {
if (err) {
deferred.reject(err.message || err);
} else {
deferred.resolve(callers);
}
};
debug('finding the callers of "' + options.functionName + '" with options: ', options);
callers(options);
}

@@ -80,0 +97,0 @@

3

package.json
{
"name": "dependents-editor-backend",
"version": "1.3.0",
"version": "1.4.0",
"description": "The brains behind Dependents editor plugins",

@@ -36,2 +36,3 @@ "main": "lib/cli.js",

"dependencies": {
"callers": "~1.0.3",
"commander": "~2.8.1",

@@ -38,0 +39,0 @@ "debug": "~2.2.0",

Sorry, the diff of this file is not supported yet

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