aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@exodus/bytes/base64.d.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/@exodus/bytes/base64.d.ts
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/@exodus/bytes/base64.d.ts')
-rw-r--r--vanilla/node_modules/@exodus/bytes/base64.d.ts96
1 files changed, 0 insertions, 96 deletions
diff --git a/vanilla/node_modules/@exodus/bytes/base64.d.ts b/vanilla/node_modules/@exodus/bytes/base64.d.ts
deleted file mode 100644
index 064b18f..0000000
--- a/vanilla/node_modules/@exodus/bytes/base64.d.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * Implements base64 and base64url from [RFC4648](https://datatracker.ietf.org/doc/html/rfc4648)
- * (no differences from [RFC3548](https://datatracker.ietf.org/doc/html/rfc4648)).
- *
- * ```js
- * import { fromBase64, toBase64 } from '@exodus/bytes/base64.js'
- * import { fromBase64url, toBase64url } from '@exodus/bytes/base64.js'
- * import { fromBase64any } from '@exodus/bytes/base64.js'
- * ```
- *
- * @module @exodus/bytes/base64.js
- */
-
-/// <reference types="node" />
-
-import type { OutputFormat, Uint8ArrayBuffer } from './array.js';
-
-/**
- * Options for base64 encoding
- */
-export interface ToBase64Options {
- /** Whether to include padding characters (default: true for base64, false for base64url) */
- padding?: boolean;
-}
-
-/**
- * Padding mode for base64 decoding
- * - `true`: padding is required
- * - `false`: padding is not allowed (default for base64url)
- * - `'both'`: padding is optional (default for base64)
- */
-export type PaddingMode = boolean | 'both';
-
-/**
- * Options for base64 decoding
- */
-export interface FromBase64Options {
- /** Output format (default: 'uint8') */
- format?: OutputFormat;
- /** Padding mode */
- padding?: PaddingMode;
-}
-
-/**
- * Encode a `Uint8Array` to a base64 string (RFC 4648)
- *
- * @param arr - The input bytes
- * @param options - Encoding options
- * @returns The base64 encoded string
- */
-export function toBase64(arr: Uint8Array, options?: ToBase64Options): string;
-
-/**
- * Encode a `Uint8Array` to a base64url string (RFC 4648)
- *
- * @param arr - The input bytes
- * @param options - Encoding options (padding defaults to false)
- * @returns The base64url encoded string
- */
-export function toBase64url(arr: Uint8Array, options?: ToBase64Options): string;
-
-/**
- * Decode a base64 string to bytes
- *
- * Operates in strict mode for last chunk, does not allow whitespace
- *
- * @param string - The base64 encoded string
- * @param options - Decoding options
- * @returns The decoded bytes
- */
-export function fromBase64(string: string, options?: FromBase64Options): Uint8ArrayBuffer;
-export function fromBase64(string: string, options: FromBase64Options & { format: 'buffer' }): Buffer;
-
-/**
- * Decode a base64url string to bytes
- *
- * Operates in strict mode for last chunk, does not allow whitespace
- *
- * @param string - The base64url encoded string
- * @param options - Decoding options (padding defaults to false)
- * @returns The decoded bytes
- */
-export function fromBase64url(string: string, options?: FromBase64Options): Uint8ArrayBuffer;
-export function fromBase64url(string: string, options: FromBase64Options & { format: 'buffer' }): Buffer;
-
-/**
- * Decode either base64 or base64url string to bytes
- *
- * Automatically detects the variant based on characters present
- *
- * @param string - The base64 or base64url encoded string
- * @param options - Decoding options
- * @returns The decoded bytes
- */
-export function fromBase64any(string: string, options?: FromBase64Options): Uint8ArrayBuffer;
-export function fromBase64any(string: string, options: FromBase64Options & { format: 'buffer' }): Buffer;