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/69a94a935455bf2f9ec9d3d6f3c347136873ee73.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/Path.js
/**
* Given a Path and a key, return a new Path containing the new key.
*/
export function addPath(prev, key) {
return {
prev,
key
};
}
/**
* Given a Path, return an Array of the path keys.
*/
export function pathToArray(path... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/69c765a04350430d06baf56b17e4e8347a244810.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extend.ts
import { NextFunction } from 'https://esm.sh/@tinyhttp/router'
import { App, renderTemplate } from './app.ts'
import { Request } from './request.ts'
import {
getRequestHeader,
getFreshOrStale,
getAccepts,
getAcceptsCharsets,
getAcceptsEncodings,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/69d56fddcca369153b0a92fdd05d6502d5b140ea.ts | TypeScript | // Loaded from https://deno.land/x/mysql/deps.ts
export type { Deferred } from "https://deno.land/std@0.74.0/async/mod.ts";
export { deferred, delay } from "https://deno.land/std@0.74.0/async/mod.ts";
export { decode, encode } from "https://deno.land/std@0.74.0/encoding/utf8.ts";
export { format as byteFormat } from ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/69f683f2379aa169d65d7dae84396261bf390b9d.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/mod.ts
export * from "./src/types.ts";
export * from "./src/interfaces.ts";
export * from "./src/utils.ts";
export * from "./src/messages.ts";
export * from "./src/validate.ts";
export * from "./src/rules.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6a000c7c420b15b3a5e00d66c7448d51ce440c96.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isISBN.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const isbn10Maybe = /^(?:[0-9]{9}X|[0-9]{10})$/;
/**
* @ignore
*/
const isbn13Maybe = /^(?:[0-9]{13})$/;
/**
* @ignore
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6a0fe8918345b94de98439906e2f5a8616b536bc.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/mergeDeepWithKey.js
import _curry3 from './internal/_curry3.js';
import _isObject from './internal/_isObject.js';
import mergeWithKey from './mergeWithKey.js';
/**
* Creates a new object with the own properties of the two provided objects.
* If a key exists ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6a399f1a72481940ab22e9c8c25afd7bca926e1d.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_createPartialApplicator.js
import _arity from './_arity.js';
import _curry2 from './_curry2.js';
export default function _createPartialApplicator(concat) {
return _curry2(function(fn, args) {
return _arity(Math.max(0, fn.length - args.length), ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6a47f3c7ed4eb9ae67e93fca98d56bfbb86ecf62.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/scan.js
import _curry3 from './internal/_curry3.js';
/**
* Scan is similar to [`reduce`](#reduce), but returns a list of successively
* reduced values from the left
*
* @func
* @memberOf R
* @since v0.10.0
* @category List
* @sig ((a, b) -> a) -> a -> ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6a4fac5f6593dd182a3f017d744cb2beece46eb9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/channels/get_channels.ts
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import { structures } from "../../structures/mod.ts";
import type { Channel } from "../../types/channels/channel.ts";
import { Colle... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6a652a01379b628656aa26d37658c4144a503382.ts | TypeScript | // Loaded from https://deno.land/x/deno_lodash@v0.1.0/lodash.ts
import * as pkg from 'https://cdn.skypack.dev/lodash-es@^4.17.15';
export const ld = pkg.lodash
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6aa66eeb2703c40acaa7e5a16c042c7f9d19b387.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/mapValue.js
import objectEntries from '../polyfills/objectEntries.js';
/**
* Creates an object map with the same keys as `map` and values generated by
* running each value of `map` thru `fn`.
*/
export default function mapValue(map, fn) {
const... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6aa9d935c76b64f48fb6807860c273cbbeb55a52.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/buf_reader.ts
// Copyright 2018-2020 the oak authors. All rights reserved. MIT license.
import { assert } from "./deps.ts";
import { stripEol } from "./util.ts";
export interface ReadLineResult {
bytes: Uint8Array;
eol: boolean;
}
const DEFAULT_BUF_SIZE = 4096;
con... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6b23bb0dd8829f0b41d0c1dce31a87e2599e5a21.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/mergeLeft.js
import _objectAssign from './internal/_objectAssign.js';
import _curry2 from './internal/_curry2.js';
/**
* Create a new object with the own properties of the first object merged with
* the own properties of the second object. If a key exists in... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6b299e3d6c1c6bd6d32e24c962f2a8aca5b1e356.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/testing/asserts.ts
// Copyright 2018-2020 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 }... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6b30968b981eac9bfbfce10ed2c3d99893026b1c.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/hash/sha1.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha1]{@link https://github.com/emn178/js-sha1}
*
* @version 0.6.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
*/
exp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6b38a007e4be55b015f855dd0cfbdd13dacfbbd2.ts | TypeScript | // Loaded from https://deno.land/x/oak/middleware.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
// deno-lint-ignore-file
import type { State } from "./application.ts";
import type { Context } from "./context.ts";
/** Middleware are functions which are chained together to deal with re... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6b760120f9dd7fdb90bc9557d2e270ddf84db232.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/invertObj.js
import _curry1 from './internal/_curry1.js';
import keys from './keys.js';
/**
* Returns a new object with the keys of the given object as values, and the
* values of the given object, which are coerced to strings, as keys. Note
* that the last... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6ba6befd41e8ffdef17c43ef1cfa56c616a9db45.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/get_ban.ts
import { rest } from "../../rest/rest.ts";
import type { Ban } from "../../types/guilds/ban.ts";
import { endpoints } from "../../util/constants.ts";
import { requireBotGuildPermissions } from "../../util/permissions.ts";
/** Ret... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6bef3b7bff1110914388d48be8b4e12c49fbe11c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/gateway_opcodes.ts
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes */
export enum DiscordGatewayOpcodes {
Dispatch,
Heartbeat,
Identify,
StatusUpdate,
VoiceStateUpdate,
Resume = 6,
R... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6bf826799f6f2af7641f21626f840957338cc174.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isEmail.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
// @ts-ignore allowing typedoc to build
import { isByteLength } from './isByteLength.ts';
// @ts-ignore allowing typedoc to build
import { isFQD... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6c02c424105081503b5fd38bfc4b0c4546d6121f.ts | TypeScript | // Loaded from https://deno.land/x/abc@v1.2.4/_header.ts
export const Accept = "Accept",
AcceptEncoding = "Accept-Encoding",
Allow = "Allow",
Authorization = "Authorization",
ContentDisposition = "Content-Disposition",
ContentEncoding = "Content-Encoding",
ContentLength = "Content-Length",
ContentType =... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6c770a43588adf2ee510f29a8522ae521a84e4b5.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/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... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6c7b85525c7cde2f4db139c4a7fe51f19b57acc0.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/onError.ts
import { Request } from './request.ts'
import { NextFunction } from 'https://esm.sh/@tinyhttp/router'
import { ALL as STATUS_CODES } from 'https://deno.land/x/status@0.1.0/codes.ts'
import { status } from 'https://deno.land/x/status@0.1.0/status.ts'
expor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6cada1085856ed8cad8f4a0268d4e72ebd3bf8ed.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/delete_slash_response.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import { endpoints } from "../../../util/constants.ts";
/** To delete your response to a slash command. I... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6cadf521dfd90a5456dcce92d496318b52d944ac.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/async/mux_async_iterator.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { Deferred, deferred } from "./deferred.ts";
interface TaggedYieldedValue<T> {
iterator: AsyncIterableIterator<T>;
value: T;
}
/** The MuxAsyncIterator class ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6cf6fe2d092a147a6059017a56ef4d8c714281ce.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/when.js
import _curry3 from './internal/_curry3.js';
/**
* Tests the final argument by passing it to the given predicate function. If
* the predicate is satisfied, the function will return the result of calling
* the `whenTrueFn` function with the same argu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6d1a8250001c0e287df7ecdfe8d1fa22b8a97479.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/printSchema.js
import objectValues from '../polyfills/objectValues.js';
import inspect from '../jsutils/inspect.js';
import invariant from '../jsutils/invariant.js';
import { print } from '../language/printer.js';
import { printBlockString } from '... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6d2a5c2dec57e9c2b2e08cc931287b08f6a019dd.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isFloat.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
// @ts-ignore allowing typedoc to build
import { decimal } from '../helpers/alpha.ts';
type FloatOptions = {
locale?: string;
min?: number... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6d54a8dccf014450ddb88e89f40089e6277c422b.ts | TypeScript | // Loaded from https://deno.land/std@0.80.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; /... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6da850af9c0874fdd579d251eafb95dd808c66cc.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_string.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
export function isString(value: any): Validity {
if (typeof value !== "string") {
return invalid("isString", { value });
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6db144aa15575527498611ee18c537450d27b220.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/table/lib/layout.ts
import { Cell, ICell } from './cell.ts';
import { IRow, Row } from './row.ts';
import type { IBorderOptions, ITableSettings, Table } from './table.ts';
import { consumeWords, longest, stripeColors } from './utils.ts';
interface IRenderSet... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e05c0bb3b2468edcf787be0052808d9a3e880ce.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isTransformer.js
export default function _isTransformer(obj) {
return obj != null && typeof obj['@@transducer/step'] === 'function';
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e23661937c2db7f0343b2f9e80cae4200ab05c4.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type/float.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 r... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e2e36488603c40cd5fe253a5a962921ac4c4cce.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/interaction_types.ts
/** https://discord.com/developers/docs/interactions/slash-commands#interaction-interactiontype */
export enum DiscordInteractionTypes {
Ping = 1,
ApplicationCommand,
Button,
}
export type InteractionTypes = D... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e4f40cbedac8d818c07da535e1e3779c8c46161.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/io/bufio.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// li... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e51dce521e0fb52f8173a4ddbae55efbf9aad89.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/flags/_errors.ts
import { didYouMeanOption, didYouMeanType, getFlag } from "./_utils.ts";
import type { IFlagOptions } from "./types.ts";
export class FlagsError extends Error {
constructor(message: string) {
super(message);
Object.setPrototypeOf(this, Flag... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e54bde0f3ba931ef87cf182b74a92c25ead8e73.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/has.js
import _curry2 from './internal/_curry2.js';
import hasPath from './hasPath.js';
/**
* Returns whether or not an object has an own property with the specified name
*
* @func
* @memberOf R
* @since v0.7.0
* @category Object
* @sig s -> {s: x} -> B... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6e54fc92158adec2df69b5654078decf8f67292e.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/_util/assert.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export class DenoStdInternalError extends Error {
constructor(message: string) {
super(message);
this.name = "DenoStdInternalError";
}
}
/** Make an assertion, if not `t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6ea3bad8b328fa13b6caf93e0bc0a05e8e6570b6.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/discordeno/create_slash_command.ts
import { CreateGlobalApplicationCommand } from "../interactions/commands/create_global_application_command.ts";
export interface DiscordenoCreateApplicationCommand extends CreateGlobalApplicationCommand {
/** Id ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6ec7162085a2e78d83fd084ee73c11b6c185ac8b.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isIMEI.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
let imeiRegexWithoutHypens = /^[0-9]{15}$/;
/**
* @ignore
*/
let imeiRegexWithHypens = /^\d{2}-\d{6}-\d{6}-\d{1}$/;
type ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6ef99905fe2cd81fcdc8dcee4f103d47a0c69e0d.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/mod.ts
export * from './app.ts'
export * from './types.ts'
export * from './request.ts'
export * from './response.ts'
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6f040f7ce57e789f1697a18744f8af1ff6127f23.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/rest/process_request.ts
import { BASE_URL } from "../util/constants.ts";
import { rest, RestPayload, RestRequest } from "./rest.ts";
/** Processes a request and assigns it to a queue or creates a queue if none exists for it. */
export async function proce... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6f097cb922471172056ab440c1d3e45fda2cfd54.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/embeds/mod.ts
export * from "./embed.ts";
export * from "./embed_author.ts";
export * from "./embed_field.ts";
export * from "./embed_footer.ts";
export * from "./embed_image.ts";
export * from "./embed_provider.ts";
export * from "./embed_thumbnail.... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6f20bf7ec89e1f992e16cace6898baea24de84dc.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/schema/mod.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 r... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6f52371e4cd20c8c24840922bac8f64aa9059830.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.7.1/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/6f7edb35811a9cf784c67fdeffd2497d8bd4377e.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/lib/command.ts
const { stdout, stderr } = Deno;
import { encode } from 'https://deno.land/std@0.63.0/encoding/utf8.ts';
import { dim, red } from 'https://deno.land/std@0.63.0/fmt/colors.ts';
import { parseFlags } from '../../flags/lib/flags.ts';
impor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6facd150607eca1831a48adccd45036748db3033.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/sortBy.js
import _curry2 from './internal/_curry2.js';
/**
* Sorts the list according to the supplied function.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Relation
* @sig Ord b => (a -> b) -> [a] -> [a]
* @param {Function} fn
* @param {Array}... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6fb806ecb224e714d59bc1d3bd05721d37fabe7c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/activity_secrets.ts
/** https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets */
export interface ActivitySecrets {
/** The secret for joining a party */
join?: string;
/** The secret for spectating a game... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6fc9b4d24c4c8665ce3fb81006ce71ecdd5700fe.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/protocol/cursor.ts
import { Bson } from "../../deps.ts";
import { WireProtocol } from "./protocol.ts";
import { Document } from "../types.ts";
import { parseNamespace } from "../utils/ns.ts";
export interface CommandCursorOptions<T> {
id: bigint | number | strin... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6fd4b800036a95c1846ff527f45d20ef5bfea634.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/reaction.ts
import { Emoji } from "../emojis/emoji.ts";
/** https://discord.com/developers/docs/resources/channel#reaction-object */
export interface Reaction {
/** Times this emoji has been used to react */
count: number;
/** Whether... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6fe49a8c6f5ba42ea13308b841f4d1e4ce171f1b.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/buildClientSchema.js
import objectValues from '../polyfills/objectValues.js';
import inspect from '../jsutils/inspect.js';
import devAssert from '../jsutils/devAssert.js';
import keyValMap from '../jsutils/keyValMap.js';
import isObjectLike from '.... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6fe71b4957b7d780c71afb9001bfef7e59569372.ts | TypeScript | // Loaded from https://deno.land/x/router@v2.0.0/mod.ts
export class Node {
children = new Map<string, Node>();
path = "";
func: Function | undefined;
constructor(node?: Partial<Node>) {
if (node) {
Object.assign(this, node);
}
}
add(path: string, func: Function): void {
let n: Node = ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6fefe34bc3e2a62ec78fd1a57e065990a0297a78.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/audit_log_events.ts
/** https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events */
export enum DiscordAuditLogEvents {
GuildUpdate = 1,
ChannelCreate = 10,
ChannelUpdate,
ChannelDelete,
Chan... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6ff7a6b1cf0952d583431673b923b57ecb13760d.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/OverlappingFieldsCanBeMergedRule.js
import find from '../../polyfills/find.js';
import objectEntries from '../../polyfills/objectEntries.js';
import inspect from '../../jsutils/inspect.js';
import { GraphQLError } from '../../error/GraphQLEr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7074e0bfb8e3d093d069ed64c5cb921f7630795b.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/evolve.js
import _curry2 from './internal/_curry2.js';
import _isArray from './internal/_isArray.js';
import _isObject from './internal/_isObject.js';
/**
* Creates a new object by recursively evolving a shallow copy of `object`,
* according to the `transfor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7090583821ebcde63bbd41dc209970c4e3168176.ts | TypeScript | // Loaded from https://deno.land/std@0.104.0/path/win32.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_BACKWARD_SLASH,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/70ad2c2d2b8dae1f982011d943a56ace1e0d6c39.ts | TypeScript | // Loaded from https://deno.land/std@0.85.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/70c4525fcfc01109036e1bbf23191a115d667845.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/adjust.js
import _concat from './internal/_concat.js';
import _curry3 from './internal/_curry3.js';
/**
* Applies a function to the value at the given index of an array, returning a
* new copy of the array with the element at the given index replaced with th... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/70cbddbeab5b1df6db66d5c56272506dcb3dd18a.ts | TypeScript | // Loaded from https://deno.land/x/sqlite@v2.3.1/build/sqlite.js
import env from "./vfs.js";
const wasm =
"AGFzbQEAAAABuQM6YAN/f38AYAF/AX9gAX8AYAJ/fwF/YAN/f38Bf2AEf39/fwF/YAR/f39+AX9gAn9+AX9gAABgBX9/f39/AX9gBX9/f39+AGAGf39/f39/AX9gAn9/AGAEf39/fwBgAAF8YAF8AGAAAX9gA39/fAF/YAJ/fwF8YAF+AX9gAX4BfmABfwF+YAF/AXxgA39/fgF/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/70d068476667405abfef2e4c5d56a3452441cea7.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/negotiation/language.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/70dc824078330decf57f1772c3bebc5614bc9492.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isFunction.js
export default function _isFunction(x) {
var type = Object.prototype.toString.call(x);
return type === '[object Function]' ||
type === '[object AsyncFunction]' ||
type === '[object GeneratorFunction]' ||
type === '[object... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/713ca9591daaf5e3d7601641fb62d1af4277a397.ts | TypeScript | // Loaded from https://deno.land/std/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";
// console.log(... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/71b26ce51ccf6d7932c718b438599193efc61a72.ts | TypeScript | // Loaded from https://deno.land/x/case/dotCase.ts
import normalCase from "./normalCase.ts";
export default function dotCase(value: string, locale?: string): string {
return normalCase(value, locale, ".");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/71bcbbbf128730a08465a0c8a2e8a76105927534.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/members/GUILD_MEMBER_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { structures } from "../../structures/mod.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gate... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/71c0c5a98ac147751dcd48b59f9419e994a1fb46.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/type/set.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/722a85bbc34ef77f799cb2b49aba8aa0cfa5e017.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/UniqueDirectiveNamesRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
/**
* Unique directive names
*
* A GraphQL document is only valid if all defined directives have unique names.
*/
export function UniqueDirectiveNam... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/722ed3ada24fb2158408781ceb93f1b93c27f7e3.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/node/_errors.ts
// Copyright Node.js contributors. All rights reserved. MIT License.
/************ NOT IMPLEMENTED
* ERR_INVALID_MODULE_SPECIFIER
* ERR_INVALID_PACKAGE_TARGET
* ERR_INVALID_URL_SCHEME
* ERR_MANIFEST_ASSERT_INTEGRITY
* ERR_MODULE_NOT_FOUND
* ERR_PACKAGE_PATH... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/72861e1eac7231d1f1591ff1e6284c354e929ad5.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/activity_emoji.ts
/** https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji */
export interface ActivityEmoji {
/** The name of the emoji */
name: string;
/** The id of the emoji */
id?: string;
/** Whet... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/72871fbe846bbe3c96cb171450afa6869ab397b6.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/get_slash_command.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import type { ApplicationCommand } from "../../../types/interactions/commands/application_command.ts";
import ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/729b826f0ec6cd05ae4c56a66ff267f68d230551.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/unionWith.js
import _concat from './internal/_concat.js';
import _curry3 from './internal/_curry3.js';
import uniqWith from './uniqWith.js';
/**
* Combines two lists into a set (i.e. no duplicates) composed of the elements
* of each list. Duplication is dete... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/731cb4b28604ceaf6b940662162fc7f3cf72f4a9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/get_guild_preview.ts
import { rest } from "../../rest/rest.ts";
import type { GuildPreview } from "../../types/guilds/guild_preview.ts";
import { endpoints } from "../../util/constants.ts";
/** Returns the guild preview object for the given... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/733ebae467731b038d892df56cd882efecc1065e.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_bool.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
export function isBool(value: any): Validity {
if (typeof value !== "boolean") {
return invalid("isBool", { value });
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/733f3e76d4872e8e4339cef254b2391db6e451da.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/fs/ensure_link.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 { exists, existsSync } from "./exists.ts";
import { getFileInfoType } from... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/737f22e1d52d7111bad0fbca4ac98156c56812ce.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/inftrees.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/73b12386fb8fd48c66a355b7022e9e6193f94ad8.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/bot.ts
import { getGatewayBot } from "./helpers/misc/get_gateway_bot.ts";
import { rest } from "./rest/rest.ts";
import type { EventHandlers } from "./types/discordeno/event_handlers.ts";
import { DiscordGatewayIntents } from "./types/gateway/gateway_inten... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/73be4b5db4507e76dc9aaaf2e1be8e164dd9f1fa.ts | TypeScript | // Loaded from https://deno.land/std@0.81.0/async/delay.ts
// Copyright 2018-2020 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/73c37d304c8351fad35a71f5680197dc45463005.ts | TypeScript | // Loaded from https://deno.land/std@0.93.0/path/mod.ts
// Copyright the Browserify authors. MIT License.
// Ported mostly from https://github.com/browserify/path-browserify/
// This module is browser compatible.
import { isWindows } from "../_util/os.ts";
import * as _win32 from "./win32.ts";
import * as _posix fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/73ce26cbde0e838c96d42691a66e965e13cf8d0c.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/types/boolean.ts
import { boolean } from "../../flags/types/boolean.ts";
import type { ITypeInfo } from "../types.ts";
import { Type } from "../type.ts";
/** Boolean type with auto completion. Allows `true`, `false`, `0` and `1`. */
export class BooleanType e... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/74013228b4d3b0c3d730880d29bd2cd90052c115.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/message_delete_bulk.ts
/** https://discord.com/developers/docs/topics/gateway#message-delete-bulk */
export interface MessageDeleteBulk {
/** The ids of the messages */
ids: string[];
/** The id of the channel */
channelId: string;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/74384cbde4990f56a0f176c22b7d99a74916f268.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/fs/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export * from "./empty_dir.ts";
export * from "./ensure_dir.ts";
export * from "./ensure_file.ts";
export * from "./ensure_link.ts";
export * from "./ensure_symlink.ts";
export * from "./ex... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7468f3a48f08c5bc56fd2bcb64729ad757e0a851.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/internalTypes.ts
export enum ColorType {
UNKNOWN = -1,
GREYSCALE = 0,
TRUECOLOUR = 2,
INDEXED_COLOUR = 3,
GREYSCALE_ALPHA = 4,
TRUECOLOUR_ALPHA = 6,
}
export enum CompressionMethod {
UNKNOWN = -1,
DEFLATE = 0,
}
export enum F... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/746df319528b0f1ec152f8e27b5ffe3a36950d9f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/users/create_dm.ts
/** https://discord.com/developers/docs/resources/user#create-dm */
export interface CreateDM {
/** The recipient to open a DM channel with */
recipientId: string;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/74ea571e67389f1bee3c0496175f9071d0b6a478.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/utils.ts
import type { Rule, MessageFunction, Validity } from "./types.ts";
import type {
InvalidParams,
InvalidPayload,
ValidationErrors,
FirstMessages,
FlattenMessages,
RawValidationResult,
ValidationOptions,
ValidationMessages,
InputData,
Valida... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/74f6b480cf4df8ea36359b558b9f2662106dd2c2.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/call.js
import _curry1 from './internal/_curry1.js';
/**
* Returns the result of calling its first argument with the remaining
* arguments. This is occasionally useful as a converging function for
* [`R.converge`](#converge): the first branch can produce a ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/74faf29ce09bfcf0067ed2b3452b8e1daaadd73a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/useWith.js
import _curry2 from './internal/_curry2.js';
import curryN from './curryN.js';
/**
* Accepts a function `fn` and a list of transformer functions and returns a
* new curried function. When the new function is invoked, it calls the
* function `fn` ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7521aa48dd614c8b2f9da7fd26d2b8616104cb6e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/innerJoin.js
import _includesWith from './internal/_includesWith.js';
import _curry3 from './internal/_curry3.js';
import _filter from './internal/_filter.js';
/**
* Takes a predicate `pred`, a list `xs`, and a list `ys`, and returns a list
* `xs'` comprisin... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/752e2e37f1bf1a2e0b768bebead54dd647892308.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/members/guild_member_update.ts
import { User } from "../users/user.ts";
/** https://discord.com/developers/docs/topics/gateway#guild-member-update */
export interface GuildMemberUpdate {
/** The id of the guild */
guildId: string;
/** User rol... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7574c470a446f9cfe5ba758b023b5629ee728f4f.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/mergeAll.js
import _objectAssign from './internal/_objectAssign.js';
import _curry1 from './internal/_curry1.js';
/**
* Creates one new object with the own properties from a list of objects.
* If a key exists in more than one object, the value from the last
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/75b05c480cd1107916ab3e9ff5718801bde920f2.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/typeComparators.js
import { isInterfaceType, isObjectType, isListType, isNonNullType, isAbstractType } from '../type/definition.js';
/**
* Provided two types, return true if the types are equal (invariant).
*/
export function isEqualType(typeA, ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/75b16eb10ab7d0867c7c835539785553a1630257.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/endsWith.js
import _curry2 from './internal/_curry2.js';
import equals from './equals.js';
import takeLast from './takeLast.js';
/**
* Checks if a list ends with the provided sublist.
*
* Similarly, checks if a string ends with the provided substring.
*
* ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/75ee8130f81b6795e82334fc6f49ae1f8e287d20.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_permission_types.ts
export enum DiscordApplicationCommandPermissionTypes {
Role = 1,
User,
}
export type ApplicationCommandPermissionTypes = DiscordApplicationCommandPermissionTypes;
export const Applica... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/76097c91a2f398ea212294bf4e3ad289122dc7c3.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/embeds/embed_image.ts
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure */
export interface EmbedImage {
/** Source url of image (only supports http(s) and attachments) */
url?: string;
/** A proxied u... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7610ca9c7c32ec44af49386dd59f6ba082650813.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/invites/get_invite.ts
/** https://discord.com/developers/docs/resources/invite#get-invite */
export interface GetInvite {
/** Whether the invite should contain approximate member counts */
withCounts?: boolean;
/** Whether the invite should con... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/763252be4c80285bb0c76e3a61edbfb60b554be9.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xreduceBy.js
import _curryN from './_curryN.js';
import _has from './_has.js';
import _xfBase from './_xfBase.js';
function XReduceBy(valueFn, valueAcc, keyFn, xf) {
this.valueFn = valueFn;
this.valueAcc = valueAcc;
this.keyFn = keyFn;
this.x... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/764d8094d4b707e2c06a2b441e2b4bbc56af640e.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/commands/completions/bash.ts
import { Command } from '../../lib/command.ts';
/**
* Generates bash completion code.
*/
export class BashCompletionsCommand extends Command {
public constructor( _cmd?: Command ) {
super();
this.de... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/765d97d6ba2112ca9e8548a27f777e6cd05ec8ac.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/http/server.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { encode } from "../encoding/utf8.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { assert } from "../_util/assert.ts";
import { Deferred, deferred, MuxAsyncI... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/76654db7bbc0e432ccc438345e4a583e0b486339.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/fs/ensure_dir.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { getFileInfoType } from "./_util.ts";
/**
* Ensures that the directory exists.
* If the directory structure does not exist, it is created. Like mkdir -p.
* Requires the `... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/76665b5478dfc5fbe9603d9f25fbd39acb692d73.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isArguments.js
import _has from './_has.js';
var toString = Object.prototype.toString;
var _isArguments = (function() {
return toString.call(arguments) === '[object Arguments]' ?
function _isArguments(x) { return toString.call(x) === '[object A... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/7687fa09d4cabf1b18f3c66634e539c83f0b24ae.ts | TypeScript | // Loaded from https://deno.land/std/hash/sha1.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha1]{@link https://github.com/emn178/js-sha1}
*
* @version 0.6.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
*/
export typ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/769a5d7785c8cc45cda3b350f2deee977a0eff77.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/x/camelCase.ts
import normalCase from './normalCase.ts';
import upperCase from './upperCase.ts';
export default function camelCase(
value: string,
locale?: string,
mergeNumbers?: boolean
): string {
let result = normalCase( value, locale );
... | 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.