Comparing version 0.16.0 to 0.16.1
@@ -10,3 +10,3 @@ "use strict"; | ||
allowReturnOutsideFunction: true, | ||
ecmaVersion: 8, | ||
ecmaVersion: 9, | ||
sourceType: "module" | ||
@@ -13,0 +13,0 @@ }; |
"use strict"; | ||
const babylon = require("babylon"); | ||
// Prefer the new @babel/parser package, but fall back to babylon if | ||
// that's what's available. | ||
const babylon = function () { | ||
try { | ||
return require("@babel/parser"); | ||
} catch (e) { | ||
return require("babylon"); | ||
} | ||
}(); | ||
@@ -5,0 +13,0 @@ exports.options = { |
{ | ||
"name": "reify", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"main": "node/index.js", | ||
@@ -34,14 +34,15 @@ "browser": "lib/empty.js", | ||
"dependencies": { | ||
"acorn": "^5.2.1", | ||
"acorn": "^5.5.3", | ||
"semver": "^5.4.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0-beta.40", | ||
"@babel/preset-es2015": "^7.0.0-beta.40", | ||
"babel-plugin-transform-es2015-modules-reify": "^0.15.0", | ||
"babylon": "^7.0.0-beta.40", | ||
"lodash": "^4.17.4", | ||
"mocha": "^5.0.0", | ||
"recast": "^0.14.1" | ||
"@babel/core": "^7.0.0-beta.48", | ||
"@babel/parser": "^7.0.0-beta.48", | ||
"@babel/preset-es2015": "^7.0.0-beta.48", | ||
"babel-plugin-transform-es2015-modules-reify": "^0.16.0", | ||
"babylon": "^7.0.0-beta.47", | ||
"lodash": "^4.17.10", | ||
"mocha": "^5.2.0", | ||
"recast": "^0.14.7" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
162287
2871
8
Updatedacorn@^5.5.3