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/5ba18d2b803129ce01cafa5736a702d21b1556c9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/gateway_url_params.ts
/** https://discord.com/developers/docs/topics/gateway#connecting-gateway-url-params */
export interface GatewayURLParams {
/** Gateway version to use */
v: string;
/** The encoding of received gateway packets */
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5bac4f2128a4f068f178862f5fec28eb957481ec.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/ansi/tty.ts
import * as ansiEscapes from "./ansi_escapes.ts";
import type { Chain } from "./chain.ts";
import { Cursor, getCursorPosition } from "./cursor_position.ts";
/** Create new `Ansi` instance. */
export interface TtyOptions {
stdout?: Deno.WriterSync;
std... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5bb7bb9795979693547d562391d9c1cb5ea5f117.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.5.1/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 ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5bb90ae6dd70f03331575f48f29e1ed5ced854b4.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/create_guild_channel.ts
import { DiscordChannelTypes } from "../channels/channel_types.ts";
import { DiscordOverwrite, Overwrite } from "../channels/overwrite.ts";
import { SnakeCasedPropertiesDeep } from "../util.ts";
export interface Create... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5bce8196f3a7e507897bab69365aa46c88df77dd.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/body.ts
// Copyright 2018-2020 the oak authors. All rights reserved. MIT license.
import { assert } from "./deps.ts";
import { httpErrors } from "./httpError.ts";
import { isMediaType } from "./isMediaType.ts";
import { FormDataReader } from "./multipart.ts";
import type... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5bf4f3eb3f5f26aa38074c84ff16223f9155bf21.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/starts_with.ts
import type { Validity, Rule } from "../types.ts";
import { invalid } from "../utils.ts";
export function startsWith(str: string): Rule {
return function startsWithRule(value: any): Validity {
if (typeof value !== "string") {
return i... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5c117a2763a982518767ef40f2d58d041d1d1824.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/edit_message.ts
import { FileContent } from "../discordeno/file_content.ts";
import { Embed } from "../embeds/embed.ts";
import { AllowedMentions } from "./allowed_mentions.ts";
import { Attachment } from "./attachment.ts";
import { MessageC... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5c22d11e3219ce70167fed71bece728e1a7a3707.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/flags/mod.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert } from "../_util/assert.ts";
export interface Args {
/** Contains all the arguments that didn't have an option associated with
* them. */
_: Array<string | numbe... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5c466c27276caaa226fe2b59ba8c27764348cd54.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/xprod.js
import _curry2 from './internal/_curry2.js';
/**
* Creates a new list out of the two supplied by creating each possible pair
* from the lists.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @sig [a] -> [b] -> [[a,b]]
* @param {Arr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5c699470e834bd40023f668f202941c89d2897a1.ts | TypeScript | // Loaded from https://deno.land/std@0.99.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/5caf9d2b207d869d962ae4bbabfbe8452c1ff8de.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/interactions/INTERACTION_CREATE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { structures } from "../../structures/mod.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5cf74fa489d7816d6b21d074c8bfb8b2cadc9bc2.ts | TypeScript | // Loaded from https://deno.land/std/datetime/tokenizer.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export type Token = {
type: string;
value: string | number;
index: number;
[key: string]: unknown;
};
export interface ReceiverResult {
[name: string]: string | number | un... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5d5895ead3ff168faf1b1649a426ff55e4dab034.ts | TypeScript | // Loaded from https://deno.land/x/dndb@0.2.4/src/methods/remove.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(filen... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5d63ba471af278e4b97f5d7e036868297c75882f.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/send/sendStatus.ts
import { Req, Res } from '../../../deps.ts'
import { status } from 'https://deno.land/x/status@0.1.0/status.ts'
export const sendStatus =
<Request extends Req = Req, Response extends Res = Res>(req: Request, res: Response) =>
(s... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5d6d1837a09681ab29f9ad14fbaab375acbc5189.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/type/omap.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 re... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5d7f8fed63c4c480a3f71ca4cbc29e1269096b75.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/applications/application.ts
import { Team } from "../teams/team.ts";
import { User } from "../users/user.ts";
import { DiscordApplicationFlags } from "./application_flags.ts";
/** https://discord.com/developers/docs/topics/oauth2#application-object ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5d9b30d4632fd8c1ec57918cf927775db0294797.ts | TypeScript | // Loaded from https://deno.land/x/oak/util.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
import { isAbsolute, join, normalize, sep, Sha1, Status } from "./deps.ts";
import { createHttpError } from "./httpError.ts";
import type { ErrorStatus, RedirectStatus } from "./types.d.ts";
cons... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5d9b824044a1eab0c1867699a060028799c1c96d.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/completions/complete.ts
import { Command } from "../command.ts";
import { UnknownCompletionCommand } from "../_errors.ts";
import type { ICompletion } from "../types.ts";
/** Execute auto completion method of command and action. */
export class CompleteComman... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5da6fee1a5cb45bc2a09058a927d78792b2b279f.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/help/_help_generator.ts
import { getFlag } from "../../flags/_utils.ts";
import { Table } from "../../table/table.ts";
import { parseArgumentsDefinition } from "../_utils.ts";
import type { Command } from "../command.ts";
import {
blue,
bold,
dim,
gree... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5ddc4c85386767e41a8f90bf55cf6321126796aa.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/mapObjIndexed.js
import _curry2 from './internal/_curry2.js';
import _reduce from './internal/_reduce.js';
import keys from './keys.js';
/**
* An Object-specific version of [`map`](#map). The function is applied to three
* arguments: *(value, key, obj)*. If ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5df2407aad6c59abc953b5670346940422b9fd1a.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/swapCase.ts
import upperCase from "./upperCase.ts";
import lowerCase from "./lowerCase.ts";
export default function (str: string, locale?: string): string {
if (str == null) {
return "";
}
let result: string = "";
for (let i: number = 0; i < str.length; i+... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5e0272125ce6b9841437813aa835c3d39ec15740.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/PossibleFragmentSpreadsRule.js
import inspect from '../../jsutils/inspect.js';
import { GraphQLError } from '../../error/GraphQLError.js';
import { isCompositeType } from '../../type/definition.js';
import { typeFromAST } from '../../utiliti... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5ece3ff8018fc60249b40d3177c01aea525e8c1d.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/channels/get_channel.ts
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import { structures } from "../../structures/mod.ts";
import type { Channel } from "../../types/channels/channel.ts";
import { snowfl... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5ee5b4adddd28fb9d4f15c3d85bb7ba4a08918a6.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/handle_discord_payload.ts
import type { DiscordGatewayPayload } from "../types/gateway/gateway_payload.ts";
import { ws } from "./ws.ts";
/** Handler for processing all dispatch payloads that should be sent/forwarded to another server/vps/process. */
e... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5eec3a0cbc3d1fce21c48191bb7d7c2414b60dd3.ts | TypeScript | // Loaded from https://deno.land/std@0.102.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/5ef12d2b35ba9304779d3b0ee0e4ec01093def62.ts | TypeScript | // Loaded from https://deno.land/x/oak/body.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
import { assert } from "./deps.ts";
import { httpErrors } from "./httpError.ts";
import { isMediaType } from "./isMediaType.ts";
import { FormDataReader } from "./multipart.ts";
import type { Serv... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5fb081f763bf66415ef3f7850be889cbeba9919a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/optional_audit_entry_info.ts
/** https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info */
export interface OptionalAuditEntryInfo {
/** Number of days after which inactive members were ki... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5fb5985c96a06558c27309eaf062f5cbe4ef4d05.ts | TypeScript | // Loaded from https://deno.land/std@0.79.0/path/glob.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { osType } from "../_util/os.ts";
import { join, normalize } from "./mod.ts";
import { SEP, SEP_PATTERN } from "./separator.ts";
export int... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5fc5ebda42c03e71783d60536d4cd9ef9cd741ea.ts | TypeScript | // Loaded from https://deno.land/x/axiod@0.20.0-0/helpers.ts
export const methods = [
"get",
"post",
"put",
"delete",
"options",
"head",
"connect",
"trace",
"patch",
];
// /**
// * Deep copy function for TypeScript.
// * @param T Generic type of target/copied value.
// * @param target Targ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5fe5ed937aff5c72d7b86693201f430a0190f996.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/prompt/select.ts
import { blue, underline } from "./deps.ts";
import { Figures } from "./figures.ts";
import {
GenericList,
GenericListKeys,
GenericListOption,
GenericListOptions,
GenericListOptionSettings,
GenericListSettings,
} from "./_generic_list.ts";... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/60207da1f6086c99439bc3461ec7e13a91db0a5b.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isSurrogatePair.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const surrogatePair = /[\uD800-\uDBFF][\uDC00-\uDFFF]/;
export const isSurrogatePair = (str: string) => {
assertS... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/60208104d8419669579f9261ae1aa06904cd8ebc.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/pluck.js
import _curry2 from './internal/_curry2.js';
import map from './map.js';
import prop from './prop.js';
/**
* Returns a new list by plucking the same named property off all objects in
* the list supplied.
*
* `pluck` will work on
* any [functor](h... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/609d7c2082e3ef0a4a8fb2e7e60e9697b1f06ec0.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/UniqueInputFieldNamesRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
/**
* Unique input field names
*
* A GraphQL input object value is only valid if all supplied fields are
* uniquely named.
*/
export function Uniq... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/60c7fe4c1380d78314c14bb32fc52ad785c43fb2.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/audit_log_change_value.ts
import { Overwrite } from "../channels/overwrite.ts";
import { Role } from "../permissions/role.ts";
/** https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure *... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/60de1da493266bc1bff189e5c32b676792a15f4e.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/zlib/zlib/messages.ts
export const message = {
2: "need dictionary", /* Z_NEED_DICT 2 */
1: "stream end", /* Z_STREAM_END 1 */
0: "", /* Z_OK 0 */
"-1": "file error", /* Z_ERRNO (-1) */
"-2": "stream error", /* Z_STREAM_ER... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/60ff61ebb938d35811d793e8afe3512924f70616.ts | TypeScript | // Loaded from https://deno.land/std@0.88.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/6103727928261a8778943e8fa60d98a437ea745a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/status_update.ts
import { Activity } from "../activity/activity.ts";
import { DiscordStatusTypes } from "./status_types.ts";
/** https://discord.com/developers/docs/topics/gateway#update-status */
export interface StatusUpdate {
/** Unix t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/61040b6274c02b055ec7fc64f04fdbe7093d967e.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/http/http_status.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** HTTP status codes */
export enum Status {
/** RFC 7231, 6.2.1 */
Continue = 100,
/** RFC 7231, 6.2.2 */
SwitchingProtocols = 101,
/** RFC 2518, 10.1 */
Processing... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/61134a3fdedb5611f4a0351ecbf660bd5fc73b9b.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/discovery/add_guild_discovery_subcategory.ts
export interface AddGuildDiscoverySubcategory {
/** The guild Id of the subcategory was added to */
guildId: string;
/** The Id of the subcategory added */
categoryId: number;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/611b8018373713f727621682b7b82c3d4f8f9420.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/constant/charset.ts
export enum Charset {
BIG5_CHINESE_CI = 1,
LATIN2_CZECH_CS = 2,
DEC8_SWEDISH_CI = 3,
CP850_GENERAL_CI = 4,
LATIN1_GERMAN1_CI = 5,
HP8_ENGLISH_CI = 6,
KOI8R_GENERAL_CI = 7,
LATIN1_SWEDISH_CI = 8,
LATIN2_GENERAL_CI = 9,
SWE7_SWEDISH_CI... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/61456a3b6280d70ece423de98f0a149141e9a9e9.ts | TypeScript | // Loaded from https://deno.land/std@0.69.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_DOT,
CHAR_BAC... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/616057bc30408233b3fa88b64c9ad8737115c746.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/log/levels.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** Get log level numeric values through enum constants
*/
export enum LogLevels {
NOTSET = 0,
DEBUG = 10,
INFO = 20,
WARNING = 30,
ERROR = 40,
CRITICAL = 50,
}
/** Permit... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6188d8029d83e2f6ab30171e207e50bde594148c.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/toLower.js
import invoker from './invoker.js';
/**
* The lower case version of a string.
*
* @func
* @memberOf R
* @since v0.9.0
* @category String
* @sig String -> String
* @param {String} str The string to lower case.
* @return {String} The lower ca... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/61aa99bace0e193e0473a6f3be6495241339eded.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/lib/connectors/mongodb-connector.ts
import { MongoDBClient } from "../../deps.ts";
import type { MongoDBClientOptions, MongoDBDatabase } from "../../deps.ts";
import type { Connector, ConnectorOptions } from "./connector.ts";
import type { QueryDescription } from "../... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/61ca55e57c6ceb745d427c20eac5d12d97d99eb6.ts | TypeScript | // Loaded from https://deno.land/x/abc@v1.2.4/mod.ts
export { Application } from "./app.ts";
export { Group } from "./group.ts";
export { Context } from "./context.ts";
export { Router } from "./router.ts";
export * from "./types.ts";
export * from "./http_exception.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/61e847bb2298864cf7749df18c19379870f0652d.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/messages/edit_message.ts
import { botId } from "../../bot.ts";
import { rest } from "../../rest/rest.ts";
import { DiscordenoMessage } from "../../structures/message.ts";
import { structures } from "../../structures/mod.ts";
import { Errors } from ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6206d8537faf9c96df54d38ee638c6197586b4c0.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/utils.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights reserv... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/623fbb7dfcc2ae9d17e57e8e3718418b47c80e4d.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/on.js
import curryN from './internal/_curryN.js';
/**
* Takes a binary function `f`, a unary function `g`, and two values.
* Applies `g` to each value, then applies the result of each to `f`.
*
* Also known as the P combinator.
*
* @func
* @memberOf R
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/624272ca55679261ba9695902320e5725aac78e1.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/get_slash_commands.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import type { ApplicationCommand } from "../../../types/interactions/commands/application_command.ts";
import... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6262640b7b417e890a16a16760e1ae57fa5db4bb.ts | TypeScript | // Loaded from https://deno.land/std/uuid/mod.ts
// Based on https://github.com/kelektiv/node-uuid -> https://www.ietf.org/rfc/rfc4122.txt
// Supporting Support for RFC4122 version 1, 4, and 5 UUIDs
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import * as v1 from "./v1.ts";
import * as v... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/627dc23b678014934d53055a9e818f4241908e34.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_includes.js
import _indexOf from './_indexOf.js';
export default function _includes(a, list) {
return _indexOf(list, a, 0) >= 0;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/62972aaeb619b2aec4a7789f5b647ea8428abc5b.ts | TypeScript | // Loaded from https://deno.land/std@0.69.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/62b9bd6822bded427e103c14d5140b48f290d425.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/webhooks/WEBHOOKS_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
import type { WebhookUpdate } from "../../types/webhooks/webhooks_update.ts";
import { s... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/62bd6743e63cf3c65502a0896afd3d9e6db7eba9.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/utils/bson.ts
import { Bson } from "../../deps.ts";
export function serializeBson(target: Bson.Document): Uint8Array {
return Bson.serialize(target);
}
export function deserializeBson(buffer: Uint8Array): Bson.Document {
return Bson.deserialize(buffer);
}
ex... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/62de52f32bf60571bfca2630a6f63ef996bc68a5.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/router.ts
/**
* Adapted directly from @koa/router at
* https://github.com/koajs/router/ which is licensed as:
*
* The MIT License (MIT)
*
* Copyright (c) 2015 Alexander C. Mingoia
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/62e91a845a1184974964d2760162d905466ad052.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/node/timers.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// TODO(bartlomieju): implement the 'NodeJS.Timeout' and 'NodeJS.Immediate' versions of the timers.
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/1163ead296d84e7a3c80d71e... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/62ed138e589be84029e6be44beffea908c99bd74.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/io/bufio.ts
// Copyright 2018-2020 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/62f9ce33a62a530d0014ff33b77340297854fc90.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/constant/packet.ts
export enum PacketType {
OK_Packet = 0x00,
EOF_Packet = 0xfe,
ERR_Packet = 0xff,
Result,
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6316a4c51d99eda000ea7f06718919883decb8dd.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isPlaceholder.js
export default function _isPlaceholder(a) {
return a != null &&
typeof a === 'object' &&
a['@@functional/placeholder'] === true;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/632d0778de595ce9a807ae518d2311a8bbbc3289.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/headers.ts
import { vary, encodeUrl, charset, lookup, Req, Res } from '../../deps.ts'
import { getRequestHeader } from '../req/headers.ts'
const charsetRegExp = /;\s*charset\s*=/
export const setHeader = <Response extends Res = Res>(res: Response) =>... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/633b317f79b0cb5ac26c3dfdcc2d3a7d6474913d.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/templates/get_template.ts
import { rest } from "../../rest/rest.ts";
import type { Template } from "../../types/templates/template.ts";
import { endpoints } from "../../util/constants.ts";
/** Returns the guild template if it exists */
export asyn... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6344df059c16533bdcaa1beb922eda578daaf388.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/webhooks/delete_webhook_message.ts
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.ts";
export async function deleteWebhookMessage(webhookId: bigint, webhookToken: string, messageId: bigint) {
return aw... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/634ef603545189195b9dbe0bc7ec4073cda5bf54.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_option.ts
import { ApplicationCommandOptionChoice } from "./application_command_option_choice.ts";
import { DiscordApplicationCommandOptionTypes } from "./application_command_option_types.ts";
/** https://di... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/635cf8b09e7ff6a6ed019da4e7138ffcc79f40d3.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/lib/helpers/results.ts
import type { ModelSchema } from "../model.ts";
import type { Values } from "../data-types.ts";
/** Transform a plain record object to a given model schema. */
export function formatResultToModelInstance(
Schema: ModelSchema,
fields: Values... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/63699da411bf89c86d8541d7b28f10f8a901e322.ts | TypeScript | // Loaded from https://deno.land/std/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 separator
*/
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/63cb708dd4c9b4b2834d55fb758d7e31665bc82b.ts | TypeScript | // Loaded from https://deno.land/std@0.84.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/64013586f7ace0f2dd606727a1cd10b09ef4816d.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/testing/_diff.ts
// Copyright 2018-2020 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/64022387fefbab01fea1859e40ea0d886c32e742.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/webhooks/modify_webhook.ts
/** https://discord.com/developers/docs/resources/webhook#modify-webhook-json-params */
export interface ModifyWebhook {
/** The default name of the webhook */
name?: string;
/** Image for the default webhook avatar *... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/64618f9bb08e4de09c6ccca7f1e955c01fbd023b.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/parse.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights reserv... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/647032f84ece50f5a38babe73ea199ac6ee4c396.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_makeFlat.js
import _isArrayLike from './_isArrayLike.js';
/**
* `_makeFlat` is a helper function that returns a one-level or fully recursive
* function based on the flag passed in.
*
* @private
*/
export default function _makeFlat(recursive) {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/64a0b34ed6ea49502cedd795909c020dd3fa51f0.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_arrayFromIterator.js
export default function _arrayFromIterator(iter) {
var list = [];
var next;
while (!(next = iter.next()).done) {
list.push(next.value);
}
return list;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/653e477fe3471d1e45ddb8b5bce0af488a8a534a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/rest/create_request_body.ts
import type { FileContent } from "../types/discordeno/file_content.ts";
import { USER_AGENT } from "../util/constants.ts";
import { rest, RestPayload, RestRequest } from "./rest.ts";
/** Creates the request body and headers tha... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6549f184bece82ad489f10dfbba8e57289402b5f.ts | TypeScript | // Loaded from https://deno.land/x/oak/negotiation/encoding.ts
/*!
* Adapted directly from negotiator at https://github.com/jshttp/negotiator/
* which is licensed as follows:
*
* (The MIT License)
*
* Copyright (c) 2012-2014 Federico Romero
* Copyright (c) 2012-2014 Isaac Z. Schlueter
* Copyright (c) 2014-201... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6551832d57a1d2e04a44a9b74e123cd17a6f8a51.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/propSatisfies.js
import _curry3 from './internal/_curry3.js';
import prop from './prop.js';
/**
* Returns `true` if the specified object property satisfies the given
* predicate; `false` otherwise. You can test multiple properties with
* [`R.where`](#where).... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/656421b0baa5f2cf6569c3b7751b2d77c400e634.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isInteger.js
/**
* Determine if the passed argument is an integer.
*
* @private
* @param {*} n
* @category Type
* @return {Boolean}
*/
export default Number.isInteger || function _isInteger(n) {
return (n << 0) === n;
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/65740ac9839f36e2096d84c50b0dce28cd1732f7.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/fmt/colors.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors
* on npm.
*
* ```
* import { bgBlue, red, bold } from "https://deno.land/std/fmt/colors.ts";
* cons... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/65abf1d5e46652f4d675a663ba49d7c961ea84d5.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xdropWhile.js
import _curry2 from './_curry2.js';
import _xfBase from './_xfBase.js';
function XDropWhile(f, xf) {
this.xf = xf;
this.f = f;
}
XDropWhile.prototype['@@transducer/init'] = _xfBase.init;
XDropWhile.prototype['@@transducer/result'] =... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/663a4b6aabcb04f790bcf2e9a28eb12ab311fa84.ts | TypeScript | // Loaded from https://deno.land/std@0.90.0/path/glob.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { osType } from "../_util/os.ts";
import { join, normalize } from "./mod.ts";
import { SEP, SEP_PATTERN } from "./separator.ts";
export int... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/664478a01d1f65fe688723118b2082d635d6d85b.ts | TypeScript | // Loaded from https://deno.land/x/dndb@0.2.4/mod.ts
import { Datastore } from "./src/mod.ts";
export default Datastore; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6654ea422385a021ada0f4d4d1cfc6830845cf9d.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/keycode/key_codes.ts
/** Base key mapping. */
export const KeyMap: Record<string, string> = {
/* xterm/gnome ESC [ letter (with modifier) */
"[P": "f1",
"[Q": "f2",
"[R": "f3",
"[S": "f4",
/* xterm/gnome ESC O letter (without modifier) */
"OP": "f1",
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/666acc80a9cf7bcbfb9054efe04d1643338a4d4b.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/language/ast.js
import defineToJSON from '../jsutils/defineToJSON.js';
/**
* Contains a range of UTF-8 character offsets and token references that
* identify the region of the source from which the AST derived.
*/
export class Location {
/**
* The c... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/668017d0d0131f4a61a928c1a2a6f395a7e316ec.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/path/_interface.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/**
* A parsed path object generated by path.parse() or consumed by path.format().
*/
export interface ParsedPath {
/**
* The root of ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/670f8809faac9ade0096051d3bf292a60807141b.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_modify.js
import _isArray from './_isArray.js';
import _isInteger from './_isInteger.js';
/**
* Makes a shallow clone of an object, applying the given fn to the specified
* property with the given value. Note that this copies and flattens prototype
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/677318db68f91f41e643ff4753ccf1962c22069a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/invites/target_types.ts
/** https://discord.com/developers/docs/resources/invite#invite-object-target-user-types */
export enum DiscordTargetTypes {
Stream = 1,
EmbeddedApplication,
}
export type TargetTypes = DiscordTargetTypes;
export const Ta... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/67b4549c77f7dbc08f5a1d103bb20118206904cd.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/templates/create_guild_template.ts
import { rest } from "../../rest/rest.ts";
import type { Template } from "../../types/templates/template.ts";
import { endpoints } from "../../util/constants.ts";
import { requireBotGuildPermissions } from "../../... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/67dbd0150bbc6a38a895debd21701e5e13fd027e.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/permissions/mod.ts
export * from "./bitwise_permission_flags.ts";
export * from "./permission_strings.ts";
export * from "./role.ts";
export * from "./role_tags.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/67e05a5db31e4d5ccb2895fcbdf4452ad2e2d492.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/table/layout.ts
import { Cell, ICell } from "./cell.ts";
import { stripColor } from "./deps.ts";
import { IRow, Row } from "./row.ts";
import type { IBorderOptions, ITableSettings, Table } from "./table.ts";
import { consumeWords, longest } from "./utils.ts";
/** Lay... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/67e4a69d6bb60e1c052c7adc4464af01d1778046.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/http/server.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { encode } from "../encoding/utf8.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { assert } from "../_util/assert.ts";
import { Deferred, deferred, MuxAsyncI... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/67fa057027926f904a72e7874735dda744c2e039.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/toDate.ts
import { assertString } from './assertString.ts';
export const toDate = (str: string) => {
assertString(str);
const date = Date.parse(str);
return !isNaN(date) ? new Date(date) : null;
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/681bf9ebab10fb951ce34c6d0feb7967853090f9.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/types/action_list.ts
import type { Command } from "../command.ts";
import { StringType } from "./string.ts";
/** Completion list type. */
export class ActionListType extends StringType {
constructor(protected cmd: Command) {
super();
}
/** Complete... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6834ebb2b983b928bd0ff252229885c4453f22c9.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.9.1/deps.ts
// Copyright 2020 the oak authors. All rights reserved. MIT license.
export { extname } from "https://deno.land/std@0.99.0/path/mod.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6842db90bc133c822ceb4b49542136172b5943d0.ts | TypeScript | // Loaded from https://deno.land/std@0.79.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/6852319202452567b571e63384920c4c1725f0de.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/path/_interface.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/**
* A parsed path object generated by path.parse() or consumed by path.format().
*/
export interface ParsedPath {
/**
* The root of ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6854199e32bf5d27eac822d3c34c4b1d6ce493f5.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/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 fu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/687264adabc1930856b61e7c7d2614942c489ed0.ts | TypeScript | // Loaded from https://deno.land/std@0.92.0/async/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export * from "./deferred.ts";
export * from "./delay.ts";
export * from "./mux_async_iterator.ts";
export * from "./pool.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6882cef333462ef6df635c6792edea677c98e412.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/permissions/role_tags.ts
/** https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure */
export interface RoleTags {
/** The id of the bot this role belongs to */
botId?: string;
/** The id of the integration this ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/6892c9498d7ffbdbac1650b52ce1661dc1c9e305.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/users/premium_types.ts
/** https://discord.com/developers/docs/resources/user#user-object-premium-types */
export enum DiscordPremiumTypes {
None,
NitroClassic,
Nitro,
}
export type PremiumTypes = DiscordPremiumTypes;
export const PremiumTypes... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/68b9647f149386e682804b0d566accf6c7691fb5.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/members/GUILD_MEMBER_ADD.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { structures } from "../../structures/mod.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/68cd56a8a5726a01306f769bd1519ac99bd87521.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_int.ts
import type { Validity } from "../types.ts";
import { invalid } from "../utils.ts";
import { isNumber } from "./is_number.ts";
export function isInt(value: any): Validity {
if (typeof value !== "number" || value % 1 !== 0) {
return invalid("isIn... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/68f73c63de34ebae42d0bbd5ab2b5ba5433e6ae8.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/mod.ts
export { DATA_TYPES, DataTypes } from "./lib/data-types.ts";
export { Database } from "./lib/database.ts";
export { Model } from "./lib/model.ts";
export { Relationships } from "./lib/relationships.ts";
| 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.