mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
fix(es/modules): Improve compatibility with cjs lexer (#5080)
This commit is contained in:
parent
8aaf25f5e7
commit
9e162dcbae
@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _default;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _default = "\nvoid main() {\n gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}\n";
|
||||
|
File diff suppressed because one or more lines are too long
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "displayA", {
|
||||
get: ()=>displayA,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>displayA
|
||||
});
|
||||
function displayA() {
|
||||
return "Display A";
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "displayA", {
|
||||
get: ()=>displayA,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>displayA
|
||||
});
|
||||
function displayA() {
|
||||
return "Display A";
|
||||
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "test", {
|
||||
get: ()=>test,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>test
|
||||
});
|
||||
function test() {}
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "utilFn", {
|
||||
get: ()=>utilFn,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>utilFn
|
||||
});
|
||||
const _utilFile = require("../core/utils/utilFile");
|
||||
(0, _utilFile.test)();
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
exports.y = exports.x = exports.default = void 0;
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>NotOK,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>NotOK
|
||||
});
|
||||
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
const _foo = _interopRequireDefault(require("foo"));
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_foo
|
||||
});
|
||||
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
||||
const _foo = _interopRequireWildcard(require("./foo"));
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"mappings": "AAAA;;;;+BAAaA,KAAG;aAAHA,GAAG;;;AAAT,MAAMA,GAAG,GAAG,CAAC,AAAC",
|
||||
"mappings": "AAAA;;;;+BAAaA,KAAG;;aAAHA,GAAG;;AAAT,MAAMA,GAAG,GAAG,CAAC,AAAC",
|
||||
"names": [
|
||||
"foo"
|
||||
],
|
||||
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
const foo = 1;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "Shard", {
|
||||
get: ()=>Shard,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Shard
|
||||
});
|
||||
const _classPrivateFieldGet = require("@swc/helpers/lib/_class_private_field_get.js").default;
|
||||
const _classPrivateFieldInit = require("@swc/helpers/lib/_class_private_field_init.js").default;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "RequestHandler", {
|
||||
get: ()=>RequestHandler,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>RequestHandler
|
||||
});
|
||||
const _classPrivateFieldGet = require("@swc/helpers/lib/_class_private_field_get.js").default;
|
||||
const _classPrivateFieldInit = require("@swc/helpers/lib/_class_private_field_init.js").default;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "AppController", {
|
||||
get: ()=>AppController,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>AppController
|
||||
});
|
||||
const _tsDecorate = require("@swc/helpers/lib/_ts_decorate.js").default;
|
||||
const _tsMetadata = require("@swc/helpers/lib/_ts_metadata.js").default;
|
||||
|
@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "AbstractProviderDeliveryService", {
|
||||
get: ()=>AbstractProviderDeliveryService,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>AbstractProviderDeliveryService
|
||||
});
|
||||
class AbstractProviderDeliveryService {
|
||||
}
|
||||
|
@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "AbstractProviderDeliveryService", {
|
||||
get: ()=>AbstractProviderDeliveryService,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>AbstractProviderDeliveryService
|
||||
});
|
||||
class AbstractProviderDeliveryService {
|
||||
}
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "ServiceError", {
|
||||
get: ()=>ServiceError,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>ServiceError
|
||||
});
|
||||
class ServiceError extends Error {
|
||||
constructor(...args){
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return get;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
function get(key) {
|
||||
console.log(key);
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "getPackage", {
|
||||
get: ()=>getPackage,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>getPackage
|
||||
});
|
||||
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
||||
const _path = require("path");
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "getPackage", {
|
||||
get: ()=>getPackage,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>getPackage
|
||||
});
|
||||
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
||||
const _path = require("path");
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "render", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _customRender.customRender;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
|
||||
var _customRender = require("./customRender");
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return Foo;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _asyncToGenerator = require("@swc/helpers/lib/_async_to_generator.js").default;
|
||||
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
const _asyncToGenerator = require("@swc/helpers/lib/_async_to_generator.js").default;
|
||||
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
const _asyncToGenerator = require("@swc/helpers/lib/_async_to_generator.js").default;
|
||||
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
const _asyncToGenerator = require("@swc/helpers/lib/_async_to_generator.js").default;
|
||||
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
const _react = _interopRequireDefault(require("react"));
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
const _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
const _react = _interopRequireDefault(require("react"));
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return Foo;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _asyncToGenerator = require("@swc/helpers/lib/_async_to_generator.js").default;
|
||||
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return Foo;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
var _react = _interopRequireDefault(require("react"));
|
||||
|
@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "bar", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return bar;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var bar = function() {};
|
||||
|
@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return foo;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var foo = function() {};
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "A", {
|
||||
get: ()=>A,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>A
|
||||
});
|
||||
const _b = require("./B");
|
||||
console.log(_b.B);
|
||||
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "B", {
|
||||
get: ()=>B,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>B
|
||||
});
|
||||
const B = 500;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = {
|
||||
foo: {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "AnElement", {
|
||||
get: ()=>AnElement,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>AnElement
|
||||
});
|
||||
const AnElement = ({ prop1 , prop2 , prop3 , num , data })=>{
|
||||
return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(SomeElement, {
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "ServiceError", {
|
||||
get: ()=>ServiceError,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>ServiceError
|
||||
});
|
||||
const _tsDecorate = require("@swc/helpers/lib/_ts_decorate.js").default;
|
||||
const CD = ()=>{};
|
||||
|
@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -8,8 +8,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_class,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_class
|
||||
});
|
||||
_tsDecorate = _tsDecorate.default;
|
||||
function state() {}
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_class,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_class
|
||||
});
|
||||
const _tsDecorate = require("@swc/helpers/lib/_ts_decorate.js").default;
|
||||
function test(constructor) {
|
||||
|
@ -5,7 +5,7 @@ define([
|
||||
], function(require, exports, _gettingStartedIcons) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "icons", {
|
||||
get: ()=>_gettingStartedIcons,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_gettingStartedIcons
|
||||
});
|
||||
});
|
||||
|
@ -5,8 +5,8 @@ define([
|
||||
"use strict";
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -16,6 +16,6 @@ function a(a, b) {
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: !0
|
||||
}), Object.defineProperty(exports, "default", {
|
||||
get: ()=>a,
|
||||
enumerable: !0
|
||||
enumerable: !0,
|
||||
get: ()=>a
|
||||
});
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "flakySuite", {
|
||||
get: ()=>flakySuite,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>flakySuite
|
||||
});
|
||||
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
||||
const _testUtils = _interopRequireWildcard(require("vs/base/test/common/testUtils"));
|
||||
|
@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "Button", {
|
||||
get: ()=>Button,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Button
|
||||
});
|
||||
const _linaria = require("linaria");
|
||||
const Button = _linaria.css`
|
||||
color: red;
|
||||
`;
|
||||
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2lucHV0L2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gXCJsaW5hcmlhXCI7XG5cbmV4cG9ydCBjb25zdCBCdXR0b24gPSBjc3NgXG4gICAgY29sb3I6IHJlZDtcbmA7XG4iXSwibmFtZXMiOlsiQnV0dG9uIiwiY3NzIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFFYUEsUUFBTTthQUFOQSxNQUFNOzs7eUJBRkMsU0FBUztBQUV0QixNQUFNQSxNQUFNLEdBQUdDLFFBQUcsSUFBQSxDQUFDOztBQUUxQixDQUFDLEFBQUMifQ==
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2lucHV0L2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gXCJsaW5hcmlhXCI7XG5cbmV4cG9ydCBjb25zdCBCdXR0b24gPSBjc3NgXG4gICAgY29sb3I6IHJlZDtcbmA7XG4iXSwibmFtZXMiOlsiQnV0dG9uIiwiY3NzIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFFYUEsUUFBTTs7YUFBTkEsTUFBTTs7eUJBRkMsU0FBUztBQUV0QixNQUFNQSxNQUFNLEdBQUdDLFFBQUcsSUFBQSxDQUFDOztBQUUxQixDQUFDLEFBQUMifQ==
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "App", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return App;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
var _slicedToArray = require("@swc/helpers/lib/_sliced_to_array.js").default;
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "App", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return App;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
var _slicedToArray = require("@swc/helpers/lib/_sliced_to_array.js").default;
|
||||
|
@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "App", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return App;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
|
||||
var _slicedToArray = require("@swc/helpers/lib/_sliced_to_array.js").default;
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"mappings": "AAAA;;;;+BAAaA,KAAG;aAAHA,GAAG;;;AAAT,MAAMA,GAAG,GAAG;IACfC,GAAG,EAAE,EAAE;CACV,AAAC",
|
||||
"mappings": "AAAA;;;;+BAAaA,KAAG;;aAAHA,GAAG;;AAAT,MAAMA,GAAG,GAAG;IACfC,GAAG,EAAE,EAAE;CACV,AAAC",
|
||||
"names": [
|
||||
"foo",
|
||||
"arr"
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
const foo = {
|
||||
arr: []
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -2,10 +2,10 @@
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: !0
|
||||
}), Object.defineProperty(exports, "default", {
|
||||
enumerable: !0,
|
||||
get: function() {
|
||||
return k;
|
||||
},
|
||||
enumerable: !0
|
||||
}
|
||||
});
|
||||
var a = require("@swc/helpers/lib/_class_call_check.js").default, b = require("@swc/helpers/lib/_inherits.js").default, c = require("@swc/helpers/lib/_interop_require_default.js").default, d = require("@swc/helpers/lib/_interop_require_wildcard.js").default, e = require("@swc/helpers/lib/_object_spread.js").default, f = require("@swc/helpers/lib/_object_spread_props.js").default, g = require("@swc/helpers/lib/_create_super.js").default, h = require("react/jsx-runtime"), i = d(require("react")), j = c(require("prop-types")), k = function(c) {
|
||||
"use strict";
|
||||
|
@ -2,10 +2,10 @@
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: !0
|
||||
}), Object.defineProperty(exports, "default", {
|
||||
enumerable: !0,
|
||||
get: function() {
|
||||
return i;
|
||||
},
|
||||
enumerable: !0
|
||||
}
|
||||
});
|
||||
var a = require("@swc/helpers/lib/_class_call_check.js").default, b = require("@swc/helpers/lib/_inherits.js").default, c = require("@swc/helpers/lib/_interop_require_wildcard.js").default, d = require("@swc/helpers/lib/_object_spread.js").default, e = require("@swc/helpers/lib/_object_spread_props.js").default, f = require("@swc/helpers/lib/_create_super.js").default, g = require("react/jsx-runtime"), h = c(require("react")), i = function(c) {
|
||||
"use strict";
|
||||
|
@ -3936,10 +3936,10 @@ export default Test
|
||||
"
|
||||
\"use strict\";
|
||||
Object.defineProperty(exports, \"default\", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _default;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
const Test = (version)=>{
|
||||
return (target)=>{
|
||||
|
@ -309,10 +309,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return Login;
|
||||
},
|
||||
enumerable: true
|
||||
}
|
||||
});
|
||||
|
||||
var _store = require("./store");
|
||||
|
@ -208,7 +208,6 @@ pub(crate) fn object_define_enumerable(
|
||||
ObjectLit {
|
||||
span: DUMMY_SP,
|
||||
props: vec![
|
||||
prop,
|
||||
PropOrSpread::Prop(Box::new(
|
||||
KeyValueProp {
|
||||
key: quote_ident!("enumerable").into(),
|
||||
@ -216,6 +215,7 @@ pub(crate) fn object_define_enumerable(
|
||||
}
|
||||
.into(),
|
||||
)),
|
||||
prop,
|
||||
],
|
||||
}
|
||||
.as_arg(),
|
||||
|
@ -8,8 +8,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "Foo", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
class Foo {
|
||||
static prop = _simple.a;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "Foo", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
const _simple = require("./files_with_swcrc/simple");
|
||||
class Foo {
|
||||
|
@ -11,8 +11,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "Foo", {
|
||||
get: ()=>Foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>Foo
|
||||
});
|
||||
class Foo {
|
||||
static prop = _simple.a;
|
||||
|
@ -8,7 +8,7 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_foo
|
||||
});
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_foo
|
||||
});
|
||||
const _foo = require("foo");
|
||||
|
@ -11,7 +11,7 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_foo
|
||||
});
|
||||
});
|
||||
|
@ -7,8 +7,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
var foo = 1;
|
||||
var foo = 2;
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
var foo = 1;
|
||||
var foo = 2;
|
||||
|
@ -10,8 +10,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
var foo = 1;
|
||||
var foo = 2;
|
||||
|
@ -7,8 +7,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "good", {
|
||||
get: ()=>good,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>good
|
||||
});
|
||||
const good = {
|
||||
a (bad1) {
|
||||
|
@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "good", {
|
||||
get: ()=>good,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>good
|
||||
});
|
||||
const good = {
|
||||
a (bad1) {
|
||||
|
@ -10,8 +10,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "good", {
|
||||
get: ()=>good,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>good
|
||||
});
|
||||
const good = {
|
||||
a (bad1) {
|
||||
|
@ -8,7 +8,7 @@ define("moduleId", [
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_src.foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_src.foo
|
||||
});
|
||||
});
|
||||
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_src.foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_src.foo
|
||||
});
|
||||
const _src = require("src");
|
||||
|
@ -11,7 +11,7 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>_src.foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_src.foo
|
||||
});
|
||||
});
|
||||
|
@ -6,8 +6,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
function foo() {}
|
||||
});
|
||||
|
@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
function foo() {}
|
||||
|
@ -9,8 +9,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "foo", {
|
||||
get: ()=>foo,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>foo
|
||||
});
|
||||
function foo() {}
|
||||
});
|
||||
|
@ -8,8 +8,8 @@ define([
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -11,8 +11,8 @@
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -8,8 +8,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
_react = _exportStar(_react, exports);
|
||||
var _default = _react;
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.default = void 0;
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
const _react = _exportStar(require("react"), exports);
|
||||
var _default = _react;
|
||||
|
@ -11,8 +11,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
_react = _exportStar(_react, exports);
|
||||
var _default = _react;
|
||||
|
@ -7,8 +7,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = function() {
|
||||
return "foo";
|
||||
|
@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.default = void 0;
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = function() {
|
||||
return "foo";
|
||||
|
@ -10,8 +10,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = function() {
|
||||
return "foo";
|
||||
|
@ -8,8 +8,8 @@ define([
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
||||
exports.default = exports.Cachier = void 0;
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -11,8 +11,8 @@
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
|
@ -7,8 +7,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = {};
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.default = void 0;
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = {};
|
||||
|
@ -10,8 +10,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = {};
|
||||
});
|
||||
|
@ -7,8 +7,8 @@ define([
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = [];
|
||||
});
|
||||
|
@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.default = void 0;
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = [];
|
||||
|
@ -10,8 +10,8 @@
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
get: ()=>_default,
|
||||
enumerable: true
|
||||
enumerable: true,
|
||||
get: ()=>_default
|
||||
});
|
||||
var _default = [];
|
||||
});
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user