first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

12
node_modules/whatwg-url-minimum/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,12 @@
# whatwg-url-minimum
## 0.1.1
### Patch Changes
- Update rollup sourcemap output to exclude sources
Submitted by [@kitten](https://github.com/kitten) (See [#1](https://github.com/kitten/whatwg-url-minimum/pull/1))
## 0.1.0
Initial Release.

23
node_modules/whatwg-url-minimum/LICENSE.md generated vendored Normal file
View File

@@ -0,0 +1,23 @@
MIT License
Copyright (c) Phil Pluckthun,
Copyright (c) 650 Industries, Inc. (aka Expo),
Copyright (c) Sebastian Mayr
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

8
node_modules/whatwg-url-minimum/README.md generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# whatwg-url-minimum
`whatwg-url-minimum` is a non-unicode implementation of the [WHATWG URL standard](https://url.spec.whatwg.org/) (derivative of [whatwg-url](https://github.com/jsdom/whatwg-url/))
## Implementation
The goal of `whatwg-url-minimum` is to be a derivative of [whatwg-url](https://github.com/jsdom/whatwg-url/) that has been converted to be more compact and drops punycode/unicode support.
Its parser implementation is otherwise a mostly identical implementation ported to TypeScript.

View File

@@ -0,0 +1,82 @@
type Or<T, U> = void extends T ? U : T;
interface _URL extends Or<URL, globalThis.URL> {}
interface _URLSearchParams extends Or<URLSearchParams, globalThis.URLSearchParams> {}
interface URLAbstract {
scheme: string;
username: string;
password: string;
host: string | null;
port: number | null;
path: string[];
query: string | null;
fragment: string | null;
opaquePath: boolean;
}
declare const _implSymbol$1: unique symbol;
interface URLInternals {
url: URLAbstract;
query: URLSearchParams$1;
}
declare class URL$1 implements _URL {
[_implSymbol$1]: URLInternals;
constructor(input?: string | _URL, base?: string | _URL);
static createObjectURL(_input: any): string;
static revokeObjectURL(_input: any): void;
static parse(input: string | _URL, base?: string | _URL): URL$1 | null;
static canParse(input: string | _URL, base?: string | _URL): boolean;
get href(): string;
set href(value: string);
get origin(): string;
get protocol(): string;
set protocol(value: string);
get username(): string;
set username(value: string);
get password(): string;
set password(value: string);
get host(): string;
set host(value: string);
get hostname(): string;
set hostname(value: string);
get port(): string;
set port(value: string);
get pathname(): string;
set pathname(value: string);
get search(): string;
set search(value: string);
get searchParams(): URLSearchParams$1;
get hash(): string;
set hash(value: string);
toJSON(): string;
toString(): string;
}
declare const _implSymbol: unique symbol;
interface URLSearchParamsInternals {
list: [string, string][];
url: URL$1 | null;
}
declare class URLSearchParams$1 implements _URLSearchParams {
[_implSymbol]: URLSearchParamsInternals;
constructor(init?: string[][] | Record<string, string> | string | _URLSearchParams);
get size(): number;
append(name: string, value: string): void;
delete(name: string, value?: string): void;
get(name: string): string | null;
getAll(name: string): string[];
has(name: string, value?: string): boolean;
set(name: string, value: string): void;
sort(): void;
forEach(
callbackfn: (value: string, key: string, parent: _URLSearchParams) => void,
thisArg?: any
): void;
entries(): URLSearchParamsIterator<[string, string]>;
keys(): URLSearchParamsIterator<string>;
values(): URLSearchParamsIterator<string>;
toString(): string;
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
}
export { URL$1 as URL, URLSearchParams$1 as URLSearchParams };

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

79
node_modules/whatwg-url-minimum/package.json generated vendored Normal file
View File

@@ -0,0 +1,79 @@
{
"name": "whatwg-url-minimum",
"version": "0.1.1",
"description": "Derivative of whatwg-url without unicode handling and optimized for Expo",
"author": "Phil Pluckthun <phil@kitten.sh>",
"source": "./src/index.ts",
"main": "./dist/whatwg-url-minimum",
"module": "./dist/whatwg-url-minimum.mjs",
"types": "./dist/whatwg-url-minimum.d.ts",
"files": [
"LICENSE.md",
"README.md",
"CHANGELOG.md",
"dist/"
],
"exports": {
".": {
"types": "./dist/whatwg-url-minimum.d.ts",
"import": "./dist/whatwg-url-minimum.mjs",
"require": "./dist/whatwg-url-minimum.js",
"source": "./src/index.ts"
},
"./package.json": "./package.json"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts,json,md}": "prettier --write"
},
"keywords": [],
"license": "MIT",
"repository": "https://github.com/kitten/whatwg-url-minimum",
"bugs": {
"url": "https://github.com/kitten/whatwg-url-minimum/issues"
},
"devDependencies": {
"@babel/plugin-transform-typescript": "^7.28.5",
"@changesets/cli": "^2.29.7",
"@changesets/get-github-info": "^0.6.0",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^25.0.3",
"@vitest/coverage-v8": "^4.0.16",
"@vitest/ui": "4.0.18",
"dotenv": "^17.2.3",
"lint-staged": "^16.2.6",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"rimraf": "^6.1.0",
"rollup": "^4.53.3",
"rollup-plugin-cjs-check": "^1.0.3",
"rollup-plugin-dts": "^6.2.3",
"typescript": "^5.9.3",
"vitest": "^4.0.10",
"whatwg-url-without-unicode": "8.0.0-3"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"test": "vitest test",
"test:run": "vitest test --run",
"prebench": "pnpm run build",
"update": "node scripts/update-platform-tests.js",
"bench": "vitest bench",
"build": "rollup -c ./scripts/rollup.config.mjs",
"postbuild": "tsc --lib esnext,dom,dom.iterable --target esnext --module nodenext --moduleResolution nodenext --noEmit ./dist/whatwg-url-minimum.d.ts",
"check": "tsc --noEmit",
"clean": "rimraf dist node_modules/.cache",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"changeset:publish": "changeset publish"
}
}