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" ? globalThis : global || self) factory(global.input = {}, global.bar);
})(this, function(exports, _bar) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
import(`world/${(0, _bar.foo)(baz)}.js`);
});
| 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;
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.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(global.input = {});
})(this, function(exports) {
"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/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[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
bar2: function() {
return bar;
},
default: function() {
return _default;
},
foo: function() {
return foo;
},
foo1: function() {
return foo;
}
});
const foo = 1;
let bar = 2;
const _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.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() {
return bar;
},
default: function() {
return _default;
},
foo: function() {
return foo;
},
foo1: function() {
return foo;
}
});
const foo = 1;
let bar = 2;
const _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.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;
},
bar2: function() {
return bar;
},
default: function() {
return _default;
},
foo: function() {
return foo;
},
foo1: function() {
return foo;
}
});
const foo = 1;
let bar = 2;
const _default = bar;
bar = 3;
});
| 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[name]
});
}
_export(exports, {
bar: function() {
return bar;
},
bar2: function() {
return bar;
},
default: function() {
return bar;
},
foo: function() {
return foo;
},
foo1: function() {
return foo;
}
});
const foo = 1;
let bar = 2;
bar = 3;
});
| 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() {
return bar;
},
default: function() {
return bar;
},
foo: function() {
return foo;
},
foo1: function() {
return foo;
}
});
const foo = 1;
let bar = 2;
bar = 3;
| 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(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;
},
bar2: function() {
return bar;
},
default: function() {
return bar;
},
foo: function() {
return foo;
},
foo1: function() {
return foo;
}
});
const foo = 1;
let bar = 2;
bar = 3;
});
| 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[name]
});
}
_export(exports, {
bar: function() {
return foo;
},
default: function() {
return foo;
}
});
foo = 1;
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.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: function() {
return foo;
}
});
foo = 1;
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.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 foo;
},
default: function() {
return foo;
}
});
foo = 1;
function foo() {}
foo = 2;
});
| 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[name]
});
}
_export(exports, {
bar: function() {
return foo;
},
default: function() {
return foo;
}
});
foo = 1;
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.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: function() {
return foo;
}
});
foo = 1;
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.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 foo;
},
default: function() {
return foo;
}
});
foo = 1;
class foo {
}
foo = 2;
});
| 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[name]
});
}
_export(exports, {
default: function() {
return _default;
},
input: function() {
return input;
}
});
function input(name) {
return `${name}.md?render`;
}
function _default({ 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.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: function() {
return input;
}
});
function input(name) {
return `${name}.md?render`;
}
function _default({ 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.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, {
default: function() {
return _default;
},
input: function() {
return input;
}
});
function input(name) {
return `${name}.md?render`;
}
function _default({ 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-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, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
byID: function() {
return byID;
},
get: function() {
return _get;
}
});
_get = /*#__PURE__*/ _interop_require_wildcard(_get);
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.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;
},
get: function() {
return _get;
}
});
const _get = /*#__PURE__*/ _interop_require_wildcard(require("./get"));
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.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 !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.get);
})(this, function(exports, _get) {
"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;
},
get: function() {
return _get;
}
});
_get = /*#__PURE__*/ _interop_require_wildcard(_get);
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-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" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(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/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" ? globalThis : global || self) factory(global.input = {}, global.foo);
})(this, function(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-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;
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.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;
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.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;
}
});
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-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 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/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 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-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() {
return BIZ;
}
});
_export_star(_File1, exports);
_export_star(_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.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 = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.file1, global.file2);
})(this, function(exports, _File1, _File2) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "BIZ", {
enumerable: true,
get: function() {
return BIZ;
}
});
_export_star(_File1, exports);
_export_star(_File2, exports);
const BIZ = "biz";
});
| 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 strict";
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-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;
}
});
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.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(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: "bar"
};
});
| 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 = emotionStyled;
export default styled;
| 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 _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
breakpoints: function() {
return breakpoints;
},
clsx: function() {
return _css.cx;
},
cx: function() {
return _css.cx;
},
default: function() {
return _default;
},
keyframes: function() {
return _css.keyframes;
}
});
_styled = /*#__PURE__*/ _interop_require_default(_styled);
const breakpoints = _breakpoints.breakpoinstUtils;
const styled = _styled.default;
const _default = styled;
});
| 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([
"exports",
".",
"@emotion/styled",
"@eduzz/houston-tokens/variables/breakpoints",
"@emotion/css"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global[""], global.styled, global.breakpoints, global.css);
})(this, function(exports, _, _styled, _breakpoints, _css) {
"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, {
breakpoints: function() {
return breakpoints;
},
clsx: function() {
return _css.cx;
},
cx: function() {
return _css.cx;
},
default: function() {
return _default;
},
keyframes: function() {
return _css.keyframes;
}
});
_styled = /*#__PURE__*/ _interop_require_default(_styled);
const breakpoints = _breakpoints.breakpoinstUtils;
const styled = _styled.default;
const _default = styled;
});
| 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,
get: all[name]
});
}
_export(exports, {
A: function() {
return _A;
},
B: function() {
return _A;
}
});
_A = /*#__PURE__*/ _interop_require_wildcard(_A);
});
| 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() {
return _A;
}
});
const _A = /*#__PURE__*/ _interop_require_wildcard(require("./A"));
| 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" ? globalThis : global || self) factory(global.input = {}, global.a);
})(this, function(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,
get: all[name]
});
}
_export(exports, {
A: function() {
return _A;
},
B: function() {
return _A;
}
});
_A = /*#__PURE__*/ _interop_require_wildcard(_A);
});
| 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(global.input = {});
})(this, function(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/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(global.input = {});
})(this, function(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-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 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.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(global.input = {});
})(this, function(exports) {
"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-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() {
return whatever;
}
});
_export_star(_anothermodule, exports);
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.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 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.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 !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.anotherModule);
})(this, function(exports, _anothermodule) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "whatever", {
enumerable: true,
get: function() {
return whatever;
}
});
_export_star(_anothermodule, exports);
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-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 strict";
function fff() {
require.toUrl("");
}
});
| 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 = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.testUtils);
})(this, function(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-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" ? globalThis : global || self) factory(global.input = {}, global.st);
})(this, function(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-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 { SC } from "./path/to/SC";
export { cSEP, iCSEPFT, SASC } from "./path/to/S";
import { cSP } from "./path/to/S";
const iCSP = async () => {
return Promise.resolve(cSP);
};
p.eE({
i: "s",
eP: "s.o.sEP",
d: 0,
f: iCSP,
});
import { gTFNDP, gTFPP, C as pC, vT } from "./path/to/PTUs";
import { cDC, cIRTI, CPC, D_C_E, rCW, SDC, TS, WL } from "./path/to/SDUs";
export const us = {
e: {
p: {
gTFNDP,
gTFPP,
vT,
},
},
ds: {
D_C_E,
cDC,
cIRTI,
CPC,
rCW,
SDC,
WL,
TS,
},
};
export const C = {
...pC,
};
| 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
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
C: function() {
return C;
},
ILIAN: function() {
return _ST.ILIAN;
},
IWI: function() {
return _ST.IWI;
},
SASC: function() {
return _S.SASC;
},
SC: function() {
return _SC.SC;
},
SETs: function() {
return SETs;
},
SI: function() {
return SI;
},
SM: function() {
return _ST.SM;
},
SSERT: function() {
return _ST.S_E_R_T;
},
VP: function() {
return _ST.VP;
},
cSEP: function() {
return _S.cSEP;
},
iCSEPFT: function() {
return _S.iCSEPFT;
},
us: function() {
return us;
}
});
const SETs = {
[_ST.S_E_T]: _ST.S_E_T
};
const SI = {
[SETs[_ST.S_E_T]]: _SS.SI
};
const iCSP = async ()=>{
return Promise.resolve(_S.cSP);
};
p.eE({
i: "s",
eP: "s.o.sEP",
d: 0,
f: iCSP
});
const us = {
e: {
p: {
gTFNDP: _PTUs.gTFNDP,
gTFPP: _PTUs.gTFPP,
vT: _PTUs.vT
}
},
ds: {
D_C_E: _SDUs.D_C_E,
cDC: _SDUs.cDC,
cIRTI: _SDUs.cIRTI,
CPC: _SDUs.CPC,
rCW: _SDUs.rCW,
SDC: _SDUs.SDC,
WL: _SDUs.WL,
TS: _SDUs.TS
}
};
const C = {
..._PTUs.C
};
});
| 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" && define.amd) define([
"exports",
"./path/to/SS",
"./path/to/ST",
"./path/to/SC",
"./path/to/S",
"./path/to/PTUs",
"./path/to/SDUs"
], factory);
else if (global = typeof globalThis !== "undefined" ? globalThis : global || self) factory(global.input = {}, global.ss, global.st, global.sc, global.s, global.ptus, global.sdus);
})(this, function(exports, _SS, _ST, _SC, _S, _PTUs, _SDUs) {
"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, {
C: function() {
return C;
},
ILIAN: function() {
return _ST.ILIAN;
},
IWI: function() {
return _ST.IWI;
},
SASC: function() {
return _S.SASC;
},
SC: function() {
return _SC.SC;
},
SETs: function() {
return SETs;
},
SI: function() {
return SI;
},
SM: function() {
return _ST.SM;
},
SSERT: function() {
return _ST.S_E_R_T;
},
VP: function() {
return _ST.VP;
},
cSEP: function() {
return _S.cSEP;
},
iCSEPFT: function() {
return _S.iCSEPFT;
},
us: function() {
return us;
}
});
const SETs = {
[_ST.S_E_T]: _ST.S_E_T
};
const SI = {
[SETs[_ST.S_E_T]]: _SS.SI
};
const iCSP = async ()=>{
return Promise.resolve(_S.cSP);
};
p.eE({
i: "s",
eP: "s.o.sEP",
d: 0,
f: iCSP
});
const us = {
e: {
p: {
gTFNDP: _PTUs.gTFNDP,
gTFPP: _PTUs.gTFPP,
vT: _PTUs.vT
}
},
ds: {
D_C_E: _SDUs.D_C_E,
cDC: _SDUs.cDC,
cIRTI: _SDUs.cIRTI,
CPC: _SDUs.CPC,
rCW: _SDUs.rCW,
SDC: _SDUs.SDC,
WL: _SDUs.WL,
TS: _SDUs.TS
}
};
const C = {
..._PTUs.C
};
});
| 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.