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/3678092871664d8c241c90a551036889ee7b660a.ts | TypeScript | // Loaded from https://deno.land/x/args@1.0.7/symbols.ts
/** Value of `tag` when argv is a complete and list of valid options */
export const MAIN_COMMAND = Symbol("MAIN_COMMAND");
export type MAIN_COMMAND = typeof MAIN_COMMAND;
/** Value of `tag` when argv is failed to parse */
export const PARSE_FAILURE = Symbol("... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/36a58f47cf7519b081e17a0358a65b13a6a9e70e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/comparator.js
import _curry1 from './internal/_curry1.js';
/**
* Makes a comparator function out of a function that reports whether the first
* element is less than the second.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Function
* @sig ((a, b)... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/36d9ffde34e1a40d3aa45ff5b72be9eeda6e5aec.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/upperFirstCase.ts
import upperCase from "./upperCase.ts";
export default function (str: string, locale?: string): string {
if (str == null) {
return "";
}
str = String(str);
return upperCase(str.charAt(0), locale) + str.substr(1);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/37094f801b2385d9eb12b7ef1b7245c51fd0b159.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/UniqueVariableNamesRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
/**
* Unique variable names
*
* A GraphQL operation is only valid if all its variables are uniquely named.
*/
export function UniqueVariableNamesRule... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/371e8eaff6ed73e0db9582bfc9fafddccf08753f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/activity.ts
import { ActivityAssets } from "./activity_assets.ts";
import { ActivityButton } from "./activity_button.ts";
import { ActivityEmoji } from "./activity_emoji.ts";
import { ActivityParty } from "./activity_party.ts";
import { Acti... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/373b3b9b56d629f531c482ba9a3a4ac71445f259.ts | TypeScript | // Loaded from https://deno.land/x/content_type/mod.ts
/*!
* Based on https://github.com/jshttp/content-type/blob/master/index.js
* Copyright(c) 2015 Douglas Christopher Wilson
* Copyright(c) 2020 Henry Zhuang
* MIT Licensed
*/
export type Parameters = { [key: string]: string };
export interface ContentType {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/37667401348e9860ebb01bdb22863259522ef044.ts | TypeScript | // Loaded from https://deno.land/std@0.80.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... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3793b332a77bf20451ca9d67aa64cbb84baabf4f.ts | TypeScript | // Loaded from https://deno.land/std@0.84.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 { bold, gray, green, red, stripColor, white } fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/379897dde2013e28e4dd6aad1799278b33185c05.ts | TypeScript | // Loaded from https://deno.land/std@0.83.0/bytes/mod.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** Find first index of binary pattern from source. If not found, then return -1
* @param source source array
* @param pat pattern to find in source array
* @param start the index to... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3798c8a49f0bf5773b960edc923b342587d24ab2.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/FragmentsOnCompositeTypesRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
import { print } from '../../language/printer.js';
import { isCompositeType } from '../../type/definition.js';
import { typeFromAST } from '../../ut... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/37a7d42195476695706dba9cc524a4b031031035.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/webhooks/discord_webhook_types.ts
/** https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types */
export enum DiscordWebhookTypes {
/** Incoming Webhooks can post messages to channels with a generated token */
Incoming =... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/37ada358cd3553060693de58827836ea941f815e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/differenceWith.js
import _includesWith from './internal/_includesWith.js';
import _curry3 from './internal/_curry3.js';
/**
* Finds the set (i.e. no duplicates) of all elements in the first list not
* contained in the second list. Duplication is determined a... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/37e099d5f3f8b70b3676d571046257b38035c369.ts | TypeScript | // Loaded from https://deno.land/std@0.85.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/37e90c0559d33ab7f62f271fd95dfd4ee13d2600.ts | TypeScript | // Loaded from https://deno.land/std@0.69.0/path/glob.ts
// globToRegExp() is originall ported from globrex@0.1.2.
// Copyright 2018 Terkel Gjervig Nielsen. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { NATI... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/37fa8e38db997d39d0c970daf33f0b5231299ed9.ts | TypeScript | // Loaded from https://deno.land/x/oak/keyStack.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
// This was inspired by [keygrip](https://github.com/crypto-utils/keygrip/)
// which allows signing of data (cookies) to prevent tampering, but also allows
// for easy key rotation without nee... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/382fb214d775279b6be7e1e1f6e3028d3922f449.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v0.2.0/src/math.ts
export function power_mod(n: bigint, p: bigint, m: bigint): bigint {
if (p === 1n) return n;
if (p % 2n === 0n) {
const t = power_mod(n, p >> 1n, m);
return (t * t) % m
} else {
const t = power_mod(n, p >> 1n, m);
ret... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3850ad9b007a1dc556f63f7c7995a5d602f65e5e.ts | TypeScript | // Loaded from https://deno.land/std@0.77.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/3858f99323dcd3c6022994c7938f381c970cef22.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type/str.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { Type } from "../type.ts";
export const str =... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/385f8b715c7a2fddc633d77ce27c09c2c35e05a4.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/language/printLocation.js
import { getLocation } from './location.js';
/**
* Render a helpful description of the location in the GraphQL Source document.
*/
export function printLocation(location) {
return printSourceLocation(location.source, getLocatio... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/387a6383dd2b4f4a368b70241684ee8f4d3bd5ab.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/cond.js
import _arity from './internal/_arity.js';
import _curry1 from './internal/_curry1.js';
import map from './map.js';
import max from './max.js';
import reduce from './reduce.js';
/**
* Returns a function, `fn`, which encapsulates `if/else, if/else, ...... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/38ceda8707951035ad7fe0dee2e6e83c0e850d7e.ts | TypeScript | // Loaded from https://deno.land/x/http_errors@3.0.0/deps.ts
export { Status, STATUS_TEXT } from "https://deno.land/std@0.69.0/http/mod.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/38fdc567c3514b7cfb1ca4e787a1c7438b7ba7f2.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/keycode/key_code.ts
import { KeyMap, KeyMapCtrl, KeyMapShift } from "./key_codes.ts";
import { IKey, KeyEvent } from "./key_event.ts";
const kUTF16SurrogateThreshold = 0x10000; // 2 ** 16
const kEscape = "\x1b";
// deno-lint-ignore no-explicit-any
const permissions:... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3934b205d83b29896b0e44728d63ac6a0a77515a.ts | TypeScript | // Loaded from https://deno.land/std@0.102.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/393639739083c9a0d1df64346f52379d13e4870a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/tell_cluster_to_identify.ts
import { ws } from "./ws.ts";
/** Allows users to hook in and change to communicate to different clusters across different servers or anything they like. For example using redis pubsub to talk to other servers. */
export asy... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/393bfd3edea12e72d832ea8cf5b3aa39ed1e412f.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/inffast.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 h... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/398a0d11878f438068afa7239e48e244362922ac.ts | TypeScript | // Loaded from https://deno.land/std@0.69.0/path/posix.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
/** This module is browser compatible. */
import type { FormatInputPathObject, ParsedPath } from "./_interface.ts";
import { CHAR_DOT, CHAR_FORWARD... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/399684936e5af60c248ff6f0a8349c7748616d4b.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_permissions.ts
import { DiscordApplicationCommandPermissionTypes } from "./application_command_permission_types.ts";
/** https://discord.com/developers/docs/interactions/slash-commands#applicationcommandperm... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/399734cfcb1e8b780ad70844d1b170f76d69aef9.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/vendor/camelCaseRegexp.ts
const camelCaseRegexp: RegExp =
/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u0... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/39c57fb7d5e8b1eab5c56a2768a456f19e997da6.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/construct.js
import _curry1 from './internal/_curry1.js';
import constructN from './constructN.js';
/**
* Wraps a constructor function inside a curried function that can be called
* with the same arguments and returns the same type.
*
* @func
* @memberOf ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/39d8215623f076360b970fefe381ad99a8a77160.ts | TypeScript | // Loaded from https://deno.land/x/oak/request.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
import type {
Body,
BodyForm,
BodyFormData,
BodyJson,
BodyOptions,
BodyRaw,
BodyReader,
BodyText,
} from "./body.ts";
import { RequestBody } from "./body.ts";
import type { HTTP... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a098f75df7a43a9b5b61a85bd989e9827ff73f4.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/headerCase.ts
import upperCase from "./upperCase.ts";
import normalCase from "./normalCase.ts";
export default function headerCase(value: string, locale?: string): string {
return normalCase(value, locale, "-").replace(/^.|-./g, function (
m: string,
): string {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a09d259a27b4631a813c73b168f523883eec139.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/resume.ts
/** https://discord.com/developers/docs/topics/gateway#resume */
export interface Resume {
/** Session token */
token: string;
/** Session id */
sessionId: string;
/** Last sequence number received */
seq: number;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a2bb026159d6876ef5fecf6fb3b4bcdd2885ba7.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/integrations/INTEGRATION_CREATE.ts
import { eventHandlers } from "../../bot.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
import type { IntegrationCreateUpdate } from "../../types/integrations/integratio... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a2e64b6d67289bf4eab7ea89ae76c57427a985a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/json_error_codes.ts
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#json */
export enum DiscordJsonErrorCodes {
GeneralError,
UnknownAccount = 10001,
UnknownApplication,
UnknownChannel,
UnknownGuild,
UnknownI... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a3c5f0d0418996103c8c061b02b5aa6967a9149.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/forEachObjIndexed.js
import _curry2 from './internal/_curry2.js';
import keys from './keys.js';
/**
* Iterate over an input `object`, calling a provided function `fn` for each
* key and value in the object.
*
* `fn` receives three argument: *(value, key, o... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a3f50eddfa75eaaaaafdf6417cabe06988e0a4a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/interaction.ts
import { Message } from "../messages/message.ts";
import { User } from "../users/user.ts";
import { ApplicationCommandInteractionData } from "./commands/application_command_interaction_data.ts";
import { InteractionGuildMe... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a3f8c7742754003bcc33fe80a730f2687e2953d.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isEAN.ts
/**
* The most commonly used EAN standard is
* the thirteen-digit EAN-13, while the
* less commonly used 8-digit EAN-8 barcode was
* introduced for use on small packages.
* EAN consists of:
* GS1 prefix, manufacturer code, product code and... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a4bd1647fad45ea3867eca226ed0f04a4ad4c59.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/yaml.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 reserved. MIT... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a69d8b3ce3ff0eb990bb123b147e7bf2e1ce420.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/channels/THREAD_CREATE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { structures } from "../../structures/mod.ts";
import { Channel } from "../../types/channels/channel.ts";
import { Disco... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3a8937e41ee6bd97b76ae1dae3f4c335334f4371.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/guild_features.ts
/** https://discord.com/developers/docs/resources/guild#guild-object-guild-features */
export enum DiscordGuildFeatures {
/** Guild has access to set an invite splash background */
InviteSplash = "INVITE_SPLASH",
/** Gu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3abfceb8db694946cb140fbee53c8b9dfcd6e06f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/rpc_error_codes.ts
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc */
export enum DiscordRpcErrorCodes {
UnknownError = 1000,
InvalidPayload = 4000,
InvalidCommand = 4002,
InvalidGuild,
InvalidEvent,
Inva... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3ac2bd047b9ba1be58300229449b7156ab7cd574.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/min.js
import _curry2 from './internal/_curry2.js';
/**
* Returns the smaller of its two arguments.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Relation
* @sig Ord a => a -> a -> a
* @param {*} a
* @param {*} b
* @return {*}
* @see R.minBy, ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3acbb1195f409102047e7de6c0fced33532eb5de.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/create_message.ts
import { Embed } from "../embeds/embed.ts";
import { AllowedMentions } from "../messages/allowed_mentions.ts";
import { MessageReference } from "../messages/message_reference.ts";
import { FileContent } from "../discordeno/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3af110fe5e56382028002fe2be888fac98b2f832.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/cleanup_loading_shards.ts
import { delay } from "../util/utils.ts";
import { ws } from "./ws.ts";
/** The handler to clean up shards that identified but never received a READY. */
export async function cleanupLoadingShards() {
while (ws.loadingShards... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3afe68ab8bd5ecc238d3d8446ec9a77e6449166d.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_option_choice.ts
/** https://discord.com/developers/docs/interactions/slash-commands#applicationcommandoptionchoice */
export interface ApplicationCommandOptionChoice {
/** 1-100 character choice name */
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b08cd07127347972d2820716d52dd7289fa88b5.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xaperture.js
import _concat from './_concat.js';
import _curry2 from './_curry2.js';
import _xfBase from './_xfBase.js';
function XAperture(n, xf) {
this.xf = xf;
this.pos = 0;
this.full = false;
this.acc = new Array(n);
}
XAperture.prototype... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b373f028b882501b8c6b5a2e6c2bd5283c8d47e.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/fs/empty_dir.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { join } from "../path/mod.ts";
/**
* Ensures that a directory is empty.
* Deletes directory contents if the directory is not empty.
* If the directory does not exist, it i... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b3bde5711e64534043a7b51c43619ce548ce4a2.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/webhooks/delete_webhook_with_token.ts
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.ts";
/** Delete a webhook permanently. Returns a undefined on success */
export async function deleteWebhookWithToken(... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b4085fbc035b6168d9644998667560e05bfaf41.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/mod.ts
export { resize } from './index.ts';
export { mimeType } from "./mime-type.ts"; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b437217e8cf22be2af56d8376bced4617c7bd5b.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_complement.js
export default function _complement(f) {
return function() {
return !f.apply(this, arguments);
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b47c6e288064e57b13dba7271c3b6e0358e7565.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/date_before.ts
import type { Validity, Rule } from "../types.ts";
import { clearTimes, dateChecks } from "../utils.ts";
export function dateBefore(date: Date): Rule {
return function dateBeforeRule(value: any): Validity {
return dateChecks(value, "dateBef... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b80dd060ca4799261d4df47cbc37a7a5a67581d.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/gzip/mod.ts
export { gzip, gunzip } from "./gzip.ts";
export { GzipStream } from "./gzip_stream.ts";
export { gzipFile, gunzipFile } from "./gzip_file.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b89b750a778120833224f10d70d16e3c03b9d73.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/buildASTSchema.js
import devAssert from '../jsutils/devAssert.js';
import { Kind } from '../language/kinds.js';
import { parse } from '../language/parser.js';
import { assertValidSDL } from '../validation/validate.js';
import { GraphQLSchema } from... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3b8d3da1bca78ca84087bd5c253f4f9931be6e92.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v0.2.0/mod.ts
export * from './rsa.ts'; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3ba0531bf4b13bac91a2b8da5c1ede27d80e5d39.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/union.js
import _concat from './internal/_concat.js';
import _curry2 from './internal/_curry2.js';
import compose from './compose.js';
import uniq from './uniq.js';
/**
* Combines two lists into a set (i.e. no duplicates) composed of the elements
* of each l... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3bab3272a23efcba342de79d49ae9e1a47329844.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/table/deps.ts
export { stripColor } from "https://deno.land/std@0.89.0/fmt/colors.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3bac48484497dd58844174023b47fb0119d8acfc.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/valueFromAST.js
import objectValues from '../polyfills/objectValues.js';
import keyMap from '../jsutils/keyMap.js';
import inspect from '../jsutils/inspect.js';
import invariant from '../jsutils/invariant.js';
import { Kind } from '../language/kind... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3bc335e3bb47f6972b05ad5341cd795804fa0723.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isMobilePhone.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
type PhoneLocale =
| 'am-AM'
| 'ar-AE'
| 'ar-BH'
| 'ar-DZ'
| 'ar-EG'
| 'ar-IQ'
| 'ar-JO'
| 'ar-KW'
| 'ar-LY'
| 'ar-SA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3bf4e46b5fa8d47b9a4e8fa5ee2352c7697fbd6c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/members/guild_members_chunk.ts
import { PresenceUpdate } from "../activity/presence_update.ts";
import { GuildMemberWithUser } from "../members/guild_member.ts";
/** https://discord.com/developers/docs/topics/gateway#guild-members-chunk */
export in... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3c1635262d8f3d1037702adc003746c5c374368d.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/async/deferred.ts
// Copyright 2018-2020 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/3c248dfc60fbc5cb02db71987ee2d599b15c7c6d.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/audit_log.ts
import { Integration } from "../integrations/integration.ts";
import { User } from "../users/user.ts";
import { Webhook } from "../webhooks/webhook.ts";
import { AuditLogEntry } from "./audit_log_entry.ts";
/** https://discord... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3c2d47ccff377b24d6ae77e2b699cbbd92216035.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/unapply.js
import _curry1 from './internal/_curry1.js';
/**
* Takes a function `fn`, which takes a single array argument, and returns a
* function which:
*
* - takes any number of positional arguments;
* - passes these arguments to `fn` as an array; a... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3c3780ce414ce84ff43ba13138603e36a2238d32.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type/pairs.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/3c65128068001f982b299c50aafd9729137c97f6.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/node/_util/_util_promisify.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
//
// Adapted from Node.js. Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3ca4d838cd9a64dafd9511d60dee20f34a50994e.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/isPromise.js
/**
* Returns true if the value acts like a Promise, i.e. has a "then" function,
* otherwise returns false.
*/
// eslint-disable-next-line no-redeclare
export default function isPromise(value) {
return typeof value?.then === 'functi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3ca6ae490be155fa7cff01b8012d58c846cffc82.ts | TypeScript | // Loaded from https://deno.land/std@0.81.0/datetime/formatter.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import {
CallbackResult,
ReceiverResult,
Rule,
TestFunction,
TestResult,
Tokenizer,
} from "./tokenizer.ts";
function digits(value: string | number, count = 2): str... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3cab68e2baf0cf4d51b0e1e35b90fe8dd7ec2d18.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/threads/thread_members_update.ts
import { ThreadMember } from "./thread_member.ts";
// TODO: add docs link
export interface ThreadMembersUpdate {
/** The id of the thread */
id: string;
/** The id of the guild */
guildId: string;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3cbfe67e10ce1d3d8f0f3472ea3f360e2760e5a6.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_flatCat.js
import _forceReduced from './_forceReduced.js';
import _isArrayLike from './_isArrayLike.js';
import _reduce from './_reduce.js';
import _xfBase from './_xfBase.js';
var preservingReduced = function(xf) {
return {
'@@transducer/init':... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3cf26847b891c32fb9be4ab1cba9aeb8eea14b35.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/deps.ts
export {
blue,
bold,
dim,
green,
italic,
magenta,
red,
yellow,
} from "https://deno.land/std@0.89.0/fmt/colors.ts";
export { existsSync } from "https://deno.land/std@0.89.0/fs/exists.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3d1bb890573a925c8010d018f483d288e91917fa.ts | TypeScript | // Loaded from https://deno.land/std@0.63.0/encoding/utf8.ts
/** A default TextEncoder instance */
export const encoder = new TextEncoder();
/** Shorthand for new TextEncoder().encode() */
export function encode(input?: string): Uint8Array {
return encoder.encode(input);
}
/** A default TextDecoder instance */
ex... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3d2b41247f84e36b4d7e23f12802d5ec0f5d3c40.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/validate.js
import devAssert from '../jsutils/devAssert.js';
import { GraphQLError } from '../error/GraphQLError.js';
import { visit, visitInParallel } from '../language/visitor.js';
import { assertValidSchema } from '../type/validate.js';
import ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e241e2697f5ef29a0724f88706a45b4118c83cf.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/voice/voice_region.ts
/** https://discord.com/developers/docs/resources/voice#voice-region-object-voice-region-structure */
export interface VoiceRegion {
/** Unique Id for the region */
id: string;
/** Name of the region */
name: string;
/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e32d7366080e14b09fd00723476eef3f1553f9a.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/fs/move.ts
// Copyright 2018-2020 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 fu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e3d8eaa4ec0cb288527634f6d76f6bd4cb81c2a.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/language/source.js
import { SYMBOL_TO_STRING_TAG } from '../polyfills/symbols.js';
import devAssert from '../jsutils/devAssert.js';
/**
* A representation of source input to GraphQL.
* `name` and `locationOffset` are optional. They are useful for clients ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e3f7dd4ed9c8551ddab01c5adbd59f9d9855a88.ts | TypeScript | // Loaded from https://deno.land/x/opine@1.6.0/deps.ts
export {
serve,
Server,
ServerRequest,
serveTLS,
} from "https://deno.land/std@0.101.0/http/server.ts";
export type {
HTTPOptions,
HTTPSOptions,
Response,
} from "https://deno.land/std@0.101.0/http/server.ts";
export {
Status,
STATUS_TEXT,
} fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e82d08e680d48707a5a75763b1e135150dd00a5.ts | TypeScript | // Loaded from https://deno.land/x/oak/mod.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
export { Application } from "./application.ts";
export type {
ApplicationOptions,
ListenOptions,
ListenOptionsBase,
ListenOptionsTls,
State,
} from "./application.ts";
export type {
Bod... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e912f82a06bec2051246b23209b7328f677932d.ts | TypeScript | // Loaded from https://deno.land/std@0.104.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/3e967632f923461cfeb7a7980875fc2a7c4e1883.ts | TypeScript | // Loaded from https://deno.land/x/media_types/deps.ts
// Copyright 2020 the oak authors. All rights reserved. MIT license.
export { extname } from "https://deno.land/std@0.104.0/path/mod.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3e9ec29bf7ffe6df5bbd10261cc1a3eeb15a74b1.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isNumeric.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';
/**
* @ignore
*/
const numericNoSymbols = /^[0-9]+$/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3ee045ee22d7c681660faa8a7a7ec585eb01b51f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/discovery/add_discovery_subcategory.ts
import { rest } from "../../rest/rest.ts";
import type { AddGuildDiscoverySubcategory } from "../../types/discovery/add_guild_discovery_subcategory.ts";
import { endpoints } from "../../util/constants.ts";
imp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3eec770e12d84088b1f5b8a9c9d89f1bdfaad388.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/members/list_guild_members.ts
/** https://discord.com/developers/docs/resources/guild#list-guild-members */
export interface ListGuildMembers {
/** Max number of members to return (1-1000). Default: 1 */
limit?: number;
/** The highest user id ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3f013fb779acb8775ce7f4d245cd2fbb0ed4f6e8.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/startsWith.js
import _curry2 from './internal/_curry2.js';
import equals from './equals.js';
import take from './take.js';
/**
* Checks if a list starts with the provided sublist.
*
* Similarly, checks if a string starts with the provided substring.
*
* @f... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3f323f69a88decfb6634eb7fff746520577bdb51.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/database.ts
import { Collection } from "./collection/mod.ts";
import { CommandCursor, WireProtocol } from "./protocol/mod.ts";
import { CreateUserOptions, Document } from "./types.ts";
interface ListCollectionsReponse {
cursor: {
id: bigint;
ns: string;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3f541b821107da8ba27e61ca0a12cf02597baefe.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_create_update_delete.ts
import { ApplicationCommand } from "./application_command.ts";
/** https://discord.com/developers/docs/topics/gateway#application-command-delete-application-command-extra-fields */
ex... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3f55b17ff074d97687726632a2f06ab5c17c3c18.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/teams/team_member.ts
import { User } from "../users/user.ts";
import { DiscordTeamMembershipStates } from "./team_membership_states.ts";
/** https://discord.com/developers/docs/topics/teams#data-models-team-members-object */
export interface TeamMem... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3f64b14131ca0ec018423f9546af3303453386c4.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/match.ts
import type { Validity, Rule } from "../types.ts";
import { invalid } from "../utils.ts";
export function match(regex: RegExp, trim: boolean = false): Rule {
return function matchRule(value: any): Validity {
if (typeof value !== "string") {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3fc9d2b1275f32ca4d428bf3b56d1de89a58a487.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/mod.ts
export * from "./activity/mod.ts";
export * from "./applications/mod.ts";
export * from "./audit_log/mod.ts";
export * from "./channels/mod.ts";
export * from "./codes/mod.ts";
export * from "./discordeno/mod.ts";
export * from "./discovery/mo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/3fd2dd13897d0ea45046ae4ea553294076710878.ts | TypeScript | // Loaded from https://deno.land/std@0.75.0/hash/sha512.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* [js-sha512]{@link https://github.com/emn178/js-sha512}
*
* @version 0.8.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2018
* @license MIT
*... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4012cfe517fa6dab4504ea7b9ea95038723ed83c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/teams/team_membership_states.ts
/** https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum */
export enum DiscordTeamMembershipStates {
Invited = 1,
Accepted,
}
export type TeamMembershipStates = DiscordTeamMembership... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/406404073e6f71433b759ce6d6aefb1c65d1ebeb.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_quote.js
export default function _quote(s) {
var escaped = s
.replace(/\\/g, '\\\\')
.replace(/[\b]/g, '\\b') // \b matches word boundary; [\b] matches backspace
.replace(/\f/g, '\\f')
.replace(/\n/g, '\\n')
.replace(/\r/g, '\\r'... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/408ee234610abc7c5709095752d498b97cf0bb7c.ts | TypeScript | // Loaded from https://deno.land/std@0.69.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/40db14d1cc7c8ffff6230ffb9de8c55ce41c463a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/mergeRight.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 i... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/41399c02aaeed4ee631f4dfaecf5954b9d505484.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/webhooks/delete_webhook.ts
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.ts";
import { requireBotChannelPermissions } from "../../util/permissions.ts";
/** Delete a webhook permanently. Requires the `MA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4162f7ba3c0c35cb83344d48c88f402fc435f509.ts | TypeScript | // Loaded from https://deno.land/x/case/normalCase.ts
import lowerCase from "./lowerCase.ts";
import nonWordRegexp from "./vendor/nonWordRegexp.ts";
import camelCaseRegexp from "./vendor/camelCaseRegexp.ts";
import camelCaseUpperRegexp from "./vendor/camelCaseUpperRegexp.ts";
export default function normalCase(
s... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/416ea58cc5e80f28f0d1db271ef30bab320c0284.ts | TypeScript | // Loaded from https://deno.land/x/content_type@1.0.1/mod.ts
/*!
* Based on https://github.com/jshttp/content-type/blob/master/index.js
* Copyright(c) 2015 Douglas Christopher Wilson
* Copyright(c) 2020 Henry Zhuang
* MIT Licensed
*/
export type Parameters = { [key: string]: string };
export interface ContentT... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/418160cc50021cdc47ad89dea4da4b4d843efc25.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/ws/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { decode, encode } from "../encoding/utf8.ts";
import { hasOwnProperty } from "../_util/has_own_property.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { readLong... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/41828da1aa3eb0a2bae4cab59d51edab03034e24.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/delete_guild.ts
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.ts";
/** Delete a guild permanently. User must be owner. Returns 204 No Content on success. Fires a Guild Delete Gateway event. */
ex... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/41bc05ebb0b9e7e0a05c6e76abca959ff1d7326c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/get_guild_audit_log.ts
import { DiscordAuditLogEvents } from "./audit_log_events.ts";
/** https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log-query-string-parameters */
export interface GetGuildAuditLog {
/** Filt... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/41d365a8ae0e9f5520026d8ac43f8bec2f554a5c.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/negotiation/common.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) 201... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/42140bb9db97b9833ffe296d1d49bf929feb6553.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_array.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
export function isArray(value: any): Validity {
if (false === value instanceof Array) {
return invalid("isArray", { value });
}
}
| 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.