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

derequire

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

derequire - npm Package Compare versions

Comparing version 2.0.6 to 2.1.0

4

index.js

@@ -41,3 +41,3 @@ 'use strict';

ast = acorn.parse(code, {
ecmaVersion: 6,
ecmaVersion: 11,
ranges: true,

@@ -57,3 +57,3 @@ allowReturnOutsideFunction: true

var manager = escope.analyze(ast, {optimistic: true, ecmaVersion: 6});
var manager = escope.analyze(ast, {optimistic: true, ecmaVersion: 8});

@@ -60,0 +60,0 @@ for (var i = 0, iz = manager.scopes.length; i < iz; i++) {

{
"name": "derequire",
"version": "2.0.6",
"version": "2.1.0",
"description": "remove requires",

@@ -30,3 +30,3 @@ "main": "index.js",

"dependencies": {
"acorn": "^4.0.3",
"acorn": "^7.1.1",
"concat-stream": "^1.4.6",

@@ -39,5 +39,5 @@ "escope": "^3.6.0",

"browserify": "^13.1.1",
"mocha": "^3.2.0",
"istanbul": "^0.4.5"
"istanbul": "^0.4.5",
"mocha": "^5.2.0"
}
}
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