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/deno-exec/deno-9307/.case1/input/src/utils/oasPathParamsToColonParams.ts
TypeScript
import { R } from "../../deps.ts"; /** * Converts OpenAPI URL path parameters (e.g. "/{parameter}") to colon parameters (e.g. "/:parameter") */ export const oasPathParamsToColonParams: (uri: string) => string = // deno-lint-ignore no-explicit-any (R as any).replace(/\/\{(\w+)\}(?=\/|$)/g, `/:$1`);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/.case1/input/src/utils/upperSnakeCase test.ts
TypeScript
import { assertEquals } from "https://deno.land/std@0.80.0/testing/asserts.ts"; import { upperSnakeCase } from "./upperSnakeCase.ts"; Deno.test({ name: `"toUpperSnakeCase" should convert to snake case`, fn() { [ [`foo`, `FOO`], [`foo1`, `FOO_1`], [`fooBar`, `FOO_BAR...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/.case1/input/src/utils/upperSnakeCase.ts
TypeScript
import { R } from "../../deps.ts"; import snakeCase from "https://raw.githubusercontent.com/lodash/lodash/master/snakeCase.js"; // deno-lint-ignore no-explicit-any export const upperSnakeCase = (R as any).compose(R.toUpper, snakeCase);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case2/input/entry.ts
TypeScript
export * from "https://deno.land/x/graphql_deno@v15.0.0/mod.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case3/input/entry.ts
TypeScript
export * as G from "https://deno.land/x/graphql_deno@v15.0.0/mod.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case4/input/child.ts
TypeScript
import { Parent } from "./parent"; export const Child1 = new Parent(); export const Child2 = new Parent();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case4/input/deps.ts
TypeScript
export { Parent, Child1, Child2 } from "./gql";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case4/input/entry.ts
TypeScript
export * as G from "./deps";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case4/input/gql.ts
TypeScript
export { Parent } from "./parent"; export { Child1, Child2 } from "./child";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case4/input/parent.ts
TypeScript
export class Parent {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case5/input/child.ts
TypeScript
import { Parent } from "./parent"; export const Child1 = new Parent(); export const Child2 = new Parent();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case5/input/deps.ts
TypeScript
export { Parent, Child1, Child2 } from "./gql";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case5/input/entry.ts
TypeScript
export * as G from "./deps";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case5/input/gql.ts
TypeScript
export { Child1, Child2 } from "./child"; export { Parent } from "./parent";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case5/input/parent.ts
TypeScript
export class Parent {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9307/case6/input/entry.ts
TypeScript
import * as foo from "https://deno.land/x/graphql_deno@v15.0.0/mod.ts"; console.log(foo);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/entry.ts
TypeScript
import { parse } from "https://deno.land/std@0.89.0/flags/mod.ts"; import printStats from "./print_stats.ts"; import { getNumericInput, printQuestion } from "./helpers/mod.ts"; const args = parse(Deno.args); if (args.stats) { printStats(); } else { printQuestion("How many times have you played"); console...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/helpers/ask_trivia.ts
TypeScript
import { TRIVIA } from "types"; import { getUserInput, printQuestion } from "./mod.ts"; export async function askTriviaQuestion(selectedTrivia: TRIVIA): Promise<void> { printQuestion(selectedTrivia.question); await getUserInput(); console.log("The correct answer is:", selectedTrivia.correctAnswer); ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/helpers/generate_source.ts
TypeScript
import { SOURCE } from "types"; export const generateTVSource = (name: string): SOURCE => ({ name, mediaType: "Television", });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/helpers/get_user_input.ts
TypeScript
import { readLines } from "https://deno.land/std@0.89.0/io/mod.ts"; import { printQuestion } from "./mod.ts"; export const getNumericInput = (): Promise<number> => Promise.resolve(4); export async function getUserInput(): Promise<string> { printQuestion("What would you like to enter"); const reader = readLin...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/helpers/logger.ts
TypeScript
export function printQuestion(question: string): void { console.log(question, "?????"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/helpers/mod.ts
TypeScript
export * from "./ask_trivia.ts"; export * from "./generate_source.ts"; export * from "./get_user_input.ts"; export * from "./logger.ts"; export * from "./pick_trivia.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/helpers/pick_trivia.ts
TypeScript
import { TRIVIA } from "types"; import { ALL_TRIVIA } from "../trivia/mod.ts"; export function getFirstTrivia(providedTrivia: TRIVIA[] = ALL_TRIVIA): TRIVIA { return providedTrivia[0]; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/print_stats.ts
TypeScript
import { ALL_TRIVIA } from "./trivia/mod.ts"; export default () => { console.log("Number of Trivia Questions:", ALL_TRIVIA.length); };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/trivia/a_tv_show.ts
TypeScript
import { TRIVIA } from "types"; import { generateTVSource } from "../helpers/mod.ts"; const trivia: TRIVIA[] = [ { question: "Where did episode 1 take place", correctAnswer: "On a boat", wrongAnswers: ["On a plane", "On a mountain", "On a beach"], source: generateTVSource("A TV Show...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/trivia/mod.ts
TypeScript
import { TRIVIA } from "types"; import aTVShow from "./a_tv_show.ts"; export const ALL_TRIVIA: TRIVIA[] = [...aTVShow];
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full-2/input/types/mod.ts
TypeScript
export interface SOURCE { name: string; mediaType: string; } export interface TRIVIA { question: string; correctAnswer: string; wrongAnswers: [string, string, string]; source: SOURCE; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/entry.ts
TypeScript
import { parse } from "https://deno.land/std@0.85.0/flags/mod.ts"; import { getNumericInput, printQuestion } from "./helpers/mod"; import printStats from "./print_stats.ts"; const args = parse(Deno.args); console.log(args.stats); printStats(); printQuestion("How many times have you played"); console.log(await getN...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/helpers/ask_trivia.ts
TypeScript
import { TRIVIA } from "../types/mod"; import { getUserInput, printQuestion } from "./mod"; export async function askTriviaQuestion(selectedTrivia: TRIVIA): Promise<void> { printQuestion(selectedTrivia.question); await getUserInput(); console.log("The correct answer is:", selectedTrivia.correctAnswer); ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/helpers/generate_source.ts
TypeScript
import { SOURCE } from "../types/mod"; export const generateTVSource = (name: string): SOURCE => ({ name, mediaType: "Television", });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/helpers/get_user_input.ts
TypeScript
import { readLines } from "https://deno.land/std@0.85.0/io/mod.ts"; import { printQuestion } from "./mod"; export const getNumericInput = (): Promise<number> => Promise.resolve(4); export async function getUserInput(): Promise<string> { printQuestion("What would you like to enter"); const reader = readLines(...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/helpers/logger.ts
TypeScript
export function printQuestion(question: string): void { console.log(question, "?????"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/helpers/mod.ts
TypeScript
export * from "./ask_trivia"; export * from "./generate_source"; export * from "./get_user_input"; export * from "./logger"; export * from "./pick_trivia";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/helpers/pick_trivia.ts
TypeScript
import { TRIVIA } from "../types/mod.ts"; import { ALL_TRIVIA } from "../trivia/mod.ts"; export function getFirstTrivia(providedTrivia: TRIVIA[] = ALL_TRIVIA): TRIVIA { return providedTrivia[0]; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/print_stats.ts
TypeScript
import { ALL_TRIVIA } from "./trivia/mod"; export default () => { console.log("Number of Trivia Questions:", ALL_TRIVIA.length); };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/trivia/a_tv_show.ts
TypeScript
import { generateTVSource } from "../helpers/mod.ts"; import { TRIVIA } from "../types/mod.ts"; const trivia: TRIVIA[] = [ { question: "Where did episode 1 take place", correctAnswer: "On a boat", wrongAnswers: ["On a plane", "On a mountain", "On a beach"], source: generateTVSource(...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/trivia/mod.ts
TypeScript
import { TRIVIA } from "../types/mod.ts"; import aTVShow from "./a_tv_show.ts"; export const ALL_TRIVIA: TRIVIA[] = [...aTVShow];
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/full/input/types/mod.ts
TypeScript
export interface SOURCE { name: string; mediaType: string; } export interface TRIVIA { question: string; correctAnswer: string; wrongAnswers: [string, string, string]; source: SOURCE; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/entry.ts
TypeScript
import { parse } from "https://deno.land/std@0.86.0/flags/mod.ts"; import { getNumericInput, printQuestion } from "./helpers/mod"; import printStats from "./print_stats.ts"; const args = parse(Deno.args); console.log(args.stats); printStats(); printQuestion("How many times have you played"); console.log(await getN...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/helpers/ask_trivia.ts
TypeScript
import { TRIVIA } from "../types/mod.ts`"; import { getUserInput, printQuestion } from "./mod.ts"; export async function askTriviaQuestion(selectedTrivia: TRIVIA): Promise<void> { printQuestion(selectedTrivia.question); await getUserInput(); console.log("The correct answer is:", selectedTrivia.correctAns...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/helpers/generate_source.ts
TypeScript
import { SOURCE } from "../types/mod"; export const generateTVSource = (name: string): SOURCE => ({ name, mediaType: "Television", });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/helpers/get_user_input.ts
TypeScript
import { readLines } from "https://deno.land/std@0.86.0/io/mod.ts"; import { printQuestion } from "./mod"; export const getNumericInput = (): Promise<number> => Promise.resolve(4); export async function getUserInput(): Promise<string> { printQuestion("What would you like to enter"); const reader = readLines...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/helpers/logger.ts
TypeScript
export function printQuestion(question: string): void { console.log(question, "?????"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/helpers/mod.ts
TypeScript
export * from "./ask_trivia"; export * from "./generate_source"; export * from "./get_user_input"; export * from "./logger"; export * from "./pick_trivia";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/helpers/pick_trivia.ts
TypeScript
import { TRIVIA } from "../types/mod.ts"; import { ALL_TRIVIA } from "../trivia/mod.ts"; export function getFirstTrivia(providedTrivia: TRIVIA[] = ALL_TRIVIA): TRIVIA { return providedTrivia[0]; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/print_stats.ts
TypeScript
import { ALL_TRIVIA } from "./trivia/mod"; export default () => { console.log("Number of Trivia Questions:", ALL_TRIVIA.length); };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/trivia/a_tv_show.ts
TypeScript
import { generateTVSource } from "../helpers/mod"; import { TRIVIA } from "../types/mod"; const trivia: TRIVIA[] = [ { question: "Where did episode 1 take place", correctAnswer: "On a boat", wrongAnswers: ["On a plane", "On a mountain", "On a beach"], source: generateTVSource("A TV ...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/trivia/mod.ts
TypeScript
import { TRIVIA } from "../types/mod.ts"; import aTVShow from "./a_tv_show.ts"; export const ALL_TRIVIA: TRIVIA[] = [...aTVShow];
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step2/input/types/mod.ts
TypeScript
export interface SOURCE { name: string; mediaType: string; } export interface TRIVIA { question: string; correctAnswer: string; wrongAnswers: [string, string, string]; source: SOURCE; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step3/input/entry.ts
TypeScript
import { getNumericInput } from "./helper"; console.log(getNumericInput);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step3/input/get_user_input.ts
TypeScript
export const getNumericInput = (): Promise<number> => Promise.resolve(4);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9350/step3/input/helper.ts
TypeScript
export * from "./get_user_input";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9464/.case1/input/entry.ts
TypeScript
import sodium from "https://deno.land/x/sodium/basic.ts"; await sodium.ready;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/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/deno-exec/deno-9752/case1/entry.ts
TypeScript
import * as path from "https://deno.land/std@0.90.0/path/mod.ts"; console.log(path);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9752/case2/entry.ts
TypeScript
export * from "https://deno.land/x/cliffy@v0.18.0/mod.ts"; export * from "https://deno.land/x/deno_lodash@v0.1.0/mod.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/deno-9752/case3/entry.ts
TypeScript
export * from "https://deno.land/x/deno_lodash@v0.1.0/mod.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno-exec/issue-8302/entry.ts
TypeScript
import axiod from "https://deno.land/x/axiod@0.20.0-0/mod.ts"; console.log(axiod);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno.rs
Rust
//! In-tree testing for deno integration. //! //! This module exists because this is way easier than using copying requires //! files. use std::{collections::HashMap, fs::write, path::PathBuf, process::Command}; use anyhow::Error; use ntest::timeout; use rustc_hash::FxHashSet; use swc_bundler::{Bundler, Load, ModuleR...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/deno-7288/1/input.ts
TypeScript
import * as path from "https://deno.land/std@0.67.0/path/mod.ts"; console.log(path);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/deno-8530/input/entry.ts
TypeScript
import Head from "https://deno.land/x/aleph/head.ts"; import * as Head2 from "https://deno.land/x/aleph/head.ts"; console.log(Head, Head2); if (typeof Head !== "function") { throw new Error(); } if (typeof Head2 !== "object") { throw new Error(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/deno-8573/deps.ts
TypeScript
export * as path from "https://deno.land/std@0.79.0/path/mod.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/deno-8573/entry.ts
TypeScript
import { path } from "./deps.ts"; console.log(path); console.log(path.join("/", "example"));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/deno-8620/entry.ts
TypeScript
/// <reference lib="esNext" /> /// <reference lib="dom" /> /// <reference lib="webworker.importScripts" /> /// <reference lib="ScriptHost" /> /// <reference lib="dom.iterable" /> /// <reference no-default-lib="true"/> import * as THREE from "https://cdn.skypack.dev/three?dts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/deno-8627/input.ts
TypeScript
let a = null, b = 2; console.log((a ??= b));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/issue-6802/input.tsx
TypeScript (TSX)
import React from "https://cdn.pika.dev/@pika/react@^16.13.1"; import ReactDOM from "https://cdn.pika.dev/@pika/react-dom@^16.13.1"; ReactDOM.render(<div>Hi, React!</div>, document.getElementById("root"));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/issue-8302/input.ts
TypeScript
export { DB, Empty, Status } from "https://deno.land/x/sqlite@v2.3.1/mod.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/issue-8314/input.ts
TypeScript
import createGraph from "https://dev.jspm.io/ngraph.graph"; console.log(createGraph);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/issue-8399/1/input.ts
TypeScript
import * as yaml from "https://deno.land/std@0.78.0/encoding/yaml.ts"; console.log(yaml && 1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/issue-8399/2/input.ts
TypeScript
import { stringify } from "https://deno.land/std@0.78.0/encoding/yaml.ts"; console.log(stringify({ a: 1 }));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/deno/issue-8486/1/input.ts
TypeScript
import * as log from "https://deno.land/std/log/mod.ts"; export async function myCLI(): Promise<void> { await log.setup({ handlers: { // file: new log.handlers.FileHandler("DEBUG", { // filename: 'my.log' // }), console: new log.handlers.ConsoleHandler("I...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture.rs
Rust
use std::{ collections::HashMap, fs::read_dir, io, path::{Path, PathBuf}, }; use anyhow::Error; use swc_bundler::{BundleKind, Bundler, Config, ModuleRecord}; use swc_common::{errors::HANDLER, FileName, Globals, Span}; use swc_ecma_ast::{ Bool, Expr, IdentName, KeyValueProp, Lit, MemberExpr, MemberP...
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-export/input/a.js
JavaScript
import { b } from "./b"; export const a = "a"; export { b };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-export/input/b.js
JavaScript
import { c } from "./c"; export const b = "b"; export { c };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-export/input/c.js
JavaScript
import { a } from "./a"; export const c = "c"; export { a };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-export/input/entry.js
JavaScript
export { a } from "./a"; export { c } from "./c";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-export/output/entry.inlined.js
JavaScript
const a = "a"; const c = "c"; export { a as a }; export { c as c };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-export/output/entry.js
JavaScript
const a = "a"; const c = "c"; export { a as a }; export { c as c };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-import/input/a.js
JavaScript
import { b } from "./b"; export const a = "a"; export { b };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-import/input/b.js
JavaScript
import { c } from "./c"; export const b = "b"; export { c };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-import/input/c.js
JavaScript
import { a } from "./a"; export const c = "c"; export { a };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-import/input/entry.js
JavaScript
import { a } from "./a"; import { c } from "./c"; console.log(a, c);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-import/output/entry.inlined.js
JavaScript
const a = "a"; const c = "c"; console.log(a, c);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/complex-import/output/entry.js
JavaScript
const a = "a"; const c = "c"; console.log(a, c);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/simple/input/a.js
JavaScript
import { b } from "./b"; export { b }; export const a = 1;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/simple/input/b.js
JavaScript
import { a } from "./a"; export { a }; export const b = 2;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/simple/input/entry.js
JavaScript
import { a } from "./a"; import { b } from "./b"; console.log(a, b);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/simple/output/entry.inlined.js
JavaScript
console.log(1, 2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/circular-imports/simple/output/entry.js
JavaScript
const b = 2; const a = 1; console.log(a, b);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10141/case1/input/entry.ts
TypeScript
let badfunc = () => {}; function f1() { badfunc = function badfunc() {}; badfunc(); f2(); } function f2() { badfunc = () => {}; f1(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10174/case1/input/entry.ts
TypeScript
import { foo } from "./third.ts"; console.log(foo);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10174/case1/input/first.ts
TypeScript
export const foo = "foo";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10174/case1/input/second.ts
TypeScript
export * from "./first.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10174/case1/input/third.ts
TypeScript
export * from "./second.ts";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10174/case1/output/entry.inlined.ts
TypeScript
const foo = "foo"; console.log(foo);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10174/case1/output/entry.ts
TypeScript
const foo = "foo"; console.log(foo);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10820/case1/input/data.ts
TypeScript
import { dbPool } from "./entry.ts"; export function d() { dbPool; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10820/case1/input/entry.ts
TypeScript
// run `deno bundle webserver.ts` import router from "./router.ts"; export const dbPool = 1; router();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10820/case1/input/page1.ts
TypeScript
import { d } from "./data.ts"; export default async function fn() { d(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_bundler/tests/fixture/deno-10820/case1/input/page2.ts
TypeScript
import { d } from "./data.ts"; export default async function fn() { d(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University