fix(es/minifier): Don't drop arguments to an IIFE without body (#4419)

This commit is contained in:
Donny/강동윤 2022-04-25 00:27:51 +09:00 committed by GitHub
parent 9a80ea2e7c
commit aa19b65f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
131 changed files with 570 additions and 237 deletions

View File

@ -1,5 +1,14 @@
class clodule1 {
}
clodule1 || (clodule1 = {});
class clodule2 {
}
clodule2 || (clodule2 = {});
class clodule3 { class clodule3 {
} }
(clodule3 || (clodule3 = {})).y = { (clodule3 || (clodule3 = {})).y = {
id: T id: T
}; };
class clodule4 {
}
clodule4 || (clodule4 = {});

View File

@ -2,7 +2,9 @@ import * as swcHelpers from "@swc/helpers";
var clodule1 = function() { var clodule1 = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, clodule1); swcHelpers.classCallCheck(this, clodule1);
}, clodule2 = function() { };
clodule1 || (clodule1 = {});
var clodule2 = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, clodule2); swcHelpers.classCallCheck(this, clodule2);
}; };

View File

@ -1,5 +1,5 @@
var A; var A;
(A || (A = {})).Point = class { class Point {
static Origin() { static Origin() {
return { return {
x: 0, x: 0,
@ -9,4 +9,18 @@ var A;
constructor(x, y){ constructor(x, y){
this.x = x, this.y = y; this.x = x, this.y = y;
} }
}; }
Point || (Point = {}), function(A1) {
class Point1 {
static Origin() {
return {
x: 0,
y: 0
};
}
constructor(x, y){
this.x = x, this.y = y;
}
}
A1.Point = Point1, Point1 = A1.Point || (A1.Point = {});
}(A || (A = {}));

View File

@ -11,7 +11,7 @@ var A, Point = function() {
}; };
}, Point; }, Point;
}(); }();
!function(A1) { Point || (Point = {}), function(A1) {
var Point = function() { var Point = function() {
"use strict"; "use strict";
function Point(x, y) { function Point(x, y) {
@ -24,5 +24,5 @@ var A, Point = function() {
}; };
}, Point; }, Point;
}(); }();
A1.Point = Point; A1.Point = Point, Point = A1.Point || (A1.Point = {});
}(A || (A = {})); }(A || (A = {}));

View File

@ -1,19 +1,20 @@
var A; var A;
(class { class Point {
constructor(x, y){ constructor(x, y){
this.x = x, this.y = y; this.x = x, this.y = y;
} }
}).Origin = { }
Point.Origin = {
x: 0, x: 0,
y: 0 y: 0
}, function(A1) { }, Point || (Point = {}), function(A1) {
class Point { class Point1 {
constructor(x, y){ constructor(x, y){
this.x = x, this.y = y; this.x = x, this.y = y;
} }
} }
Point.Origin = { Point1.Origin = {
x: 0, x: 0,
y: 0 y: 0
}, A1.Point = Point; }, A1.Point = Point1, Point1 = A1.Point || (A1.Point = {});
}(A || (A = {})); }(A || (A = {}));

View File

