babel-generator
Advanced tools
Comparing version 6.0.12 to 6.0.14
@@ -79,3 +79,3 @@ /* @flow */ | ||
// shorthand! | ||
if (node.shorthand && (t.isIdentifier(node.key) && t.isIdentifier(node.value) && node.key.name === node.value.name)) { | ||
if (node.shorthand && t.isIdentifier(node.key) && t.isIdentifier(node.value) && node.key.name === node.value.name) { | ||
return; | ||
@@ -82,0 +82,0 @@ } |
@@ -18,2 +18,3 @@ /* @flow */ | ||
exports.FunctionExpression = FunctionExpression; | ||
exports.ArrowFunctionExpression = ArrowFunctionExpression; | ||
exports.ConditionalExpression = ConditionalExpression; | ||
@@ -181,2 +182,6 @@ exports.AssignmentExpression = AssignmentExpression; | ||
return ArrowFunctionExpression(node, parent); | ||
} | ||
function ArrowFunctionExpression(node /*: Object*/, parent /*: Object*/) /*: boolean*/ { | ||
// export default (function () {}); | ||
@@ -183,0 +188,0 @@ if (t.isExportDeclaration(parent)) { |
{ | ||
"name": "babel-generator", | ||
"version": "6.0.12", | ||
"version": "6.0.14", | ||
"description": "Turns an AST into code.", | ||
@@ -8,8 +8,11 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"license": "MIT", | ||
"repository": "babel/babel", | ||
"repository": "https://github.com/babel/babel/tree/master/packages/babel-generator", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"dependencies": { | ||
"babel-messages": "^6.0.12", | ||
"babel-runtime": "^6.0.12", | ||
"babel-types": "^6.0.12", | ||
"babel-messages": "^6.0.14", | ||
"babel-runtime": "^6.0.14", | ||
"babel-types": "^6.0.14", | ||
"detect-indent": "^3.0.1", | ||
@@ -23,4 +26,4 @@ "is-integer": "^1.0.4", | ||
"devDependencies": { | ||
"babel-helper-fixtures": "^6.0.2" | ||
"babel-helper-fixtures": "^6.0.14" | ||
} | ||
} |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
85595
23
2657
Updatedbabel-messages@^6.0.14
Updatedbabel-runtime@^6.0.14
Updatedbabel-types@^6.0.14