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/f4701a3a8991d5f5869e6f87a180f051ffa9455d.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/required_unless.ts
import type { Validity, Rule } from "../types.ts";
import { required } from "./required.ts";
import { optionallyValid } from "../utils.ts";
export function requiredUnless(field: string, fieldValue: any): Rule {
return function requiredUnles... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f5019a3a5d8a50e9fd6d7f86bbc3459d1db82d89.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/emojis/emoji_url.ts
/** Creates a url to the emoji from the Discord CDN. */
export function emojiURL(id: bigint, animated = false) {
return `https://cdn.discordapp.com/emojis/${id}.${animated ? "gif" : "png"}`;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f5148cb5ed654f7a17e5486c6eb668bef01a6f61.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/test.js
import _cloneRegExp from './internal/_cloneRegExp.js';
import _curry2 from './internal/_curry2.js';
import _isRegExp from './internal/_isRegExp.js';
import toString from './toString.js';
/**
* Determines whether a given string matches a given regular ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f53a318bd038ce16c9ec0981be253823ba35d5bb.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/helpers/templates/sync_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 "../../ut... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f572afe664d128054d9f0d85fa85f6b5a2d30fcf.ts | TypeScript | // Loaded from https://deno.land/std@0.80.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/f5ad1a58ab217f6425b310f745b55e53bbb7bccb.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/http/server.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { BufReader, BufWriter } from "../io/bufio.ts";
import { assert } from "../_util/assert.ts";
import { Deferred, deferred, MuxAsyncIterator } from "../async/mod.ts";
import {
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f5e9f8e3047eefc39748a281b603987f4dc61107.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isURL.ts
/*
options for isURL method
requireProtocol - if set as true isURL will return false if protocol is not present in the URL
requireValidProtocol - isURL will check if the URL's protocol is present in the protocols option
protocols - valid protoc... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f5ea2e64a33d3b89171d7e97b5a3da5f7e35c842.ts | TypeScript | // Loaded from https://deno.land/x/dnit@dnit-v1.11.0/version.ts
export const version = "1.11.0";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f609961b5238d3311e10ded9ca571259424ed9c7.ts | TypeScript | // Loaded from https://deno.land/x/case/upperCase.ts
import { LanguageSpecific } from "./types.ts";
const LANGUAGES: LanguageSpecific = {
tr: {
regexp: /[\u0069]/g,
map: {
i: "\u0130",
},
},
az: {
regexp: /[\u0069]/g,
map: {
i: "\u0130",
},
},
lt: {
regexp: /[\u0069\... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f609d3bdf634e740d3bf679dd29bda9482e57771.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/extensions/req/security.ts
import { isIP, Req, compile, all, proxyaddr } from '../../deps.ts'
import { Protocol } from '../../types.ts'
export const trustRemoteAddress = <Request extends Req = Req>(req: Request) => {
const val = (req.conn.remoteAddr as Deno.NetAdd... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f612705d839d492611cd545ff360ded76ec6c611.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/bytes/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/** Find first index of binary pattern from source. If not found, then return -1
* @param source source array
* @param pat pattern to find in source array
* @param start the index to... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f61b66c032f511a7681d30d9aef6d0f2d2857c29.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/PossibleTypeExtensionsRule.js
import inspect from '../../jsutils/inspect.js';
import invariant from '../../jsutils/invariant.js';
import didYouMean from '../../jsutils/didYouMean.js';
import suggestionList from '../../jsutils/suggestionList.... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f62fd9f5f224e04454123d311161d7e63ca40c88.ts | TypeScript | // Loaded from https://deno.land/std@0.92.0/fs/ensure_dir.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { getFileInfoType } from "./_util.ts";
/**
* Ensures that the directory exists.
* If the directory structure does not exist, it is created. Like mkdir -p.
* Requires the `... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f65330432ecfd22d93c10effa85a2590e4276026.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/empty.js
import _curry1 from './internal/_curry1.js';
import _isArguments from './internal/_isArguments.js';
import _isArray from './internal/_isArray.js';
import _isObject from './internal/_isObject.js';
import _isString from './internal/_isString.js';
import _... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f66539bb982f09dd135ffd55f9bb479dad8b59ac.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/F.js
/**
* A function that always returns `false`. Any passed in parameters are ignored.
*
* @func
* @memberOf R
* @since v0.9.0
* @category Function
* @sig * -> Boolean
* @param {*}
* @return {Boolean}
* @see R.T
* @example
*
* R.F(); //=> f... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f672e815afb2a3ff8781497b2d765f83fe1e3b54.ts | TypeScript | // Loaded from https://deno.land/std@0.81.0/path/common.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** This module is browser compatible. */
import { SEP } from "./separator.ts";
/** Determines the common path from a set of paths, using an optional separator,
* which defaults to ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f6761edcdb3d8bcd7d7b08985715ed564318eccc.ts | TypeScript | // Loaded from https://deno.land/std@0.99.0/path/glob.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { isWindows, osType } from "../_util/os.ts";
import { SEP, SEP_PATTERN } from "./separator.ts";
import * as _win32 from "./win32.ts";
import... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f69c5fe18f144545ed62ed05bf508f0f48197cf8.ts | TypeScript | // Loaded from https://deno.land/x/oak@v6.3.1/content_disposition.ts
/**
* Adapted directly from content-disposition.js at
* https://github.com/Rob--W/open-in-browser/blob/master/extension/content-disposition.js
* which is licensed as:
*
* (c) 2017 Rob Wu <rob@robwu.nl> (https://robwu.nl)
* This Source Code F... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f6b67896830a42fe1517a5f9c1bc677006d5472e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/invoker.js
import _curry2 from './internal/_curry2.js';
import _isFunction from './internal/_isFunction.js';
import curryN from './curryN.js';
import toString from './toString.js';
/**
* Turns a named method with a specified arity into a function that can be
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f6bdf95cd37a0b5b9820816b6e042c39c1fa8ac6.ts | TypeScript | // Loaded from https://deno.land/std/hash/mod.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { Hash } from "./_wasm/hash.ts";
import type { Hasher } from "./hasher.ts";
export type { Hasher } from "./hasher.ts";
export type SupportedAlgorithm =
| "md2"
| "md4"
| "md5"
|... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f6c3998c1b71b46c7061605a3c245d05aa660fb8.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/commands/completions.ts
import { bold, dim, italic } from 'https://deno.land/std@0.63.0/fmt/colors.ts';
import { Command } from '../lib/command.ts';
import { BashCompletionsCommand } from './completions/bash.ts';
import { CompleteCommand } from './com... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f6c4ff998b8d311c0d580794f95348755cebcdc7.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/is_in.ts
import type { Validity, Rule, PrimitiveTypes } from "../types.ts";
import { invalid } from "../utils.ts";
export function isIn(allowedValues: PrimitiveTypes[]): Rule {
return function isInRule(value: any): Validity {
if (allowedValues.indexOf(val... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f6d29473bf50bf57c037b6809143c912d3291d5a.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/structures/mod.ts
import { createDiscordenoChannel } from "./channel.ts";
import { createDiscordenoGuild } from "./guild.ts";
import { createDiscordenoMember } from "./member.ts";
import { createDiscordenoMessage } from "./message.ts";
import { createDisco... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f70b1bcdeb0360ba6e7371ddc1e91e4c08e8bc01.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/view.js
import _curry2 from './internal/_curry2.js';
// `Const` is a functor that effectively ignores the function given to `map`.
var Const = function(x) {
return {value: x, 'fantasy-land/map': function() { return this; }};
};
/**
* Returns a "view" of th... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f71263719ffed2b2db7e81311a16b493aa383f2c.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/encoding/hex.ts
// Ported from Go
// https://github.com/golang/go/blob/go1.12.5/src/encoding/hex/hex.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Copyrigh... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f7257b13c0080657b6d3e3f5b03530c9dbca6436.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.9.2/mod.ts
/*!
* Ported from: https://github.com/jshttp/mime-types and licensed as:
*
* (The MIT License)
*
* Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
* Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
* Copyright (c) 2020 the ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f77bca47ddef1fcb5c0f6a204c98106198b772bf.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_curry2.js
import _curry1 from './_curry1.js';
import _isPlaceholder from './_isPlaceholder.js';
/**
* Optimized internal two-arity curry function.
*
* @private
* @category Function
* @param {Function} fn The function to curry.
* @return {Functi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f7a288137584b146ff370328a50b3f52efb7036f.ts | TypeScript | // Loaded from https://deno.land/std@0.86.0/io/bufio.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Based on https://github.com/golang/go/blob/891682/src/bufio/bufio.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// lic... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f8075f908e7e00e3eeb3c41f7b28b4424ef83e42.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/pathCase.ts
import normalCase from "./normalCase.ts";
export default function (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/f82565dd05871e7fa0d0a36120ce2822e4470f74.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/types/number.ts
import { IFlagArgument, IFlagOptions } from '../../flags/lib/types.ts';
import { number } from '../../flags/lib/types/number.ts';
import { Type } from './type.ts';
export class NumberType extends Type<number> {
public parse( opti... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f847494aa9da71deb1b07cc642be3516d6bc2ffb.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/validation/rules/VariablesAreInputTypesRule.js
import { GraphQLError } from '../../error/GraphQLError.js';
import { print } from '../../language/printer.js';
import { isInputType } from '../../type/definition.js';
import { typeFromAST } from '../../utilities... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f86c70261a80463a4cf5cdb75a4aba53810759a7.ts | TypeScript | // Loaded from https://deno.land/std@0.90.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/f873c33f20031ee360099ca33f427e50beb43353.ts | TypeScript | // Loaded from https://deno.land/std@0.89.0/fmt/colors.ts
// Copyright 2018-2021 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";
// conso... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f87cd8105f83d28a9715932f46a1ef3699df5d69.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_assertPromise.js
import _isFunction from './_isFunction.js';
import _toString from './_toString.js';
export default function _assertPromise(name, p) {
if (p == null || !_isFunction(p.then)) {
throw new TypeError('`' + name + '` expected a Promis... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f88af64c689473291055effbedab4343850440f1.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_aperture.js
export default function _aperture(n, list) {
var idx = 0;
var limit = list.length - (n - 1);
var acc = new Array(limit >= 0 ? limit : 0);
while (idx < limit) {
acc[idx] = Array.prototype.slice.call(list, idx, idx + n);
idx +... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f8a1edfd07b9ec3004821da0c78479637037ab5c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/audit_log/audit_log_change.ts
import { AuditLogChangeValue } from "./audit_log_change_value.ts";
/** https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure */
export interface AuditLogChange {
/*... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f8bb53835a776e1b7a50418681bd5406cccbb02c.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/vendor/camelCaseUpperRegexp.ts
const camelCaseUpperRegexp: RegExp =
/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u0... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f8c2a47022ff45cc5caa70c4e2f3a11b1bdda24e.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isISRC.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
// see http://isrc.ifpi.org/en/isrc-standard/code-syntax
/**
* @ignore
*/
const isrc = /^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;
export const isISRC... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f8c4d5e8bbdc6be52b26d6a88107512351d67064.ts | TypeScript | // Loaded from https://deno.land/std@0.73.0/ws/mod.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { decode, encode } from "../encoding/utf8.ts";
import { hasOwnProperty } from "../_util/has_own_property.ts";
import { BufReader, BufWriter } from "../io/bufio.ts";
import { readLong... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f8f0618ed2b660f44a89f7578c45c7f21935c89e.ts | TypeScript | // Loaded from https://deno.land/std@0.92.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 fro... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f91daf3f8133eff220b094d690b446bbc14739c2.ts | TypeScript | // Loaded from https://deno.land/std/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/f927879bbd704c07d0f8f1ffafab84dfbef21840.ts | TypeScript | // Loaded from https://deno.land/std@0.102.0/path/win32.ts
// Copyright the Browserify authors. MIT License.
// Ported from https://github.com/browserify/path-browserify/
// This module is browser compatible.
import type { FormatInputPathObject, ParsedPath } from "./_interface.ts";
import {
CHAR_BACKWARD_SLASH,
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f9486069a18e726dff7f01ccd451b315719bd925.ts | TypeScript | // Loaded from https://deno.land/x/http_errors@3.0.0/mod.ts
/*!
* Copyright (c) 2020 Henry Zhuang
* MIT Licensed
*/
import { Status, STATUS_TEXT } from "./deps.ts";
export abstract class HttpError extends Error {
name: string;
message: string;
status: number;
statusCode: number;
expose: boolean = false... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f974a660188a8b0d6101bf62508e9f25d32fca1a.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/ansi/mod.ts
export * from "./ansi.ts";
export * from "./ansi_escapes.ts";
export * from "./chain.ts";
export * from "./colors.ts";
export * from "./cursor_position.ts";
export * from "./tty.ts";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f97a47df59b9002adeeb2fa1f11cf389ada1b1c6.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/dropLastWhile.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _dropLastWhile from './internal/_dropLastWhile.js';
import _xdropLastWhile from './internal/_xdropLastWhile.js';
/**
* Returns a new ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f9837060ed6b7a1a35b2223712db399f92c3eee6.ts | TypeScript | // Loaded from https://deno.land/std@0.93.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/f9d182a909c5e59bbb4ee55aa138460258aa867f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/gateway_payload.ts
export interface GatewayPayload {
/** opcode for the payload */
op: number;
/** Event data */
d: unknown | null;
/** Sequence number, used for resuming sessions and heartbeats */
s: number | null;
/** The even... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/f9f21d25b654bd4c86619cabdec3c0d45b4ef019.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_reduce.js
import _isArrayLike from './_isArrayLike.js';
import _xwrap from './_xwrap.js';
import bind from '../bind.js';
function _arrayReduce(xf, acc, list) {
var idx = 0;
var len = list.length;
while (idx < len) {
acc = xf['@@transducer/s... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fa12a97e0eea5f7ff4cca4685863a82f6d6198a3.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/reverse.js
import _curry1 from './internal/_curry1.js';
import _isString from './internal/_isString.js';
/**
* Returns a new list or string with the elements or characters in reverse
* order.
*
* @func
* @memberOf R
* @since v0.1.0
* @category List
* @... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fa25816f309cddef2a346d753305c16d34053aed.ts | TypeScript | // Loaded from https://deno.land/std@0.78.0/encoding/_yaml/type/timestamp.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 righ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fa4a10515795c1681ea15139e38a77121462fd1f.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/modify_guild_member.ts
/** https://discord.com/developers/docs/resources/guild#modify-guild-member */
export interface ModifyGuildMember {
/** Value to set users nickname to. Requires the `MANAGE_NICKNAMES` permission */
nick?: string | nu... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fa5bd8d675520a5bc705a1f96e4b85ed9b0edd69.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_cloneRegExp.js
export default function _cloneRegExp(pattern) {
return new RegExp(pattern.source, (pattern.global ? 'g' : '') +
(pattern.ignoreCase ? 'i' : '') +
(pattern.mult... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fa715edf303af3b4386d042f774b0f864b3938b0.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/unless.js
import _curry3 from './internal/_curry3.js';
/**
* Tests the final argument by passing it to the given predicate function. If
* the predicate is not satisfied, the function will return the result of
* calling the `whenFalseFn` function with the sa... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fab1c506147c74c0ba325ba4b5889152be86cefb.ts | TypeScript | // Loaded from https://deno.land/x/media_types@v2.9.2/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/fb151cfd2191c67ccd521bccf326facbfc1ebda2.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/guild_role_delete.ts
/** https://discord.com/developers/docs/topics/gateway#guild-role-delete */
export interface GuildRoleDelete {
/** id of the guild */
guildId: string;
/** id of the role */
roleId: string;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fb55172627e85c904339aa0d8a99737db29f76be.ts | TypeScript | // Loaded from https://deno.land/std@0.88.0/path/common.ts
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { SEP } from "./separator.ts";
/** Determines the common path from a set of paths, using an optional separator,
* which defaults to the ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fb76fe5b3790c291801543be78d0405b0f19ed78.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/auth_plugin/caching_sha2_password.ts
import { xor } from "../util.ts";
import { ReceivePacket } from "../packets/packet.ts";
import { encryptWithPublicKey } from "./crypt.ts";
interface handler {
done: boolean;
quickRead?: boolean;
next?: (packet: ReceivePacket) => ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fb92cf71939eb52c612d1a0be2a0f6ac9d152f52.ts | TypeScript | // Loaded from https://deno.land/x/validasaur/src/rules/min_number.ts
import type { Validity, Rule } from "../types.ts";
import { invalid } from "../utils.ts";
export function minNumber(minValue: number): Rule {
return function minRule(value: any): Validity {
if (typeof value !== "number" || value < minValue) ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fba9ab0a8e3a433e8169fe3db7945664bd79de68.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/path/glob.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
import { NATIVE_OS } from "./_constants.ts";
import { join, normalize } from "./mod.ts";
import { SEP, SEP_PATTERN } from "./separator.ts";
export... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fbbd951977a8ad31538f05f6c7ec04894c2e3acf.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/split.js
import invoker from './invoker.js';
/**
* Splits a string into an array of strings based on the given
* separator.
*
* @func
* @memberOf R
* @since v0.1.0
* @category String
* @sig (String | RegExp) -> String -> [String]
* @param {String|RegE... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fbf6021d68f594c20f3f8783fafa2d429520b30b.ts | TypeScript | // Loaded from https://deno.land/std@0.80.0/encoding/_yaml/type/float.ts
// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2020 the Deno authors. All rights r... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fc017a41bd63bc3b49e8cbdd0be35d392ce75701.ts | TypeScript | // Loaded from https://deno.land/std/hash/sha256.ts
// Copyright 2018-2021 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 2014-20... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fc286d9e2cc76292ceab3b84df5a486bb0494346.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/zipWith.js
import _curry3 from './internal/_curry3.js';
/**
* Creates a new list out of the two supplied by applying the function to each
* equally-positioned pair in the lists. The returned list is truncated to the
* length of the shorter of the two input ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fc5757066d3aaab97e154fce8486c4fb508c9e3c.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/roles/GUILD_ROLE_UPDATE.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/fc576bc5246af922b4fd960cbebb1bedb3be0d31.ts | TypeScript | // Loaded from https://deno.land/std@0.83.0/log/levels.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
/** Get log level numeric values through enum constants
*/
export enum LogLevels {
NOTSET = 0,
DEBUG = 10,
INFO = 20,
WARNING = 30,
ERROR = 40,
CRITICAL = 50,
}
/** Permit... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fca6365d6db9d34d26cac7327cab295f17976a13.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/activity/client_status.ts
/** https://discord.com/developers/docs/topics/gateway#client-status-object */
export interface ClientStatus {
/** The user's status set for an active desktop (Windows, Linux, Mac) application session */
desktop?: string... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fcd062d2444d67ad282c10a84a4d704da08a2744.ts | TypeScript | // Loaded from https://deno.land/std@0.81.0/path/_interface.ts
// Copyright 2018-2020 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... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fcdcca4c6c9ba2430138af3e7ce563501c1577d2.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/command.ts
export * from './packages/command/mod.ts';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fce1bfacd0b55d73787f8630d4f88041e8cfcd6f.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/hasPath.js
import _curry2 from './internal/_curry2.js';
import _has from './internal/_has.js';
import isNil from './isNil.js';
/**
* Returns whether or not a path exists in an object. Only the object's
* own properties are checked.
*
* @func
* @memberOf ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fcf896e3589f50e963c2723a443b9cca9dc5538e.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/error/locatedError.js
import { GraphQLError } from './GraphQLError.js';
/**
* Given an arbitrary Error, presumably thrown while attempting to execute a
* GraphQL operation, produce a new GraphQLError aware of the location in the
* document responsible for... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fd15bc013d4193c11121d419363a38f336be6c8e.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/findIndex.js
import _curry2 from './internal/_curry2.js';
import _dispatchable from './internal/_dispatchable.js';
import _xfindIndex from './internal/_xfindIndex.js';
/**
* Returns the index of the first element of the list which matches the
* predicate, or... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fd2cb92fda121839cbb949bf94b7cd70f7e564f7.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/ws/identify.ts
import { DiscordGatewayOpcodes } from "../types/codes/gateway_opcodes.ts";
import { ws } from "./ws.ts";
export async function identify(shardId: number, maxShards: number) {
ws.log("IDENTIFYING", { shardId, maxShards });
// Need to cle... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fd72ddc09bf0f35aee37f2c93afe50696af3776f.ts | TypeScript | // Loaded from https://deno.land/x/mysql/src/packets/builders/query.ts
import { encode, replaceParams } from "../../../deps.ts";
import { BufferWriter } from "../../buffer.ts";
/** @ignore */
export function buildQuery(sql: string, params: any[] = []): Uint8Array {
const data = encode(replaceParams(sql, params));
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fd90537fe0028554aa6e1519cf352e1fba78a793.ts | TypeScript | // Loaded from https://deno.land/x/graphql_deno@v15.0.0/lib/jsutils/promiseReduce.js
import isPromise from './isPromise.js';
/**
* Similar to Array.prototype.reduce(), however the reducing callback may return
* a Promise, in which case reduction will continue after each promise resolves.
*
* If the callback does... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fdd62c4d92c0eb904d3bc5aa7d45c6f2289906ab.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/channels/overwrite.ts
import { PermissionStrings } from "../permissions/permission_strings.ts";
import { DiscordOverwriteTypes } from "./overwrite_types.ts";
export interface Overwrite {
/** Role or user id */
id: string;
/** Either 0 (role) o... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fde9fe7d9722b655a7b103805e2edc40a174ee4a.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/lib/help-generator.ts
import { blue, bold, dim, magenta, red, yellow } from 'https://deno.land/std@0.63.0/fmt/colors.ts';
import { IFlagOptions } from '../../flags/lib/types.ts';
import { Table } from '../../table/lib/table.ts';
import format from '..... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fdf0d2e399f8d7c793709070de508e24f2062649.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_xtakeWhile.js
import _curry2 from './_curry2.js';
import _reduced from './_reduced.js';
import _xfBase from './_xfBase.js';
function XTakeWhile(f, xf) {
this.xf = xf;
this.f = f;
}
XTakeWhile.prototype['@@transducer/init'] = _xfBase.init;
XTakeWh... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fdf87e565ee7a426282f93a7ec28ea663c7e5db4.ts | TypeScript | // Loaded from https://deno.land/x/segno@v1.1.0/lib/validations/isIn.ts
// @ts-ignore allowing typedoc to build
import { assertString } from '../helpers/assertString.ts';
// @ts-ignore allowing typedoc to build
import { toString } from '../helpers/toString.ts';
//! change later
export const isIn = (str: string, opti... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fe1fb10b588091a929436de10f3fc075e55f88d4.ts | TypeScript | // Loaded from https://deno.land/x/mongo@v0.20.0/src/collection/commands/find.ts
import { CommandCursor, WireProtocol } from "../../protocol/mod.ts";
import { Document, FindOptions } from "../../types.ts";
interface FindCursorContext {
dbName: string;
collectionName: string;
protocol: WireProtocol;
options: ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fe2fab16a34ca5c14e26aa9277a48935e47a7066.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/users/user.ts
import { DiscordPremiumTypes } from "./premium_types.ts";
import { DiscordUserFlags } from "./user_flags.ts";
/** https://discord.com/developers/docs/resources/user#user-object */
export interface User {
/** The user's id */
id: st... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fe797042693c0b5c88a1ca99ac035871c81a2b86.ts | TypeScript | // Loaded from https://deno.land/x/denodb@v1.0.18/lib/query-builder.ts
import type { SQLQueryBuilder } from "../deps.ts";
import type { FieldAlias, FieldValue, Values } from "./data-types.ts";
import { Model, ModelDefaults, ModelFields, ModelSchema } from "./model.ts";
export type Query = string;
export type Operato... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fe92353e3685574bf8036e9a5e2abeb59dff57cf.ts | TypeScript | // Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/discordeno/guild_member.ts
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fedceb4039fc8c4c119e19a6a2f558554982ca97.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/_utils/distance.ts
export function distance(a: string, b: string): number {
if (a.length == 0) {
return b.length;
}
if (b.length == 0) {
return a.length;
}
const matrix = [];
for (let i = 0; i <= b.length; i++) {
matrix[i] = [i];
}
for (let... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/fee2452e02044e29c1091ffcbc1987bfc1f26590.ts | TypeScript | // Loaded from https://deno.land/x/case@v2.1.0/camelCase.ts
import upperCase from "./upperCase.ts";
import normalCase from "./normalCase.ts";
export default function camelCase(
value: string,
locale?: string,
mergeNumbers?: boolean,
): string {
let result = normalCase(value, locale);
// Replace periods be... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff087d5051889a6d69f23afbd21a71b5404cb489.ts | TypeScript | // Loaded from https://deno.land/std@0.84.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/ff0c34596a0e323f710ebe59590fe70bcd304db0.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.18.0/mod.ts
export * from "./ansi/mod.ts";
export * from "./command/mod.ts";
export {
boolean,
normalize,
number,
// Already exported by command module.
// ValidationError,
OptionType,
parseFlags,
string,
validateFlags,
} from "./flags/mod.ts";
export typ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff26180a7209b57254c13de13162caa8e19bf704.ts | TypeScript | // Loaded from https://deno.land/x/ramda@v0.27.2/source/promap.js
import _curry3 from './internal/_curry3.js';
import _dispatchable from './internal/_dispatchable.js';
import _promap from './internal/_promap.js';
import _xpromap from './internal/_xpromap.js';
/**
* Takes two functions as pre- and post- processors ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff2a37ef07e3e8a83b6530d4386673abbb219336.ts | TypeScript | // Loaded from https://deno.land/std/fs/exists.ts
// Copyright 2018-2021 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(filePath);
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff301d68fa5defb272134bf182135a8144819712.ts | TypeScript | // Loaded from https://deno.land/std@0.101.0/io/util.ts
import { Buffer } from "./buffer.ts";
import { copy as copyBytes } from "../bytes/mod.ts";
import { assert } from "../testing/asserts.ts";
const DEFAULT_BUFFER_SIZE = 32 * 1024;
/** Read Reader `r` until EOF (`null`) and resolve to the content as
* Uint8Array... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff416ec5bb7db31065a52e872e573d31095f316e.ts | TypeScript | // Loaded from https://deno.land/x/tinyhttp@0.1.18/request.ts
// deno-lint-ignore-file
import { ServerRequest } from 'https://deno.land/std@0.101.0/http/server.ts'
import { App } from './app.ts'
import { QueryParams, Ranges, Protocol, AcceptsReturns, Middleware } from './types.ts'
export interface Request<Body = Rec... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff663c1664c07d528fb8fc022f62fb8160f51cc4.ts | TypeScript | // Loaded from https://deno.land/std@0.77.0/fs/_util.ts
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import * as path from "../path/mod.ts";
/**
* Test whether or not `dest` is a sub-directory of `src`
* @param src src file path
* @param dest dest file path
* @param sep path separat... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ff9503ab38e3054ad2d477cf380cef1838ff3c30.ts | TypeScript | // Loaded from https://deno.land/x/cliffy@v0.12.1/packages/x/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/ff9df7e6f822bf022b8ed7e294f3f3a73d81c315.ts | TypeScript | // Loaded from https://deno.land/x/god_crypto@v0.2.0/rsa.ts
import { rsa_oaep_encrypt, rsa_pkcs1_encrypt, rsa_oaep_decrypt, rsa_pkcs1_decrypt } from "./src/rsa.ts";
import { ber_decode, ber_simple } from "./src/basic_encoding_rule.ts";
import { base64_to_binary, get_key_size, str2bytes } from "./src/helper.ts";
inte... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ffc94379e2d25f12bc541b9d31eede397fab8ff4.ts | TypeScript | // Loaded from https://deno.land/x/dnit@dnit-v1.11.0/adl-gen/dnit/manifest.ts
/* @generated from adl module dnit.manifest */
import type * as ADL from "./../runtime/adl.ts";
import type * as sys_types from "./../sys/types.ts";
export type TaskName = ADL.Flavored0<string, "TaskName">;
const TaskName_AST : ADL.Scope... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/deno/ffd3a1b4f79d3dcf88d272eaebea420121f8317a.ts | TypeScript | // Loaded from https://deno.land/x/oak/tssCompare.ts
// Copyright 2018-2021 the oak authors. All rights reserved. MIT license.
// This was inspired by https://github.com/suryagh/tsscmp which provides a
// timing safe string comparison to avoid timing attacks as described in
// https://codahale.com/a-lesson-in-timing... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/untrusted/00b8210b83aefc04b73ee9fa1d1ebc8de9391a85.ts | TypeScript | // Loaded from https://unpkg.com/luxon@1.25.0/src/zones/fixedOffsetZone.js
import { formatOffset, signedOffset } from "../impl/util.js";
import Zone from "../zone.js";
let singleton = null;
/**
* A zone with a fixed offset (meaning no DST)
* @implements {Zone}
*/
export default class FixedOffsetZone extends Zone... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/untrusted/018661d7eb643f6104206b420eb0ac8a46bebb79.ts | TypeScript | // Loaded from https://raw.githubusercontent.com/aricart/tweetnacl-deno/import-type-fixes/src/blake2s.ts
// Blake2S in pure Javascript
// Adapted from the reference implementation in RFC7693
// Ported to Javascript by DC - https://github.com/dcposch
import { ByteArray, WordArray } from './array.ts';
export interfac... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/untrusted/034fc63657ef89e7081cc0dd9c1dfa2525307627.ts | TypeScript | // Loaded from https://cdn.esm.sh/v45/@tinyhttp/content-disposition@1.3.0/es2015/content-disposition.js
/* esm.sh - esbuild bundle(@tinyhttp/content-disposition@1.3.0) es2015 production */
import { Buffer as __Buffer$ } from "/v45/node_buffer.js";import{basename as f}from"/v45/path-browserify@1.0.1/es2015/path-browse... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/untrusted/037969bff548aa0c0a1b73a5ca5e291f5d4c4af4.ts | TypeScript | // Loaded from https://dev.jspm.io/npm:ngraph.events@1?dew
export { dew } from "/npm:ngraph.events@1.2.1/index.dew.js";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_bundler/tests/.cache/untrusted/0438b5f961de03f95a53a53af23c718a3d18c57a.ts | TypeScript | // Loaded from https://cdn.skypack.dev/-/universal-user-agent@v6.0.0-fUAPE3UH5QP7qG0fd0dH/dist=es2020,mode=imports/optimized/universal-user-agent.js
function defaultSetTimout() {
throw new Error("setTimeout has not been defined");
}
function defaultClearTimeout() {
throw new Error("clearTimeout has not been defin... | 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.