Socket
Socket
Sign inDemoInstall

detective

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detective - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

test/return.js

2

index.js

@@ -35,3 +35,3 @@ var esprima = require('esprima');

if (typeof src !== 'string') src = String(src);
src = src.replace(/^#![^\n]*\n/, '');
src = '(function(){' + src.replace(/^#![^\n]*\n/, '') + '\n})()';

@@ -38,0 +38,0 @@ function isRequire (node) {

{
"name" : "detective",
"description" : "Find all calls to require() no matter how crazily nested using a proper walk of the AST",
"version" : "2.1.0",
"description" : "find all require() calls by walking the AST",
"version" : "2.1.1",
"repository" : {

@@ -6,0 +6,0 @@ "type" : "git",

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