Comparing version 3.0.16 to 3.1.0
@@ -234,2 +234,3 @@ "use strict"; | ||
util.pushMutatorMap(mutatorMap, methodName, kind, node.computed, node); | ||
util.pushMutatorMap(mutatorMap, methodName, "enumerable", node.computed, t.literal(false)); | ||
}; | ||
@@ -236,0 +237,0 @@ |
@@ -84,3 +84,3 @@ "use strict"; | ||
exports.pushMutatorMap = function (mutatorMap, key, kind, computed, method) { | ||
exports.pushMutatorMap = function (mutatorMap, key, kind, computed, value) { | ||
var alias; | ||
@@ -110,3 +110,3 @@ | ||
map[kind] = method; | ||
map[kind] = value; | ||
}; | ||
@@ -126,3 +126,3 @@ | ||
map.enumerable = t.literal(true); | ||
map.enumerable = map.enumerable || t.literal(true); | ||
map.configurable = t.literal(true); | ||
@@ -129,0 +129,0 @@ |
{ | ||
"name": "6to5", | ||
"description": "Turn ES6 code into readable vanilla ES5 with source maps", | ||
"version": "3.0.16", | ||
"version": "3.1.0", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://6to5.org/", |
Sorry, the diff of this file is too big to display
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
1334208
133
11357