@ -6,7 +6,7 @@ var A, Point = function(x, y) {
Point.Origin = { Point.Origin = {
x: 0, x: 0,
y: 0 y: 0
}, function(A1) { }, Point || (Point = {}), function(A1) {
var Point1 = function(x, y) { var Point1 = function(x, y) {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, Point1), this.x = x, this.y = y; swcHelpers.classCallCheck(this, Point1), this.x = x, this.y = y;
@ -14,5 +14,5 @@ Point.Origin = {
Point1.Origin = { Point1.Origin = {
x: 0, x: 0,
y: 0 y: 0
}, A1.Point = Point1; }, A1.Point = Point1, Point1 = A1.Point || (A1.Point = {});
}(A || (A = {})); }(A || (A = {}));

View File

@ -1,9 +1,10 @@
var A, X; var A, X;
(A || (A = {})).Point = class { (A || (A = {})).Point = class {
}, function(X1) { }, A || (A = {}), function(X1) {
var Y; var Y;
((Y = X1.Y || (X1.Y = {})).Z || (Y.Z = {})).Line = class { ((Y = X1.Y || (X1.Y = {})).Z || (Y.Z = {})).Line = class {
}; };
}(X || (X = {})), function(X2) { }(X || (X = {})), function(X2) {
X2.Y || (X2.Y = {}); var Y;
(Y = X2.Y || (X2.Y = {})).Z || (Y.Z = {});
}(X || (X = {})); }(X || (X = {}));

View File

@ -0,0 +1,5 @@
var M2;
!function(M2) {
let E;
E || (E = {});
}(M2 || (M2 = {}));

View File

@ -0,0 +1,5 @@
var M2;
!function(M2) {
var E;
E || (E = {});
}(M2 || (M2 = {}));

View File

@ -1,5 +1,7 @@
export class C { export class C {
m() {} m() {
this.assets;
}
constructor(){ constructor(){
this.assets = {}; this.assets = {};
} }

View File

@ -4,5 +4,7 @@ export var C = function() {
function C() { function C() {
swcHelpers.classCallCheck(this, C), this.assets = {}; swcHelpers.classCallCheck(this, C), this.assets = {};
} }
return C.prototype.m = function() {}, C; return C.prototype.m = function() {
this.assets;
}, C;
}(); }();

View File

@ -1,13 +1,13 @@
var Example1, Example2, Example3, Example4, Example5, GH14865, GH12052; var Example1, Example2, Example3, Example4, Example5, GH14865, GH30170, GH12052, GH18421, GH15907, GH20889, GH39357;
Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3 || (Example3 = {}), t = s, Example4 || (Example4 = {}), t = s, Example5 || (Example5 = {}), t = s, function(GH14865) { Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3 || (Example3 = {}), t = s, Example4 || (Example4 = {}), t = s, Example5 || (Example5 = {}), t = s, function(GH14865) {
let b; let b;
b.type, b = { b.type, b = {
type: "A", type: "A",
data: "whatevs" data: "whatevs"
}; };
}(GH14865 || (GH14865 = {})), function(GH12052) { }(GH14865 || (GH14865 = {})), GH30170 || (GH30170 = {}), function(GH12052) {
let good = { let good = {
type: void 0 type: void 0
}; };
good.type = "categorical"; good.type = "categorical";
}(GH12052 || (GH12052 = {})); }(GH12052 || (GH12052 = {})), GH18421 || (GH18421 = {}), GH15907 || (GH15907 = {}), GH20889 || (GH20889 = {}), GH39357 || (GH39357 = {});

View File

@ -1,13 +1,13 @@
var Example1, Example2, Example3, Example4, Example5, GH14865, GH12052; var Example1, Example2, Example3, Example4, Example5, GH14865, GH30170, GH12052, GH18421, GH15907, GH20889, GH39357;
Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3 || (Example3 = {}), t = s, Example4 || (Example4 = {}), t = s, Example5 || (Example5 = {}), t = s, function(GH14865) { Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3 || (Example3 = {}), t = s, Example4 || (Example4 = {}), t = s, Example5 || (Example5 = {}), t = s, function(GH14865) {
var b; var b;
b.type, b = { b.type, b = {
type: "A", type: "A",
data: "whatevs" data: "whatevs"
}; };
}(GH14865 || (GH14865 = {})), function(GH12052) { }(GH14865 || (GH14865 = {})), GH30170 || (GH30170 = {}), function(GH12052) {
var getAxisType = function() { var getAxisType = function() {
return "categorical"; return "categorical";
}; };
getAxisType(), void 0 = getAxisType(); getAxisType(), void 0 = getAxisType();
}(GH12052 || (GH12052 = {})); }(GH12052 || (GH12052 = {})), GH18421 || (GH18421 = {}), GH15907 || (GH15907 = {}), GH20889 || (GH20889 = {}), GH39357 || (GH39357 = {});

View File

@ -0,0 +1,2 @@
var ClassTypeParam, GenericSignaturesInvalid, GenericSignaturesValid;
ClassTypeParam || (ClassTypeParam = {}), GenericSignaturesInvalid || (GenericSignaturesInvalid = {}), GenericSignaturesValid || (GenericSignaturesValid = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var JustStrings, NumbersAndStrings;
JustStrings || (JustStrings = {}), NumbersAndStrings || (NumbersAndStrings = {});

View File

@ -1,5 +1,5 @@
var ObjectTypes; var SimpleTypes, ObjectTypes;
!function(ObjectTypes) { SimpleTypes || (SimpleTypes = {}), function(ObjectTypes) {
var t, t2, b, a2 = { var t, t2, b, a2 = {
foo: a2 foo: a2
}, b2 = { }, b2 = {

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -20,4 +20,14 @@ swcHelpers.asyncToGenerator(regeneratorRuntime.mark(function _callee() {
return _ctx.stop(); return _ctx.stop();
} }
}, _callee); }, _callee);
})), swcHelpers.asyncToGenerator(regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function(_ctx) {
for(;;)switch(_ctx.prev = _ctx.next){
case 0:
return _ctx.abrupt("return", 0);
case 1:
case "end":
return _ctx.stop();
}
}, _callee);
})); }));

