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/.cache/deno/a2d82af15dbd34bf83c640fa03fc476c69939356.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/activity_flags.ts
/** https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags */
export enum DiscordActivityFlags {
Instance = 1 << 0,
Join = 1 << 1,
Spectate = 1 << 2,
JoinRequest = 1 << 3,
Sync = 1 << 4,... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a2e6cc3585cbea1414d793cf078d7f2a328a74a9.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.9.3/mod.ts
/*!
* Ported from: https://github.com/jshttp/mime-types and licensed as:
*
* (The MIT License)
*
* Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
* Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
* Copyright (c) 2020 the ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a2ffa784c419bb18c97c2ea2caf42638d2c15b89.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/get_widget.ts
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import type { GuildWidgetDetails } from "../../types/guilds/guild_widget_details.ts";
import { Errors } from "../../types/discordeno/err... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a30b0d9d18a858f20ad758d2bb4d880bcc059e75.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/any.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xany from './internal/_xany.js';
/**
* Returns `true` if at least one of the elements of the list match the predicate,
* `false` otherwise.
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a31ba630c7846259801ce6754948849310ebca5d.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/io/ioutil.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import type { BufReader } from "./bufio.ts";
type Reader = Deno.Reader;
type Writer = Deno.Writer;
import { assert } from "../_util/assert.ts";
const DEFAULT_BUFFER_SIZE = 32 * 1024;
/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a326ef2822310f4c45eb62e7ce056e016af21a3d.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/messages.js
// (C) 1995-2013 Jean-loup Gailly and Mark Adler
// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a33d67717c5a69e4428cb42c110b4c06e9712ad8.ts | TypeScript | // Loaded from https://deno.land/x/oak/httpError.ts
/*!
* Adapted directly from http-errors at https://github.com/jshttp/http-errors
* which is licensed as follows:
*
* The MIT License (MIT)
*
* Copyright (c) 2014 Jonathan Ong me@jongleberry.com
* Copyright (c) 2016 Douglas Christopher Wilson doug@somethingdou... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a33faf39ab4c1e7d69c76e3eca934ce776b602df.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_numeric.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
export function isNumeric(value: any): Validity {
if (typeof value !== "string" && typeof value !== "number") {
return invalid("isNumeric", { value });
}
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a35bdcbe623384b03ea7fcd1ca6331fd064b0ed6.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/teams/team.ts
import { TeamMember } from "./team_member.ts";
/** https://discord.com/developers/docs/topics/teams#data-models-team-object */
export interface Team {
/** A hash of the image of the team's icon */
icon: string | null;
/** The uni... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a3753c8db76aa3cfcfd821825fd7bcf794d28748.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/default_message_notification_levels.ts
/** https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level */
export enum DiscordDefaultMessageNotificationLevels {
/** Members will receive notifications fo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a38a6d9c6b556b00c459f48cea0da3d9e21089f2.ts | TypeScript | // Loaded from https://deno.land/std/testing/asserts.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible. Do not rely on good formatting of values
// for AssertionError messages in browsers.
import { bold, gray, green, red, stripColor, white } from "../f... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a3ca7b26f6949136fe4633683d1debc8213f5e06.ts | TypeScript | // Loaded from https://deno.land/x/abc@v1.2.4/vendor/https/deno.land/std/encoding/utf8.ts
export * from "https://deno.land/std@0.81.0/encoding/utf8.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a3cd7bffebbdef8349fa887e6351976749d66643.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/path/_util.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
// This module is browser compatible.
import type { FormatInputPathObject } from "./_interface.ts";
import {
CHAR_BACKWARD_SLASH,
CHAR_DOT,
C... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a3e410fc9987677216606964551614408e342c0e.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/path/posix.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
// This module is browser compatible.
import type { FormatInputPathObject, ParsedPath } from "./_interface.ts";
import { CHAR_DOT, CHAR_FORWARD_SLA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a4185d797ae420ea1d5c3946abec64df7d3a03b5.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/keysIn.js
import _curry1 from './internal/_curry1.js';
/**
* Returns a list containing the names of all the properties of the supplied
* object, including prototype properties.
* Note that the order of the output array is not guaranteed to be consistent
* ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a41e999c2223615484075b574cf34570a0c89864.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v1.4.3/src/math.ts
export function power_mod(n: bigint, p: bigint, m: bigint): bigint {
if (p === 1n) return n;
if (p % 2n === 0n) {
const t = power_mod(n, p >> 1n, m);
return (t * t) % m;
} else {
const t = power_mod(n, p >> 1n, m);
return (t * t * ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a429787bd696fd73d9b3aac10919c5df3f520668.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/takeLastWhile.js
import _curry2 from './internal/_curry2.js';
import slice from './slice.js';
/**
* Returns a new list containing the last `n` elements of a given list, passing
* each value to the supplied predicate function, and terminating when the
* pred... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a44b4161bbf7811a35d53227fa5d18b8bc839169.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/hash/_wasm/wasm.js
// deno-lint-ignore-file
//deno-fmt-ignore-file
//deno-lint-ignore-file
import * as base64 from "../../encoding/base64.ts";export const source = base64.decode("AGFzbQEAAAABSQxgAn9/AGACf38Bf2ADf39/AGADf39/AX9gAX8AYAF/AX9gAABgBH9/f38Bf2AFf39/f38AYAV/f39/fwF... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a457995125d5e3a9f63d6a2d2d90b8b371e74529.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/modifyPath.js
import _curry3 from './internal/_curry3.js';
import _isArray from './internal/_isArray.js';
import _isObject from './internal/_isObject.js';
import _has from './internal/_has.js';
import _assoc from './internal/_assoc.js';
import _modify from './in... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a45d1700c6aa4cf8381b39afe41d8b0ba349cd81.ts | TypeScript | // Loaded from https://deno.land/x/abc@v1.2.4/constants.ts
export * as HttpMethod from "./_http_method.ts";
export * as Header from "./_header.ts";
export * as MIME from "./_mime.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a47ee1ee9a119786322a592d6c4e1fc0ca7d115e.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/negotiation/encoding.ts
/*!
* Adapted directly from negotiator at https://github.com/jshttp/negotiator/
* which is licensed as follows:
*
* (The MIT License)
*
* Copyright (c) 2012-2014 Federico Romero
* Copyright (c) 2012-2014 Isaac Z. Schlueter
* Copyright (c) 2... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a4a5ec2bbc5311a18dbadc7b3947aa3263be19a1.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/table/row.ts
import { Cell, ICell } from "./cell.ts";
/** Row type */
export type IRow<T extends ICell = ICell> = T[] | Row<T>;
/** Json row. */
export type IDataRow = Record<string, string | number>;
/** Row options. */
export interface IRowOptions {
indent?: num... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a4aaf231df4b43ed999e7cbb5db5b23c5d80d693.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/bytes/mod.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** Find first index of binary pattern from a. If not found, then return -1
* @param source source array
* @param pat pattern to find in source array
*/
export function findIndex(sou... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a4fedaca1fc4fe6785ce7085849a312852303525.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/async/debounce.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/**
* A debounced function that will be delayed by a given `wait`
* time in milliseconds. If the method is called again before
* the timeout expires, the previous call will be ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a511b4e5fc5f1025fd4690a1c12105ba4fff6836.ts | TypeScript | // Loaded from https://deno.land/x/forwarded@0.0.9/mod.ts
import { ServerRequest } from 'https://deno.land/std@0.101.0/http/server.ts'
type Req = Pick<ServerRequest, 'headers'> & { conn: Pick<ServerRequest['conn'], 'remoteAddr'> }
/**
* Get all addresses in the request, using the `X-Forwarded-For` header.
*
* @p... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a516a0933927c8bb50491290e8ad871b598bc25e.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/index.js
// Top level file is just a mixin of submodules & constants
import { deflate, Deflate } from "./lib/deflate.js";
import { inflate, Inflate } from "./lib/inflate.js";
import constants from "./lib/zlib/constants.js";
export {
d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a55cf2b738e0f9ca0d722bfa85533b196ecbd317.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/format.ts
import { Handler, NextFunction } from 'https://esm.sh/@tinyhttp/router'
import { normalizeType, normalizeTypes } from './utils.ts'
import { setVaryHeader } from './headers.ts'
import { getAccepts } from '../req/mod.ts'
import { Req, Res } fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a5a09d3edec940e550a53cc2fc6b79419f52cf2c.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/hash/_wasm/hash.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import init, {
source,
create_hash as createHash,
update_hash as updateHash,
digest_hash as digestHash,
DenoHash,
} from "./wasm.js";
import * as hex from "../../encodi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a5a14801a135383658dce46c424a1bee9b36cbac.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/welcome_screen.ts
import { WelcomeScreenChannel } from "./welcome_screen_channel.ts";
/** https://discord.com/developers/docs/resources/guild#welcome-screen-object-welcome-screen-structure */
export interface WelcomeScreen {
/** The server ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a5a49c36734c6483c1dafe3da4ed02d08eb9d760.ts | TypeScript | // Loaded from https://deno.land/std@0.81.0/encoding/utf8.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** A default TextEncoder instance */
export const encoder = new TextEncoder();
/** Shorthand for new TextEncoder().encode() */
export function encode(input?: string): Uint8Array {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a5a7c45838999a2966a52faaa292a88fabf51a2a.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/flags/lib/types.ts
export type IType<T> = ( option: IFlagOptions, arg: IFlagArgument, value: string ) => T | undefined;
export enum OptionType {
STRING = 'string',
NUMBER = 'number',
BOOLEAN = 'boolean',
}
/**
* Flag value type.
*/
export type... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a5d7fba44d172af771e356390597c38a03950209.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/path/separator.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { isWindows } from "../_util/os.ts";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a62172a055beb65978383fb9e4ac13d340b546e5.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/voice_close_event_codes.ts
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice */
export enum DiscordVoiceCloseEventCodes {
UnknownOpcode = 4001,
FailedToDecodePayload,
NotAuthenticated,
AuthenticationFailed,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a65c80d8365ad68f50488cadf6649efc0f59f839.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/fs/walk.ts
// Documentation and interface for walk were adapted from Go
// https://golang.org/pkg/path/filepath/#Walk
// Copyright 2009 The Go Authors. All rights reserved. BSD license.
import { assert } from "../_util/assert.ts";
import { basename, join, normalize } from "... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a67b1c64514bea54c6365ab7db8939627efb005f.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isIP.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const ipv4Maybe = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a67f7c064badc143411c600bceb3c163302747af.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/flags/lib/normalize.ts
/**
* Normalize command line arguments.
*
* @param args Command line arguments e.g: `Deno.args`
*/
export function normalize( args: string[] ) {
const normalized = [];
let inLiteral = false;
for ( const arg of args ) {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a68966694d0bf85bd6c4e570eb21f276649eec9f.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/path/common.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { SEP } from "./separator.ts";
/** Determines the common path from a set of paths, using an optional separator,
* which defaults to the... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a716684acab1eb2fdd7e36b899e9e6a0361a075e.ts | TypeScript | // Loaded from https://deno.land/x/oak/negotiation/charset.ts
/*!
* Adapted directly from negotiator at https://github.com/jshttp/negotiator/
* which is licensed as follows:
*
* (The MIT License)
*
* Copyright (c) 2012-2014 Federico Romero
* Copyright (c) 2012-2014 Isaac Z. Schlueter
* Copyright (c) 2014-2015... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a719960671d4134f36546c84e88a5c128ada63aa.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/KnownTypeNamesRule.js
import didYouMean from '../../jsutils/didYouMean.js';
import suggestionList from '../../jsutils/suggestionList.js';
import { GraphQLError } from '../../error/GraphQLError.js';
import { isTypeDefinitionNode, isTypeSystem... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a739e3441df81d7e6ddbd74c904691517977a6fe.ts | TypeScript | // Loaded from https://deno.land/std/async/delay.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/* Resolves after the given number of milliseconds. */
export function delay(ms: number): Promise<void> {
return new Promise((res): number =>
setTimeout((): void => {
res();
}... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a74ca963b188bfeac620f570e1a01ffd4e16c22c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/mod.ts
export * from "./channel.ts";
export * from "./channel_mention.ts";
export * from "./channel_pins_update.ts";
export * from "./channel_types.ts";
export * from "./followed_channel.ts";
export * from "./modify_channel.ts";
export * fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a777851f3834ac4a4f81b2acdb778752ec3f928a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/collectBy.js
import _curry2 from './internal/_curry2.js';
import _reduce from './internal/_reduce.js';
/**
* Splits a list into sub-lists, based on the result of calling a key-returning function on each element,
* and grouping the results according to values ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a78fea5845db336f77ced80b6b48eae199ebbc8d.ts | TypeScript | // Loaded from https://deno.land/x/args@1.0.7/utils.ts
import {
Ok,
Err,
ParseError,
ArgvItem,
} from "./types.ts";
/**
* Create an `Ok`
* @template Value Type of value to carry
* @param value Value to carry
* @returns An `Ok` object that carries `value`
*/
export const ok = <Value>(value: Value): Ok<Va... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a7bec4aba036f0df48acd2f84301cd14dce3e5a4.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/zip.js
import _curry2 from './internal/_curry2.js';
/**
* Creates a new list out of the two supplied by pairing up equally-positioned
* items from both lists. The returned list is truncated to the length of the
* shorter of the two input lists.
* Note: `zi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a7dd09268bcc3c7727a7508bf142183268a6fbe6.ts | TypeScript | // Loaded from https://deno.land/x/vary@1.0.0/mod.ts
/*!
* Based on https://github.com/jshttp/vary/blob/master/index.js
* Copyright(c) 2014-2017 Douglas Christopher Wilson
* Copyright(c) 2020 Henry Zhuang
* MIT Licensed
*/
/**
* RegExp to match field-name in RFC 7230 sec 3.2
*
* field-name = token
* toke... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a7e75abeb0935a7e603b3aee76c69dbf5ea3aba1.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xdropLast.js
import _curry2 from './_curry2.js';
import _xfBase from './_xfBase.js';
function XDropLast(n, xf) {
this.xf = xf;
this.pos = 0;
this.full = false;
this.acc = new Array(n);
}
XDropLast.prototype['@@transducer/init'] = _xfBase.init... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a7eebdf007e774107b74a92c76636a496001e276.ts | TypeScript | // Loaded from https://deno.land/std@0.92.0/io/util.ts
import { Buffer } from "./buffer.ts";
/** Read Reader `r` until EOF (`null`) and resolve to the content as
* Uint8Array`.
*
* ```ts
*
* // Example from stdin
* const stdinContent = await readAll(Deno.stdin);
*
* // Example from file
* const file = awai... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a7f325f1045f10db067945514a4ae60517e3ce32.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/takeWhile.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xtakeWhile from './internal/_xtakeWhile.js';
import slice from './slice.js';
/**
* Returns a new list containing the first `n` elements ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a8590b79b7320138448a438c1f8191c14b922daf.ts | TypeScript | // Loaded from https://deno.land/std@0.69.0/path/common.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** This module is browser compatible. */
import { SEP } from "./separator.ts";
/** Determines the common path from a set of paths, using an optional separator,
* which defaults to ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a867251db68a6e8929f60c1cf45bd96109ab62b6.ts | TypeScript | // Loaded from https://deno.land/x/dnit@dnit-v1.11.0/adl-gen/runtime/adl.ts
import type * as AST from "./sys/adlast.ts";
import type * as utils from "./utils.ts";
export type ScopedName = AST.ScopedName;
export type ScopedDecl = AST.ScopedDecl;
export type ATypeRef<_T> = {value: AST.TypeRef};
export type ATypeExpr<_... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a87b83630681d76c8e78522f238e3fcce049fb9e.ts | TypeScript | // Loaded from https://deno.land/std/fs/copy.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { getFileInfoType, isSubdir } from "./_util.ts";
import { assert } from "../_util/assert... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a8c5b416bfde22b257d6f022e6c4cf5d851d7b66.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_concat.js
/**
* Private `concat` function to merge two array-like objects.
*
* @private
* @param {Array|Arguments} [set1=[]] An array-like object.
* @param {Array|Arguments} [set2=[]] An array-like object.
* @return {Array} A new, merged array.
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a8cbff1a9e1020dacbcd6a03ae67dc7e6a73d859.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/forEach.js
import _checkForMethod from './internal/_checkForMethod.js';
import _curry2 from './internal/_curry2.js';
/**
* Iterate over an input `list`, calling a provided function `fn` for each
* element in the list.
*
* `fn` receives one argument: *(valu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a8d066a08bcc91a4893caccbd397e7852e1a94ee.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/req/headers.ts
import { Req, Res, parseRange, ParseRangeOptions } from '../../deps.ts'
import fresh from 'https://deno.land/x/fresh@v1.0.0/mod.ts'
import { is } from 'https://deno.land/x/type_is@1.0.3/mod.ts'
export const getRequestHeader = <Request exten... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a8d3cce3f6bdf87eabd34a5ccee844f8fee55365.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/templates/template.ts
import { Guild } from "../guilds/guild.ts";
import { User } from "../users/user.ts";
/** https://discord.com/developers/docs/resources/template#template-object-template-structure */
export interface Template {
/** The templat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a8da6671c3e8a1636834854f1846665dc4bbb483.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/path.js
import _curry2 from './internal/_curry2.js';
import paths from './paths.js';
/**
* Retrieve the value at a given path.
*
* @func
* @memberOf R
* @since v0.2.0
* @category Object
* @typedefn Idx = String | Int | Symbol
* @sig [Idx] -> {a} -> a | ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a907c635cd12c220e483739546c4f04a82cbfb00.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/http/_io.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { BufReader, BufWriter } from "../io/bufio.ts";
import { TextProtoReader } from "../textproto/mod.ts";
import { assert } from "../_util/assert.ts";
import { encoder } from "../enco... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a90d28d4a272b135847513728469d95657be5cc4.ts | TypeScript | // Loaded from https://deno.land/std@0.89.0/encoding/base64.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// deno-fmt-ignore
const base64abc = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L",
"M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a",
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a914bdedecf3a4524e768b522b86f35dc1f79d37.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/handle_on_message.ts
import { eventHandlers } from "../bot.ts";
import { handlers } from "../handlers/mod.ts";
import { DiscordGatewayOpcodes } from "../types/codes/gateway_opcodes.ts";
import type { DiscordGatewayPayload } from "../types/gateway/gatewa... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a924959684790a09dd356ea7b6b9eb34af8b2913.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/unavailable_guild.ts
import { Guild } from "./guild.ts";
/** https://discord.com/developers/docs/resources/guild#unavailable-guild-object */
export type UnavailableGuild = Pick<Guild, "id" | "unavailable">;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a97001f12d71e4c4e8a98064fe31d77d1770b26e.ts | TypeScript | // Loaded from https://deno.land/x/dndb@0.2.4/src/methods/insert.js
import { writeFile } from '../storage.ts';
import { v1 } from "https://deno.land/std/uuid/mod.ts";
export default async (filename ,data) => {
if(Array.isArray(data)) {
data.forEach(async o => {
o._id = o._id || v1.generate();... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/a9e49d9b9195ef9857dca11572c83f19fd547936.ts | TypeScript | // Loaded from https://deno.land/x/oak/deps.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
// This file contains the external dependencies that oak depends upon
// `std` dependencies
export {
copy as copyBytes,
equals,
} from "https://deno.land/std@0.84.0/bytes/mod.ts";
export { S... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa077f58cda5ad6ff0e26116a69f9e691569ef16.ts | TypeScript | // Loaded from https://deno.land/std@0.104.0/path/_interface.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/**
* A parsed path object generated by path.parse() or consumed by path.format().
*/
export interface ParsedPath {
/**
* The root of... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa0d8306130c99ee1880043fd6cc5ade300d9e39.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/whereEq.js
import _curry2 from './internal/_curry2.js';
import equals from './equals.js';
import map from './map.js';
import where from './where.js';
/**
* Takes a spec object and a test object; returns true if the test satisfies
* the spec, false otherwise.... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa243672612ff73045bf20156419b1c7b0a1b7a8.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/valuesIn.js
import _curry1 from './internal/_curry1.js';
/**
* Returns a list of all the properties, including prototype properties, of the
* supplied object.
* Note that the order of the output array is not guaranteed to be consistent
* across different J... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa4d925936361b9e2ee6a3282f5ba3cba763adae.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/textproto/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/tree/master/src/net/textproto
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
//... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa587c23dd78b12d7bf25fe5c9f81f201c37ea4b.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/hash/_wasm/hash.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import init, {
source,
create_hash as createHash,
update_hash as updateHash,
digest_hash as digestHash,
DenoHash,
} from "./wasm.js";
import * as hex from "../../encodi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa6bad27291c3da2998cc6c05254e4925b125609.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/FieldsOnCorrectTypeRule.js
import arrayFrom from '../../polyfills/arrayFrom.js';
import didYouMean from '../../jsutils/didYouMean.js';
import suggestionList from '../../jsutils/suggestionList.js';
import { GraphQLError } from '../../error/Gr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aa7ddb459352a9d359eb76992b5b6702ad506855.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/rest/run_method.ts
import { API_VERSION, BASE_URL, IMAGE_BASE_URL } from "../util/constants.ts";
import { loopObject } from "../util/loop_object.ts";
import { camelize } from "../util/utils.ts";
import { rest } from "./rest.ts";
// deno-lint-ignore no-exp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aab811f3d3ff29b5d650759606c1f0209392bd63.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v1.4.3/src/rsa/eme_oaep.ts
import { createHash } from "./../hash.ts";
import { mgf1 } from "./primitives.ts";
import { concat, xor, random_bytes } from "./../helper.ts";
/**
* https://tools.ietf.org/html/rfc3447#page-10
*
* @param label
* @param m
* @param k
* ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ab0f378a21ccbfeef40b0e55c9b7e9cfcacdda7f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/voice_opcodes.ts
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice */
export enum DiscordVoiceOpcodes {
Identify,
SelectProtocol,
Ready,
Heartbeat,
SessionDescription,
Speaking,
HeartbeatACK,
Resume,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ab2579d8a3026571b5bacb92e31dcd7f2cfb38e5.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type/nil.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights res... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/abbace8c51b96ea401ec4ccc8e1cc2fa1c5a897f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/message_reaction_remove_emoji.ts
import { MessageReactionAdd } from "./message_reaction_add.ts";
/** https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji */
export type MessageReactionRemoveEmoji = Pick<MessageRe... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/abee4bd5d97fe00b434fd4fac14c6fc4a42f8da8.ts | TypeScript | // Loaded from https://deno.land/x/abc@v1.2.4/vendor/https/deno.land/std/http/http_status.ts
export * from "https://deno.land/std@0.81.0/http/http_status.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ac1f8fdc874124667b8b78570790eb01c09f23d6.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/path/_constants.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
// This module is browser compatible.
// Alphabet chars.
export const CHAR_UPPERCASE_A = 65; /* A */
export const CHAR_LOWERCASE_A = 97; /* a ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ac2b751ad023e6ef3ede6e8506946a9f3ab9cd3c.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/UniqueFieldDefinitionNamesRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
import { isObjectType, isInterfaceType, isInputObjectType } from '../../type/definition.js';
/**
* Unique field definition names
*
* A GraphQL ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ac2e759917552bab1ba11e4cb2c001eff3057ecc.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/send/mod.ts
export * from './json.ts'
export * from './mod.ts'
export * from './send.ts'
export * from './sendFile.ts'
export * from './sendStatus.ts'
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ac4323df95b08f9b13f25ac8661145efe7fed998.ts | TypeScript | // Loaded from https://deno.land/x/opine@1.6.0/src/utils/etag.ts
/*!
* Port of etag (https://github.com/jshttp/etag) for Deno.
*
* Licensed as follows:
*
* (The MIT License)
*
* Copyright (c) 2014-2016 Douglas Christopher Wilson
*
* Permission is hereby granted, free of charge, to any person obtaining
* a c... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ac61afa8a2946ca929f48f053138ff8277857f27.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/multiply.js
import _curry2 from './internal/_curry2.js';
/**
* Multiplies two numbers. Equivalent to `a * b` but curried.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Math
* @sig Number -> Number -> Number
* @param {Number} a The first value.
*... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/acf72f9492fd78ae10c035f645ad94afaad3049e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/insertAll.js
import _curry3 from './internal/_curry3.js';
/**
* Inserts the sub-list into the list, at the specified `index`. _Note that this is not
* destructive_: it returns a copy of the list with the changes.
* <small>No lists have been harmed in the ap... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ad08212d5162c9627e3b045ba6127cac017b6afc.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/findLastIndex.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xfindLastIndex from './internal/_xfindLastIndex.js';
/**
* Returns the index of the last element of the list which matches the
* pr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ad28bb2a8fb12464b92bb5bc2fbb8deb5fad5e8f.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/alpha.ts
export const alpha = {
'en-US': /^[A-Z]+$/i,
'bg-BG': /^[А-Я]+$/i,
'cs-CZ': /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,
'da-DK': /^[A-ZÆØÅ]+$/i,
'de-DE': /^[A-ZÄÖÜß]+$/i,
'el-GR': /^[Α-ώ]+$/i,
'es-ES': /^[A-ZÁÉÍÑÓÚÜ]+$/i,
'fr-FR': /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ad3fa75a6b721a4afa8a0f82f7c6071b1b9d4311.ts | TypeScript | // Loaded from https://deno.land/std@0.90.0/path/common.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { SEP } from "./separator.ts";
/** Determines the common path from a set of paths, using an optional separator,
* which defaults to the ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ad97cc73fe3b457bf0fcf2a4a30e163d9963a834.ts | TypeScript | // Loaded from https://deno.land/std@0.92.0/fs/ensure_file.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
import { ensureDir, ensureDirSync } from "./ensure_dir.ts";
import { getFileInfoType } from "./_util.ts";
/**
* Ensures that the file exist... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/adc79580cea9624edb11203d4ad4541a693a3e9f.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.9.2/deps.ts
// Copyright 2020 the oak authors. All rights reserved. MIT license.
export { extname } from "https://deno.land/std@0.101.0/path/mod.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/adc8dcfb18c36709ac2ee7dbd5a740dea496568f.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/over.js
import _curry3 from './internal/_curry3.js';
// `Identity` is a functor that holds a single value, where `map` simply
// transforms the held value with the provided function.
var Identity = function(x) {
return {value: x, map: function(f) { return Ide... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/adc936a8232c3d2b9dda784aebab2dc15b6f45f9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/allowed_mentions.ts
import { DiscordAllowedMentionsTypes } from "./allowed_mentions_types.ts";
/** https://discord.com/developers/docs/resources/channel#allowed-mentions-object */
export interface AllowedMentions {
/** An array of allowed... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ae108499452c609eae73c7ed3bc8a4d6ce54df63.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/index.js
export { default as F } from './F.js';
export { default as T } from './T.js';
export { default as __ } from './__.js';
export { default as add } from './add.js';
export { default as addIndex } from './addIndex.js';
export { default as adjust } from './a... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ae15d5a03ffb871a71211082d815120179729c3d.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/channels/STAGE_INSTANCE_CREATE.ts
import { eventHandlers } from "../../bot.ts";
import type { StageInstance } from "../../types/channels/stage_instance.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
expo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ae31a2918532132a6449050c765bf43a792a6a0c.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/fmt/colors.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors
// on npm.
//
// ```
// import { bgBlue, red, bold } from "https://deno.land/std/fmt/colors.ts";
// conso... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ae66aaa5561af1015fc6de939d54c94ae643e142.ts | TypeScript | // Loaded from https://deno.land/std@0.93.0/_util/os.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
export const osType = (() => {
if (globalThis.Deno != null) {
return Deno.build.os;
}
// deno-lint-ignore no-explicit-any
const navigat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aeabda0a2249d53df9dbe7aaeaff368b7b4d0fb5.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/voice/VOICE_STATE_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { structures } from "../../structures/mod.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aebfe8ad1b97e425624a703b742031ec27651152.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/datetime/tokenizer.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export type Token = {
type: string;
value: string | number;
index: number;
[key: string]: unknown;
};
export interface ReceiverResult {
[name: string]: string | num... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aeca0449dae8ea36b1d9ea82a6597d181a32bbea.ts | TypeScript | // Loaded from https://deno.land/x/jpegts@1.1/lib/image.ts
import type { Pixel } from "./pixel.ts";
export class Image {
// @ts-ignore
width: number;
// @ts-ignore
height: number;
// @ts-ignore
data: Uint8Array;
getPixel(x: number, y: number): Pixel {
const index = x + (y * this.width);
const r... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aef18b720e0ba0e8a0407a06aa49d9cd7a97799a.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/error.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights reserv... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aef5db3b2ec0d66b8c68e671895d9f30a1607fe3.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isNumber.js
export default function _isNumber(x) {
return Object.prototype.toString.call(x) === '[object Number]';
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/aefcee4ff8555a18e9fcf191f19cdf865871b8db.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/dissoc.js
import _curry2 from './internal/_curry2.js';
import dissocPath from './dissocPath.js';
/**
* Returns a new object that does not contain a `prop` property.
*
* @func
* @memberOf R
* @since v0.10.0
* @category Object
* @sig String -> {k: v} -> {k... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/af04cea3c22c2a6a69c8f0dbeaaa7a134834adb2.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/mime/multipart.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { equals, indexOf, lastIndexOf, startsWith } from "../bytes/mod.ts";
import { copyN } from "../io/ioutil.ts";
import { MultiReader } from "../io/readers.ts";
import { extname... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/af2841d4c20e73058dc5af777f3bdecd2dcd3aa4.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/path/posix.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
/** This module is browser compatible. */
import type { FormatInputPathObject, ParsedPath } from "./_interface.ts";
import { CHAR_DOT, CHAR_FORWARD... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/af390717a43adb4e8e6b73f4bd779cdaf7348514.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/bytes/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/** Find first index of binary pattern from source. If not found, then return -1
* @param source source array
* @param pat pattern to find in source array
* @param start the index t... | 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.