Enable external-helpers by default in tests (#12911)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.100.0" }],
|
||||
["transform-destructuring", { "allowArrayLike": true }]
|
||||
]
|
||||
"plugins": [["transform-destructuring", { "allowArrayLike": true }]]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.100.0" }],
|
||||
["transform-destructuring", { "allowArrayLike": true }]
|
||||
]
|
||||
"plugins": [["transform-destructuring", { "allowArrayLike": true }]]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.100.0" }],
|
||||
["transform-destructuring", { "allowArrayLike": true }]
|
||||
]
|
||||
"plugins": [["transform-destructuring", { "allowArrayLike": true }]]
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.100.0" }],
|
||||
"transform-destructuring"
|
||||
],
|
||||
"plugins": ["transform-destructuring"],
|
||||
"assumptions": {
|
||||
"arrayLikeIsIterable": true
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.100.0" }],
|
||||
"transform-destructuring"
|
||||
],
|
||||
"plugins": ["transform-destructuring"],
|
||||
"assumptions": {
|
||||
"iterableIsArray": true
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.100.0"}],
|
||||
"transform-destructuring"
|
||||
],
|
||||
"plugins": ["transform-destructuring"],
|
||||
"assumptions": {
|
||||
"objectRestNoSymbols": true
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.1.5" }],
|
||||
["transform-destructuring", { "useBuiltIns": true }],
|
||||
"transform-spread",
|
||||
"transform-parameters",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"plugins": [
|
||||
["transform-destructuring", { "loose": true }],
|
||||
"proposal-object-rest-spread",
|
||||
["external-helpers", { "helperVersion": "7.1.5" }]
|
||||
"proposal-object-rest-spread"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-arrow-functions",
|
||||
"transform-destructuring",
|
||||
"transform-spread",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
["external-helpers", { "helperVersion": "7.1.5" }],
|
||||
"transform-destructuring",
|
||||
"transform-spread",
|
||||
"transform-parameters",
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
export default class A {
|
||||
constructor() {
|
||||
_defineProperty(this, "handle", value => {
|
||||
babelHelpers.defineProperty(this, "handle", value => {
|
||||
var _ref = {};
|
||||
value = _ref.value;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user