View File

@ -0,0 +1,2 @@
var Errors;
Errors || (Errors = {});

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -1 +1,3 @@
var M;
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
M || (M = {});

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -0,0 +1,2 @@
var Errors;
Errors || (Errors = {});

View File

@ -0,0 +1,2 @@
var test;
test || (test = {});

View File

@ -1,6 +1,6 @@
var E, F; var E, F, Others;
!function(E) { !function(E) {
E[E.A = 0] = "A"; E[E.A = 0] = "A";
}(E || (E = {})), function(F) { }(E || (E = {})), function(F) {
F[F.B = 0] = "B"; F[F.B = 0] = "B";
}(F || (F = {})), E.A, F.B; }(F || (F = {})), E.A, F.B, Others || (Others = {});

View File

@ -1 +1,2 @@
export var N; export var N;
N || (N = {});

View File

@ -1 +1,2 @@
export var N; export var N;
N || (N = {});

View File

@ -1 +1,2 @@
export var N; export var N;
N || (N = {});

View File

@ -1 +1,2 @@
export var N; export var N;
N || (N = {});

View File

@ -1,5 +1,5 @@
var A, D, E, F; var A, B, C, D, E, F;
(A || (A = {})).x = 12, (D || (D = {})).yes = function() { (A || (A = {})).x = 12, B || (B = {}), C || (C = {}), (D || (D = {})).yes = function() {
return !0; return !0;
}, function(E1) { }, function(E1) {
var Color; var Color;
@ -9,4 +9,6 @@ var A, D, E, F;
var Color; var Color;
let Color1; let Color1;
(Color = Color1 || (Color1 = {}))[Color.Red = 0] = "Red"; (Color = Color1 || (Color1 = {}))[Color.Red = 0] = "Red";
let M;
M || (M = {});
}(F || (F = {})); }(F || (F = {}));

View File

@ -1,18 +1,19 @@
var A, D, E, F; var A, B, C, D, E, F;
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
(A || (A = {})).x = 12, (D || (D = {})).yes = function() { (A || (A = {})).x = 12, B || (B = {}), C || (C = {}), (D || (D = {})).yes = function() {
return !0; return !0;
}, function(E1) { }, function(E1) {
(Color = E1.Color || (E1.Color = {}))[Color.Red = 0] = "Red", E1.fn = function() {}; (Color = E1.Color || (E1.Color = {}))[Color.Red = 0] = "Red", E1.fn = function() {};
var Color, C = function() { var Color, C1 = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, C); swcHelpers.classCallCheck(this, C1);
}; };
E1.C = C, (E1.M || (E1.M = {})).x = 42; E1.C = C1, (E1.M || (E1.M = {})).x = 42;
}(E || (E = {})), function(F) { }(E || (E = {})), function(F) {
(Color1 = Color || (Color = {}))[Color1.Red = 0] = "Red"; (Color1 = Color || (Color = {}))[Color1.Red = 0] = "Red";
var Color, Color1, C = function() { var Color, M, Color1, C2 = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, C); swcHelpers.classCallCheck(this, C2);
}; };
M || (M = {});
}(F || (F = {})); }(F || (F = {}));

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -1,7 +1,7 @@
class Base { class Base {
} }
new Base(); new Base();
var x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, d1 = new class extends Base { var x181, x182, x183, x184, x185, x186, x187, x188, x189, x190, x191, x192, x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, d1 = new class extends Base {
}(), d2 = new class extends Base { }(), d2 = new class extends Base {
}(); }();
(class { (class {
@ -184,7 +184,7 @@ var x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, d1 =
d1, d1,
d2 d2
] ]
}, (x193 || (x193 = {})).t = ()=>[ }, x181 || (x181 = {}), x182 || (x182 = {}), x183 || (x183 = {}), x184 || (x184 = {}), x185 || (x185 = {}), x186 || (x186 = {}), x187 || (x187 = {}), x188 || (x188 = {}), x189 || (x189 = {}), x190 || (x190 = {}), x191 || (x191 = {}), x192 || (x192 = {}), (x193 || (x193 = {})).t = ()=>[
d1, d1,
d2 d2
] ]

