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/4f65023f6199dc3957a039002b02509ded0e69b6.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/async/tee.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Utility for representing n-tuple
type Tuple<T, N extends number> = N extends N
? number extends N ? T[] : TupleOf<T, N, []>
: never;
type TupleOf<T, N extends number, R extends ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4f8069e2135895a98ef3713b2006317ace3f8377.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/roles/create_role.ts
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import { structures } from "../../structures/mod.ts";
import { CreateGuildRole } from "../../types/guilds/create_guild_role.ts";
import ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4fb0ad9fc7c6ae008dc89991d1a9b90155535ed2.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/length_between.ts
import type { Validity, Rule } from "../types.ts";
import { invalid } from "../utils.ts";
export function lengthBetween(minLength: number, maxLength: number): Rule {
return function lengthBetweenRule(value: any): Validity {
if (typeof va... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4fc4bb197b025f928c8e2d7baacc545eae5cf051.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/index.js
/**
* GraphQL.js provides a reference implementation for the GraphQL specification
* but is also a useful utility for operating on GraphQL files and building
* sophisticated tools.
*
* This primary module exports a general purpose function for ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4fe66db366ce68be15874e217e9edb2261df9111.ts | TypeScript | // Loaded from https://deno.land/std@0.69.0/path/_interface.ts
/** This module is browser compatible. */
/**
* A parsed path object generated by path.parse() or consumed by path.format().
*/
export interface ParsedPath {
/**
* The root of the path such as '/' or 'c:\'
*/
root: string;
/**
* The full... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/4fe7bc8bec9b19a5506a2ae31645938acc254235.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/mean.js
import _curry1 from './internal/_curry1.js';
import sum from './sum.js';
/**
* Returns the mean of the given list of numbers.
*
* @func
* @memberOf R
* @since v0.14.0
* @category Math
* @sig [Number] -> Number
* @param {Array} list
* @return {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/500c396d75c33eed08273926d3479ab0b1845d48.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/messages/MESSAGE_CREATE.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/50462499cd464d2e75c2ba5d0bae8f7d82276afe.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/paramCase.ts
import normalCase from "./normalCase.ts";
export default function paramCase(value: string, locale?: string): string {
return normalCase(value, locale, "-");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/509e821a411aa6b1dd48256ec7b9054aeb58b72b.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/message_activity_types.ts
/** https://discord.com/developers/docs/resources/channel#message-object-message-activity-types */
export enum DiscordMessageActivityTypes {
Join = 1,
Spectate,
Listen,
JoinRequest,
}
export type MessageAct... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/50a68c90032989ca1a310f36cf79e5bf1114e7c4.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/init.js
import slice from './slice.js';
/**
* Returns all but the last element of the given list or string.
*
* @func
* @memberOf R
* @since v0.9.0
* @category List
* @sig [a] -> [a]
* @sig String -> String
* @param {*} list
* @return {*}
* @see R.l... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/50ef99b3983986e9a4e3ff30a3862e2d4c5d5812.ts | TypeScript | // Loaded from https://deno.land/x/case/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/510ae245443c8889dec9e52465b6a4f288dcad72.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/spawn_shards.ts
import { delay } from "../util/utils.ts";
import { ws } from "./ws.ts";
/** Begin spawning shards. */
export function spawnShards(firstShardId = 0) {
/** Stored as bucketId: [clusterId, [ShardIds]] */
const maxShards = ws.maxShards ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/511b470a054c6ddf269c4ff3d9b60a11c529aca3.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/deflate.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/516312be8cf018277871f6e43147d06b677d6a13.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/pathOr.js
import _curry3 from './internal/_curry3.js';
import defaultTo from './defaultTo.js';
import path from './path.js';
/**
* If the given, non-null object has a value at the given path, returns the
* value at that path. Otherwise returns the provided d... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5182d4b18e580b0a6b2fc4b2bd9d841d701f6442.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/filter.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _filter from './internal/_filter.js';
import _isObject from './internal/_isObject.js';
import _reduce from './internal/_reduce.js';
import _xfi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5190df367c400a5fe979230a82d871614e286120.ts | TypeScript | // Loaded from https://deno.land/x/dnit@dnit-v1.11.0/manifest.ts
import { path, fs } from "./deps.ts";
import * as A from "./adl-gen/dnit/manifest.ts";
import * as J from "./adl-gen/runtime/json.ts";
import { RESOLVER } from "./adl-gen/resolver.ts";
import { ADLMap } from "./ADLMap.ts";
export class Manifest {
re... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5192072a18cf75d411c99ea9c93ebc2ae8e830b4.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_functionName.js
export default function _functionName(f) {
// String(x => x) evaluates to "x => x", so the pattern may not match.
var match = String(f).match(/^function (\w*)/);
return match == null ? '' : match[1];
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5199b8c9cbc0177702bb42e6bd62d934ab73dda0.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/interactions/commands/application_command_option_types.ts
/** https://discord.com/developers/docs/interactions/slash-commands#applicationcommandoptiontype */
export enum DiscordApplicationCommandOptionTypes {
SubCommand = 1,
SubCommandGroup,
St... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/51a0914d02311b5c74987c2786eec2d44c6f9baf.ts | TypeScript | // Loaded from https://deno.land/std@0.69.0/path/separator.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** This module is browser compatible. */
import { isWindows } from "./_constants.ts";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ :... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/51b9676d22bfed0b3e6e4a6e02abdfffec697446.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/concatAST.js
import flatMap from '../polyfills/flatMap.js';
/**
* Provided a collection of ASTs, presumably each from different files,
* concatenate the ASTs together into batched AST, useful for validating many
* GraphQL source files which tog... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/51e8466043cdd648154569502989a09f6f52a516.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/embeds/embed_video.ts
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure */
export interface EmbedVideo {
/** Source url of video */
url?: string;
/** A proxied url of the video */
proxyUrl?: string;
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/523b95232338171f73ef4bb75b339ca63d84eefb.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/negotiation/mediaType.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) ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/524551afa4226f2f385610c5af9060b0db570b39.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/channels/create_stage_instance.ts
import { validateLength } from "../../util/validate_length.ts";
import { Errors } from "../../types/discordeno/errors.ts";
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/525995688a3c556f6973297878b9d75b1261feca.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/upsert_slash_command.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import type { ApplicationCommand } from "../../../types/interactions/commands/application_command.ts";
impo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/526b8c61ff42bdbb893afa912c26c81146e08050.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/templates/mod.ts
export * from "./create_guild_from_template.ts";
export * from "./modify_guild_template.ts";
export * from "./template.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/52aae1c92cd6bd702a433021973326c89faa3a61.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/schema/core.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 ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/530d2bc386702423b92eee7f56c8d5a1d2c8a42d.ts | TypeScript | // Loaded from https://deno.land/std@0.81.0/textproto/mod.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/tree/master/src/net/textproto
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
//... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/532e46aadcc1831d94b4a779c2a24c4b8d158ea2.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/async/pool.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/**
* pooledMap transforms values from an (async) iterable into another async
* iterable. The transforms are done concurrently, with a max concurrency
* defined by the poolLimit.
*... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/533a6494ba56d6f8790c539bcf6ce600e386584d.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/partition.js
import filter from './filter.js';
import juxt from './juxt.js';
import reject from './reject.js';
/**
* Takes a predicate and a list or other `Filterable` object and returns the
* pair of filterable objects of the same type of elements which do ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/53897518751b56ded4afb6ddcfd04ea6cf09339e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/inc.js
import add from './add.js';
/**
* Increments its argument.
*
* @func
* @memberOf R
* @since v0.9.0
* @category Math
* @sig Number -> Number
* @param {Number} n
* @return {Number} n + 1
* @see R.dec
* @example
*
* R.inc(42); //=> 43
*/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/53ae4b7ecdfa51b6ce5b610f4423912f02177fd5.ts | TypeScript | // Loaded from https://deno.land/std@0.77.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/53b6d668e8094a35ca023bf18723293ae406e22c.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/loader/loader_state.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/53b9eb878f480af68714477fe60bf6aa1e772384.ts | TypeScript | // Loaded from https://deno.land/std@0.102.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 fr... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/53ef97cc19ddbc4e5d1af12c8f1ff41cceee0f48.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/flags/lib/types/boolean.ts
import { IFlagArgument, IFlagOptions, ITypeHandler } from '../types.ts';
export const boolean: ITypeHandler<boolean> = ( option: IFlagOptions, arg: IFlagArgument, value: string ): boolean => {
if ( ~[ '1', 'true' ].indexOf( va... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/53f697c52e92b47862430e5a2f2a10a63270cd31.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/mod.ts
export * from "./activity.ts";
export * from "./activity_assets.ts";
export * from "./activity_button.ts";
export * from "./activity_emoji.ts";
export * from "./activity_flags.ts";
export * from "./activity_party.ts";
export * from ".... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5410c66fa74f3a1f3abc875e2cd129f23d44f908.ts | TypeScript | // Loaded from https://deno.land/x/oak/buf_reader.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
import { assert } from "./deps.ts";
import { stripEol } from "./util.ts";
export interface ReadLineResult {
bytes: Uint8Array;
eol: boolean;
}
const DEFAULT_BUF_SIZE = 4096;
const MIN_... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5416c4abadbe08806856e8496e8fc5758d72a3bd.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/async/deadline.ts
import { deferred } from "./deferred.ts";
export class DeadlineError extends Error {
constructor() {
super("Deadline");
this.name = "DeadlineError";
}
}
/**
* Create a promise which will be rejected with DeadlineError when a given delay is ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/54219637b852f009bf18e186f041e0f4d8b31ca7.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/lt.js
import _curry2 from './internal/_curry2.js';
/**
* Returns `true` if the first argument is less than the second; `false`
* otherwise.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Relation
* @sig Ord a => a -> a -> Boolean
* @param {*} a
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5421ed9d1cb82f0a48e3b46e99f915d452c022f4.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isIdentityCard.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const validators = {
ES: (str: string) => {
assertString(str);
const DNI = /^[0-9X-Z][0-9]{7}[TRWAGMYFPDXB... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/54756f3b6e72ad8ede86d7f0bcf25cc034ecbd8a.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/type/introspection.js
// FIXME
/* eslint-disable import/no-cycle */
import objectValues from '../polyfills/objectValues.js';
import inspect from '../jsutils/inspect.js';
import invariant from '../jsutils/invariant.js';
import { print } from '../language/pri... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/549dabd0a80e54f124ca73c8a759a290f7d32262.ts | TypeScript | // Loaded from https://deno.land/x/oak/headers.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
import type { BufReader } from "./buf_reader.ts";
import { httpErrors } from "./httpError.ts";
const COLON = ":".charCodeAt(0);
const HTAB = "\t".charCodeAt(0);
const SPACE = " ".charCodeAt(0)... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/55085eacb6eed99c262e6ef27acc9c28367d4a33.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/get_prune_count.ts
import { rest } from "../../rest/rest.ts";
import { Errors } from "../../types/discordeno/errors.ts";
import type { GetGuildPruneCountQuery } from "../../types/guilds/get_guild_prune_count.ts";
import { endpoints } from ".... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/552152ba99e3dd3ca555ef74a8d03c1d0f2ed89e.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/types.ts
import { Bson } from "../deps.ts";
export type Document = Bson.Document;
export interface ConnectOptions {
servers: {
host: string;
port: number;
domainSocket?: string;
}[];
auth?: {
user: string;
password: string;
};
dbName... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/552946951b4b80b2c8e7a6ad38379fd26d613ac4.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/toString.ts
export const toString = (input: any) => {
if (typeof input === 'object' && input !== null) {
if (typeof input.toString === 'function') {
input = input.toString();
} else {
input = '[object Object]';
}
} else if (
i... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/553188ab802f6dd896fa0ca480bc82efe61cc26e.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v1.4.3/src/rsa/mod.ts
import type { RSAOption, RSASignOption, JSONWebKey } from "./common.ts";
import { WebCryptoRSA } from "./rsa_wc.ts";
import { PureRSA } from "./rsa_js.ts";
import { RawBinary } from "../binary.ts";
import { rsa_import_key } from "./import_key.ts";
im... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/554a35c2725c7f0b404b9484dcddf343e67a384d.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/prompt/confirm.ts
import { GenericPrompt } from "./_generic_prompt.ts";
import {
GenericSuggestions,
GenericSuggestionsKeys,
GenericSuggestionsOptions,
GenericSuggestionsSettings,
} from "./_generic_suggestions.ts";
import { blue, dim } from "./deps.ts";
impor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/554d9f5765333023f0c447868abce45956e877f2.ts | TypeScript | // Loaded from https://deno.land/std/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,
CHAR_FOR... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/556cc2ee8301e0b5a23927cd88f6e87204d04aa2.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/sum.js
import add from './add.js';
import reduce from './reduce.js';
/**
* Adds together all the elements of a list.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Math
* @sig [Number] -> Number
* @param {Array} list An array of numbers
* @return... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/55ae64c27ea03fdb91c3d0363317f09d251f0080.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/zlib/inflate.ts
// from https://github.com/nodeca/pako
import { concatUint8Array } from "../utils/uint8.ts";
import * as zlib_inflate from "./zlib/inflate.ts";
import STATUS from "./zlib/status.ts";
import { message as msg, CODE } from "./zlib/messages.ts";
import ZS... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/55bda4f8a080138dd5a21f24579f775477081798.ts | TypeScript | // Loaded from https://deno.land/std@0.80.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/55bfaab530cc00f2f3c442149339cc329e5b4653.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/voice/voice_server_update.ts
/** https://discord.com/developers/docs/topics/gateway#voice-server-update */
export interface VoiceServerUpdate {
/** Voice connection token */
token: string;
/** The guild this voice server update is for */
guil... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5611662158a00014638a6e4701faf247c184b455.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/ends_with.ts
import type { Validity, Rule } from "../types.ts";
import { invalid } from "../utils.ts";
export function endsWith(str: string): Rule {
return function endsWithRule(value: any): Validity {
if (typeof value !== "string") {
return invalid... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5626748aec39922bf5a6cc48950edc293b5d90e5.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/includes.js
import _includes from './internal/_includes.js';
import _curry2 from './internal/_curry2.js';
/**
* Returns `true` if the specified value is equal, in [`R.equals`](#equals)
* terms, to at least one element of the given list; `false` otherwise.
* ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5674474382f85588f75d9aa8f15b8b351c51b5c5.ts | TypeScript | // Loaded from https://deno.land/x/sqlite@v2.3.1/src/wasm.ts
import SqliteError from "./error.ts";
// Move string to C
export function setStr(
wasm: any,
str: string,
closure: (ptr: number) => void,
) {
const bytes = new TextEncoder().encode(str);
const ptr = wasm.malloc(bytes.length + 1);
if (ptr === 0)... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/56cfa45e65f954216dae630870817332d63c7874.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_identity.js
export default function _identity(x) { return x; }
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/56f1fef8fd3c07ccbfd403c2c4ec25e90d5f5a1e.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/emojis/GUILD_EMOJIS_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import type { GuildEmojisUpdate } from "../../types/emojis/guild_emojis_update.ts";
import type { DiscordGatewayPayload } f... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5707df2773cbf05df35503cd5a8cc873455ad561.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isByteLength.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
type ByteLengthOptions = {
/**
* @default 0
*/
min?: number;
/**
* @default undefined
*/
max?: number;
};
/**
* @ig... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/57638de3cb2e1e316fd6e4e5b87f5ea603687aeb.ts | TypeScript | // Loaded from https://deno.land/std/fs/empty_dir.ts
// Copyright 2018-2021 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 is creat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5789057467243996929ecba6104592ddb762edc9.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/hash/sha256.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/*
* Adapted to deno from:
*
* [js-sha256]{@link https://github.com/emn178/js-sha256}
*
* @version 0.9.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/578c9c9d57b8c5381289038abef33e65e974fb05.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/create_slash_command.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import type { ApplicationCommand } from "../../../types/interactions/commands/application_command.ts";
impo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/57c6d3494d2ad3de8a3b811b649bdad63a756eec.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/messages/add_reactions.ts
import { eventHandlers } from "../../bot.ts";
import { addReaction } from "./add_reaction.ts";
/** Adds multiple reactions to a message. If `ordered` is true(default is false), it will add the reactions one at a time in t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/57dbee60abd6bb62ac6adc2984bc4d9a04bf6a97.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type/int.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights res... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/57e5f8e92e9bce2d9b35ed202f8b858200326aa7.ts | TypeScript | // Loaded from https://deno.land/std/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 */
expo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/57f42cd79a814c6352880d2c86a215a83e34fa00.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/commands/completions/zsh.ts
import { Command } from '../../lib/command.ts';
import { ZshCompletionsGenerator } from '../../lib/zsh-completions-generator.ts';
/**
* Generates zsh completion code.
*/
export class ZshCompletionsCommand extends Command... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/580bf4be7b7d68aa7808fd72544d38b7ce61fd6e.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/utils/common.js
function _has(obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
}
export function assign (obj /*from1, from2, from3, ...*/) {
var sources = Array.prototype.slice.call(arguments, 1);
while (sourc... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/580d37ed86922ddc28ae4deabf1eb33940e284a5.ts | TypeScript | // Loaded from https://deno.land/std@0.84.0/textproto/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/tree/master/src/net/textproto
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
//... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/584d22e957080d2df6b83c75e3ee64a7682b71ae.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v1.4.3/src/rsa/export_key.ts
import type { RSAKeyParams } from "./common.ts";
import { bignum_to_byte } from "../helper.ts";
import { encode } from "./../../src/utility/encode.ts";
function ber_size_bytes(size: number): number[] {
// The BER Length
// The second comp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5862b1065b772747707c346af8887b051db043a1.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/isObjectLike.js
/**
* Return true if `value` is object-like. A value is object-like if it's not
* `null` and has a `typeof` result of "object".
*/
export default function isObjectLike(value) {
return typeof value == 'object' && value !== null;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/58b275db722452af5888f229545127f781498920.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/validate.ts
import type { ValidationResult, Rule, Validity } from "./types.ts";
import type {
ValidationRules,
ValidationOptions,
RawValidationResult,
InputData,
InvalidPayload,
ValidationUtils,
OptionalValidity,
} from "./interfaces.ts";
import {
isOp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/58d3bd8561df0406be7e9c4368743833bc5cea79.ts | TypeScript | // Loaded from https://deno.land/std@0.73.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 "./_constants.ts";
import * as _win32 from "./win32.ts";
import * as _posi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/58d472da910288f11acecbd2a35c8611d268e214.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/misc/USER_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
import type { User } from "../../types/users/use... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/58d5f831f3fc1a7244b4d4ce1dc82380f6201933.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/match.js
import _curry2 from './internal/_curry2.js';
/**
* Tests a regular expression against a String. Note that this function will
* return an empty array when there are no matches. This differs from
* [`String.prototype.match`](https://developer.mozilla... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/58eb2a0961019853bb83d674345bf3bb70559097.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/index.ts
export * from './validations/isAfter.ts';
export * from './validations/isAlpha.ts';
export * from './validations/isAlphanumeric.ts';
export * from './validations/isAscii.ts';
export * from './validations/isBIC.ts';
export * from './validations/isBase32.ts';... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/590618a05c830a54b7940c5460bfdd686708a0d6.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/log/handlers.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { getLevelByName, LevelName, LogLevels } from "./levels.ts";
import type { LogRecord } from "./logger.ts";
import { blue, bold, red, yellow } from "../fmt/colors.ts";
import { ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59417aaf3e13e8ca39e9132aaf809996c7373728.ts | TypeScript | // Loaded from https://deno.land/std@0.77.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/594d294c1d954bfa45446e1a5d22f3172ef45885.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/path/separator.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { isWindows } from "../_util/os.ts";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59517267cc8245e0d8ee2cf2a5909ce9f6411171.ts | TypeScript | // Loaded from https://deno.land/std@0.86.0/io/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export * from "./bufio.ts";
export * from "./ioutil.ts";
export * from "./readers.ts";
export * from "./writers.ts";
export * from "./streams.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5966db1e3f33bc51286a48d2ae39e0ef6357454c.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/set.js
import _curry3 from './internal/_curry3.js';
import always from './always.js';
import over from './over.js';
/**
* Returns the result of "setting" the portion of the given data structure
* focused by the given lens to the given value.
*
* @func
* @... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5996ec1cd14d9bb556ec2844e451938c4823625c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/templates/delete_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/599d785fdc3c1ccaee4c24a7ddf2ca895f623867.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/type/binary.ts
// Ported from js-yaml v3.13.1:
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2018-2020 the Deno authors. All rights ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59b7e5a4bdf273f92308a2b3738929c5479e049b.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/partial.js
import _concat from './internal/_concat.js';
import _createPartialApplicator from './internal/_createPartialApplicator.js';
/**
* Takes a function `f` and a list of arguments, and returns a function `g`.
* When applied, `g` returns the result of a... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59b800804afadfa9d4a250fa23bbf65a20ff5153.ts | TypeScript | // Loaded from https://deno.land/std@0.92.0/path/separator.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { isWindows } from "../_util/os.ts";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59dd8cbfbbe24842699fe79947a23c6a7c9c3aa4.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/bytes/bytes_list.ts
/**
* An abstraction of multiple Uint8Arrays
*/
export class BytesList {
private len = 0;
private chunks: {
value: Uint8Array;
start: number; // start offset from head of chunk
end: number; // end offset from head of chunk
offset: ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59debc56a8ee8cc4f094caf470ecfe36a6190500.ts | TypeScript | // Loaded from https://deno.land/std@0.75.0/encoding/base64.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// deno-fmt-ignore
const base64abc = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L",
"M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a",
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/59f7b524425d8a5a0b89908bc866759bef448f0d.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/compose.js
import pipe from './pipe.js';
import reverse from './reverse.js';
/**
* Performs right-to-left function composition. The last argument may have
* any arity; the remaining arguments must be unary.
*
* **Note:** The result of compose is not automa... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5a0ffad248907c276eb662aaaafbe28b82404323.ts | TypeScript | // Loaded from https://deno.land/std@0.93.0/path/separator.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { isWindows } from "../_util/os.ts";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5a56e2a718d4f917b97ddd3e83d240828ccdf0e2.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xfindLast.js
import _curry2 from './_curry2.js';
import _xfBase from './_xfBase.js';
function XFindLast(f, xf) {
this.xf = xf;
this.f = f;
}
XFindLast.prototype['@@transducer/init'] = _xfBase.init;
XFindLast.prototype['@@transducer/result'] = fun... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5a5e52d4baf5b8278a76d46801016bb0f8727563.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/flags/_utils.ts
import type { IFlagOptions } from "./types.ts";
import { distance } from "../_utils/distance.ts";
/** Convert param case string to camel case. */
export function paramCaseToCamelCase(str: string): string {
return str.replace(
/-([a-z])/g,
(g... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5a728e7bb9d91aec405ddeeaeaa4c6da76c96f36.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/negotiation/charset.ts
/*!
* Adapted directly from negotiator at https://github.com/jshttp/negotiator/
* which is licensed as follows:
*
* (The MIT License)
*
* Copyright (c) 2012-2014 Federico Romero
* Copyright (c) 2012-2014 Isaac Z. Schlueter
* Copyright (c) 20... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5ab41e00afb7428a4d09936e3d3923e9d7f949d7.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/type/map.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights res... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5abe6602338b58d3b1513f0c9284a709047f993e.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/redirect.ts
import { NextFunction } from 'https://esm.sh/@tinyhttp/router'
import { formatResponse } from './format.ts'
import { setLocationHeader } from './headers.ts'
import { Req, Res } from '../../deps.ts'
import { status as getStatus } from 'https... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5ae2edd8e70ab505aae2579e720b908bfe81b53b.ts | TypeScript | // Loaded from https://deno.land/x/case/vendor/nonWordRegexp.ts
const nonWordRegexp: RegExp =
/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b0337a0cb560372656797c6a086cb8135efc17a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/dec.js
import add from './add.js';
/**
* Decrements its argument.
*
* @func
* @memberOf R
* @since v0.9.0
* @category Math
* @sig Number -> Number
* @param {Number} n
* @return {Number} n - 1
* @see R.inc
* @example
*
* R.dec(42); //=> 41
*/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b1fd0386834240c91beb45b4e211027a496ff2f.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/helpers.ts
// Copyright 2018-2020 the oak authors. All rights reserved. MIT license.
import type { Context } from "./context.ts";
import type { RouterContext } from "./router.ts";
function isRouterContext(value: Context): value is RouterContext {
return "params" in va... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b39c728a33db72f3a0c4ab79cbb0298732aae5c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/channels/category_children.ts
import { cacheHandlers } from "../../cache.ts";
/** Gets an array of all the channels ids that are the children of this category. */
export async function categoryChildren(id: bigint) {
return await cacheHandlers.fi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b51357b6f42daf18a9487cd2aef1522e4220531.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/req/mod.ts
export * from './accepts.ts'
export * from './headers.ts'
export * from './security.ts'
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b59c0f641cb429546417480f726ed282a02f9b9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/guild.ts
import { PresenceUpdate } from "../activity/presence_update.ts";
import { Channel } from "../channels/channel.ts";
import { Emoji } from "../emojis/emoji.ts";
import { GuildMember } from "../members/guild_member.ts";
import { Role } f... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b6d6658c182a8a7c8fd186eb83e4962883f9626.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/type_guards/is_button.ts
import type { ButtonComponent } from "../../types/messages/components/button_component.ts";
import type { MessageComponent } from "../../types/messages/components/message_components.ts";
import { MessageComponentTypes } fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b74a7f4f45315d1404ddaa2ac2d3b35aa539192.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/project.js
import _map from './internal/_map.js';
import identity from './identity.js';
import pickAll from './pickAll.js';
import useWith from './useWith.js';
/**
* Reasonable analog to SQL `select` statement.
*
* @func
* @memberOf R
* @since v0.1.0
* @... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/5b79987e5455c8d8f5634704a4aab9cb784ccabf.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/find.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xfind from './internal/_xfind.js';
/**
* Returns the first element of the list which matches the predicate, or
* `undefined` if no element m... | 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.