Remove old expected.{js,json} files (#7187)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.foo = void 0;
|
||||
|
||||
var foo = _interopRequireWildcard(require("./moduleWithGetter"));
|
||||
|
||||
exports.foo = foo;
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
||||
@@ -1,21 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "Foo", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _moduleWithGetter.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "baz", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _moduleWithGetter.baz;
|
||||
}
|
||||
});
|
||||
|
||||
var _moduleWithGetter = _interopRequireWildcard(require("./moduleWithGetter"));
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
||||
@@ -1,43 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var _foo = _interopRequireDefault(require("foo"));
|
||||
|
||||
var Bar = _interopRequireWildcard(require("bar"));
|
||||
|
||||
var _baz = require("baz");
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
_foo.default = (42, function () {
|
||||
throw new Error('"' + "Foo" + '" is read-only.');
|
||||
}());
|
||||
Bar = (43, function () {
|
||||
throw new Error('"' + "Bar" + '" is read-only.');
|
||||
}());
|
||||
_baz.Baz = (44, function () {
|
||||
throw new Error('"' + "Baz" + '" is read-only.');
|
||||
}());
|
||||
({
|
||||
Foo: _foo.default
|
||||
} = {});
|
||||
({
|
||||
Bar
|
||||
} = ({}, function () {
|
||||
throw new Error('"' + "Bar" + '" is read-only.');
|
||||
}()));
|
||||
({
|
||||
Baz: _baz.Baz
|
||||
} = {});
|
||||
({
|
||||
prop: _foo.default
|
||||
} = {});
|
||||
({
|
||||
prop: Bar
|
||||
} = ({}, function () {
|
||||
throw new Error('"' + "Bar" + '" is read-only.');
|
||||
}()));
|
||||
({
|
||||
prop: _baz.Baz
|
||||
} = {});
|
||||
@@ -1,26 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
require("foo");
|
||||
|
||||
var _exports = "local exports";
|
||||
var _module = "local module";
|
||||
console.log(_exports);
|
||||
console.log(_exports.prop);
|
||||
_exports++;
|
||||
_exports += 4;
|
||||
({
|
||||
exports: _exports
|
||||
} = {});
|
||||
[_exports] = [];
|
||||
_exports = {};
|
||||
_exports.prop = "";
|
||||
console.log(_module);
|
||||
console.log(_module.exports);
|
||||
_module++;
|
||||
_module += 4;
|
||||
({
|
||||
module: _module
|
||||
} = {});
|
||||
[_module] = [];
|
||||
_module = {};
|
||||
_module.prop = "";
|
||||
@@ -1,58 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
require("foo");
|
||||
|
||||
console.log(function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
}());
|
||||
console.log(function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
}().prop);
|
||||
|
||||
exports = function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
}() + 1;
|
||||
|
||||
exports = function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
}() + 4;
|
||||
|
||||
({
|
||||
exports
|
||||
} = ({}, function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
}()));
|
||||
[exports] = ([], function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
}());
|
||||
exports = {};
|
||||
(function () {
|
||||
throw new Error("The CommonJS '" + "exports" + "' variable is not available in ES6 modules.");
|
||||
})().prop = "";
|
||||
console.log(function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
}());
|
||||
console.log(function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
}().exports);
|
||||
|
||||
module = function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
}() + 1;
|
||||
|
||||
module = function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
}() + 4;
|
||||
|
||||
({
|
||||
module
|
||||
} = ({}, function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
}()));
|
||||
[module] = ([], function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
}());
|
||||
module = {};
|
||||
(function () {
|
||||
throw new Error("The CommonJS '" + "module" + "' variable is not available in ES6 modules.");
|
||||
})().prop = "";
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var foo = () => void 0;
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
(void 0).foo();
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var self = void 0;
|
||||
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
void 0;
|
||||
Reference in New Issue
Block a user