View File

@ -1,5 +1,5 @@
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
var x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, Base = function() { var x181, x182, x183, x184, x185, x186, x187, x188, x189, x190, x191, x192, x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, Base = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, Base); swcHelpers.classCallCheck(this, Base);
}, Derived1 = function(Base1) { }, Derived1 = function(Base1) {
@ -865,7 +865,7 @@ var x85 = function() {
}; };
swcHelpers.classCallCheck(this, x120), this.parm = parm; swcHelpers.classCallCheck(this, x120), this.parm = parm;
}; };
(x193 || (x193 = {})).t = function() { x181 || (x181 = {}), x182 || (x182 = {}), x183 || (x183 = {}), x184 || (x184 = {}), x185 || (x185 = {}), x186 || (x186 = {}), x187 || (x187 = {}), x188 || (x188 = {}), x189 || (x189 = {}), x190 || (x190 = {}), x191 || (x191 = {}), x192 || (x192 = {}), (x193 || (x193 = {})).t = function() {
return [ return [
d1, d1,
d2 d2

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -8,7 +8,7 @@ function f2(a) {}
function f3(y, x) { function f3(y, x) {
return y(null); return y(null);
} }
f2({ new Derived(), new Derived2(), f2({
x: new Derived(), x: new Derived(),
y: new Derived2() y: new Derived2()
}), f2({ }), f2({

View File

@ -23,7 +23,7 @@ function f2(a) {}
function f3(y, x) { function f3(y, x) {
return y(null); return y(null);
} }
f2({ new Derived(), new Derived2(), f2({
x: new Derived(), x: new Derived(),
y: new Derived2() y: new Derived2()
}), f2({ }), f2({

View File

@ -0,0 +1,2 @@
var NonGenericParameter, GenericParameter;
NonGenericParameter || (NonGenericParameter = {}), GenericParameter || (GenericParameter = {});

View File

@ -1,5 +1,5 @@
var GenericParameter; var NonGenericParameter, GenericParameter;
!function(GenericParameter) { NonGenericParameter || (NonGenericParameter = {}), function(GenericParameter) {
var c, foo7 = function(x, cb) { var c, foo7 = function(x, cb) {
return cb; return cb;
}; };

View File

@ -1,8 +1,8 @@
var NonGenericParameter; var NonGenericParameter, GenericParameter;
!function(NonGenericParameter) { !function(NonGenericParameter) {
var b; var b;
function foo4(cb) { function foo4(cb) {
return new cb(null); return new cb(null);
} }
foo4(void 0), foo4(b); foo4(void 0), foo4(b);
}(NonGenericParameter || (NonGenericParameter = {})); }(NonGenericParameter || (NonGenericParameter = {})), GenericParameter || (GenericParameter = {});

View File

@ -0,0 +1,2 @@
var NonGenericParameter, GenericParameter;
NonGenericParameter || (NonGenericParameter = {}), GenericParameter || (GenericParameter = {});

View File

@ -0,0 +1,2 @@
var NonGenericParameter, GenericParameter;
NonGenericParameter || (NonGenericParameter = {}), GenericParameter || (GenericParameter = {});

View File

@ -0,0 +1,6 @@
var WithContextualType;
class Base {
}
class Derived extends Base {
}
Derived || (Derived = {}), WithContextualType || (WithContextualType = {});

View File

@ -1,5 +1,5 @@
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
var Base = function() { var WithContextualType, Base = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, Base); swcHelpers.classCallCheck(this, Base);
}, Derived = function(Base1) { }, Derived = function(Base1) {
@ -19,3 +19,4 @@ var Base = function() {
} }
return Derived2; return Derived2;
}(Base); }(Base);
Derived || (Derived = {}), WithContextualType || (WithContextualType = {});

View File

@ -1,5 +1,5 @@
var M2; var M, M2;
!function(M2) { M || (M = {}), function(M2) {
var b; var b;
b.z, b.x, b.y; b.z, b.x, b.y;
}(M2 || (M2 = {})); }(M2 || (M2 = {}));

View File

@ -4,4 +4,13 @@ var moduleA;
this.x = x, this.y = y; this.x = x, this.y = y;
} }
}; };
class clodule {
}
function fundule() {
return {
x: 0,
y: 0
};
}
clodule || (clodule = {}), fundule || (fundule = {});
export { }; export { };

View File

@ -10,3 +10,10 @@ var moduleA, clodule = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, clodule); swcHelpers.classCallCheck(this, clodule);
}; };
function fundule() {
return {
x: 0,
y: 0
};
}
clodule || (clodule = {}), fundule || (fundule = {});

View File

@ -1,4 +1,4 @@
var E; var C, D, E;
(E || (E = {})).xDist = function(x) { C || (C = {}), D || (D = {}), (E || (E = {})).xDist = function(x) {
return 0 - x.x; return 0 - x.x;
}; };

View File

@ -1,4 +1,4 @@
var E; var C, D, E;
(E || (E = {})).xDist = function(x) { C || (C = {}), D || (D = {}), (E || (E = {})).xDist = function(x) {
return 0 - x.x; return 0 - x.x;
}; };

View File

@ -1,4 +1,4 @@
var A, D, E; var A, C, D, E;
!function(A1) { !function(A1) {
class Point { class Point {
constructor(x, y){ constructor(x, y){
@ -6,7 +6,7 @@ var A, D, E;
} }
} }
A1.Point = Point, A1.Origin = new Point(0, 0); A1.Point = Point, A1.Origin = new Point(0, 0);
}(A || (A = {})), D || (D = {}), new A.Point(1, 1), function(E1) { }(A || (A = {})), C || (C = {}), D || (D = {}), new A.Point(1, 1), function(E1) {
var a = A; var a = A;
E1.xDist = function(x) { E1.xDist = function(x) {
return a.Origin.x - x.x; return a.Origin.x - x.x;

View File

@ -1,4 +1,4 @@
var A, D, E; var A, C, D, E;
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
!function(A1) { !function(A1) {
var Point = function(x, y) { var Point = function(x, y) {
@ -6,7 +6,7 @@ import * as swcHelpers from "@swc/helpers";
swcHelpers.classCallCheck(this, Point), this.x = x, this.y = y; swcHelpers.classCallCheck(this, Point), this.x = x, this.y = y;
}; };
A1.Point = Point, A1.Origin = new Point(0, 0); A1.Point = Point, A1.Origin = new Point(0, 0);
}(A || (A = {})), D || (D = {}), new A.Point(1, 1), function(E1) { }(A || (A = {})), C || (C = {}), D || (D = {}), new A.Point(1, 1), function(E1) {
var a = A; var a = A;
E1.xDist = function(x) { E1.xDist = function(x) {
return a.Origin.x - x.x; return a.Origin.x - x.x;

View File

@ -1,11 +1,15 @@
var C, DD; var C, DD;
export var A; export var A;
!function(A) {}(A || (A = {}));
export var B; export var B;
!function(B) { !function(B) {
B[B.Member = 0] = "Member"; B[B.Member = 0] = "Member";
}(B || (B = {})); }(B || (B = {})), C = {};
!function(DD) {}(DD || (DD = {}));
export var E; export var E;
!function(E) {}(E || (E = {}));
export var F; export var F;
!function(F) {}(F || (F = {}));
export var G; export var G;
!function(G) { !function(G) {
G[G.A = 1] = "A", G[G.B = 2] = "B", G[G.C = 3] = "C"; G[G.A = 1] = "A", G[G.B = 2] = "B", G[G.C = 3] = "C";

View File

@ -1,11 +1,15 @@
var C, DD; var C, DD;
export var A; export var A;
!function(A) {}(A || (A = {}));
export var B; export var B;
!function(B) { !function(B) {
B[B.Member = 0] = "Member"; B[B.Member = 0] = "Member";
}(B || (B = {})); }(B || (B = {})), C = {};
!function(DD) {}(DD || (DD = {}));
export var E; export var E;
!function(E) {}(E || (E = {}));
export var F; export var F;
!function(F) {}(F || (F = {}));
export var G; export var G;
!function(G) { !function(G) {
G[G.A = 1] = "A", G[G.B = 2] = "B", G[G.C = 3] = "C"; G[G.A = 1] = "A", G[G.B = 2] = "B", G[G.C = 3] = "C";

View File

@ -0,0 +1,2 @@
var M;
M || (M = {});

View File

@ -1 +1,2 @@
(void 0).a; var M;
(void 0).a, M || (M = {});

View File

@ -1 +1,2 @@
(void 0).a; var M;
(void 0).a, M || (M = {});

View File

@ -1,6 +1,8 @@
var A, Y; var A, Y;
!function(A) { !function(A) {
var Color; var Color;
let Module;
Module || (Module = {});
let Color1; let Color1;
(Color = Color1 || (Color1 = {}))[Color.Blue = 0] = "Blue", Color[Color.Red = 1] = "Red"; (Color = Color1 || (Color1 = {}))[Color.Blue = 0] = "Blue", Color[Color.Red = 1] = "Red";
}(A || (A = {})), function(Y1) { }(A || (A = {})), function(Y1) {
@ -15,7 +17,7 @@ var A, Y;
} }
Y1.AA = AA, Y1.B = class extends AA { Y1.AA = AA, Y1.B = class extends AA {
}, Y1.BB = class extends A1 { }, Y1.BB = class extends A1 {
}, (Color = Y1.Color || (Y1.Color = {}))[Color.Blue = 0] = "Blue", Color[Color.Red = 1] = "Red", Y1.x = 12, Y1.F = F, Y1.array = null, Y1.fn = (s)=>'hello ' + s }, Y1.Module || (Y1.Module = {}), (Color = Y1.Color || (Y1.Color = {}))[Color.Blue = 0] = "Blue", Color[Color.Red = 1] = "Red", Y1.x = 12, Y1.F = F, Y1.array = null, Y1.fn = (s)=>'hello ' + s
, Y1.ol = { , Y1.ol = {
s: 'hello', s: 'hello',
id: 2, id: 2,

View File

@ -1,7 +1,8 @@
var X, Y, D; var A, B, X, Y, D;
!function(X1) { A || (A = {}), B || (B = {}), B || (B = {}), function(X1) {
X1.Y || (X1.Y = {}); var Y1;
}(X || (X = {})), function(Y3) { (Y1 = X1.Y || (X1.Y = {})).Z || (Y1.Z = {});
var Y1, Y2; }(X || (X = {})), function(Y4) {
(Y2 = (Y1 = Y3.Y || (Y3.Y = {})).Y || (Y1.Y = {}))[Y2.Red = 0] = "Red", Y2[Y2.Blue = 1] = "Blue"; var Y2, Y3;
(Y3 = (Y2 = Y4.Y || (Y4.Y = {})).Y || (Y2.Y = {}))[Y3.Red = 0] = "Red", Y3[Y3.Blue = 1] = "Blue";
}(Y || (Y = {})), (D || (D = {})).E = 'hello'; }(Y || (Y = {})), (D || (D = {})).E = 'hello';

View File

@ -1,13 +1,14 @@
var B, X, Y, D; var A, B, X, Y, D;
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
!function(B) { A || (A = {}), B || (B = {}), function(B) {
var B1 = function() { var B1 = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, B1); swcHelpers.classCallCheck(this, B1);
}; };
}(B || (B = {})), function(X1) { }(B || (B = {})), function(X1) {
X1.Y || (X1.Y = {}); var Y1;
}(X || (X = {})), function(Y2) { (Y1 = X1.Y || (X1.Y = {})).Z || (Y1.Z = {});
var Y1, _$Y; }(X || (X = {})), function(Y3) {
(_$Y = (Y1 = Y2.Y || (Y2.Y = {})).Y || (Y1.Y = {}))[_$Y.Red = 0] = "Red", _$Y[_$Y.Blue = 1] = "Blue"; var Y2, _$Y;
(_$Y = (Y2 = Y3.Y || (Y3.Y = {})).Y || (Y2.Y = {}))[_$Y.Red = 0] = "Red", _$Y[_$Y.Blue = 1] = "Blue";
}(Y || (Y = {})), (D || (D = {})).E = "hello"; }(Y || (Y = {})), (D || (D = {})).E = "hello";

View File

@ -1,4 +1,4 @@
var ENUM1; var ENUM, ENUM1;
!function(ENUM1) { !function(ENUM) {}(ENUM || (ENUM = {})), function(ENUM1) {
ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = ""; ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "";
}(ENUM1 || (ENUM1 = {})), ENUM1.B, ENUM1.B, ENUM1[""], ENUM1.B; }(ENUM1 || (ENUM1 = {})), ENUM1.B, ENUM1.B, ENUM1[""], ENUM1.B;

View File

@ -1,4 +1,4 @@
var ENUM1; var ENUM, ENUM1;
!function(ENUM1) { !function(ENUM) {}(ENUM || (ENUM = {})), function(ENUM1) {
ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = ""; ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "";
}(ENUM1 || (ENUM1 = {})), ENUM1.B, ENUM1.B, ENUM1[""], ENUM1.B; }(ENUM1 || (ENUM1 = {})), ENUM1.B, ENUM1.B, ENUM1[""], ENUM1.B;

View File

@ -1,5 +1,7 @@
var M2; var A, M2;
!function(M21) { !function(A1) {
A1.B || (A1.B = {});
}(A || (A = {})), function(M21) {
var Point; var Point;
(M21.X || (M21.X = {})).Point = Point; (M21.X || (M21.X = {})).Point = Point;
}(M2 || (M2 = {})), M2.X.Point; }(M2 || (M2 = {})), M2.X.Point;

View File

@ -1,5 +1,7 @@
var M2; var A, M2;
!function(M21) { !function(A1) {
A1.B || (A1.B = {});
}(A || (A = {})), function(M21) {
var Point; var Point;
(M21.X || (M21.X = {})).Point = Point; (M21.X || (M21.X = {})).Point = Point;
}(M2 || (M2 = {})), M2.X.Point; }(M2 || (M2 = {})), M2.X.Point;

View File

@ -1,3 +1,3 @@
(function() { (function() {
new.target.marked; !0 === new.target.marked && new.target.marked;
}).marked = !0; }).marked = !0;

View File

@ -1,5 +1,5 @@
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
function f() { function f() {
(swcHelpers._instanceof(this, f) ? this.constructor : void 0).marked; !0 === (swcHelpers._instanceof(this, f) ? this.constructor : void 0).marked && (swcHelpers._instanceof(this, f) ? this.constructor : void 0).marked;
} }
f.marked = !0; f.marked = !0;

View File

@ -0,0 +1,2 @@
var E;
!function(E) {}(E || (E = {}));

View File

@ -1,5 +1,6 @@
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
var C = function() { var E, C = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, C); swcHelpers.classCallCheck(this, C);
}; };
!function(E) {}(E || (E = {}));

View File

@ -1 +1,2 @@
export var SignatureFlags; export var SignatureFlags;
!function(SignatureFlags) {}(SignatureFlags || (SignatureFlags = {}));

View File

@ -1 +1,2 @@
export var SignatureFlags; export var SignatureFlags;
!function(SignatureFlags) {}(SignatureFlags || (SignatureFlags = {}));

View File

@ -0,0 +1,2 @@
var E;
!function(E) {}(E || (E = {}));

View File

@ -0,0 +1,2 @@
var E;
!function(E) {}(E || (E = {}));

View File

@ -0,0 +1,4 @@
var M1;
!function(M11) {
M11.M2 || (M11.M2 = {});
}(M1 || (M1 = {}));

View File

@ -0,0 +1,4 @@
var M1;
!function(M11) {
M11.M2 || (M11.M2 = {});
}(M1 || (M1 = {}));

View File

@ -1,4 +1,4 @@
var ENUM, ENUM1; var ENUM, ENUM1;
!function(ENUM1) { !function(ENUM) {}(ENUM || (ENUM = {})), function(ENUM1) {
ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = ""; ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "";
}(ENUM1 || (ENUM1 = {})), ENUM1.A, ENUM[0], ENUM1.B, ENUM1.B; }(ENUM1 || (ENUM1 = {})), ENUM1.A, ENUM[0], ENUM1.B, ENUM1.B;

View File

@ -1,4 +1,4 @@
var ENUM, ENUM1; var ENUM, ENUM1;
!function(ENUM1) { !function(ENUM) {}(ENUM || (ENUM = {})), function(ENUM1) {
ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = ""; ENUM1[ENUM1.A = 0] = "A", ENUM1[ENUM1.B = 1] = "B", ENUM1[ENUM1[""] = 2] = "";
}(ENUM1 || (ENUM1 = {})), ENUM1.A, ENUM[0], ENUM1.B, ENUM1.B; }(ENUM1 || (ENUM1 = {})), ENUM1.A, ENUM[0], ENUM1.B, ENUM1.B;

View File

@ -1,8 +1,8 @@
var M1, M3; var M1, M2, M3;
!function(M11) { !function(M11) {
var s; var s;
M11.s = s; M11.s = s;
}(M1 || (M1 = {})), function(M3) { }(M1 || (M1 = {})), M2 || (M2 = {}), function(M3) {
let M4; let M4;
M4 || (M4 = {}); M4 || (M4 = {});
}(M3 || (M3 = {})); }(M3 || (M3 = {}));

View File

@ -2,8 +2,8 @@ import * as swcHelpers from "@swc/helpers";
!function(M11) { !function(M11) {
var s; var s;
M11.s = s; M11.s = s;
}(M1 || (M1 = {})); }(M1 || (M1 = {})), M2 || (M2 = {});
var M1, M3, C = function() { var M1, M2, M3, C = function() {
"use strict"; "use strict";
function C() { function C() {
swcHelpers.classCallCheck(this, C), this.n = this.s; swcHelpers.classCallCheck(this, C), this.n = this.s;

View File

@ -1,6 +1,6 @@
var A, X; var A, B, X, Z;
(A || (A = {})).Point = { (A || (A = {})).Point = {
x: 0, x: 0,
y: 0 y: 0
}, (X || (X = {})).Y = class { }, B || (B = {}), (X || (X = {})).Y = class {
}; }, Z || (Z = {});

View File

@ -1,12 +1,12 @@
var A, X; var A, B, X, Z;
import * as swcHelpers from "@swc/helpers"; import * as swcHelpers from "@swc/helpers";
(A || (A = {})).Point = { (A || (A = {})).Point = {
x: 0, x: 0,
y: 0 y: 0
}, function(X1) { }, B || (B = {}), function(X1) {
var Y = function() { var Y = function() {
"use strict"; "use strict";
swcHelpers.classCallCheck(this, Y); swcHelpers.classCallCheck(this, Y);
}; };
X1.Y = Y; X1.Y = Y;
}(X || (X = {})); }(X || (X = {})), Z || (Z = {});

View File

@ -0,0 +1,2 @@
var M1, M2;
M1 || (M1 = {}), M2 || (M2 = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

View File

@ -0,0 +1,2 @@
var NotOptional, Optional;
NotOptional || (NotOptional = {}), Optional || (Optional = {});

View File

@ -0,0 +1,2 @@
var ExplicitPublic, ImplicitPublic;
ExplicitPublic || (ExplicitPublic = {}), ImplicitPublic || (ImplicitPublic = {});

View File

@ -0,0 +1,2 @@
var TwoLevels;
TwoLevels || (TwoLevels = {});

View File

@ -0,0 +1,2 @@
var TwoLevels;
TwoLevels || (TwoLevels = {});

View File

@ -0,0 +1,2 @@
var TwoLevels;
TwoLevels || (TwoLevels = {});

View File

@ -0,0 +1,2 @@
var Generics;
Generics || (Generics = {});

Some files were not shown because too many files have changed in this diff Show More