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-10820/case1/input/router.ts
TypeScript
import page1 from "./page1.ts"; import page2 from "./page2.ts"; export default function router() { page1(); page2(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10820/case1/output/entry.inlined.ts
TypeScript
const dbPool = 1; function d() { 1; } async function fn() { d(); } async function fn1() { d(); } function router() { fn(); fn1(); } router(); export { dbPool as dbPool };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10820/case1/output/entry.ts
TypeScript
const dbPool = 1; function d() { dbPool; } async function fn() { d(); } async function fn1() { d(); } function router() { fn(); fn1(); } router(); export { dbPool as dbPool };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-1/input/a.ts
TypeScript
export class A {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-1/input/entry.ts
TypeScript
export * as foo from "./a";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-1/output/entry.inlined.ts
TypeScript
class A { } const mod = { A: A }; export { mod as foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-1/output/entry.ts
TypeScript
class A { } const mod = { A: A }; export { mod as foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-2/input/a.ts
TypeScript
export async function foo() {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-2/input/entry.ts
TypeScript
export * as foo from "./a";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-2/output/entry.inlined.ts
TypeScript
async function foo() {} const mod = { foo: foo }; export { mod as foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-2/output/entry.ts
TypeScript
async function foo() {} const mod = { foo: foo }; export { mod as foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-3/input/a.ts
TypeScript
export const [a, b, c] = [1, 2, 3];
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-3/input/entry.ts
TypeScript
export * as foo from "./a";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-3/output/entry.inlined.ts
TypeScript
const [a, b, c] = [ 1, 2, 3 ]; const mod = { a: a, b: b, c: c }; export { mod as foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-3/output/entry.ts
TypeScript
const [a, b, c] = [ 1, 2, 3 ]; const mod = { a: a, b: b, c: c }; export { mod as foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-4/input/bar.ts
TypeScript
export default { hello: "world", };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-4/input/entry.ts
TypeScript
import foo from "./foo"; import foo1 from "./foo1"; console.log(foo); console.log(foo1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-4/input/foo.ts
TypeScript
export * as bar from "./bar"; export const d = "d"; export default { a: "a", b: "b", c: "c", };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-4/input/foo1.ts
TypeScript
export * as bar from "./bar"; export const d = "d1"; export default { a: "a1", b: "b1", c: "c1", };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-4/output/entry.inlined.ts
TypeScript
const __default = { a: "a", b: "b", c: "c" }; const __default1 = { a: "a1", b: "b1", c: "c1" }; console.log(__default); console.log(__default1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8148/test-4/output/entry.ts
TypeScript
const __default = { a: "a", b: "b", c: "c" }; const __default1 = { a: "a1", b: "b1", c: "c1" }; console.log(__default); console.log(__default1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/input/a.ts
TypeScript
export const a = 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/input/b.ts
TypeScript
import { a } from "./a"; export const b = a + 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/input/c.ts
TypeScript
import { a } from "./a"; export const c = a + 2;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/input/entry.ts
TypeScript
import { a, b, c } from "./lib"; console.log(a, b, c);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/input/lib.ts
TypeScript
export * from "./a"; export * from "./b"; export * from "./c";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/output/entry.inlined.ts
TypeScript
const b = 1 + 1; const c = 1 + 2; console.log(1, b, c);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/1/output/entry.ts
TypeScript
const a = 1; const b = a + 1; const c = a + 2; console.log(a, b, c);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/a.ts
TypeScript
export const a = 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/b.ts
TypeScript
import { a } from "./a"; export const b = a + 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/c.ts
TypeScript
import { a } from "./a"; export const c = a + 2;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/entry.ts
TypeScript
import { a, b, c } from "./lib"; import { user1 } from "./user1"; import { user2 } from "./user2"; console.log(a, b, c); console.log(user1, user2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/lib.ts
TypeScript
export * from "./a"; export * from "./b"; export * from "./c";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/user1.ts
TypeScript
import { a } from "./a"; export const user1 = a + 1; console.log("user 1", user1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/input/user2.ts
TypeScript
import { a } from "./a"; import { b } from "./b"; import { user1 } from "./user1"; export const user2 = user1 + a + b; console.log("user 2", user2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/output/entry.inlined.ts
TypeScript
const b = 1 + 1; const c = 1 + 2; const user1 = 1 + 1; console.log("user 1", user1); const user2 = user1 + 1 + b; console.log("user 2", user2); console.log(1, b, c); console.log(user1, user2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/2/output/entry.ts
TypeScript
const a = 1; const b = a + 1; const c = a + 2; const user1 = a + 1; console.log("user 1", user1); const user2 = user1 + a + b; console.log("user 2", user2); console.log(a, b, c); console.log(user1, user2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/3/input/a.ts
TypeScript
export const a = 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/3/input/b.ts
TypeScript
export { a as b } from "./a";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/3/input/entry.ts
TypeScript
import { a, b } from "./lib"; console.log(a, b);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/3/input/lib.ts
TypeScript
export * from "./a"; export * from "./b";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/3/output/entry.inlined.ts
TypeScript
console.log(1, 1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8188/3/output/entry.ts
TypeScript
const a = 1; console.log(a, a);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/1/input/entry.ts
TypeScript
import FixedOffsetZone from "./fixedOffsetZone"; import Zone from "./zone"; export { Zone, FixedOffsetZone };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/1/input/fixedOffsetZone.ts
TypeScript
import Zone from "./zone"; export default class FixedOffsetZone extends Zone {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/1/input/zone.ts
TypeScript
export default class Zone {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/1/output/entry.inlined.ts
TypeScript
class Zone { } class FixedOffsetZone extends Zone { } export { Zone as Zone, FixedOffsetZone as FixedOffsetZone };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/1/output/entry.ts
TypeScript
class Zone { } class FixedOffsetZone extends Zone { } export { Zone as Zone, FixedOffsetZone as FixedOffsetZone };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/2/input/entry.ts
TypeScript
import Info from "./info"; import Zone from "./zone"; import FixedOffsetZone from "./fixedOffsetZone"; export { Zone, Info, FixedOffsetZone };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/2/input/fixedOffsetZone.ts
TypeScript
import Zone from "./zone"; export default class FixedOffsetZone extends Zone {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/2/input/info.ts
TypeScript
import FixedOffsetZone from "./fixedOffsetZone"; export default class Info { use() { console.log(FixedOffsetZone); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/2/input/zone.ts
TypeScript
export default class Zone {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/2/output/entry.inlined.ts
TypeScript
class Zone { } class FixedOffsetZone extends Zone { } class Info { use() { console.log(FixedOffsetZone); } } export { Zone as Zone, Info as Info, FixedOffsetZone as FixedOffsetZone };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/2/output/entry.ts
TypeScript
class Zone { } class FixedOffsetZone extends Zone { } class Info { use() { console.log(FixedOffsetZone); } } export { Zone as Zone, Info as Info, FixedOffsetZone as FixedOffsetZone };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/3/input/deps.ts
TypeScript
export * as luxon from "https://unpkg.com/luxon@1.25.0/src/luxon.js";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/3/input/entry.ts
TypeScript
import { luxon } from "./deps.ts"; const date = new Date(); const dt = luxon.DateTime.fromJSDate(date); console.log(dt.toISO());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/3/output/entry.inlined.ts
TypeScript
class LuxonError extends Error { } class InvalidDateTimeError extends LuxonError { constructor(reason){ super(`Invalid DateTime: ${reason.toMessage()}`); } } class InvalidIntervalError extends LuxonError { constructor(reason){ super(`Invalid Interval: ${reason.toMessage()}`); } } class I...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8211/3/output/entry.ts
TypeScript
class LuxonError extends Error { } class InvalidDateTimeError extends LuxonError { constructor(reason){ super(`Invalid DateTime: ${reason.toMessage()}`); } } class InvalidIntervalError extends LuxonError { constructor(reason){ super(`Invalid Interval: ${reason.toMessage()}`); } } class I...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case1/input/a.ts
TypeScript
import { showList } from "./b"; export const showValue = (v: number): string => { if (v === 0) { return showList([v]); } return `${v}`; }; console.log(showList([1, 2, 3]));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case1/input/b.ts
TypeScript
import { showValue } from "./a"; export const showList = (v: number[]): string => { return `[${v.map(showValue).join(", ")}]`; };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case1/input/entry.ts
TypeScript
export * from "./a";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case1/output/entry.inlined.ts
TypeScript
const showValue = (v)=>{ if (v === 0) { return showList([ v ]); } return `${v}`; }; const showList = (v)=>{ return `[${v.map(showValue).join(", ")}]`; }; console.log(showList([ 1, 2, 3 ])); export { showValue as showValue };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case1/output/entry.ts
TypeScript
const showValue = (v)=>{ if (v === 0) { return showList([ v ]); } return `${v}`; }; const showList = (v)=>{ return `[${v.map(showValue).join(", ")}]`; }; console.log(showList([ 1, 2, 3 ])); export { showValue as showValue };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case2/input/a.ts
TypeScript
import { showList } from "./b"; export const showValue = (v: number): string => { if (v === 0) { return showList([v]); } return `${v}`; }; console.log(showList([1, 2, 3]));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case2/input/b.ts
TypeScript
import { showValue } from "./a"; export const showList = (v: number[]): string => { return `[${v.map(showValue).join(", ")}]`; };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case2/input/entry.ts
TypeScript
import { showValue } from "./a"; import { showList } from "./b"; console.log(showValue, showList);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case2/output/entry.inlined.ts
TypeScript
const showValue = (v)=>{ if (v === 0) { return showList([ v ]); } return `${v}`; }; const showList = (v)=>{ return `[${v.map(showValue).join(", ")}]`; }; console.log(showList([ 1, 2, 3 ])); console.log(showValue, showList);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8224/case2/output/entry.ts
TypeScript
const showValue = (v)=>{ if (v === 0) { return showList([ v ]); } return `${v}`; }; const showList = (v)=>{ return `[${v.map(showValue).join(", ")}]`; }; console.log(showList([ 1, 2, 3 ])); console.log(showValue, showList);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/input/a.js
JavaScript
import { b } from "./b"; import { A } from "./lib"; console.log(b, A); export const a = 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/input/b.js
JavaScript
import { c } from "./c"; import { A } from "./lib"; console.log(c, A); export const b = 2;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/input/c.js
JavaScript
import { a } from "./a"; import { A } from "./lib"; console.log(a, A); export const c = 3;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/input/entry.js
JavaScript
import { a } from "./a"; console.log(a);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/input/lib.js
JavaScript
export class A {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/output/entry.inlined.js
JavaScript
class A { } console.log(2, A); console.log(1, A); console.log(3, A); console.log(1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8302/1/output/entry.js
JavaScript
class A { } const b = 2; console.log(b, A); const a = 1; console.log(a, A); const c = 3; console.log(c, A); console.log(a);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/1/input/entry.ts
TypeScript
export default function square(a) { return a * a; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/1/output/entry.inlined.ts
TypeScript
function square(a) { return a * a; } export { square as default };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/1/output/entry.ts
TypeScript
function square(a) { return a * a; } export { square as default };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/2/input/entry.ts
TypeScript
import entry from "./lib"; console.log(entry());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/2/input/lib.ts
TypeScript
export default function square(a) { return a * a; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/2/output/entry.inlined.ts
TypeScript
function square(a) { return a * a; } console.log(square());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8325/2/output/entry.ts
TypeScript
function square(a) { return a * a; } console.log(square());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8344/1/input/entry.ts
TypeScript
import { u } from "./v"; console.log(u("a"));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8344/1/input/u.js
JavaScript
function u(str) { return str; } export { u }; export default null; export const __esModule = true;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8344/1/input/v.js
JavaScript
export * from "./u"; export { default } from "./u";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8344/1/output/entry.inlined.ts
TypeScript
function u(str) { return str; } console.log(u("a"));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8344/1/output/entry.ts
TypeScript
function u(str) { return str; } console.log(u("a"));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8478/input/entry.ts
TypeScript
export namespace Bar { export function foo() { console.log("foo"); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8478/output/entry.inlined.ts
TypeScript
(function(Bar) { function foo() { console.log("foo"); } Bar.foo = foo; })(Bar || (Bar = {})); var Bar; export { Bar as Bar };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8478/output/entry.ts
TypeScript
(function(Bar) { function foo() { console.log("foo"); } Bar.foo = foo; })(Bar || (Bar = {})); var Bar; export { Bar as Bar };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8541/input/entry.ts
TypeScript
const React = { createElement: function (...args: any[]) { console.log(args); }, }; React.createElement("span", null, "\u{b7}");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8541/output/entry.inlined.ts
TypeScript
const React = { createElement: function(...args) { console.log(args); } }; React.createElement("span", null, "\u{b7}");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8541/output/entry.ts
TypeScript
const React = { createElement: function(...args) { console.log(args); } }; React.createElement("span", null, "\u{b7}");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8545/simplified-1/input/deps.ts
TypeScript
export class Application {} export class Router {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8545/simplified-1/input/entry.ts
TypeScript
import { Application, Router } from "./deps.ts"; const app = new Application(); const router = new Router(); router.get("/", (ctx) => { ctx.response.body = "Index Page"; }); router.get("/users", (ctx) => { ctx.response.body = "Users Page"; }); app.use(router.routes()); app.use(router.allowedMethods()); con...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8545/simplified-1/output/entry.inlined.ts
TypeScript
class Application { } class Router { } const app = new Application(); const router = new Router(); router.get("/", (ctx)=>{ ctx.response.body = "Index Page"; }); router.get("/users", (ctx)=>{ ctx.response.body = "Users Page"; }); app.use(router.routes()); app.use(router.allowedMethods()); console.log(`Now liste...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8545/simplified-1/output/entry.ts
TypeScript
class Application { } class Router { } const app = new Application(); const router = new Router(); router.get("/", (ctx)=>{ ctx.response.body = "Index Page"; }); router.get("/users", (ctx)=>{ ctx.response.body = "Users Page"; }); app.use(router.routes()); app.use(router.allowedMethods()); console.log(`Now liste...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8574/input/entry.ts
TypeScript
import { request } from "https://cdn.skypack.dev/@octokit/request"; const { data } = await request("GET /repos/{owner}/{repo}/license", { headers: { authorization: `token ${Deno.env.get("GITHUB_TOKEN")}`, }, owner: "denoland", repo: "deno", }); console.log(data.license.name);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8574/output/entry.inlined.ts
TypeScript
function isObject(o) { return Object.prototype.toString.call(o) === "[object Object]"; } function isPlainObject(o) { var ctor, prot; if (isObject(o) === false) return false; ctor = o.constructor; if (ctor === void 0) return true; prot = ctor.prototype; if (isObject(prot) === false) return fa...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-8574/output/entry.ts
TypeScript
function isObject(o) { return Object.prototype.toString.call(o) === "[object Object]"; } function isPlainObject(o) { var ctor, prot; if (isObject(o) === false) return false; ctor = o.constructor; if (ctor === void 0) return true; prot = ctor.prototype; if (isObject(prot) === false) return fa...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University