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/81481be06561c8a7d11b106a25d2ba74561c235b.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/maxBy.js
import _curry3 from './internal/_curry3.js';
/**
* Takes a function and two values, and returns whichever value produces the
* larger result when passed to the provided function.
*
* @func
* @memberOf R
* @since v0.8.0
* @category Relation
* @... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/81669eb728b88cbeacc64d6de775b13c383f6153.ts | TypeScript | // Loaded from https://deno.land/std@0.93.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_SLA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/818689de8c644d3a599c7a38fd4be5dd96f18bb1.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/KnownDirectivesRule.js
import inspect from '../../jsutils/inspect.js';
import invariant from '../../jsutils/invariant.js';
import { GraphQLError } from '../../error/GraphQLError.js';
import { Kind } from '../../language/kinds.js';
import { D... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/819b4f29a182ab3118c98c4bad686fe2b41c2618.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/deps.ts
export { decompress_with as decompressWith } from "https://unpkg.com/@evan/wasm@0.0.50/target/zlib/deno.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/81aaef5553ea90204ab831616cd04354bc4f57b4.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/end.ts
import { Req, Res } from '../../deps.ts'
export const end = <Request extends Req = Req, Response extends Res = Res>(req: Request, res: Response) => (
body: string | Uint8Array | Deno.Reader | undefined = ''
) => {
req.respond({ ...res, body... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/81bebc1ecbb5f0562022195fec7cd337dac9f4bc.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isTypedArray.js
/**
* Tests whether or not an object is a typed array.
*
* @private
* @param {*} val The object to test.
* @return {Boolean} `true` if `val` is a typed array, `false` otherwise.
* @example
*
* _isTypedArray(new Uint8Array([... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/82078dc54e160b7508f30445c6a994ab4ca44b11.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xany.js
import _curry2 from './_curry2.js';
import _reduced from './_reduced.js';
import _xfBase from './_xfBase.js';
function XAny(f, xf) {
this.xf = xf;
this.f = f;
this.any = false;
}
XAny.prototype['@@transducer/init'] = _xfBase.init;
XAny.... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/820d587c124ae7c593e51318e74da3d05ccdfe78.ts | TypeScript | // Loaded from https://deno.land/x/jszip/mod.ts
import _JSZip from "https://dev.jspm.io/jszip@3.5.0";
import { WalkOptions, walk } from "https://deno.land/std@0.85.0/fs/mod.ts";
import { SEP, join } from "https://deno.land/std@0.85.0/path/mod.ts";
import type {
InputFileFormat,
JSZipFileOptions,
JSZipGenerator... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8219b8c72f16a4c57842d060366b3f2ddddbbf03.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/modify_guild_channel_position.ts
/** https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions */
export interface ModifyGuildChannelPositions {
/** Channel id */
id: string;
/** Sorting position of the channel *... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/822e83ee81927e56bf78a36aa037927244334e69.ts | TypeScript | // Loaded from https://deno.land/x/dnit@dnit-v1.11.0/launch.ts
/// Convenience util to launch a user's dnit.ts
import { log, fs, path, semver } from "./deps.ts";
type UserSource = {
baseDir: string;
dnitDir: string;
mainSrc: string;
importmap: string | null;
};
type FindUserSourceContext = {
stat: Deno.F... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/823590582415eef300b661cbdcea2bdfa261090b.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/table/lib/table.ts
import { encode } from 'https://deno.land/std@0.63.0/encoding/utf8.ts';
import { border, IBorder } from './border.ts';
import { Cell } from './cell.ts';
import { TableLayout } from './layout.ts';
import { IDataRow, IRow, Row } from './row.t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8257dcccfae9081d18ede3b5b5fa01e5423398fe.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/activity_button.ts
// https://github.com/discord/discord-api-docs/pull/2219
// TODO: add documentation link
export interface ActivityButton {
/** The text shown on the button (1-32 characters) */
label: string;
/** The url opened when ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/827c3edd2d4f57fcb724cb0d4570f62c64e2479a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/reduceBy.js
import _clone from './internal/_clone.js';
import _curryN from './internal/_curryN.js';
import _dispatchable from './internal/_dispatchable.js';
import _has from './internal/_has.js';
import _reduce from './internal/_reduce.js';
import _xreduceBy fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/828981bd87421b166442a2e592aa2d9c4ba63289.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/constants.js
// (C) 1995-2013 Jean-loup Gailly and Mark Adler
// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/83076a9b101ba863a577fdbb9ebf9187a56d5035.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/misc/typing_start.ts
import { GuildMember } from "../members/guild_member.ts";
/** https://discord.com/developers/docs/topics/gateway#typing-start */
export interface TypingStart {
/** id of the channel */
channelId: string;
/** id of the guil... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/83076aa9c8b206000e1c7cd5784bfaed4bdb211d.ts | TypeScript | // Loaded from https://deno.land/std@0.74.0/async/delay.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/* Resolves after the given number of milliseconds. */
export function delay(ms: number): Promise<void> {
return new Promise((res): number =>
setTimeout((): void => {
res()... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/836fe966941dbada4adbcb3b39b36e9820053fd4.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v1.4.3/src/rsa/rsa_key.ts
import type { RSAKeyParams, JSONWebKey } from "./common.ts";
import { encode } from "./../../src/utility/encode.ts";
import {
rsa_export_pkcs8_private,
rsa_export_pkcs8_public,
} from "./export_key.ts";
export class RSAKey {
public n: bigi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8376f4468129b626d419e1689092b6a9cd39a421.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isIPRange.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
// @ts-ignore allowing typedoc to build
import { isIP } from './isIP.ts';
/**
* @ignore
*/
const subnetMaybe = /^\d{1,2}$/;
export const i... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/837973110c7cecb1d5b09f09521036c04004d840.ts | TypeScript | // Loaded from https://deno.land/x/fresh@v1.0.0/mod.ts
/*!
* Based on https://github.com/jshttp/fresh/blob/master/index.js
* Copyright(c) 2012 TJ Holowaychuk
* Copyright(c) 2016-2017 Douglas Christopher Wilson
* Copyright(c) 2020 Christian Norrman
* MIT Licensed
*/
/**
* Regex to check if no-cache exists in ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/838e80d5668ae33000a11c6b9df3ebb7a0a295a6.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.7.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/83a212fcda1c5760ec9fd0abf491a9f437de010f.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/tail.js
import _checkForMethod from './internal/_checkForMethod.js';
import _curry1 from './internal/_curry1.js';
import slice from './slice.js';
/**
* Returns all but the first element of the given list or string (or object
* with a `tail` method).
*
* Di... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/83b79ffa51a489b4f445c2d70792926aa72cefab.ts | TypeScript | // Loaded from https://deno.land/std@0.73.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/83d4a0242923a8a5fd3817333aaacf70249a429b.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/language/kinds.js
/**
* The set of allowed kind values for AST nodes.
*/
export const Kind = Object.freeze({
// Name
NAME: 'Name',
// Document
DOCUMENT: 'Document',
OPERATION_DEFINITION: 'OperationDefinition',
VARIABLE_DEFINITION: 'VariableDefi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/83d7b2c8a1a736723d313125575b1d01c34daf0b.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/_util/assert.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export class DenoStdInternalError extends Error {
constructor(message: string) {
super(message);
this.name = "DenoStdInternalError";
}
}
/** Make an assertion, if not `t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/83f226343a468d74638de616d2e5e772e4890d39.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/mod.ts
import { categoryChildren } from "./channels/category_children.ts";
import { channelOverwriteHasPermission } from "./channels/channel_overwrite_has_permission.ts";
import { createChannel } from "./channels/create_channel.ts";
import { delete... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/83f2b932572129fce06d40c317798e27fd41d530.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/eqBy.js
import _curry3 from './internal/_curry3.js';
import equals from './equals.js';
/**
* Takes a function and two values in its domain and returns `true` if the
* values map to the same value in the codomain; `false` otherwise.
*
* @func
* @memberOf R... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8403547e5e81b25fc4f2c5febf2015033479b274.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/invites/delete_invite.ts
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import type { InviteMetadata } from "../../types/invites/invite_metadata.ts";
import { endpoints } from "../../util/constants.ts";
i... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84095c4cea1623e3e80d0153bad17f2dbe3b4432.ts | TypeScript | // Loaded from https://deno.land/std/fs/walk.ts
// Documentation and interface for walk were adapted from Go
// https://golang.org/pkg/path/filepath/#Walk
// Copyright 2009 The Go Authors. All rights reserved. BSD license.
import { assert } from "../_util/assert.ts";
import { basename, join, normalize } from "../path... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/841979b27ebe2b6fbe8705dc8acde05a391cc8a1.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/minBy.js
import _curry3 from './internal/_curry3.js';
/**
* Takes a function and two values, and returns whichever value produces the
* smaller result when passed to the provided function.
*
* @func
* @memberOf R
* @since v0.8.0
* @category Relation
* ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/841cf6700b49ed12a9eff2f50b70a1a2c1d45478.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/assertString.ts
export const assertString = (input: string) => {
const isString = typeof input === 'string';
if (!isString) {
throw new TypeError(`Expected a string but received ${typeof input}.`);
}
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8437d620a4033f13beef167bd38d53e02df0a457.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isBIC.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
/**
* @ignore
*/
const isBICReg = /^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/;
export const isBIC = (str: string) => {
assertString(str);
return isB... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84835496612f7ebb398c67eb1d0cb902ed637698.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/members/disconnect_member.ts
import { editMember } from "./edit_member.ts";
/** Kicks a member from a voice channel */
export function disconnectMember(guildId: bigint, memberId: bigint) {
return editMember(guildId, memberId, { channelId: null }... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8492971714a7180a8e22a61e10af8579bea55a5f.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/prompt/_generic_list.ts
import type { KeyEvent } from "../keycode/key_event.ts";
import {
GenericInput,
GenericInputKeys,
GenericInputPromptOptions,
GenericInputPromptSettings,
} from "./_generic_input.ts";
import { blue, bold, dim, stripColor, yellow } from "... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8493c8b3e6389118e9506c6c4d43d44b26563f5a.ts | TypeScript | // Loaded from https://deno.land/std@0.83.0/fs/exists.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/**
* Test whether or not the given path exists by checking with the file system
*/
export async function exists(filePath: string): Promise<boolean> {
try {
await Deno.lstat(file... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8499ed96852f55f691866315153653b4a3f3e326.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/encoding/utf8.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/** A default TextEncoder instance */
export const encoder = new TextEncoder();
/** Shorthand for new TextEncoder().encode() */
export function encode(input?: string): Uint8Array {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84ae3e95fa054e68fb3c5015cda3abb44b3f59f1.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/polyfills/isFinite.js
/* eslint-disable no-redeclare */
// $FlowFixMe workaround for: https://github.com/facebook/flow/issues/4441
const isFinitePolyfill = Number.isFinite || function (value) {
return typeof value === 'number' && isFinite(value);
};
expor... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84c549a91453ea884cd0c323fe30ee7440cf1fca.ts | TypeScript | // Loaded from https://deno.land/std@0.83.0/_util/assert.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
export class DenoStdInternalError extends Error {
constructor(message: string) {
super(message);
this.name = "DenoStdInternalError";
}
}
/** Make an assertion, if not `t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84d15db35af119365ec4f1e66b00f0ca9e987e1e.ts | TypeScript | // Loaded from https://deno.land/x/dnit@dnit-v1.11.0/ADLMap.ts
import type * as sys_types from "./adl-gen/runtime/sys/types.ts";
export class ADLMap<K, V> {
constructor(
public data: sys_types.Map<K, V>,
private isEqual: (k1: K, k2: K) => boolean,
) {
}
has(k: K): boolean {
return this.findIndex(... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84db5ba4363156631c0a5fd07f97f4866ab95108.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_curry1.js
import _isPlaceholder from './_isPlaceholder.js';
/**
* Optimized internal one-arity curry function.
*
* @private
* @category Function
* @param {Function} fn The function to curry.
* @return {Function} The curried function.
*/
export... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/84e09aab9ab52ad834341679ffd042e2cead317a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/channels/CHANNEL_DELETE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import type { Channel } from "../../types/channels/channel.ts";
import { DiscordChannelTypes } from "../../types/channels/chan... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8500be1ad7006d46daedac7bb309f48ef8bd425d.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/intersection.js
import _includes from './internal/_includes.js';
import _curry2 from './internal/_curry2.js';
import _filter from './internal/_filter.js';
import flip from './flip.js';
import uniq from './uniq.js';
/**
* Combines two lists into a set (i.e. no... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/850193df2f3c3414df9ac573ba9bbb491ad71f65.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/propOr.js
import _curry3 from './internal/_curry3.js';
import defaultTo from './defaultTo.js';
import prop from './prop.js';
/**
* Return the specified property of the given non-null object if the property
* is present and it's value is not `null`, `undefine... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/855abcea65d9140c2148f1d92f5ca51de145d797.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/helpers/includes.ts
export const includes = (arr: any[], val: any) =>
arr.some((arrVal) => val === arrVal);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/856dfd48e2ffba489c22ceaf2e04e6a37a9b7060.ts | TypeScript | // Loaded from https://deno.land/x/compress@v0.3.8/mod.ts
export * as tar from "./tar/mod.ts";
export * as tgz from "./tgz/mod.ts";
export {
gzipFile,
gunzipFile,
GzipStream,
/** slow */
// gzip,
// gunzip,
} from "./gzip/mod.ts";
/** slow */
// export { deflateRaw, inflateRaw } from "./deflate/mod.ts";
/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/857153b7516a8b7063c8dc3f79e72ac1ec479a10.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/oauth2/get_current_authorization_information.ts
import { User } from "../users/user.ts";
import { Application } from "../applications/application.ts";
import { DiscordOAuth2Scopes } from "./scopes.ts";
/** https://discord.com/developers/docs/topics/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/859e0cd641e6b4e1b2be30d58c97fb84f34d1580.ts | TypeScript | // Loaded from https://deno.land/std@0.85.0/_util/assert.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export class DenoStdInternalError extends Error {
constructor(message: string) {
super(message);
this.name = "DenoStdInternalError";
}
}
/** Make an assertion, if not `t... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/85c03db3854bdffd7b6002c0d286f204481cb1be.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/lift.js
import _curry1 from './internal/_curry1.js';
import liftN from './liftN.js';
/**
* "lifts" a function of arity > 1 so that it may "map over" a list, Function or other
* object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/85d7ab196ffa028f3244d8d2a8713b7c0e8857a0.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/messages/pin_message.ts
import { rest } from "../../rest/rest.ts";
import { endpoints } from "../../util/constants.ts";
import { requireBotChannelPermissions } from "../../util/permissions.ts";
/** Pin a message in a channel. Requires MANAGE_MESSA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/85e4e2aa98d009b187a72395227719f9f1253b56.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/lib/translators/translator.ts
import type { Query, QueryDescription } from "../query-builder.ts";
import type { FieldAlias } from "../data-types.ts";
/** Translator interface for translating `QueryDescription` objects to regular queries. */
export class Translator {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/85ee64b7b0386674b60a4f24b5cf5bab4bdd8967.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type.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 reserve... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/86013a2b1079ccf03a50f620f3962be040163986.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/and.js
import _curry2 from './internal/_curry2.js';
/**
* Returns `true` if both arguments are `true`; `false` otherwise.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Logic
* @sig a -> b -> a | b
* @param {Any} a
* @param {Any} b
* @return {An... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/86176fb1ac4911a0f4e4da4a7c6167053713e1df.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/deflate.js
import * as zlib_deflate from "./zlib/deflate.js";
import * as utils from "./utils/common.js";
import * as strings from "./utils/strings.js";
import msg from "./zlib/messages.js";
import { ZStream } from "./zlib/zstream.js"... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8624d1347cc0ad3afc872383f6408aaef2a851fc.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/mod.ts
export { MongoClient } from "./src/client.ts";
export * from "./src/types.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8629bcfba42545b2ee1ce8248bc5aae68d58ab1b.ts | TypeScript | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/index.ts
import PNGDecoder from './PNGDecoder.ts';
import PNGEncoder from './PNGEncoder.ts';
import {
DecoderInputType,
IPNGDecoderOptions,
IDecodedPNG,
IImageData,
IPNGEncoderOptions,
} from './types.ts';
export * from './types.ts'... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/863a9a8b625e8c5c9bd057af13a2afa7616cc824.ts | TypeScript | // Loaded from https://deno.land/std@0.73.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/865999f43cb76814155ac60062f88fbc05597000.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/pathEq.js
import _curry3 from './internal/_curry3.js';
import equals from './equals.js';
import path from './path.js';
/**
* Determines whether a nested path on an object has a specific value, in
* [`R.equals`](#equals) terms. Most likely used to filter a li... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/866601f459daec6af60511b9127866218f04922f.ts | TypeScript | // Loaded from https://deno.land/std/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 the pat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/866f2a705fab3a19b2dbb218dba240a4a8682841.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/assocPath.js
import _curry3 from './internal/_curry3.js';
import _has from './internal/_has.js';
import _isInteger from './internal/_isInteger.js';
import _assoc from './internal/_assoc.js';
import isNil from './isNil.js';
/**
* Makes a shallow clone of an obj... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/86eac75b59ffe49664b34c5e115e55d6e36fb0ea.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/guilds/GUILD_BAN_REMOVE.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
import type { GuildBanAddRemove } from ".... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/870af3b6c8a3f0dc5a76d5c0af70f01d2afdd3a7.ts | TypeScript | // Loaded from https://deno.land/std@0.99.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_SLA... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/876468d184f239cc6918fbd8539cab6b97b67e3a.ts | TypeScript | // Loaded from https://deno.land/std/uuid/v5.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import {
bytesToUuid,
createBuffer,
stringToBytes,
uuidToBytes,
} from "./_common.ts";
import { Sha1 } from "../hash/sha1.ts";
import { assert } from "../_util/assert.ts";
const UUID_RE ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/877a140216fd477ec173aa241168972a23073819.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/util/cache_members.ts
import { eventHandlers } from "../bot.ts";
import { cacheHandlers } from "../cache.ts";
import { structures } from "../structures/mod.ts";
import { GuildMemberWithUser } from "../types/members/guild_member.ts";
const guildMemberQueue... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87a7ae05e9cfd3f6577face85df91cb015e83b5b.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/promiseForObject.js
/**
* This function transforms a JS object `ObjMap<Promise<T>>` into
* a `Promise<ObjMap<T>>`
*
* This is akin to bluebird's `Promise.props`, but implemented only using
* `Promise.all` so it will work with any implementation ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87ad5cba6d36c8e443fa705207d29e851d61568c.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/io/readers.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/0452f9460f50f0f0aba18df43dc2b31906fb66cc/src/io/io.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87c99d9dc1553f1e5895d0d1ddca39df9d88f8b4.ts | TypeScript | // Loaded from https://deno.land/x/lz4/wasm.js
//deno-fmt-ignore-file
export const source=Uint8Array.from(atob("AGFzbQEAAAABZA9gAn9/AX9gA39/fwF/YAJ/fwBgA39/fwBgAX8Bf2ABfwBgBX9/f39/AGAAAGAEf39/fwBgBn9/f39/fwBgBH9/f38Bf2AFf39/f38Bf2AHf39/f39/fwF/YAJ+fwF/YAF/AX4DREMEBgUAAQIBAwMACwEACAIMDQAAAAICAgADAAMAAwMDAAACBwABCgIDCQ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87c9be5e57ebc3b7a43345f000d440c4864abc6d.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/logger.ts
import { log } from "../deps.ts";
let logger = log.getLogger();
export { logger as log };
let isDebug = false;
/** @ignore */
export function debug(func: Function) {
if (isDebug) {
func();
}
}
export interface LoggerConfig {
/** Enable logging (def... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87cc413efc498644ea24f76da5fc760031209e99.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isAlphanumeric.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
// @ts-ignore allowing typedoc to build
import { alphanumeric } from '../helpers/alpha.ts';
export const isAlphanumeric = (str: string, ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87d6a7a374048aab3ef5c2803b0210b5e074040f.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/table/border.ts
/** Border characters interface. */
export interface IBorder {
top: string;
topMid: string;
topLeft: string;
topRight: string;
bottom: string;
bottomMid: string;
bottomLeft: string;
bottomRight: string;
left: string;
leftMid: string... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87e099029b8bcf692e95aeed7e7a0583672d2ca0.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/httpError.ts
/*!
* Adapted directly from http-errors at https://github.com/jshttp/http-errors
* which is licensed as follows:
*
* The MIT License (MIT)
*
* Copyright (c) 2014 Jonathan Ong me@jongleberry.com
* Copyright (c) 2016 Douglas Christopher Wilson doug@somet... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/87e40089c43556862776b8260f22fefcd3c56ea5.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/lib/helpers/fields.ts
import type {
DataTypes,
FieldOptions,
FieldProps,
FieldType,
FieldTypeString,
} from "../data-types.ts";
/** Add a model field to a table schema. */
export function addFieldToSchema(
table: any,
fieldOptions: FieldOptions,
) {
c... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/884fcabeb4a23689099458734cd3ead08f1d22d2.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/members/get_members.ts
import { eventHandlers } from "../../bot.ts";
import { cacheHandlers } from "../../cache.ts";
import { rest } from "../../rest/rest.ts";
import { DiscordenoMember } from "../../structures/member.ts";
import { structures } fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/88be5bb8b28072c30f035f632930e16d3786536c.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.9.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/88d2b1efed0ac364f10f08623ebb0a3b806c9515.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/addIndex.js
import _concat from './internal/_concat.js';
import _curry1 from './internal/_curry1.js';
import curryN from './curryN.js';
/**
* Creates a new list iteration function from an existing one by adding two new
* parameters to its callback function: ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/88d81ca8b3ebdc9ebf5722a7e77dc0a3f1631e79.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/isMediaType.ts
/*!
* Adapted directly from type-is at https://github.com/jshttp/type-is/
* which is licensed as follows:
*
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2014-2015 Douglas Christopher Wilson
* MIT Licensed
*/
import { lookup } from "./deps.ts";
im... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/88f14b5c902f5c2804b5d9908ba501ac85035f6d.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/andThen.js
import _curry2 from './internal/_curry2.js';
import _assertPromise from './internal/_assertPromise.js';
/**
* Returns the result of applying the onSuccess function to the value inside
* a successfully resolved promise. This is useful for working w... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/88f8248fd33fa1fba094673e020d5e3736299e99.ts | TypeScript | // Loaded from https://deno.land/std@0.86.0/io/writers.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
type Writer = Deno.Writer;
type WriterSync = Deno.WriterSync;
import { decode, encode } from "../encoding/utf8.ts";
/** Writer utility for buffering string chunks */
export class Strin... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/891789659e854539b2ef863677ed886d9630b3e0.ts | TypeScript | // Loaded from https://deno.land/x/sqlite@v2.3.1/src/row_objects.ts
import { ColumnName, Empty, Rows } from "./rows.ts";
export class RowObjects<T extends any = Record<string, any>> {
private _rows: Rows;
private _columns?: ColumnName[];
/**
* RowObjects
*
* RowObjects represent a set of results
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/892270386d4b9fafaf84cf40e0fcc71fcf47471a.ts | TypeScript | // Loaded from https://deno.land/x/case/sentenceCase.ts
import normalCase from "./normalCase.ts";
import upperFirstCase from "./upperFirstCase.ts";
export default function sentenceCase(value: string, locale?: string): string {
return upperFirstCase(normalCase(value, locale), locale);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8953debf7762d5c8389c6918171bc92398842593.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/channels/edit_channel_overwrite.ts
import { rest } from "../../rest/rest.ts";
import type { Overwrite } from "../../types/channels/overwrite.ts";
import { endpoints } from "../../util/constants.ts";
import { calculateBits, requireBotGuildPermission... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/898afd496ab7c1851b6be6cc2997cf7835901e8f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/welcome_screen_channel.ts
/** https://discord.com/developers/docs/resources/guild#welcome-screen-object-welcome-screen-channel-structure */
export interface WelcomeScreenChannel {
/** The channel's id */
channelId: string;
/** The descri... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/899099d568e27426aa08118ee5aeec3d8fa0491b.ts | TypeScript | // Loaded from https://deno.land/std@0.69.0/datetime/tokenizer.ts
export type Token = {
type: string;
value: string | number;
index: number;
};
interface ReceiverResult {
[name: string]: string | number;
}
export type CallbackResult = { type: string; value: string | number };
type CallbackFunction = (value: ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/89bd4a26dd1a9724cbd3fecd9ffecd1a70fd2dd4.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/hello.ts
import { SnakeCasedPropertiesDeep } from "../util.ts";
export interface Hello {
/** The interval (in milliseconds) the client should heartbeat with */
heartbeatInterval: number;
}
/** https://discord.com/developers/docs/topics/... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/89c23e5bdd8c6f9c5b43be87c9be29acfdb96d75.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/loader/loader.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 right... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/89ee41c649f759a8c80ad7ff3e9aedae374e89b0.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/splitWhenever.js
import _curryN from './internal/_curryN.js';
/**
* Splits an array into slices on every occurrence of a value.
*
* @func
* @memberOf R
* @since v0.26.1
* @category List
* @sig (a -> Boolean) -> [a] -> [[a]]
* @param {Function} pred The p... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8a19fba544ec06977bb86085de674ce408e02f6a.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/groupWith.js
import _curry2 from './internal/_curry2.js';
/**
* Takes a list and returns a list of lists where each sublist's elements are
* all satisfied pairwise comparison according to the provided function.
* Only adjacent elements are passed to the comp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8a2fd4d5d031b745fd594ec4fdffaea9017ea7df.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/command/_utils.ts
import { didYouMean } from "../flags/_utils.ts";
import {
ArgumentFollowsVariadicArgument,
RequiredArgumentFollowsOptionalArgument,
} from "../flags/_errors.ts";
import { OptionType } from "../flags/types.ts";
import type { Command } from "./comm... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8a303ac125019e9022c442b85052ab759fd4a86e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/dropWhile.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xdropWhile from './internal/_xdropWhile.js';
import slice from './slice.js';
/**
* Returns a new list excluding the leading elements of ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8aa9eac330cbe14ad066e4fc8007c46a0d95e5fd.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/rpc_close_event_codes.ts
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc */
export enum DiscordRpcCloseEventCodes {
InvalidClientId = 4000,
InvalidOrigin,
RateLimited,
TokenRevoked,
InvalidVersion,
Invali... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8abdef3eabe1ea488a90280ad66df49f8870fb9f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/discovery/discovery_metadata.ts
// TODO: add docs link
export interface DiscoveryMetadata {
/** The guild Id */
guildId: string;
/** The id of the primary discovery category set for this guild */
primaryCategoryId: number;
/** Up to 10 disc... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8ac066d3f0ad434161827a16a20b19da6d22082b.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/ascend.js
import _curry3 from './internal/_curry3.js';
/**
* Makes an ascending comparator function out of a function that returns a value
* that can be compared with `<` and `>`.
*
* @func
* @memberOf R
* @since v0.23.0
* @category Function
* @sig Ord... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8ac7c3191cf4509898152f677a8cd4dea3cb4103.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/res/send/send.ts
import { Req, Res } from '../../../deps.ts'
import { json } from './json.ts'
import { createETag, setCharset } from '../utils.ts'
import { end } from '../end.ts'
export const send =
<Request extends Req = Req, Response extends Res = Res... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8af23c6c49fe41a2e5911a762db27a7c714713e0.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/interactions/commands/edit_slash_command_permissions.ts
import { applicationId } from "../../../bot.ts";
import { rest } from "../../../rest/rest.ts";
import type { ApplicationCommandPermissions } from "../../../types/interactions/commands/applicat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8b6db76640b287c88c926b3e0ed529474fd6c381.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/util.ts
// Copyright 2018-2020 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"... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8b82836ea351f8ab43db51362140df3d6e9cd245.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/channels/STAGE_INSTANCE_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import type { StageInstance } from "../../types/channels/stage_instance.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
expo... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8bc765976b858561b8c0ca623d4218f51235827b.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/io/buffer.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assert } from "../_util/assert.ts";
import { copy } from "../bytes/mod.ts";
import type { Reader, ReaderSync } from "./types.d.ts";
// MIN_READ is the minimum ArrayBuffer size... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8bdcd609e81178c17d4acc98807d6386857de858.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/snakeCase.ts
import normalCase from "./normalCase.ts";
export default function snakeCase(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/8be8ade81ec6ea5e2edf4a7c87028942104f219f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/close_ws.ts
/** Use this function to close a ws connection properly */
export function closeWS(ws: WebSocket, code?: number, reason?: string) {
if (ws.readyState !== WebSocket.OPEN) return;
ws.close(code, reason);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8c12cd13b38b77ff18b8a8d4315246f6d73a8243.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/flags/types.ts
/** Parser options. */
export interface IParseOptions {
flags?: Array<IFlagOptions>;
parse?: ITypeHandler<unknown>;
option?: (option: IFlagOptions, value?: unknown) => void;
knownFlaks?: Record<string, unknown>;
stopEarly?: boolean;
allowEmp... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8c1f385f47be317fcd56c78a920aed329ae26cbf.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/utilities/getOperationRootType.js
import { GraphQLError } from '../error/GraphQLError.js';
/**
* Extracts the root type of the operation from the schema.
*/
export function getOperationRootType(schema, operation) {
if (operation.operation === 'query') {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/8c3dd1e9bf93400a3fc344584e135a5147004de9.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/guilds/get_available_voice_regions.ts
import { rest } from "../../rest/rest.ts";
import type { VoiceRegion } from "../../types/voice/voice_region.ts";
import { endpoints } from "../../util/constants.ts";
/** Returns an array of voice regions that ... | 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.