rename es6.blockScopingTDZ to es6.spec.blockScoping
This commit is contained in:
parent
92bba76bd5
commit
f3b50f0bb9
@ -72,7 +72,7 @@ export default {
|
|||||||
"es6.blockScoping": require("./es6/block-scoping"),
|
"es6.blockScoping": require("./es6/block-scoping"),
|
||||||
|
|
||||||
// needs to be after `es6.blockScoping` due to needing `letReferences` set on blocks
|
// needs to be after `es6.blockScoping` due to needing `letReferences` set on blocks
|
||||||
"es6.blockScopingTDZ": require("./es6/block-scoping-tdz"),
|
"es6.spec.blockScoping": require("./es6/block-scoping-tdz"),
|
||||||
|
|
||||||
// needs to be after `es6.parameters.*` and `es6.blockScoping` due to needing pure
|
// needs to be after `es6.parameters.*` and `es6.blockScoping` due to needing pure
|
||||||
// identifiers in parameters and variable declarators
|
// identifiers in parameters and variable declarators
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"optional": "es6.blockScopingTDZ"
|
|
||||||
}
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"optional": "es6.blockScopingTDZ",
|
"optional": "es6.spec.blockScoping",
|
||||||
"throws": "is not defined - temporal dead zone"
|
"throws": "is not defined - temporal dead zone"
|
||||||
}
|
}
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"optional": "es6.spec.blockScoping"
|
||||||
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"optional": ["es6.symbols"]
|
"optional": ["es6.spec.symbols"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -48,7 +48,7 @@ suite("kangax/compat-table", function () {
|
|||||||
code = transform(code, {
|
code = transform(code, {
|
||||||
filename: key,
|
filename: key,
|
||||||
blacklist: ["strict"],
|
blacklist: ["strict"],
|
||||||
optional: ["es6.symbols", "es6.blockScopingTDZ"]
|
optional: ["es6.spec.symbols", "es6.spec.blockScoping"]
|
||||||
}).code;
|
}).code;
|
||||||
|
|
||||||
code = '"use strict";\n' + code;
|
code = '"use strict";\n' + code;
|
||||||
|
|||||||
@ -93,7 +93,7 @@ require("./_transformation-helper")({
|
|||||||
"Syntax/StrictKeywords"
|
"Syntax/StrictKeywords"
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
optional: ["es6.symbols"],
|
optional: ["es6.spec.symbols"],
|
||||||
stage: 0
|
stage: 0
|
||||||
}, function (opts, task) {
|
}, function (opts, task) {
|
||||||
if (!_.contains(task.exec.loc, "module.js")) {
|
if (!_.contains(task.exec.loc, "module.js")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user