Initial commit
This commit is contained in:
9
node_modules/urlpattern-polyfill/dist/index.d.ts
generated
vendored
Executable file
9
node_modules/urlpattern-polyfill/dist/index.d.ts
generated
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
import type * as Types from "./types.js";
|
||||
export { URLPattern } from "./types.js";
|
||||
|
||||
declare global {
|
||||
class URLPattern extends Types.URLPattern {}
|
||||
type URLPatternInit = Types.URLPatternInit;
|
||||
type URLPatternResult = Types.URLPatternResult;
|
||||
type URLPatternComponentResult = Types.URLPatternComponentResult;
|
||||
}
|
49
node_modules/urlpattern-polyfill/dist/types.d.ts
generated
vendored
Executable file
49
node_modules/urlpattern-polyfill/dist/types.d.ts
generated
vendored
Executable file
@@ -0,0 +1,49 @@
|
||||
export type URLPatternInput = URLPatternInit | string;
|
||||
|
||||
export declare class URLPattern {
|
||||
constructor(init?: URLPatternInput, baseURL?: string);
|
||||
|
||||
test(input?: URLPatternInput, baseURL?: string): boolean;
|
||||
|
||||
exec(input?: URLPatternInput, baseURL?: string): URLPatternResult | null;
|
||||
|
||||
readonly protocol: string;
|
||||
readonly username: string;
|
||||
readonly password: string;
|
||||
readonly hostname: string;
|
||||
readonly port: string;
|
||||
readonly pathname: string;
|
||||
readonly search: string;
|
||||
readonly hash: string;
|
||||
}
|
||||
|
||||
interface URLPatternInit {
|
||||
baseURL?: string;
|
||||
username?: string;
|
||||
password?: string;
|
||||
protocol?: string;
|
||||
hostname?: string;
|
||||
port?: string;
|
||||
pathname?: string;
|
||||
search?: string;
|
||||
hash?: string;
|
||||
}
|
||||
|
||||
export interface URLPatternResult {
|
||||
inputs: [URLPatternInput];
|
||||
protocol: URLPatternComponentResult;
|
||||
username: URLPatternComponentResult;
|
||||
password: URLPatternComponentResult;
|
||||
hostname: URLPatternComponentResult;
|
||||
port: URLPatternComponentResult;
|
||||
pathname: URLPatternComponentResult;
|
||||
search: URLPatternComponentResult;
|
||||
hash: URLPatternComponentResult;
|
||||
}
|
||||
|
||||
export interface URLPatternComponentResult {
|
||||
input: string;
|
||||
groups: {
|
||||
[key: string]: string | undefined;
|
||||
};
|
||||
}
|
1
node_modules/urlpattern-polyfill/dist/urlpattern.cjs
generated
vendored
Executable file
1
node_modules/urlpattern-polyfill/dist/urlpattern.cjs
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
1
node_modules/urlpattern-polyfill/dist/urlpattern.js
generated
vendored
Executable file
1
node_modules/urlpattern-polyfill/dist/urlpattern.js
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user