babel-plugin-transform-es3-property-literals
Advanced tools
Comparing version 7.0.0-alpha.15 to 7.0.0-alpha.16
@@ -7,3 +7,2 @@ "use strict"; | ||
var t = _ref.types; | ||
return { | ||
@@ -14,4 +13,4 @@ visitor: { | ||
var node = _ref2.node; | ||
var key = node.key; | ||
var key = node.key; | ||
if (!node.computed && t.isIdentifier(key) && !t.isValidIdentifier(key.name)) { | ||
@@ -18,0 +17,0 @@ node.key = t.stringLiteral(key.name); |
{ | ||
"name": "babel-plugin-transform-es3-property-literals", | ||
"version": "7.0.0-alpha.15", | ||
"version": "7.0.0-alpha.16", | ||
"description": "Ensure that reserved words are quoted in object property keys", | ||
@@ -12,4 +12,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es3-property-literals", | ||
"devDependencies": { | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.15" | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.16" | ||
} | ||
} |
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
1600