Comparing version 2.0.6 to 2.1.0
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6772
+ Addedacorn@7.4.1(transitive)
- Removedacorn@4.0.13(transitive)
Updatedacorn@^7.1.1