Remove warnings about loose mode for class feats in tests (#13301)
This commit is contained in:
parent
989aac2a4c
commit
229a5481f4
@ -1,3 +1,7 @@
|
|||||||
{
|
{
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]]
|
"plugins": [
|
||||||
|
["proposal-class-properties", { "loose": true }],
|
||||||
|
"transform-classes",
|
||||||
|
"transform-arrow-functions"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
var _scopedFunctionWithThis = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("scopedFunctionWithThis");
|
var _scopedFunctionWithThis = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("scopedFunctionWithThis");
|
||||||
|
|
||||||
var Child = /*#__PURE__*/function (_Parent) {
|
let Child = /*#__PURE__*/function (_Parent) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
babelHelpers.inherits(Child, _Parent);
|
||||||
@ -14,7 +14,7 @@ var Child = /*#__PURE__*/function (_Parent) {
|
|||||||
_this = _super.call(this);
|
_this = _super.call(this);
|
||||||
Object.defineProperty(babelHelpers.assertThisInitialized(_this), _scopedFunctionWithThis, {
|
Object.defineProperty(babelHelpers.assertThisInitialized(_this), _scopedFunctionWithThis, {
|
||||||
writable: true,
|
writable: true,
|
||||||
value: function value() {
|
value: function () {
|
||||||
_this.name = {};
|
_this.name = {};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
"plugins": [["proposal-class-properties", { "loose": true }]],
|
"plugins": [
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]]
|
["proposal-class-properties", { "loose": true }],
|
||||||
|
"transform-classes",
|
||||||
|
"transform-arrow-functions"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
var Child = /*#__PURE__*/function (_Parent) {
|
let Child = /*#__PURE__*/function (_Parent) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
babelHelpers.inherits(Child, _Parent);
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [["proposal-decorators", { "legacy": true }]]
|
||||||
["proposal-decorators", { "legacy": true }],
|
|
||||||
["proposal-class-properties", { "loose": true }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [["proposal-decorators", { "legacy": true }]]
|
||||||
["proposal-decorators", { "legacy": true }],
|
|
||||||
["proposal-class-properties", { "loose": true }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [["proposal-decorators", { "legacy": true }]]
|
||||||
["proposal-decorators", { "legacy": true }],
|
|
||||||
["proposal-class-properties", { "loose": true }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["proposal-decorators", { "legacy": true }],
|
["proposal-decorators", { "legacy": true }],
|
||||||
["proposal-class-properties", { "loose": true }],
|
|
||||||
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
}}]
|
}}]
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["proposal-decorators", { "legacy": true }],
|
["proposal-decorators", { "legacy": true }],
|
||||||
["proposal-class-properties", { "loose": true }],
|
|
||||||
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
}}]
|
}}]
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["proposal-decorators", { "legacy": true }],
|
["proposal-decorators", { "legacy": true }],
|
||||||
["proposal-class-properties", { "loose": true }],
|
|
||||||
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
}}]
|
}}]
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["proposal-decorators", { "legacy": true }],
|
["proposal-decorators", { "legacy": true }],
|
||||||
["proposal-class-properties", { "loose": true }],
|
|
||||||
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
}}]
|
}}]
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["proposal-decorators", { "legacy": true }],
|
["proposal-decorators", { "legacy": true }],
|
||||||
["proposal-class-properties", { "loose": true }],
|
|
||||||
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
}}]
|
}}]
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [["proposal-decorators", { "legacy": true }]]
|
||||||
["proposal-decorators", { "legacy": true }],
|
|
||||||
["proposal-class-properties", { "loose": true }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"assumptions": {
|
||||||
|
"setPublicClassFields": true
|
||||||
|
},
|
||||||
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
"presets": [["env", { "targets": { "browsers": "ie 6" } }]],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["proposal-decorators", { "legacy": true }],
|
["proposal-decorators", { "legacy": true }],
|
||||||
["proposal-class-properties", { "loose": true }],
|
|
||||||
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
["babel-plugin-polyfill-es-shims", { "method": "usage-global", "targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
}}]
|
}}]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user