file_path stringlengths 3 280 | file_language stringclasses 66 values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108 values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-10/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = function() {
return "foo";
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-10/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = function() {
return "foo";
}();
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-11/input.js | JavaScript | export default new Cachier();
export function Cachier(databaseName) {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-11/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
Cachier: function() {
return Cachier;
},
default: function() {
return _default;
}
});
const _default = new Cachier();
function Cachier(databaseName) {}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-11/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
Cachier: function() {
return Cachier;
},
default: function() {
return _default;
}
});
const _default = new Cachier();
function Cachier(databaseName) {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-11/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
Cachier: function() {
return Cachier;
},
default: function() {
return _default;
}
});
const _default = new Cachier();
function Cachier(databaseName) {}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-2/input.js | JavaScript | export default {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-2/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-2/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-2/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = {};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-3/input.js | JavaScript | export default [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-3/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-3/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = [];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-3/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = [];
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-4/input.js | JavaScript | export default foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-4/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-4/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-4/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-5/input.js | JavaScript | export default function () {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-5/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
function _default() {}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-5/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
function _default() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-5/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
function _default() {}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-6/input.js | JavaScript | export default class {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-6/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
class _default {
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-6/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
class _default {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-6/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
class _default {
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-7/input.js | JavaScript | export default function foo() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-7/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
function foo() {}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-7/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
function foo() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-7/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
function foo() {}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-8/input.js | JavaScript | export default class Foo {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-8/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return Foo;
}
});
class Foo {
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-8/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return Foo;
}
});
class Foo {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-8/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return Foo;
}
});
class Foo {
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-9/input.js | JavaScript | var foo;
export { foo as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-9/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-9/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default-9/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default/input.js | JavaScript | export default 42;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = 42;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = 42;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-default/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = 42;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-destructured/input.js | JavaScript | export let x = 0;
export let y = 0;
export function f1() {
({ x } = { x: 1 });
}
export function f2() {
({ x, y } = { x: 2, y: 3 });
}
export function f3() {
[x, y, z] = [3, 4, 5];
}
export function f4() {
[x, , y] = [3, 4, 5];
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-destructured/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
f1: function() {
return f1;
},
f2: function() {
return f2;
},
f3: function() {
return f3;
},
f4: function() {
return f4;
},
x: function() {
return x;
},
y: function() {
return y;
}
});
let x = 0;
let y = 0;
function f1() {
({ x } = {
x: 1
});
}
function f2() {
({ x, y } = {
x: 2,
y: 3
});
}
function f3() {
[x, y, z] = [
3,
4,
5
];
}
function f4() {
[x, , y] = [
3,
4,
5
];
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-destructured/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
f1: function() {
return f1;
},
f2: function() {
return f2;
},
f3: function() {
return f3;
},
f4: function() {
return f4;
},
x: function() {
return x;
},
y: function() {
return y;
}
});
let x = 0;
let y = 0;
function f1() {
({ x } = {
x: 1
});
}
function f2() {
({ x, y } = {
x: 2,
y: 3
});
}
function f3() {
[x, y, z] = [
3,
4,
5
];
}
function f4() {
[x, , y] = [
3,
4,
5
];
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-destructured/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
f1: function() {
return f1;
},
f2: function() {
return f2;
},
f3: function() {
return f3;
},
f4: function() {
return f4;
},
x: function() {
return x;
},
y: function() {
return y;
}
});
let x = 0;
let y = 0;
function f1() {
({ x } = {
x: 1
});
}
function f2() {
({ x, y } = {
x: 2,
y: 3
});
}
function f3() {
[x, y, z] = [
3,
4,
5
];
}
function f4() {
[x, , y] = [
3,
4,
5
];
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-1/input.js | JavaScript | export * from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-1/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_export_star(_foo, exports);
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_export_star(require("foo"), exports);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_export_star(_foo, exports);
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-2/input.js | JavaScript | export { foo } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-2/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-2/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
const _foo = require("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-2/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-3/input.js | JavaScript | export { bar, foo } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-3/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return _foo.bar;
},
foo: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-3/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return _foo.bar;
},
foo: function() {
return _foo.foo;
}
});
const _foo = require("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-3/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return _foo.bar;
},
foo: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-4/input.js | JavaScript | export { foo as bar } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-4/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "bar", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-4/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "bar", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
const _foo = require("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-4/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "bar", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-5/input.js | JavaScript | export { foo as default } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-5/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-5/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
const _foo = require("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-5/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-6/input.js | JavaScript | export { bar, foo as default } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-6/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return _foo.bar;
},
default: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-6/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return _foo.bar;
},
default: function() {
return _foo.foo;
}
});
const _foo = require("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-6/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return _foo.bar;
},
default: function() {
return _foo.foo;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-7/input.js | JavaScript | export { default as foo } from "foo";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-7/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return _foo.default;
}
});
_foo = /*#__PURE__*/ _interop_require_default(_foo);
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-7/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return _foo.default;
}
});
const _foo = /*#__PURE__*/ _interop_require_default(require("foo"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-7/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return _foo.default;
}
});
_foo = /*#__PURE__*/ _interop_require_default(_foo);
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-8/input.js | JavaScript | import {
foo,
foo1,
foo10,
foo100,
foo11,
foo12,
foo13,
foo14,
foo15,
foo16,
foo17,
foo18,
foo19,
foo2,
foo20,
foo21,
foo22,
foo23,
foo24,
foo25,
foo26,
foo27,
foo28,
foo29,
foo3,
foo30,
foo31,
foo32,
foo33,
foo34,
foo35,
foo36,
foo37,
foo38,
foo39,
foo4,
foo40,
foo41,
foo42,
foo43,
foo44,
foo45,
foo46,
foo47,
foo48,
foo49,
foo5,
foo50,
foo51,
foo52,
foo53,
foo54,
foo55,
foo56,
foo57,
foo58,
foo59,
foo6,
foo60,
foo61,
foo62,
foo63,
foo64,
foo65,
foo66,
foo67,
foo68,
foo69,
foo7,
foo70,
foo71,
foo72,
foo73,
foo74,
foo75,
foo76,
foo77,
foo78,
foo79,
foo8,
foo80,
foo81,
foo82,
foo83,
foo84,
foo85,
foo86,
foo87,
foo88,
foo89,
foo9,
foo90,
foo91,
foo92,
foo93,
foo94,
foo95,
foo96,
foo97,
foo98,
foo99,
} from "foo";
export {
foo,
foo1,
foo10,
foo100,
foo11,
foo12,
foo13,
foo14,
foo15,
foo16,
foo17,
foo18,
foo19,
foo2,
foo20,
foo21,
foo22,
foo23,
foo24,
foo25,
foo26,
foo27,
foo28,
foo29,
foo3,
foo30,
foo31,
foo32,
foo33,
foo34,
foo35,
foo36,
foo37,
foo38,
foo39,
foo4,
foo40,
foo41,
foo42,
foo43,
foo44,
foo45,
foo46,
foo47,
foo48,
foo49,
foo5,
foo50,
foo51,
foo52,
foo53,
foo54,
foo55,
foo56,
foo57,
foo58,
foo59,
foo6,
foo60,
foo61,
foo62,
foo63,
foo64,
foo65,
foo66,
foo67,
foo68,
foo69,
foo7,
foo70,
foo71,
foo72,
foo73,
foo74,
foo75,
foo76,
foo77,
foo78,
foo79,
foo8,
foo80,
foo81,
foo82,
foo83,
foo84,
foo85,
foo86,
foo87,
foo88,
foo89,
foo9,
foo90,
foo91,
foo92,
foo93,
foo94,
foo95,
foo96,
foo97,
foo98,
foo99,
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-8/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
foo: function() {
return _foo.foo;
},
foo1: function() {
return _foo.foo1;
},
foo10: function() {
return _foo.foo10;
},
foo100: function() {
return _foo.foo100;
},
foo11: function() {
return _foo.foo11;
},
foo12: function() {
return _foo.foo12;
},
foo13: function() {
return _foo.foo13;
},
foo14: function() {
return _foo.foo14;
},
foo15: function() {
return _foo.foo15;
},
foo16: function() {
return _foo.foo16;
},
foo17: function() {
return _foo.foo17;
},
foo18: function() {
return _foo.foo18;
},
foo19: function() {
return _foo.foo19;
},
foo2: function() {
return _foo.foo2;
},
foo20: function() {
return _foo.foo20;
},
foo21: function() {
return _foo.foo21;
},
foo22: function() {
return _foo.foo22;
},
foo23: function() {
return _foo.foo23;
},
foo24: function() {
return _foo.foo24;
},
foo25: function() {
return _foo.foo25;
},
foo26: function() {
return _foo.foo26;
},
foo27: function() {
return _foo.foo27;
},
foo28: function() {
return _foo.foo28;
},
foo29: function() {
return _foo.foo29;
},
foo3: function() {
return _foo.foo3;
},
foo30: function() {
return _foo.foo30;
},
foo31: function() {
return _foo.foo31;
},
foo32: function() {
return _foo.foo32;
},
foo33: function() {
return _foo.foo33;
},
foo34: function() {
return _foo.foo34;
},
foo35: function() {
return _foo.foo35;
},
foo36: function() {
return _foo.foo36;
},
foo37: function() {
return _foo.foo37;
},
foo38: function() {
return _foo.foo38;
},
foo39: function() {
return _foo.foo39;
},
foo4: function() {
return _foo.foo4;
},
foo40: function() {
return _foo.foo40;
},
foo41: function() {
return _foo.foo41;
},
foo42: function() {
return _foo.foo42;
},
foo43: function() {
return _foo.foo43;
},
foo44: function() {
return _foo.foo44;
},
foo45: function() {
return _foo.foo45;
},
foo46: function() {
return _foo.foo46;
},
foo47: function() {
return _foo.foo47;
},
foo48: function() {
return _foo.foo48;
},
foo49: function() {
return _foo.foo49;
},
foo5: function() {
return _foo.foo5;
},
foo50: function() {
return _foo.foo50;
},
foo51: function() {
return _foo.foo51;
},
foo52: function() {
return _foo.foo52;
},
foo53: function() {
return _foo.foo53;
},
foo54: function() {
return _foo.foo54;
},
foo55: function() {
return _foo.foo55;
},
foo56: function() {
return _foo.foo56;
},
foo57: function() {
return _foo.foo57;
},
foo58: function() {
return _foo.foo58;
},
foo59: function() {
return _foo.foo59;
},
foo6: function() {
return _foo.foo6;
},
foo60: function() {
return _foo.foo60;
},
foo61: function() {
return _foo.foo61;
},
foo62: function() {
return _foo.foo62;
},
foo63: function() {
return _foo.foo63;
},
foo64: function() {
return _foo.foo64;
},
foo65: function() {
return _foo.foo65;
},
foo66: function() {
return _foo.foo66;
},
foo67: function() {
return _foo.foo67;
},
foo68: function() {
return _foo.foo68;
},
foo69: function() {
return _foo.foo69;
},
foo7: function() {
return _foo.foo7;
},
foo70: function() {
return _foo.foo70;
},
foo71: function() {
return _foo.foo71;
},
foo72: function() {
return _foo.foo72;
},
foo73: function() {
return _foo.foo73;
},
foo74: function() {
return _foo.foo74;
},
foo75: function() {
return _foo.foo75;
},
foo76: function() {
return _foo.foo76;
},
foo77: function() {
return _foo.foo77;
},
foo78: function() {
return _foo.foo78;
},
foo79: function() {
return _foo.foo79;
},
foo8: function() {
return _foo.foo8;
},
foo80: function() {
return _foo.foo80;
},
foo81: function() {
return _foo.foo81;
},
foo82: function() {
return _foo.foo82;
},
foo83: function() {
return _foo.foo83;
},
foo84: function() {
return _foo.foo84;
},
foo85: function() {
return _foo.foo85;
},
foo86: function() {
return _foo.foo86;
},
foo87: function() {
return _foo.foo87;
},
foo88: function() {
return _foo.foo88;
},
foo89: function() {
return _foo.foo89;
},
foo9: function() {
return _foo.foo9;
},
foo90: function() {
return _foo.foo90;
},
foo91: function() {
return _foo.foo91;
},
foo92: function() {
return _foo.foo92;
},
foo93: function() {
return _foo.foo93;
},
foo94: function() {
return _foo.foo94;
},
foo95: function() {
return _foo.foo95;
},
foo96: function() {
return _foo.foo96;
},
foo97: function() {
return _foo.foo97;
},
foo98: function() {
return _foo.foo98;
},
foo99: function() {
return _foo.foo99;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-8/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
foo: function() {
return _foo.foo;
},
foo1: function() {
return _foo.foo1;
},
foo10: function() {
return _foo.foo10;
},
foo100: function() {
return _foo.foo100;
},
foo11: function() {
return _foo.foo11;
},
foo12: function() {
return _foo.foo12;
},
foo13: function() {
return _foo.foo13;
},
foo14: function() {
return _foo.foo14;
},
foo15: function() {
return _foo.foo15;
},
foo16: function() {
return _foo.foo16;
},
foo17: function() {
return _foo.foo17;
},
foo18: function() {
return _foo.foo18;
},
foo19: function() {
return _foo.foo19;
},
foo2: function() {
return _foo.foo2;
},
foo20: function() {
return _foo.foo20;
},
foo21: function() {
return _foo.foo21;
},
foo22: function() {
return _foo.foo22;
},
foo23: function() {
return _foo.foo23;
},
foo24: function() {
return _foo.foo24;
},
foo25: function() {
return _foo.foo25;
},
foo26: function() {
return _foo.foo26;
},
foo27: function() {
return _foo.foo27;
},
foo28: function() {
return _foo.foo28;
},
foo29: function() {
return _foo.foo29;
},
foo3: function() {
return _foo.foo3;
},
foo30: function() {
return _foo.foo30;
},
foo31: function() {
return _foo.foo31;
},
foo32: function() {
return _foo.foo32;
},
foo33: function() {
return _foo.foo33;
},
foo34: function() {
return _foo.foo34;
},
foo35: function() {
return _foo.foo35;
},
foo36: function() {
return _foo.foo36;
},
foo37: function() {
return _foo.foo37;
},
foo38: function() {
return _foo.foo38;
},
foo39: function() {
return _foo.foo39;
},
foo4: function() {
return _foo.foo4;
},
foo40: function() {
return _foo.foo40;
},
foo41: function() {
return _foo.foo41;
},
foo42: function() {
return _foo.foo42;
},
foo43: function() {
return _foo.foo43;
},
foo44: function() {
return _foo.foo44;
},
foo45: function() {
return _foo.foo45;
},
foo46: function() {
return _foo.foo46;
},
foo47: function() {
return _foo.foo47;
},
foo48: function() {
return _foo.foo48;
},
foo49: function() {
return _foo.foo49;
},
foo5: function() {
return _foo.foo5;
},
foo50: function() {
return _foo.foo50;
},
foo51: function() {
return _foo.foo51;
},
foo52: function() {
return _foo.foo52;
},
foo53: function() {
return _foo.foo53;
},
foo54: function() {
return _foo.foo54;
},
foo55: function() {
return _foo.foo55;
},
foo56: function() {
return _foo.foo56;
},
foo57: function() {
return _foo.foo57;
},
foo58: function() {
return _foo.foo58;
},
foo59: function() {
return _foo.foo59;
},
foo6: function() {
return _foo.foo6;
},
foo60: function() {
return _foo.foo60;
},
foo61: function() {
return _foo.foo61;
},
foo62: function() {
return _foo.foo62;
},
foo63: function() {
return _foo.foo63;
},
foo64: function() {
return _foo.foo64;
},
foo65: function() {
return _foo.foo65;
},
foo66: function() {
return _foo.foo66;
},
foo67: function() {
return _foo.foo67;
},
foo68: function() {
return _foo.foo68;
},
foo69: function() {
return _foo.foo69;
},
foo7: function() {
return _foo.foo7;
},
foo70: function() {
return _foo.foo70;
},
foo71: function() {
return _foo.foo71;
},
foo72: function() {
return _foo.foo72;
},
foo73: function() {
return _foo.foo73;
},
foo74: function() {
return _foo.foo74;
},
foo75: function() {
return _foo.foo75;
},
foo76: function() {
return _foo.foo76;
},
foo77: function() {
return _foo.foo77;
},
foo78: function() {
return _foo.foo78;
},
foo79: function() {
return _foo.foo79;
},
foo8: function() {
return _foo.foo8;
},
foo80: function() {
return _foo.foo80;
},
foo81: function() {
return _foo.foo81;
},
foo82: function() {
return _foo.foo82;
},
foo83: function() {
return _foo.foo83;
},
foo84: function() {
return _foo.foo84;
},
foo85: function() {
return _foo.foo85;
},
foo86: function() {
return _foo.foo86;
},
foo87: function() {
return _foo.foo87;
},
foo88: function() {
return _foo.foo88;
},
foo89: function() {
return _foo.foo89;
},
foo9: function() {
return _foo.foo9;
},
foo90: function() {
return _foo.foo90;
},
foo91: function() {
return _foo.foo91;
},
foo92: function() {
return _foo.foo92;
},
foo93: function() {
return _foo.foo93;
},
foo94: function() {
return _foo.foo94;
},
foo95: function() {
return _foo.foo95;
},
foo96: function() {
return _foo.foo96;
},
foo97: function() {
return _foo.foo97;
},
foo98: function() {
return _foo.foo98;
},
foo99: function() {
return _foo.foo99;
}
});
const _foo = require("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-from-8/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("foo"));
else if (typeof define === "function" && define.amd) define([
"exports",
"foo"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
foo: function() {
return _foo.foo;
},
foo1: function() {
return _foo.foo1;
},
foo10: function() {
return _foo.foo10;
},
foo100: function() {
return _foo.foo100;
},
foo11: function() {
return _foo.foo11;
},
foo12: function() {
return _foo.foo12;
},
foo13: function() {
return _foo.foo13;
},
foo14: function() {
return _foo.foo14;
},
foo15: function() {
return _foo.foo15;
},
foo16: function() {
return _foo.foo16;
},
foo17: function() {
return _foo.foo17;
},
foo18: function() {
return _foo.foo18;
},
foo19: function() {
return _foo.foo19;
},
foo2: function() {
return _foo.foo2;
},
foo20: function() {
return _foo.foo20;
},
foo21: function() {
return _foo.foo21;
},
foo22: function() {
return _foo.foo22;
},
foo23: function() {
return _foo.foo23;
},
foo24: function() {
return _foo.foo24;
},
foo25: function() {
return _foo.foo25;
},
foo26: function() {
return _foo.foo26;
},
foo27: function() {
return _foo.foo27;
},
foo28: function() {
return _foo.foo28;
},
foo29: function() {
return _foo.foo29;
},
foo3: function() {
return _foo.foo3;
},
foo30: function() {
return _foo.foo30;
},
foo31: function() {
return _foo.foo31;
},
foo32: function() {
return _foo.foo32;
},
foo33: function() {
return _foo.foo33;
},
foo34: function() {
return _foo.foo34;
},
foo35: function() {
return _foo.foo35;
},
foo36: function() {
return _foo.foo36;
},
foo37: function() {
return _foo.foo37;
},
foo38: function() {
return _foo.foo38;
},
foo39: function() {
return _foo.foo39;
},
foo4: function() {
return _foo.foo4;
},
foo40: function() {
return _foo.foo40;
},
foo41: function() {
return _foo.foo41;
},
foo42: function() {
return _foo.foo42;
},
foo43: function() {
return _foo.foo43;
},
foo44: function() {
return _foo.foo44;
},
foo45: function() {
return _foo.foo45;
},
foo46: function() {
return _foo.foo46;
},
foo47: function() {
return _foo.foo47;
},
foo48: function() {
return _foo.foo48;
},
foo49: function() {
return _foo.foo49;
},
foo5: function() {
return _foo.foo5;
},
foo50: function() {
return _foo.foo50;
},
foo51: function() {
return _foo.foo51;
},
foo52: function() {
return _foo.foo52;
},
foo53: function() {
return _foo.foo53;
},
foo54: function() {
return _foo.foo54;
},
foo55: function() {
return _foo.foo55;
},
foo56: function() {
return _foo.foo56;
},
foo57: function() {
return _foo.foo57;
},
foo58: function() {
return _foo.foo58;
},
foo59: function() {
return _foo.foo59;
},
foo6: function() {
return _foo.foo6;
},
foo60: function() {
return _foo.foo60;
},
foo61: function() {
return _foo.foo61;
},
foo62: function() {
return _foo.foo62;
},
foo63: function() {
return _foo.foo63;
},
foo64: function() {
return _foo.foo64;
},
foo65: function() {
return _foo.foo65;
},
foo66: function() {
return _foo.foo66;
},
foo67: function() {
return _foo.foo67;
},
foo68: function() {
return _foo.foo68;
},
foo69: function() {
return _foo.foo69;
},
foo7: function() {
return _foo.foo7;
},
foo70: function() {
return _foo.foo70;
},
foo71: function() {
return _foo.foo71;
},
foo72: function() {
return _foo.foo72;
},
foo73: function() {
return _foo.foo73;
},
foo74: function() {
return _foo.foo74;
},
foo75: function() {
return _foo.foo75;
},
foo76: function() {
return _foo.foo76;
},
foo77: function() {
return _foo.foo77;
},
foo78: function() {
return _foo.foo78;
},
foo79: function() {
return _foo.foo79;
},
foo8: function() {
return _foo.foo8;
},
foo80: function() {
return _foo.foo80;
},
foo81: function() {
return _foo.foo81;
},
foo82: function() {
return _foo.foo82;
},
foo83: function() {
return _foo.foo83;
},
foo84: function() {
return _foo.foo84;
},
foo85: function() {
return _foo.foo85;
},
foo86: function() {
return _foo.foo86;
},
foo87: function() {
return _foo.foo87;
},
foo88: function() {
return _foo.foo88;
},
foo89: function() {
return _foo.foo89;
},
foo9: function() {
return _foo.foo9;
},
foo90: function() {
return _foo.foo90;
},
foo91: function() {
return _foo.foo91;
},
foo92: function() {
return _foo.foo92;
},
foo93: function() {
return _foo.foo93;
},
foo94: function() {
return _foo.foo94;
},
foo95: function() {
return _foo.foo95;
},
foo96: function() {
return _foo.foo96;
},
foo97: function() {
return _foo.foo97;
},
foo98: function() {
return _foo.foo98;
},
foo99: function() {
return _foo.foo99;
}
});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-1/input.js | JavaScript | var foo;
export { foo };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-1/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-2/input.js | JavaScript | var foo, bar;
export { bar, foo };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-2/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
var foo, bar;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-2/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
var foo, bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-2/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
}
});
var foo, bar;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-3/input.js | JavaScript | var foo;
export { foo as bar };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-3/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "bar", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-3/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "bar", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-3/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "bar", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-4/input.js | JavaScript | var foo;
export { foo as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-4/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-4/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-4/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return foo;
}
});
var foo;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-5/input.js | JavaScript | var foo, bar;
export { bar, foo as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-5/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
default: function() {
return foo;
}
});
var foo, bar;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-5/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
default: function() {
return foo;
}
});
var foo, bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/export-named-5/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports);
else if (typeof define === "function" && define.amd) define([
"exports"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {});
})(this, function(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
default: function() {
return foo;
}
});
var foo, bar;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/exports-variable/input.js | JavaScript | export var foo = 1;
export var foo2 = 1, bar = 2;
export var foo3 = function () {};
export var foo4;
export let foo5 = 2;
export let foo6;
export const foo7 = 3;
export function foo8() {}
export class foo9 {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/interop/exports-variable/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
foo: function() {
return foo;
},
foo2: function() {
return foo2;
},
foo3: function() {
return foo3;
},
foo4: function() {
return foo4;
},
foo5: function() {
return foo5;
},
foo6: function() {
return foo6;
},
foo7: function() {
return foo7;
},
foo8: function() {
return foo8;
},
foo9: function() {
return foo9;
}
});
var foo = 1;
var foo2 = 1, bar = 2;
var foo3 = function() {};
var foo4;
let foo5 = 2;
let foo6;
const foo7 = 3;
function foo8() {}
class foo9 {
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.