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/af75a4ca6fef72670fb344d6a0b5e5cbef7949a3.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/client.ts
import { assert } from "../deps.ts";
import { Database } from "./database.ts";
import { WireProtocol } from "./protocol/mod.ts";
import { ConnectOptions, Document, ListDatabaseInfo } from "./types.ts";
import { parse } from "./utils/uri.ts";
export class... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/afa11413d04e197cf530446beaf8dde8b9587375.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/lib/data-types.ts
import type { ModelSchema } from "./model.ts";
/** Field Types. */
export type FieldTypeString =
| "bigInteger"
| "integer"
| "decimal"
| "float"
| "uuid"
| "boolean"
| "binary"
| "enu"
| "string"
| "text"
| "date"
| "datetim... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/afac710df581a532b1b7923486b7649d579f8c2e.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/introspectionFromSchema.js
import invariant from '../jsutils/invariant.js';
import isPromise from '../jsutils/isPromise.js';
import { parse } from '../language/parser.js';
import { execute } from '../execution/execute.js';
import { getIntrospection... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/afc9248b5aa403f8f5db45ad13606d73887650f2.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/type.ts
import type { Command } from "./command.ts";
import type { ITypeInfo } from "./types.ts";
/**
* Base class for custom types.
*
* **Custom type example:**
* ```
* export class ColorType extends Type<string> {
* public parse({ label, name, value... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/afcc6eaa764ef6a22fec790bcb37a88c1112d02a.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/invariant.js
export default function invariant(condition, message) {
const booleanCondition = Boolean(condition);
/* istanbul ignore else (see transformation done in './resources/inlineInvariant.js') */
if (!booleanCondition) {
throw new E... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b016b373e03d515d690c515f974239e8f6fc82ac.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/threads/start_thread.ts
// TODO: add docs link
export interface StartThread {
/** 2-100 character thread name */
name: string;
/** Duration in minutes to automatically archive the thread after recent activity */
autoArchiveDuration: ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b01d10bd522162964c35a761ffd2f2e54df8eccf.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/pipeWith.js
import _arity from './internal/_arity.js';
import _curry2 from './internal/_curry2.js';
import head from './head.js';
import _reduce from './internal/_reduce.js';
import tail from './tail.js';
import identity from './identity.js';
/**
* Performs l... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b05d13b0775b642a83cd8da22d68d4d68a4965ca.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/reduce.js
import _curry3 from './internal/_curry3.js';
import _reduce from './internal/_reduce.js';
/**
* Returns a single item by iterating through the list, successively calling
* the iterator function and passing it an accumulator value and the current
*... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b0ccc81704aae29e48347e035f3deefeb7de22e7.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/ifElse.js
import _curry3 from './internal/_curry3.js';
import curryN from './curryN.js';
/**
* Creates a function that will process either the `onTrue` or the `onFalse`
* function depending upon the result of the `condition` predicate.
*
* @func
* @member... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b12a6cda523d22548f22cf8337cbf3c80af0f658.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/index.js
// Produce the GraphQL query recommended for a full schema introspection.
// Accepts optional IntrospectionOptions.
export { getIntrospectionQuery } from './getIntrospectionQuery.js';
// Gets the target Operation from a Document.
export { ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b142aa2060fb12d396785890a64e6b3b3d7b7994.ts | TypeScript | // Loaded from https://deno.land/x/dndb@0.2.4/src/methods/removeOne.js
import { matches } from '../../deps.ts';
import { ReadFileStream, WriteFileStream } from '../storage.ts';
export default async (filename, query) => {
const readStream = new ReadFileStream(filename);
const writeStream = new WriteFileStream(fi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b15f356f842ef09da42d267398da87b4f0019166.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/concat.js
import _curry2 from './internal/_curry2.js';
import _isArray from './internal/_isArray.js';
import _isFunction from './internal/_isFunction.js';
import _isString from './internal/_isString.js';
import toString from './toString.js';
/**
* Returns the... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b1612551ea837f2d0dc8cfbbfd6b4177dc401a0d.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/typeFromAST.js
import inspect from '../jsutils/inspect.js';
import invariant from '../jsutils/invariant.js';
import { Kind } from '../language/kinds.js';
import { GraphQLList, GraphQLNonNull } from '../type/definition.js';
/**
* Given a Schema and... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b1b129f07d03ecfec2509af9441d6588b8ced0d6.ts | TypeScript | // Loaded from https://deno.land/std@0.73.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,... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b25e0e29d6dae5035ab13911c3f6c4496af88160.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isLatLong.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const lat = /^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/;
/**
* @ignore
*/
const long = /^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b26bae21ebd52e13155706a0b4bfe7776747b74a.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/flags/types/string.ts
import type { ITypeHandler, ITypeInfo } from "../types.ts";
/** String type handler. Excepts any value. */
export const string: ITypeHandler<string> = ({ value }: ITypeInfo): string => {
return value;
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b2ddd7b200c85801f31e4a4798295a16f324ec34.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/difference.js
import _curry2 from './internal/_curry2.js';
import _Set from './internal/_Set.js';
/**
* Finds the set (i.e. no duplicates) of all elements in the first list not
* contained in the second list. Objects and Arrays are compared in terms of
* va... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b2edd56e998026f10cd5fb77f1eb02f0410709ca.ts | TypeScript | // Loaded from https://deno.land/std/fs/expand_glob.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
GlobOptions,
globToRegExp,
isAbsolute,
isGlob,
joinGlobs,
normalize,
SEP_PATTERN,
} from "../path/mod.ts";
import {
_createWalkEntry,
_createWalkEntrySync,
wal... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b2f07cad5598e88b3b333955c98afc6eacdcc687.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_date.ts
import type { Validity } from "../types.ts";
import { dateChecks } from "../utils.ts";
export function isDate(value: any): Validity {
return dateChecks(value, "isDate");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b2f3133f21ac040d595cd74882ca22cf24799b47.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/commands/APPLICATION_COMMAND_CREATE.ts
import { eventHandlers } from "../../bot.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
import type { ApplicationCommandCreateUpdateDelete } from "../../types/intera... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b2f626579e4f8c26431d13e8da8579fd9228acae.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/reduceWhile.js
import _curryN from './internal/_curryN.js';
import _reduce from './internal/_reduce.js';
import _reduced from './internal/_reduced.js';
/**
* Like [`reduce`](#reduce), `reduceWhile` returns a single item by iterating
* through the list, succe... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b3009467770182c511b3086c5f578da5b3ab0b67.ts | TypeScript | // Loaded from https://deno.land/std@0.104.0/_util/os.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
export const osType = (() => {
// deno-lint-ignore no-explicit-any
const { Deno } = globalThis as any;
if (typeof Deno?.build?.os === "string... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b329d145946b1ddddb0e84874f5dbc86072d3a95.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isCreditCard.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const creditCard = /^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|272... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b347172b9485f4da7366eae189c05440e8d9ec39.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/multilineRegex.ts
/**
* Build RegExp object from an array
* of multiple/multi-line regexp parts
*
* @param {string[]} parts
* @param {string} flags
* @return {object} - RegExp object
*/
export const multilineRegexp = (parts: string[], flags = '') => {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b35698688334edc677dff00ddd9d5b8f7adec34e.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/discovery/validate_discovery_search_term.ts
// TODO: add docs link
export interface ValidateDiscoverySearchTerm {
/** Whether the provided term is valid */
valid: boolean;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b3633edaedc70f9d4571a4ebe68a8d02fa42d263.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/templates/create_guild_from_template.ts
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import { structures } from "../../structures/mod.ts";
import type { Guild } from "../../types/guilds/guild.ts";
impor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b36756a13b09ce05fb790217702d04416dfbb798.ts | TypeScript | // Loaded from https://deno.land/x/type_is@1.0.3/deps.ts
export { lookup } from "https://deno.land/x/media_types@v2.8.1/mod.ts";
export { parse } from "https://deno.land/x/content_type@1.0.1/mod.ts";
export { test } from "https://deno.land/x/media_typer@1.0.1/mod.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b38ddce03727e795106fb99f058ae11d42efa21a.ts | TypeScript | // Loaded from https://deno.land/x/oak/send.ts
/*!
* Adapted from koa-send at https://github.com/koajs/send and which is licensed
* with the MIT license.
*/
import type { Context } from "./context.ts";
import { createHttpError } from "./httpError.ts";
import { basename, extname, parse, sep } from "./deps.ts";
imp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b39958f85653b276abfec51177db58a3996e2193.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/type/merge.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/b39a1259a879e589cbfc469dbed53e2884656eaa.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/invites/invite_delete.ts
/** https://discord.com/developers/docs/topics/gateway#invite-delete */
export interface InviteDelete {
/** The channel of the invite */
channelId: string;
/** The guild of the invite */
guildId?: string;
/** The un... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b3c9d77315956d3cfcd53437cd821c606d0a59e0.ts | TypeScript | // Loaded from https://deno.land/x/accepts@2.1.0/mod.ts
/*!
* Based on https://github.com/jshttp/accepts/blob/master/index.js
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* Copyright(c) 2020 Henry Zhuang
* MIT Licensed
*/
import { Negotiator, lookup } from "./deps.ts";
/**
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b3ff9a3ddf249e9432acf35af1cd7f9655c46115.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/command.ts
import {
DuplicateOptionName,
UnknownType,
ValidationError,
} from "../flags/_errors.ts";
import { parseFlags } from "../flags/flags.ts";
import type { IFlagOptions, IFlagsResult } from "../flags/types.ts";
import {
getPermissions,
hasPerm... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b409234992ea48dc58a0f8f30f6b08c0c535071f.ts | TypeScript | // Loaded from https://deno.land/x/abc@v1.2.4/vendor/https/deno.land/std/path/mod.ts
export * from "https://deno.land/std@0.81.0/path/mod.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b41d1bbd146ad945291e6c1f7d583994e1e44285.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/gte.js
import _curry2 from './internal/_curry2.js';
/**
* Returns `true` if the first argument is greater than or equal to the second;
* `false` otherwise.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Relation
* @sig Ord a => a -> a -> Boolean
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b420d2435521a43a909d5d8a46776526091ca5c0.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/partialRight.js
import _concat from './internal/_concat.js';
import _createPartialApplicator from './internal/_createPartialApplicator.js';
import flip from './flip.js';
/**
* Takes a function `f` and a list of arguments, and returns a function `g`.
* When a... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b4404710eddc2ccb327878457a442d18e9f1c104.ts | TypeScript | // Loaded from https://deno.land/std@0.92.0/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/b459e810bea30149bf1280057af32aa9b050d027.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/async/deferred.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// TODO(ry) It'd be better to make Deferred a class that inherits from
// Promise, rather than an interface. This is possible in ES2016, however
// typescript produces broken code w... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b48a58c2984bd7d27ea15c473e55e801450fc9cc.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/dumper/dumper_state.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... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b54d712edc81e1bfd44eef3805a506fc835e7a6e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xtap.js
import _curry2 from './_curry2.js';
import _xfBase from './_xfBase.js';
function XTap(f, xf) {
this.xf = xf;
this.f = f;
}
XTap.prototype['@@transducer/init'] = _xfBase.init;
XTap.prototype['@@transducer/result'] = _xfBase.result;
XTap.pr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b5700b6cbaee4263179b938d27c9c14d8f5afa80.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/bson/mod.ts
// @deno-types='./bson.d.ts'
export * from "https://cdn.skypack.dev/bson";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b570164851cfd5dedffa1cfca327d673cbabbbeb.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/flags/validate_flags.ts
import { getOption, paramCaseToCamelCase } from "./_utils.ts";
import {
ConflictingOption,
DependingOption,
MissingOptionValue,
MissingRequiredOption,
NoArguments,
OptionNotCombinable,
UnknownOption,
} from "./_errors.ts";
import ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b581fb280b5afa1dea7ce0149b93523a84527438.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/type_guards/is_action_row.ts
import type { ActionRow } from "../../types/messages/components/action_row.ts";
import type { MessageComponent } from "../../types/messages/components/message_components.ts";
import { MessageComponentTypes } from "../..... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b5926a7e9d3b103db1059fa3c286df477d7293f1.ts | TypeScript | // Loaded from https://deno.land/std@0.102.0/_util/os.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
export const osType = (() => {
// deno-lint-ignore no-explicit-any
const { Deno } = globalThis as any;
if (typeof Deno?.build?.os === "string... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b592876058e4af9494788289d3b006da542db7e4.ts | TypeScript | // Loaded from https://deno.land/std@0.90.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/b5d24f382c4dd36762101122d065bedced2d6232.ts | TypeScript | // Loaded from https://deno.land/x/oak/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) 2014-201... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b5f2c89f0fe61d3d0272d04b309b741c0fd1868d.ts | TypeScript | // Loaded from https://deno.land/std@0.89.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
// lic... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b5fe091944617d00cc0ce57aadba74a1052fdf2a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/xor.js
import _curry2 from './internal/_curry2.js';
/**
* Exclusive disjunction logical operation.
* Returns `true` if one of the arguments is truthy and the other is falsy.
* Otherwise, it returns `false`.
*
* @func
* @memberOf R
* @since v0.27.1
* @ca... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b629742db0b887dbd35913feae073cac76823540.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/members/fetch_members.ts
import { cache } from "../../cache.ts";
import { DiscordenoMember } from "../../structures/member.ts";
import { DiscordGatewayOpcodes } from "../../types/codes/gateway_opcodes.ts";
import { Errors } from "../../types/discor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b654fe628f534340c69d172782bfff51335db83e.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/printPathArray.js
/**
* Build a string describing the path.
*/
export default function printPathArray(path) {
return path.map(key => typeof key === 'number' ? '[' + key.toString() + ']' : '.' + key).join('');
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b675826af19f90236204fd06eaaae434211b517b.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isPassportNumber.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
type CountryCode =
| 'AM'
| 'AR'
| 'AT'
| 'AU'
| 'BE'
| 'BG'
| 'CA'
| 'CH'
| 'CN'
| 'CY'
| 'CZ'
| 'DE'
| 'DK... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b68b8c416e8150689c4479852dd2db345ffa9b0d.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/zlib/zlib/inftrees.ts
const MAXBITS = 15;
const ENOUGH_LENS = 852;
const ENOUGH_DISTS = 592;
//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);
const CODES = 0;
const LENS = 1;
const DISTS = 2;
const lbase = [
/* Length codes 257..285 base */
3,
4,
5,
6,
7,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b68c0ddef3b663652437e5be74e203780d5a64fc.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/_util/os.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
export const osType = (() => {
// deno-lint-ignore no-explicit-any
const { Deno } = globalThis as any;
if (typeof Deno?.build?.os === "string... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b68dea99da29c98fec9431d4853720481b794242.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/users/modify_current_user.ts
/** https://discord.com/developers/docs/resources/user#modify-current-user */
export interface ModifyCurrentUser {
/** User's username, if changed may cause the user's discriminator to be randomized. */
username?: str... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b6a3d51a1e2f725bf5ff4da01d5df71ff70f6d8f.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/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 {
bgGreen,
bgRed,
bold,
gray,
green,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b6a584c0573e2e222005eef044716416cb824de0.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/testing/_diff.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
interface FarthestPoint {
y: number;
id: number;
}
export enum DiffType {
removed = "removed",
common = "common",
added = "added",
}... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b6d2fa7f6a53835ad5226679a241ddffe11402c4.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/whereAny.js
import _curry2 from './internal/_curry2.js';
import _has from './internal/_has.js';
/**
* Takes a spec object and a test object; each of the spec's own properties must be a predicate function.
* Each predicate is applied to the value of the corre... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b6ea6d7adb23cd5c1448eb19295303803b47b933.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/util/loop_object.ts
import { eventHandlers } from "../bot.ts";
export function loopObject<T = Record<string, unknown>>(
obj: Record<string, unknown>,
handler: (value: unknown, key: string) => unknown,
log: string
) {
let res: Record<string, unknow... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b708aa3e2303989a26006e521225c92b5b1305ce.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isArray.js
/**
* Tests whether or not an object is an array.
*
* @private
* @param {*} val The object to test.
* @return {Boolean} `true` if `val` is an array, `false` otherwise.
* @example
*
* _isArray([]); //=> true
* _isArray(null... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b74ad81d907b2b96dab4af43b78235897c8b49d9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/attachment.ts
/** https://discord.com/developers/docs/resources/channel#attachment-object */
export interface Attachment {
/** Attachment id */
id: string;
/** Name of file attached */
filename: string;
/** The attachment's [media ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b7535c9ba13b33d06335169fd4ab52afdfb2f48c.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/collection/commands/update.ts
import { Bson } from "../../../deps.ts";
import { Document, UpdateOptions } from "../../types.ts";
import { WireProtocol } from "../../protocol/mod.ts";
interface UpdateResponse {
ok: number;
nModified: number;
n: number;
upse... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b76fb10b423ffc0a8e5fbd4eb2e126631d26f397.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xdropLastWhile.js
import _curry2 from './_curry2.js';
import _reduce from './_reduce.js';
import _xfBase from './_xfBase.js';
function XDropLastWhile(fn, xf) {
this.f = fn;
this.retained = [];
this.xf = xf;
}
XDropLastWhile.prototype['@@transdu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b786d34f39415771516f7cbe2d830da7239576d2.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_toISOString.js
/**
* Polyfill from <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString>.
*/
var pad = function pad(n) { return (n < 10 ? '0' : '') + n; };
var _toISOString = typeof Date.prototype.toISOS... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b79730d47cf622bae941db3e5b1b0508d990c167.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_pipe.js
export default function _pipe(f, g) {
return function() {
return g.call(this, f.apply(this, arguments));
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b7a2c22f9c2060fdf91b73b7de0d1131db111b98.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/webhooks/get_webhook_message.ts
import { rest } from "../../rest/rest.ts";
import { structures } from "../../structures/mod.ts";
import type { Message } from "../../types/messages/message.ts";
import { endpoints } from "../../util/constants.ts";
/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b7c928288561e7455d7c7b6a7d6826dad516aaf8.ts | TypeScript | // Loaded from https://deno.land/x/oak/mediaTyper.ts
/*!
* Adapted directly from media-typer at https://github.com/jshttp/media-typer/
* which is licensed as follows:
*
* media-typer
* Copyright(c) 2014-2017 Douglas Christopher Wilson
* MIT Licensed
*/
const SUBTYPE_NAME_REGEXP = /^[A-Za-z0-9][A-Za-z0-9!#$&^_... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b7d082f40eabea211b81e0d71894a75898b7be6e.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/prompt/_generic_prompt.ts
import type { Cursor } from "../ansi/cursor_position.ts";
import { tty } from "../ansi/tty.ts";
import { KeyCode } from "../keycode/key_code.ts";
import type { KeyEvent } from "../keycode/key_event.ts";
import { blue, bold, dim, green, italic... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b7f288bbab9b0c486e6a0b3c8ea960e61dc2685e.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v1.4.3/src/rsa/import_key.ts
import { encode } from "./../../src/utility/encode.ts";
import type { JSONWebKey, RSAKeyParams } from "./common.ts";
import { get_key_size, base64_to_binary } from "../helper.ts";
import { ber_decode, ber_simple } from "./basic_encoding_rule.t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b7f7ebabf916a33c6376c3fb22d8a408b1202add.ts | TypeScript | // Loaded from https://deno.land/std@0.99.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/b7fba0ec9aeddbf762691643b51aab6e01fc60e0.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/unary.js
import _curry1 from './internal/_curry1.js';
import nAry from './nAry.js';
/**
* Wraps a function of any arity (including nullary) in a function that accepts
* exactly 1 parameter. Any extraneous parameters will not be passed to the
* supplied func... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b800e3237822b7bda4128ec9175b46508e3ca951.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/types/command.ts
import type { Command } from "../command.ts";
import { StringType } from "./string.ts";
/** String type with auto completion of sibling command names. */
export class CommandType extends StringType {
/** Complete sub-command names of global... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b819dbd7ae039d4ec3f12efcad2e865cb9da9452.ts | TypeScript | // Loaded from https://deno.land/x/media_types/db.ts
/*!
* Ported from: https://github.com/jshttp/mime-db and licensed as:
*
* (The MIT License)
*
* Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
* Copyright (c) 2020 the Deno authors
* Copyright (c) 2020 the oak authors
*
* Permission is hereby granted... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b850a5865f7344975b4c88618dbbfc5093f37d9a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/get_guild_widget_image.ts
import { DiscordGetGuildWidgetImageStyleOptions } from "./get_guild_widget_image_style_options.ts";
/** https://discord.com/developers/docs/resources/guild#get-guild-widget-image-query-string-params */
export interfa... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b8957a11863aa6817c389d5775c80d213002e19b.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/append.ts
import { Res } from '../../deps.ts'
import { setHeader, getResponseHeader } from './headers.ts'
export const append = <Response extends Res = Res>(res: Response) => (
field: string,
value: string | number | string[]
): Response => {
co... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b89cb7875e5a21b59d5170a6acebc13d422a83ac.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/client.ts
import { Connection, ConnectionState, ExecuteResult } from "./connection.ts";
import { ConnectionPool, PoolConnection } from "./pool.ts";
import { log } from "./logger.ts";
/**
* Client Config
*/
export interface ClientConfig {
/** Database hostname */
hos... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b8b56cdae22dceba5962a4a2ab157328b2f9bbda.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/zlib/mod.ts
export * from "./deflate.ts";
export * from "./inflate.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b8b7f34467fdf7fc6ae2fd4621a194b88066c1d8.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/auth.ts
import { createHash, encode, SupportedAlgorithm } from "../deps.ts";
import { xor } from "./util.ts";
function hash(algorithm: SupportedAlgorithm, data: Uint8Array): Uint8Array {
return new Uint8Array(createHash(algorithm).update(data).digest());
}
function mys... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b91d45b759e12ca159e06245cfda1767f41a49b1.ts | TypeScript | // Loaded from https://deno.land/std@0.92.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,
C... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b94e0a22f4aec37247dc71c27ab727f8431708be.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/webhooks/mod.ts
export * from "./create_webhook.ts";
export * from "./discord_webhook_types.ts";
export * from "./edit_webhook_message.ts";
export * from "./execute_webhook.ts";
export * from "./modify_webhook.ts";
export * from "./webhook.ts";
expor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b9826eb439990f095330b27e4d1e482e027286a6.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/invert.js
import _curry1 from './internal/_curry1.js';
import _has from './internal/_has.js';
import keys from './keys.js';
/**
* Same as [`R.invertObj`](#invertObj), however this accounts for objects with
* duplicate values by putting the values into an arr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/b9ddd526d93036b220d39d9c15292e5d841db765.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/messages/MESSAGE_REACTION_ADD.ts
import { botId, eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { structures } from "../../structures/mod.ts";
import type { DiscordGatewayPayload } from "../../types/gat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ba20bb778aa21c2e0c11377a881e264e52df3bb4.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/fs/_util.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
/**
* Test whether or not `dest` is a sub-directory of `src`
* @param src src file path
* @param dest dest file path
* @param sep path separat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ba2f2436bf8e4f3a19617fef400c6f27d1717586.ts | TypeScript | // Loaded from https://deno.land/std/fs/move.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { exists, existsSync } from "./exists.ts";
import { isSubdir } from "./_util.ts";
interface MoveOptions {
overwrite?: boolean;
}
/** Moves a file or directory */
export async function ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ba390a93cb0a9047716d9c07d725fc1b9d3c71df.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/structures/voice_state.ts
import { eventHandlers } from "../bot.ts";
import { cache } from "../cache.ts";
import type { GuildMember } from "../types/members/guild_member.ts";
import type { VoiceState } from "../types/voice/voice_state.ts";
import { snowfla... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ba4f0d624698d09d3449f62e8a4cb35fc9b7c7af.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/table/table.ts
import { border, IBorder } from "./border.ts";
import { Cell } from "./cell.ts";
import { TableLayout } from "./layout.ts";
import { IDataRow, IRow, Row } from "./row.ts";
/** Border characters settings. */
export type IBorderOptions = Partial<IBorder>... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ba63fd022ea28b5ddb53c05710432e9cde5ad3f8.ts | TypeScript | // Loaded from https://deno.land/std/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_SLASH } fr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ba99f91525b888faf4fd5be47ee962e60d54ee9f.ts | TypeScript | // Loaded from https://deno.land/std@0.73.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/babb61cb0e87796bc9d4e3209ae47044374d7054.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_dispatchable.js
import _isArray from './_isArray.js';
import _isTransformer from './_isTransformer.js';
/**
* Returns a function that dispatches with different strategies based on the
* object in list position (last argument). If it is an array, ex... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/baf9f1beac9067e787041e0d18537f73dd1e5b5e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/take.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xtake from './internal/_xtake.js';
import slice from './slice.js';
/**
* Returns the first `n` elements of the given list, string, or
* tran... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bb1524f08ed0d6354c8893001fc010b02c26f982.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/modify_channel.ts
import { SnakeCasedPropertiesDeep } from "../util.ts";
import { DiscordChannelTypes } from "./channel_types.ts";
import { DiscordOverwrite, Overwrite } from "./overwrite.ts";
import { DiscordVideoQualityModes } from "./vide... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bb1e30f8348130cf45c5e792f13a2d5315db2f51.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/invites/get_invites.ts
import { rest } from "../../rest/rest.ts";
import type { InviteMetadata } from "../../types/invites/invite_metadata.ts";
import { Collection } from "../../util/collection.ts";
import { endpoints } from "../../util/constants.t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bb41bbd8c37463b923bbb7b9979a929542f814ac.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/delete_slash_command.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import { endpoints } from "../../../util/constants.ts";
/** Deletes a slash command. */
export async funct... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bb6867af5d41b661e35987b3b1cbe5d7c968b500.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/toObjMap.js
import objectEntries from '../polyfills/objectEntries.js';
export default function toObjMap(obj) {
/* eslint-enable no-redeclare */
if (Object.getPrototypeOf(obj) === null) {
return obj;
}
const map = Object.create(null);
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bb7315de6738611501e96f323ff9519fb4702ff5.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/tgz/mod.ts
import * as tar from "../tar/mod.ts";
import { gunzipFile, gzipFile } from "../gzip/gzip_file.ts";
import type { compressInterface } from "../interface.ts";
import { path } from "../deps.ts";
export async function uncompress(src: string, dest: string): Pr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bbb05c5b835d07cac75f0883a39c9743152e5cfd.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/lowerCase.ts
/**
* via: https://github.com/blakeembrey/lower-case
*/
import { LanguageSpecific } from "./types.ts";
/**
* Special language-specific overrides.
* Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
*/
const LANGUAGES: LanguageSpeci... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bbe72154d55ba192eb4e1e947872a44a7cc2ed76.ts | TypeScript | // Loaded from https://deno.land/std@0.101.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,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bbeaa516044c946762cb7d9cd267f17e372477a7.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/splitWhen.js
import _curry2 from './internal/_curry2.js';
/**
* Takes a list and a predicate and returns a pair of lists with the following properties:
*
* - the result of concatenating the two output lists is equivalent to the input list;
* - none of th... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bbf41266eb40fbf66cc74fff8e8dea6bfd472aee.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_ipv4.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
export function isIPv4(value: any): Validity {
if (typeof value !== "string") {
return invalid("isIPv4", { value });
}
if (!value.match(/^(?:(?:^|\.)(?:2(?... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bc18f62fa78e8923495021bdab413ccbabb219e0.ts | TypeScript | // Loaded from https://deno.land/std@0.99.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/bc2137b462f10687e55924368c59d731a42fc5ed.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/keyMap.js
/**
* Creates a keyed JS object from an array, given a function to produce the keys
* for each value in the array.
*
* This provides a convenient lookup for the array items if the key function
* produces unique results.
*
* const... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/bc2a46e068dbf4e6aab4080efb335923e28821cc.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/protocol/protocol.ts
import { assert, BufReader, Deferred, deferred } from "../../deps.ts";
import { MongoError, MongoErrorInfo } from "../error.ts";
import { Document } from "../types.ts";
import { handshake } from "./handshake.ts";
import { parseHeader } from "./... | 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.