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:
Nicolò Ribaudo
2021-02-26 23:33:26 +01:00
committed by GitHub
parent bfd30b9445
commit ea6a438315
591 changed files with 1859 additions and 4233 deletions

View File

@@ -1,6 +1,3 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.100.0" }],
["transform-destructuring", { "allowArrayLike": true }]
]
"plugins": [["transform-destructuring", { "allowArrayLike": true }]]
}

View File

@@ -1,6 +1,3 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.100.0" }],
["transform-destructuring", { "allowArrayLike": true }]
]
"plugins": [["transform-destructuring", { "allowArrayLike": true }]]
}

View File

@@ -1,6 +1,3 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.100.0" }],
["transform-destructuring", { "allowArrayLike": true }]
]
"plugins": [["transform-destructuring", { "allowArrayLike": true }]]
}

View File

@@ -1,8 +1,5 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.100.0" }],
"transform-destructuring"
],
"plugins": ["transform-destructuring"],
"assumptions": {
"arrayLikeIsIterable": true
}

View File

@@ -1,8 +1,5 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.100.0" }],
"transform-destructuring"
],
"plugins": ["transform-destructuring"],
"assumptions": {
"iterableIsArray": true
}

View File

@@ -1,8 +1,5 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.100.0"}],
"transform-destructuring"
],
"plugins": ["transform-destructuring"],
"assumptions": {
"objectRestNoSymbols": true
}

View File

@@ -1,6 +1,5 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.1.5" }],
["transform-destructuring", { "useBuiltIns": true }],
"transform-spread",
"transform-parameters",

View File

@@ -1,7 +1,6 @@
{
"plugins": [
["transform-destructuring", { "loose": true }],
"proposal-object-rest-spread",
["external-helpers", { "helperVersion": "7.1.5" }]
"proposal-object-rest-spread"
]
}

View File

@@ -1,6 +1,5 @@
{
"plugins": [
"external-helpers",
"transform-arrow-functions",
"transform-destructuring",
"transform-spread",

View File

@@ -1,6 +1,5 @@
{
"plugins": [
["external-helpers", { "helperVersion": "7.1.5" }],
"transform-destructuring",
"transform-spread",
"transform-parameters",

View File

@@ -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;
});