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_bundler/tests/fixture/deno-9591/output/entry.inlined.ts | TypeScript | class DenoStdInternalError extends Error {
constructor(message){
super(message);
this.name = "DenoStdInternalError";
}
}
function assert(expr, msg = "") {
if (!expr) {
throw new DenoStdInternalError(msg);
}
}
function get(obj, key) {
if (Object.prototype.hasOwnProperty.call(o... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9591/output/entry.ts | TypeScript | class DenoStdInternalError extends Error {
constructor(message){
super(message);
this.name = "DenoStdInternalError";
}
}
function assert(expr, msg = "") {
if (!expr) {
throw new DenoStdInternalError(msg);
}
}
function get(obj, key) {
if (Object.prototype.hasOwnProperty.call(o... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9620/case1/input/entry.ts | TypeScript | import { MultipartReader } from "https://deno.land/std@0.88.0/mime/multipart.ts";
import { StringReader } from "https://deno.land/std@0.88.0/io/readers.ts";
// carriage returns added for running on POSIX, not needed if on windows
const content = `--------------------------366796e1c748a2fb\r
Content-Disposition: form-d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9620/case1/output/entry.inlined.ts | TypeScript | function indexOf(source, pat, start = 0) {
if (start >= source.length) {
return -1;
}
if (start < 0) {
start = 0;
}
const s = pat[0];
for(let i = start; i < source.length; i++){
if (source[i] !== s) continue;
const pin = i;
let matched = 1;
let j =... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9620/case1/output/entry.ts | TypeScript | function indexOf(source, pat, start = 0) {
if (start >= source.length) {
return -1;
}
if (start < 0) {
start = 0;
}
const s = pat[0];
for(let i = start; i < source.length; i++){
if (source[i] !== s) continue;
const pin = i;
let matched = 1;
let j =... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9620/case2/input/entry.ts | TypeScript | // carriage returns added for running on POSIX, not needed if on windows
export const content = `--------------------------366796e1c748a2fb\r
Content-Disposition: form-data; name="payload"\r
Content-Type: text/plain\r
\r
CONTENT\r
--------------------------366796e1c748a2fb--`;
export const boundary = "----------------... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9620/case2/output/entry.inlined.ts | TypeScript | const content = `--------------------------366796e1c748a2fb\r
Content-Disposition: form-data; name="payload"\r
Content-Type: text/plain\r
\r
CONTENT\r
--------------------------366796e1c748a2fb--`;
const boundary = "------------------------366796e1c748a2fb";
export { content as content };
export { boundary as boundary ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9620/case2/output/entry.ts | TypeScript | const content = `--------------------------366796e1c748a2fb\r
Content-Disposition: form-data; name="payload"\r
Content-Type: text/plain\r
\r
CONTENT\r
--------------------------366796e1c748a2fb--`;
const boundary = "------------------------366796e1c748a2fb";
export { content as content };
export { boundary as boundary ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9868/case1/input/entry.ts | TypeScript | import { foo } from "./temp2.ts";
console.log({
foo,
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9868/case1/input/temp2.ts | TypeScript | const bar = 1;
export { bar as foo };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9868/case1/output/entry.inlined.ts | TypeScript | console.log({
foo: 1
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/deno-9868/case1/output/entry.ts | TypeScript | const bar = 1;
console.log({
foo: bar
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/dynamic/input/dep.ts | TypeScript | console.log("Foo");
export const a = 5;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/dynamic/input/entry.ts | TypeScript | const a = import("./dep");
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/dynamic/output/entry.inlined.ts | TypeScript | const a = import("./dep");
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/dynamic/output/entry.ts | TypeScript | const a = import("./dep");
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case1/input/deps.ts | TypeScript | export default null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case1/input/entry.ts | TypeScript | export * from "./deps";
export { default } from "./deps";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case1/output/entry.inlined.ts | TypeScript | const __default = null;
export { __default as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case1/output/entry.ts | TypeScript | const __default = null;
export { __default as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case2/input/deps.ts | TypeScript | export * from "./lib1";
export default null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case2/input/entry.ts | TypeScript | export * from "./deps";
export { default } from "./deps";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case2/input/lib1.ts | TypeScript | export default null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case2/output/entry.inlined.ts | TypeScript | const __default = null;
export { __default as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case2/output/entry.ts | TypeScript | const __default = null;
export { __default as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case3/input/deps.ts | TypeScript | export * from "./lib1";
export * from "./lib2";
export default null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case3/input/entry.ts | TypeScript | export * from "./deps";
export { default } from "./deps";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case3/input/lib1.ts | TypeScript | export default null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case3/input/lib2.ts | TypeScript | export default null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case3/output/entry.inlined.ts | TypeScript | const __default = null;
export { __default as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/export-default-star/case3/output/entry.ts | TypeScript | const __default = null;
export { __default as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/external-require/input/entry.ts | TypeScript | var f = require("fs");
console.log(f);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/external-require/output/entry.inlined.ts | TypeScript | var f = require("fs");
console.log(f);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/external-require/output/entry.ts | TypeScript | var f = require("fs");
console.log(f);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/2/input/entry.ts | TypeScript | import { a as defaultA, O } from "./m.ts";
export { O } from "./m.ts";
interface AOptions {
a?(): void;
c?: O;
}
class A {
#a: () => void;
#c?: O;
constructor(o: AOptions = {}) {
const { a = defaultA, c } = o;
this.#a = a;
this.#c = c;
}
a() {
this.#a();
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/2/input/m.ts | TypeScript | export { a } from "./n.ts";
export { O } from "./o.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/2/input/n.ts | TypeScript | export function a() {
console.log("a");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/2/input/o.ts | TypeScript | export enum O {
A,
B,
C,
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/2/output/entry.inlined.ts | TypeScript | function a() {
console.log("a");
}
var O = /*#__PURE__*/ function(O) {
O[O["A"] = 0] = "A";
O[O["B"] = 1] = "B";
O[O["C"] = 2] = "C";
return O;
}({});
export { O as O };
class A {
#a;
#c;
constructor(o = {}){
const { a: a1 = a, c } = o;
this.#a = a1;
this.#c = c;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/2/output/entry.ts | TypeScript | function a() {
console.log("a");
}
var O = /*#__PURE__*/ function(O) {
O[O["A"] = 0] = "A";
O[O["B"] = 1] = "B";
O[O["C"] = 2] = "C";
return O;
}({});
export { O as O };
class A {
#a;
#c;
constructor(o = {}){
const { a: a1 = a, c } = o;
this.#a = a1;
this.#c = c;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/input/entry.ts | TypeScript | import { a as defaultA, O } from "./m.ts";
export { O } from "./m.ts";
interface AOptions {
a?(): void;
c?: O;
}
class A {
#a: () => void;
#c?: O;
constructor(o: AOptions = {}) {
const { a = defaultA, c } = o;
this.#a = a;
this.#c = c;
}
a() {
this.#a();
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/input/m.ts | TypeScript | export { a } from "./n.ts";
export { O } from "./o.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/input/n.ts | TypeScript | export function a() {
console.log("a");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/input/o.ts | TypeScript | export enum O {
A,
B,
C,
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/output/entry.inlined.ts | TypeScript | function a() {
console.log("a");
}
var O = /*#__PURE__*/ function(O) {
O[O["A"] = 0] = "A";
O[O["B"] = 1] = "B";
O[O["C"] = 2] = "C";
return O;
}({});
export { O as O };
class A {
#a;
#c;
constructor(o = {}){
const { a: a1 = a, c } = o;
this.#a = a1;
this.#c = c;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1150/output/entry.ts | TypeScript | function a() {
console.log("a");
}
var O = /*#__PURE__*/ function(O) {
O[O["A"] = 0] = "A";
O[O["B"] = 1] = "B";
O[O["C"] = 2] = "C";
return O;
}({});
export { O as O };
class A {
#a;
#c;
constructor(o = {}){
const { a: a1 = a, c } = o;
this.#a = a1;
this.#c = c;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/1-fn/input/entry.ts | TypeScript | import { a } from "./p.ts";
function b() {
a();
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/1-fn/input/i.ts | TypeScript | export function a() {
console.log("a");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/1-fn/input/p.ts | TypeScript | export * from "./i.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/1-fn/output/entry.inlined.ts | TypeScript | function a() {
console.log("a");
}
function b() {
a();
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/1-fn/output/entry.ts | TypeScript | function a() {
console.log("a");
}
function b() {
a();
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/2-var/input/entry.ts | TypeScript | import { a } from "./p.ts";
function b() {
return a;
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/2-var/input/i.ts | TypeScript | export const a = "a";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/2-var/input/p.ts | TypeScript | export * from "./i.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/2-var/output/entry.inlined.ts | TypeScript | const a = "a";
function b() {
return a;
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/2-var/output/entry.ts | TypeScript | const a = "a";
function b() {
return a;
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/3-class/input/entry.ts | TypeScript | import { a } from "./p.ts";
function b() {
return new a();
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/3-class/input/i.ts | TypeScript | export class a {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/3-class/input/p.ts | TypeScript | export * from "./i.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/3-class/output/entry.inlined.ts | TypeScript | class a {
}
function b() {
return new a();
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1155/3-class/output/entry.ts | TypeScript | class a {
}
function b() {
return new a();
}
b();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/1/input/entry.ts | TypeScript | import { d, D } from "./q.ts";
class A {
private s: D = d();
a() {
this.s.resolve();
}
b() {
this.s = d();
}
}
new A();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/1/input/q.ts | TypeScript | export interface D {
resolve: any;
reject: any;
}
export function d(): D {
let methods;
const promise = new Promise((resolve, reject) => {
methods = { resolve, reject };
});
return Object.assign(promise, methods);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/1/output/entry.inlined.ts | TypeScript | function d() {
let methods;
const promise = new Promise((resolve, reject)=>{
methods = {
resolve,
reject
};
});
return Object.assign(promise, methods);
}
class A {
s = d();
a() {
this.s.resolve();
}
b() {
this.s = d();
}
}
new A... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/1/output/entry.ts | TypeScript | function d() {
let methods;
const promise = new Promise((resolve, reject)=>{
methods = {
resolve,
reject
};
});
return Object.assign(promise, methods);
}
class A {
s = d();
a() {
this.s.resolve();
}
b() {
this.s = d();
}
}
new A... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/2/input/entry.ts | TypeScript | import { d, D } from "./q.ts";
class A {
private s: D = d();
a() {
this.s.resolve();
}
}
new A();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/2/input/q.ts | TypeScript | export interface D {
resolve: any;
reject: any;
}
export function d(): D {
let methods;
const promise = new Promise((resolve, reject) => {
methods = { resolve, reject };
});
return Object.assign(promise, methods);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/2/output/entry.inlined.ts | TypeScript | function d() {
let methods;
const promise = new Promise((resolve, reject)=>{
methods = {
resolve,
reject
};
});
return Object.assign(promise, methods);
}
class A {
s = d();
a() {
this.s.resolve();
}
}
new A();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-1156/2/output/entry.ts | TypeScript | function d() {
let methods;
const promise = new Promise((resolve, reject)=>{
methods = {
resolve,
reject
};
});
return Object.assign(promise, methods);
}
class A {
s = d();
a() {
this.s.resolve();
}
}
new A();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/named-export/input/entry.ts | TypeScript | import { memoize } from "./util";
// Import directly from `lodash` instead and the module code is
// included in the bundle
//import {memoize} from './lodash';
const name = memoize();
console.log(name);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/named-export/input/lodash.ts | TypeScript | // This is a minimal reproduction from lodash@4.17.21
function lodash(value) {
console.log("lodash");
}
function memoize() {
console.log("memoize");
}
lodash.memoize = memoize;
// Either of these lines cause this module
// not to be included in the bundle. Member expression
// on `module` or `exports`.
modu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/named-export/input/util.ts | TypeScript | // This indirection is necessary to reproduce the issue
export { memoize } from "./lodash";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/named-export/output/entry.inlined.ts | TypeScript | function __swcpack_require__(mod) {
function interop(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/named-export/output/entry.ts | TypeScript | function __swcpack_require__(mod) {
function interop(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/namespace-export/input/entry.ts | TypeScript | import { util } from "./util";
// Import directly from `lodash` instead and the module code is
// included in the bundle
//import {memoize} from './lodash';
const name = util.memoize();
console.log(name);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/namespace-export/input/lodash.ts | TypeScript | // This is a minimal reproduction from lodash@4.17.21
function lodash(value) {
console.log("lodash");
}
function memoize() {
console.log("memoize");
}
lodash.memoize = memoize;
// Either of these lines cause this module
// not to be included in the bundle. Member expression
// on `module` or `exports`.
modu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/namespace-export/input/util.ts | TypeScript | // This indirection is necessary to reproduce the issue
export * as util from "./lodash";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/namespace-export/output/entry.inlined.ts | TypeScript | function __swcpack_require__(mod) {
function interop(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2124/namespace-export/output/entry.ts | TypeScript | function __swcpack_require__(mod) {
function interop(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for(var key in obj){
if (Object.prototype.hasOwnProperty.call(obj, key)) {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2434/1/input/entry.ts | TypeScript | import * as test from "./mod2";
for (var i = 0; i < 10; i++) {
var property = "test";
console.log(property);
}
console.log(test.property(1, 2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2434/1/input/mod2.ts | TypeScript | export function property(a, b) {
return a + b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2434/1/output/entry.inlined.ts | TypeScript | function property(a, b) {
return a + b;
}
for(var i = 0; i < 10; i++){
var property1 = "test";
console.log(property1);
}
console.log(property(1, 2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-2434/1/output/entry.ts | TypeScript | function property(a, b) {
return a + b;
}
for(var i = 0; i < 10; i++){
var property1 = "test";
console.log(property1);
}
console.log(property(1, 2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case1/input/entry.ts | TypeScript | import { two } from "./two.js";
two();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case1/input/two.ts | TypeScript | export function two() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case1/output/entry.inlined.ts | TypeScript | function two() {}
two();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case1/output/entry.ts | TypeScript | function two() {}
two();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case2/input/entry.ts | TypeScript | import { result } from "./foo.js";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case2/input/foo.js.ts | TypeScript | export const result = "foo.js.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case2/input/foo.ts | TypeScript | export const result = "foo.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case2/output/entry.inlined.ts | TypeScript | const result = "foo.js.ts";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case2/output/entry.ts | TypeScript | const result = "foo.js.ts";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case3/input/entry.ts | TypeScript | import { result } from "./foo.mjs";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case3/input/foo.mts | TypeScript | export const result = "foo.mts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case3/input/foo.ts | TypeScript | export const result = "foo.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case3/output/entry.inlined.ts | TypeScript | const result = "foo.mts";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-3043/case3/output/entry.ts | TypeScript | const result = "foo.mts";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-5642/input/deps.ts | TypeScript | await Promise.resolve(true);
export * from "./lib1";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-5642/input/entry.ts | TypeScript | import * as lib from "./deps";
console.log(lib);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/fixture/issue-5642/input/lib1.ts | TypeScript | export const starExport = 1;
| 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.