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/issue-3438/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("bar"));
else if (typeof define === "function" && define.amd) define([
"exports",
"bar"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/1/input.js | JavaScript | export { a };
let a = 1;
a = 2;
use(a = 3);
({ a = 4 } = {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/1/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "a", {
enumerable: true,
get: function() {
return a;
}
});
let a = 1;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "a", {
enumerable: true,
get: function() {
return a;
}
});
let a = 1;
a = 2;
use(a = 3);
({ a =4 } = {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/2/input.js | JavaScript | export { bar, foo as foo1 };
export { bar as bar2, foo };
const foo = 1;
let bar = 2;
export default bar;
bar = 3;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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[... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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;
},
bar2: function... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/3/input.js | JavaScript | export { bar, foo as foo1 };
export { bar as bar2, foo };
const foo = 1;
let bar = 2;
export { bar as default };
bar = 3;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/3/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[... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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 bar;
},
bar2: function... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/4/input.js | JavaScript | export { foo as bar };
foo = 1;
export default function foo() {}
foo = 2;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/4/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[... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/4/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;
},
default: funct... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/5/input.js | JavaScript | export { foo as bar };
foo = 1;
export default class foo {}
foo = 2;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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[... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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 foo;
},
default: funct... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3439/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-369/input.js | JavaScript | export function input(name) {
return `${name}.md?render`;
}
export default function ({
name,
input: inp,
}) {
inp = inp || input(name);
return { input: inp };
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-369/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[... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-369/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, {
default: function() {
return _default;
},
input... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-369/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3732/input.js | JavaScript | // index.ts
export * as get from "./get";
// get/index.ts
export const byID = (id) => {
// Do some async stuff
return new Promise((resolve) =>
setTimeout(() => {
resolve("result");
}, 2000)
);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3732/output.amd.js | JavaScript | // index.ts
define([
"require",
"exports",
"./get"
], function(require, exports, _get) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerab... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3732/output.cjs | JavaScript | // index.ts
"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, {
byID: function() {
return byID;
},
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3732/output.umd.js | JavaScript | // index.ts
(function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("./get"));
else if (typeof define === "function" && define.amd) define([
"exports",
"./get"
], factory);
else if (global = typeof globalThis !== "undefi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/1/input.js | JavaScript | import Foo from "foo";
Foo.bar = true;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/1/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_foo = /*#__PURE__*/ _interop_require_default(_foo);
_foo.default.bar = true;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const _foo = /*#__PURE__*/ _interop_require_default(require("foo"));
_foo.default.bar = true;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/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" ? globalThi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/2/input.js | JavaScript | import Foo from "foo";
Foo.bar = true;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/2/output.amd.js | JavaScript | define([
"require",
"exports",
"foo"
], function(require, exports, _foo) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
_foo = /*#__PURE__*/ _interop_require_default(_foo);
_foo.default.bar = true;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/2/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const _foo = /*#__PURE__*/ _interop_require_default(require("foo"));
_foo.default.bar = true;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-389/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" ? globalThi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3898/1/input.js | JavaScript | export let foo = 1;
foo = 2;
foo += 2;
foo -= 2;
foo *= 2;
foo /= 2;
foo %= 2;
foo <<= 2;
foo >>= 2;
foo >>>= 2;
foo |= 2;
foo ^= 2;
foo &= 2;
foo **= 2;
foo &&= 2;
foo ||= 2;
foo ??= 2;
[foo] = [2];
[foo = 3] = [];
({ bar: foo } = { bar: 2 });
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3898/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;
}
});
let foo = 1... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3898/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
let foo = 1;
foo = 2;
foo += 2;
foo -= 2;
foo *= 2;
foo /= 2;
foo %= 2;
foo <<= 2;
foo >>= 2;
foo >>>= 2;
foo |= 2;
foo ^= 2;... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-3898/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/1/input.js | JavaScript | function foo() {
bar;
function bar() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/1/output.amd.js | JavaScript | define([
"require"
], function(require) {
"use strict";
function foo() {
bar;
function bar() {}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/1/output.cjs | JavaScript | "use strict";
function foo() {
bar;
function bar() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory();
else if (typeof define === "function" && define.amd) define([], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory();
})(this, function() {
"use... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/2/input.js | JavaScript | function foo() {
bar;
function bar() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/2/output.amd.js | JavaScript | define([
"require"
], function(require) {
"use strict";
function foo() {
bar;
function bar() {}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/2/output.cjs | JavaScript | "use strict";
function foo() {
bar;
function bar() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-396/2/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory();
else if (typeof define === "function" && define.amd) define([], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory();
})(this, function() {
"use... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4064/input.js | JavaScript | export * from "./File1";
export * from "./File2";
export const BIZ = "biz";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4064/output.amd.js | JavaScript | define([
"require",
"exports",
"./File1",
"./File2"
], function(require, exports, _File1, _File2) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "BIZ", {
enumerable: true,
get: function() {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4064/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "BIZ", {
enumerable: true,
get: function() {
return BIZ;
}
});
_export_star(require("./File1"), exports);
_export_star(require("./File2"), exports);
const BIZ = "biz";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4064/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("./File1"), require("./File2"));
else if (typeof define === "function" && define.amd) define([
"exports",
"./File1",
"./File2"
], factory);
else if (global ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4253/input.js | JavaScript | let pipeline = await import(await resolve(file));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4253/output.amd.js | JavaScript | define([
"require"
], function(require) {
"use strict";
let pipeline = await new Promise((resolve1, reject)=>require([
await resolve(file)
], (m)=>resolve1(/*#__PURE__*/ _interop_require_wildcard(m)), reject));
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4253/output.cjs | JavaScript | "use strict";
let pipeline = await Promise.resolve(await resolve(file)).then((p)=>/*#__PURE__*/ _interop_require_wildcard(require(p)));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4253/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory();
else if (typeof define === "function" && define.amd) define([], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory();
})(this, function() {
"use... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4313/1/input.js | JavaScript | export default {
foo: "bar",
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4313/1/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;
}
});
co... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4313/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _default = {
foo: "bar"
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4313/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4456/1/input.ts | TypeScript | import ".";
import emotionStyled from "@emotion/styled";
import { breakpoinstUtils } from "@eduzz/houston-tokens/variables/breakpoints";
export { cx, cx as clsx, keyframes } from "@emotion/css";
export interface IStyledProp {
className?: string;
}
export const breakpoints = breakpoinstUtils;
const styled = em... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4456/1/output.amd.ts | TypeScript | define([
"require",
"exports",
".",
"@emotion/styled",
"@eduzz/houston-tokens/variables/breakpoints",
"@emotion/css"
], function(require, exports, _, _styled, _breakpoints, _css) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _expo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4456/1/output.umd.ts | TypeScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("."), require("@emotion/styled"), require("@eduzz/houston-tokens/variables/breakpoints"), require("@emotion/css"));
else if (typeof define === "function" && define.amd) define([
"e... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4534/1/input.js | JavaScript | import * as A from "./A";
import * as B from "./A";
export { A, B };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4534/1/output.amd.js | JavaScript | define([
"require",
"exports",
"./A"
], function(require, exports, _A) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4534/1/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, {
A: function() {
return _A;
},
B: function() {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4534/1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("./A"));
else if (typeof define === "function" && define.amd) define([
"exports",
"./A"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/1/input.js | JavaScript | import { join as e } from "path";
export const foo = function () {
function e(t) {}
return A(e, {}), e;
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/1/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
const foo = function() {
function e(t) {}
return A(e, {}), e;
}();
});... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
const foo = function() {
function e(t) {}
return A(e, {}), e;
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/2/input.js | JavaScript | import { join as e } from "path";
export const foo = function () {
var e = 1;
return A(e, {}), e;
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/2/output.amd.js | JavaScript | define([
"require",
"exports"
], function(require, exports) {
"use strict";
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
const foo = function() {
var e = 1;
return A(e, {}), e;
}();
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/2/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "foo", {
enumerable: true,
get: function() {
return foo;
}
});
const foo = function() {
var e = 1;
return A(e, {}), e;
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-456/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4567/1/input.js | JavaScript | const Base = getBase("");
export default class Foo extends Base {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4567/1/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;
}
});
const B... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4567/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return Foo;
}
});
const Base = getBase("");
class Foo extends Base {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4567/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(glo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4700/1/input.js | JavaScript | export * from "another-module";
export function whatever(notExportName) {
const shouldNotBeExportNameAsWell = 123;
return shouldNotBeExportNameAsWell + notExportName;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4700/1/output.amd.js | JavaScript | define([
"require",
"exports",
"another-module"
], function(require, exports, _anothermodule) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "whatever", {
enumerable: true,
get: function() {
re... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4700/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "whatever", {
enumerable: true,
get: function() {
return whatever;
}
});
_export_star(require("another-module"), exports);
function whatever(notExportName) {
const shouldNotBeExportNam... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4700/1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("another-module"));
else if (typeof define === "function" && define.amd) define([
"exports",
"another-module"
], factory);
else if (global = typeof globalThis !== "... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4718/1/input.js | JavaScript | function fff() {
require.toUrl("");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4718/1/output.amd.js | JavaScript | define([
"require"
], function(require) {
"use strict";
function fff() {
require.toUrl("");
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4718/1/output.cjs | JavaScript | "use strict";
function fff() {
require.toUrl("");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4718/1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory();
else if (typeof define === "function" && define.amd) define([], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory();
})(this, function() {
"use... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4798/1/input.js | JavaScript | import { getPathFromAmdModule } from "vs/base/test/node/testUtils";
const fixturesFolder = getPathFromAmdModule(require, "./fixtures");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4798/1/output.amd.js | JavaScript | define([
"require",
"exports",
"vs/base/test/node/testUtils"
], function(require, exports, _testUtils) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const fixturesFolder = (0, _testUtils.getPathFromAmdModule)(require, "./fixtures");
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4798/1/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const _testUtils = require("vs/base/test/node/testUtils");
const fixturesFolder = (0, _testUtils.getPathFromAmdModule)(require, "./fixtures");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4798/1/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("vs/base/test/node/testUtils"));
else if (typeof define === "function" && define.amd) define([
"exports",
"vs/base/test/node/testUtils"
], factory);
else if (global... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4799/input.js | JavaScript | export { createP } from "./St";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4799/output.amd.js | JavaScript | define([
"require",
"exports",
"./St"
], function(require, exports, _St) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "createP", {
enumerable: true,
get: function() {
return _St.createP;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4799/output.cjs | JavaScript | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "createP", {
enumerable: true,
get: function() {
return _St.createP;
}
});
const _St = require("./St");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4799/output.umd.js | JavaScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("./St"));
else if (typeof define === "function" && define.amd) define([
"exports",
"./St"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalT... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4864/input.ts | TypeScript | import { SI as SI_IMPORTED } from "./path/to/SS";
import { S_E_T as SSET } from "./path/to/ST";
export const SETs = {
[SSET]: SSET as typeof SSET,
};
export const SI = {
[SETs[SSET]]: SI_IMPORTED,
};
export { S_E_R_T as SSERT } from "./path/to/ST";
export { ILIAN, IWI, SM, VP } from "./path/to/ST";
export... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4864/output.amd.ts | TypeScript | define([
"require",
"exports",
"./path/to/SS",
"./path/to/ST",
"./path/to/SC",
"./path/to/S",
"./path/to/PTUs",
"./path/to/SDUs"
], function(require, exports, _SS, _ST, _SC, _S, _PTUs, _SDUs) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
}... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4864/output.umd.ts | TypeScript | (function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") factory(exports, require("./path/to/SS"), require("./path/to/ST"), require("./path/to/SC"), require("./path/to/S"), require("./path/to/PTUs"), require("./path/to/SDUs"));
else if (typeof define === "function" && d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_module/tests/fixture/common/issue-4866/1/input.js | JavaScript | export let a, b;
console.log([a, b] = [1, 2]);
| 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.