mirror of
https://github.com/Azure/setup-helm.git
synced 2025-09-08 13:06:32 +00:00
committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
BIN
node_modules/@vercel/ncc/dist/ncc/cli.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/cli.js.cache
generated
vendored
Binary file not shown.
2
node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js
generated
vendored
2
node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js
generated
vendored
File diff suppressed because one or more lines are too long
BIN
node_modules/@vercel/ncc/dist/ncc/index.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/index.js.cache
generated
vendored
Binary file not shown.
10
node_modules/@vercel/ncc/dist/ncc/index.js.cache.js
generated
vendored
10
node_modules/@vercel/ncc/dist/ncc/index.js.cache.js
generated
vendored
File diff suppressed because one or more lines are too long
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache
generated
vendored
Binary file not shown.
2
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js
generated
vendored
2
node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js
generated
vendored
File diff suppressed because one or more lines are too long
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache
generated
vendored
Binary file not shown.
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache
generated
vendored
Binary file not shown.
46
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js
generated
vendored
46
node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js
generated
vendored
File diff suppressed because one or more lines are too long
3111
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts
generated
vendored
3111
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
81
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
81
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
@ -78,17 +78,11 @@ interface FontFaceSet extends Set<FontFace> {
|
||||
|
||||
interface FormData {
|
||||
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
||||
/**
|
||||
* Returns an array of key, value pairs for every entry in the list.
|
||||
*/
|
||||
/** Returns an array of key, value pairs for every entry in the list. */
|
||||
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
||||
/**
|
||||
* Returns a list of keys in the list.
|
||||
*/
|
||||
/** Returns a list of keys in the list. */
|
||||
keys(): IterableIterator<string>;
|
||||
/**
|
||||
* Returns a list of values in the list.
|
||||
*/
|
||||
/** Returns a list of values in the list. */
|
||||
values(): IterableIterator<FormDataEntryValue>;
|
||||
}
|
||||
|
||||
@ -114,24 +108,16 @@ interface HTMLSelectElement {
|
||||
|
||||
interface Headers {
|
||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns an iterator allowing to go through all key/value pairs contained in this object.
|
||||
*/
|
||||
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
||||
entries(): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
|
||||
*/
|
||||
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
||||
keys(): IterableIterator<string>;
|
||||
/**
|
||||
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
|
||||
*/
|
||||
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
||||
values(): IterableIterator<string>;
|
||||
}
|
||||
|
||||
interface IDBDatabase {
|
||||
/**
|
||||
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
||||
*/
|
||||
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
||||
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
|
||||
}
|
||||
|
||||
@ -169,39 +155,28 @@ interface NamedNodeMap {
|
||||
}
|
||||
|
||||
interface Navigator {
|
||||
/** Available only in secure contexts. */
|
||||
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
||||
vibrate(pattern: Iterable<number>): boolean;
|
||||
}
|
||||
|
||||
interface NodeList {
|
||||
[Symbol.iterator](): IterableIterator<Node>;
|
||||
/**
|
||||
* Returns an array of key, value pairs for every entry in the list.
|
||||
*/
|
||||
/** Returns an array of key, value pairs for every entry in the list. */
|
||||
entries(): IterableIterator<[number, Node]>;
|
||||
/**
|
||||
* Returns an list of keys in the list.
|
||||
*/
|
||||
/** Returns an list of keys in the list. */
|
||||
keys(): IterableIterator<number>;
|
||||
/**
|
||||
* Returns an list of values in the list.
|
||||
*/
|
||||
/** Returns an list of values in the list. */
|
||||
values(): IterableIterator<Node>;
|
||||
}
|
||||
|
||||
interface NodeListOf<TNode extends Node> {
|
||||
[Symbol.iterator](): IterableIterator<TNode>;
|
||||
/**
|
||||
* Returns an array of key, value pairs for every entry in the list.
|
||||
*/
|
||||
/** Returns an array of key, value pairs for every entry in the list. */
|
||||
entries(): IterableIterator<[number, TNode]>;
|
||||
/**
|
||||
* Returns an list of keys in the list.
|
||||
*/
|
||||
/** Returns an list of keys in the list. */
|
||||
keys(): IterableIterator<number>;
|
||||
/**
|
||||
* Returns an list of values in the list.
|
||||
*/
|
||||
/** Returns an list of values in the list. */
|
||||
values(): IterableIterator<TNode>;
|
||||
}
|
||||
|
||||
@ -213,14 +188,11 @@ interface PluginArray {
|
||||
[Symbol.iterator](): IterableIterator<Plugin>;
|
||||
}
|
||||
|
||||
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
||||
interface RTCRtpTransceiver {
|
||||
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
|
||||
}
|
||||
|
||||
interface ReadableStream<R = any> {
|
||||
[Symbol.iterator](): IterableIterator<any>;
|
||||
entries(): IterableIterator<[number, any]>;
|
||||
keys(): IterableIterator<number>;
|
||||
values(): IterableIterator<any>;
|
||||
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
||||
}
|
||||
|
||||
interface SVGLengthList {
|
||||
@ -283,17 +255,11 @@ interface TouchList {
|
||||
|
||||
interface URLSearchParams {
|
||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns an array of key, value pairs for every entry in the search params.
|
||||
*/
|
||||
/** Returns an array of key, value pairs for every entry in the search params. */
|
||||
entries(): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns a list of keys in the search params.
|
||||
*/
|
||||
/** Returns a list of keys in the search params. */
|
||||
keys(): IterableIterator<string>;
|
||||
/**
|
||||
* Returns a list of values in the search params.
|
||||
*/
|
||||
/** Returns a list of values in the search params. */
|
||||
values(): IterableIterator<string>;
|
||||
}
|
||||
|
||||
@ -301,6 +267,13 @@ interface WEBGL_draw_buffers {
|
||||
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
||||
}
|
||||
|
||||
interface WEBGL_multi_draw {
|
||||
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
||||
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
||||
}
|
||||
|
||||
interface WebGL2RenderingContextBase {
|
||||
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
||||
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
||||
|
66
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2015.core.d.ts
generated
vendored
66
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2015.core.d.ts
generated
vendored
@ -455,47 +455,87 @@ interface String {
|
||||
|
||||
/**
|
||||
* Returns an `<a>` HTML anchor element and sets the name attribute to the text value
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
* @param name
|
||||
*/
|
||||
anchor(name: string): string;
|
||||
|
||||
/** Returns a `<big>` HTML element */
|
||||
/**
|
||||
* Returns a `<big>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
big(): string;
|
||||
|
||||
/** Returns a `<blink>` HTML element */
|
||||
/**
|
||||
* Returns a `<blink>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
blink(): string;
|
||||
|
||||
/** Returns a `<b>` HTML element */
|
||||
/**
|
||||
* Returns a `<b>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
bold(): string;
|
||||
|
||||
/** Returns a `<tt>` HTML element */
|
||||
/**
|
||||
* Returns a `<tt>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
fixed(): string;
|
||||
|
||||
/** Returns a `<font>` HTML element and sets the color attribute value */
|
||||
/**
|
||||
* Returns a `<font>` HTML element and sets the color attribute value
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
fontcolor(color: string): string;
|
||||
|
||||
/** Returns a `<font>` HTML element and sets the size attribute value */
|
||||
/**
|
||||
* Returns a `<font>` HTML element and sets the size attribute value
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
fontsize(size: number): string;
|
||||
|
||||
/** Returns a `<font>` HTML element and sets the size attribute value */
|
||||
/**
|
||||
* Returns a `<font>` HTML element and sets the size attribute value
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
fontsize(size: string): string;
|
||||
|
||||
/** Returns an `<i>` HTML element */
|
||||
/**
|
||||
* Returns an `<i>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
italics(): string;
|
||||
|
||||
/** Returns an `<a>` HTML element and sets the href attribute value */
|
||||
/**
|
||||
* Returns an `<a>` HTML element and sets the href attribute value
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
link(url: string): string;
|
||||
|
||||
/** Returns a `<small>` HTML element */
|
||||
/**
|
||||
* Returns a `<small>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
small(): string;
|
||||
|
||||
/** Returns a `<strike>` HTML element */
|
||||
/**
|
||||
* Returns a `<strike>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
strike(): string;
|
||||
|
||||
/** Returns a `<sub>` HTML element */
|
||||
/**
|
||||
* Returns a `<sub>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
sub(): string;
|
||||
|
||||
/** Returns a `<sup>` HTML element */
|
||||
/**
|
||||
* Returns a `<sup>` HTML element
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
*/
|
||||
sup(): string;
|
||||
}
|
||||
|
||||
|
15
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2015.iterable.d.ts
generated
vendored
15
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2015.iterable.d.ts
generated
vendored
@ -157,7 +157,8 @@ interface ReadonlyMap<K, V> {
|
||||
}
|
||||
|
||||
interface MapConstructor {
|
||||
new <K, V>(iterable: Iterable<readonly [K, V]>): Map<K, V>;
|
||||
new(): Map<any, any>;
|
||||
new <K, V>(iterable?: Iterable<readonly [K, V]> | null): Map<K, V>;
|
||||
}
|
||||
|
||||
interface WeakMap<K extends object, V> { }
|
||||
@ -223,7 +224,7 @@ interface PromiseConstructor {
|
||||
* @param values An iterable of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;
|
||||
all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
||||
@ -231,15 +232,7 @@ interface PromiseConstructor {
|
||||
* @param values An iterable of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
||||
* or rejected.
|
||||
* @param values An iterable of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;
|
||||
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
|
||||
}
|
||||
|
||||
interface String {
|
||||
|
76
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2015.promise.d.ts
generated
vendored
76
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2015.promise.d.ts
generated
vendored
@ -38,79 +38,7 @@ interface PromiseConstructor {
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5, T6, T7, T8>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5, T6, T7>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5, T6>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<[T1, T2, T3, T4, T5, T6]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>]): Promise<[T1, T2, T3, T4]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
||||
* resolve, or rejected when any Promise is rejected.
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
all<T>(values: readonly (T | PromiseLike<T>)[]): Promise<T[]>;
|
||||
all<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: Awaited<T[P]> }>;
|
||||
|
||||
// see: lib.es2015.iterable.d.ts
|
||||
// all<T>(values: Iterable<T | PromiseLike<T>>): Promise<T[]>;
|
||||
@ -121,7 +49,7 @@ interface PromiseConstructor {
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
race<T>(values: readonly T[]): Promise<T extends PromiseLike<infer U> ? U : T>;
|
||||
race<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;
|
||||
|
||||
// see: lib.es2015.iterable.d.ts
|
||||
// race<T>(values: Iterable<T>): Promise<T extends PromiseLike<infer U> ? U : T>;
|
||||
|
34
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2018.intl.d.ts
generated
vendored
34
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2018.intl.d.ts
generated
vendored
@ -25,13 +25,13 @@ declare namespace Intl {
|
||||
type PluralRuleType = "cardinal" | "ordinal";
|
||||
|
||||
interface PluralRulesOptions {
|
||||
localeMatcher?: "lookup" | "best fit";
|
||||
type?: PluralRuleType;
|
||||
minimumIntegerDigits?: number;
|
||||
minimumFractionDigits?: number;
|
||||
maximumFractionDigits?: number;
|
||||
minimumSignificantDigits?: number;
|
||||
maximumSignificantDigits?: number;
|
||||
localeMatcher?: "lookup" | "best fit" | undefined;
|
||||
type?: PluralRuleType | undefined;
|
||||
minimumIntegerDigits?: number | undefined;
|
||||
minimumFractionDigits?: number | undefined;
|
||||
maximumFractionDigits?: number | undefined;
|
||||
minimumSignificantDigits?: number | undefined;
|
||||
maximumSignificantDigits?: number | undefined;
|
||||
}
|
||||
|
||||
interface ResolvedPluralRulesOptions {
|
||||
@ -53,9 +53,21 @@ declare namespace Intl {
|
||||
const PluralRules: {
|
||||
new (locales?: string | string[], options?: PluralRulesOptions): PluralRules;
|
||||
(locales?: string | string[], options?: PluralRulesOptions): PluralRules;
|
||||
supportedLocalesOf(
|
||||
locales: string | string[],
|
||||
options?: PluralRulesOptions,
|
||||
): string[];
|
||||
|
||||
supportedLocalesOf(locales: string | string[], options?: { localeMatcher?: "lookup" | "best fit" }): string[];
|
||||
};
|
||||
|
||||
// We can only have one definition for 'type' in TypeScript, and so you can learn where the keys come from here:
|
||||
type ES2018NumberFormatPartType = "literal" | "nan" | "infinity" | "percent" | "integer" | "group" | "decimal" | "fraction" | "plusSign" | "minusSign" | "percentSign" | "currency" | "code" | "symbol" | "name";
|
||||
type ES2020NumberFormatPartType = "compact" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "unit" | "unknown";
|
||||
type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType;
|
||||
|
||||
interface NumberFormatPart {
|
||||
type: NumberFormatPartTypes;
|
||||
value: string;
|
||||
}
|
||||
|
||||
interface NumberFormat {
|
||||
formatToParts(number?: number | bigint): NumberFormatPart[];
|
||||
}
|
||||
}
|
||||
|
10
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2019.string.d.ts
generated
vendored
10
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2019.string.d.ts
generated
vendored
@ -25,9 +25,15 @@ interface String {
|
||||
/** Removes the leading white space and line terminator characters from a string. */
|
||||
trimStart(): string;
|
||||
|
||||
/** Removes the leading white space and line terminator characters from a string. */
|
||||
/**
|
||||
* Removes the leading white space and line terminator characters from a string.
|
||||
* @deprecated A legacy feature for browser compatibility. Use `trimStart` instead
|
||||
*/
|
||||
trimLeft(): string;
|
||||
|
||||
/** Removes the trailing white space and line terminator characters from a string. */
|
||||
/**
|
||||
* Removes the trailing white space and line terminator characters from a string.
|
||||
* @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead
|
||||
*/
|
||||
trimRight(): string;
|
||||
}
|
||||
|
296
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2020.intl.d.ts
generated
vendored
296
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2020.intl.d.ts
generated
vendored
@ -24,7 +24,6 @@ declare namespace Intl {
|
||||
* [Unicode BCP 47 Locale Identifiers](https://unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers) definition.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
||||
*
|
||||
*/
|
||||
type UnicodeBCP47LocaleIdentifier = string;
|
||||
|
||||
@ -32,26 +31,29 @@ declare namespace Intl {
|
||||
* Unit to use in the relative time internationalized message.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-singularrelativetimeunit).
|
||||
*/
|
||||
type RelativeTimeFormatUnit =
|
||||
| "year" | "years"
|
||||
| "quarter" | "quarters"
|
||||
| "month" | "months"
|
||||
| "week" | "weeks"
|
||||
| "day" | "days"
|
||||
| "hour" | "hours"
|
||||
| "minute" | "minutes"
|
||||
| "second" | "seconds"
|
||||
;
|
||||
| "year"
|
||||
| "years"
|
||||
| "quarter"
|
||||
| "quarters"
|
||||
| "month"
|
||||
| "months"
|
||||
| "week"
|
||||
| "weeks"
|
||||
| "day"
|
||||
| "days"
|
||||
| "hour"
|
||||
| "hours"
|
||||
| "minute"
|
||||
| "minutes"
|
||||
| "second"
|
||||
| "seconds";
|
||||
|
||||
/**
|
||||
* The locale matching algorithm to use.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).
|
||||
*/
|
||||
type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";
|
||||
|
||||
@ -59,8 +61,6 @@ declare namespace Intl {
|
||||
* The format of output message.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).
|
||||
*/
|
||||
type RelativeTimeFormatNumeric = "always" | "auto";
|
||||
|
||||
@ -68,33 +68,37 @@ declare namespace Intl {
|
||||
* The length of the internationalized message.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).
|
||||
*/
|
||||
type RelativeTimeFormatStyle = "long" | "short" | "narrow";
|
||||
|
||||
/**
|
||||
* [BCP 47 language tag](http://tools.ietf.org/html/rfc5646) definition.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
||||
*/
|
||||
type BCP47LanguageTag = string;
|
||||
|
||||
/**
|
||||
* An object with some or all of properties of `options` parameter
|
||||
* of `Intl.RelativeTimeFormat` constructor.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).
|
||||
*/
|
||||
interface RelativeTimeFormatOptions {
|
||||
/** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
|
||||
localeMatcher?: RelativeTimeFormatLocaleMatcher;
|
||||
/** The format of output message. */
|
||||
numeric?: RelativeTimeFormatNumeric;
|
||||
/** The length of the internationalized message. */
|
||||
style?: RelativeTimeFormatStyle;
|
||||
}
|
||||
|
||||
/**
|
||||
* An object with properties reflecting the locale
|
||||
* and formatting options computed during initialization
|
||||
* of the `Intel.RelativeTimeFormat` object
|
||||
* of the `Intl.RelativeTimeFormat` object
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#table-relativetimeformat-resolvedoptions-properties)
|
||||
*/
|
||||
interface ResolvedRelativeTimeFormatOptions {
|
||||
locale: UnicodeBCP47LocaleIdentifier;
|
||||
@ -108,8 +112,6 @@ declare namespace Intl {
|
||||
* that can be used for custom locale-aware formatting.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts).
|
||||
*/
|
||||
interface RelativeTimeFormatPart {
|
||||
type: string;
|
||||
@ -126,6 +128,7 @@ declare namespace Intl {
|
||||
*
|
||||
* While this method automatically provides the correct plural forms,
|
||||
* the grammatical form is otherwise as neutral as possible.
|
||||
*
|
||||
* It is the caller's responsibility to handle cut-off logic
|
||||
* such as deciding between displaying "in 7 days" or "in 1 week".
|
||||
* This API does not support relative dates involving compound units.
|
||||
@ -133,68 +136,33 @@ declare namespace Intl {
|
||||
*
|
||||
* @param value - Numeric value to use in the internationalized relative time message
|
||||
*
|
||||
* @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)
|
||||
* to use in the relative time internationalized message.
|
||||
* Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,
|
||||
* `"day"`, `"hour"`, `"minute"`, `"second"`.
|
||||
* Plural forms are also permitted.
|
||||
* @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
|
||||
*
|
||||
* @throws `RangeError` if `unit` was given something other than `unit` possible values
|
||||
*
|
||||
* @returns Internationalized relative time message as string
|
||||
* @returns {string} Internationalized relative time message as string
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.format).
|
||||
*/
|
||||
format(
|
||||
value: number,
|
||||
unit: RelativeTimeFormatUnit,
|
||||
): string;
|
||||
format(value: number, unit: RelativeTimeFormatUnit): string;
|
||||
|
||||
/**
|
||||
* A version of the format method which it returns an array of objects
|
||||
* which represent "parts" of the object,
|
||||
* separating the formatted number into its constituent parts
|
||||
* and separating it from other surrounding text.
|
||||
* These objects have two properties:
|
||||
* `type` a NumberFormat formatToParts type, and `value`,
|
||||
* which is the String which is the component of the output.
|
||||
* If a "part" came from NumberFormat,
|
||||
* it will have a unit property which indicates the `unit` being formatted;
|
||||
* literals which are part of the larger frame will not have this property.
|
||||
* Returns an array of objects representing the relative time format in parts that can be used for custom locale-aware formatting.
|
||||
*
|
||||
* @param value - Numeric value to use in the internationalized relative time message
|
||||
*
|
||||
* @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit)
|
||||
* to use in the relative time internationalized message.
|
||||
* Possible values are: `"year"`, `"quarter"`, `"month"`, `"week"`,
|
||||
* `"day"`, `"hour"`, `"minute"`, `"second"`.
|
||||
* Plural forms are also permitted.
|
||||
* @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
|
||||
*
|
||||
* @throws `RangeError` if `unit` was given something other than `unit` possible values
|
||||
*
|
||||
* @returns Array of [FormatRelativeTimeToParts](https://tc39.es/ecma402/#sec-FormatRelativeTimeToParts)
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.prototype.formatToParts).
|
||||
*/
|
||||
formatToParts(
|
||||
value: number,
|
||||
unit: RelativeTimeFormatUnit,
|
||||
): RelativeTimeFormatPart[];
|
||||
formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];
|
||||
|
||||
/**
|
||||
* Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.
|
||||
*
|
||||
* @returns A new object with properties reflecting the locale
|
||||
* and formatting options computed during initialization
|
||||
* of the `Intel.RelativeTimeFormat` object.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-intl.relativetimeformat.prototype.resolvedoptions)
|
||||
*/
|
||||
resolvedOptions(): ResolvedRelativeTimeFormatOptions;
|
||||
}
|
||||
@ -203,41 +171,22 @@ declare namespace Intl {
|
||||
* The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
|
||||
* object is a constructor for objects that enable language-sensitive relative time formatting.
|
||||
*
|
||||
* Part of [Intl object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)
|
||||
* namespace and the [ECMAScript Internationalization API](https://www.ecma-international.org/publications/standards/Ecma-402.htm).
|
||||
*
|
||||
* [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).
|
||||
*
|
||||
* [Polyfills](https://github.com/tc39/proposal-intl-relative-time#polyfills).
|
||||
*/
|
||||
const RelativeTimeFormat: {
|
||||
/**
|
||||
* Constructor creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
|
||||
* objects
|
||||
* Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects
|
||||
*
|
||||
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
||||
* For the general form and interpretation of the locales argument,
|
||||
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||
*
|
||||
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
||||
* with some or all of options of the formatting.
|
||||
* An object with some or all of the following properties:
|
||||
* - `localeMatcher` - The locale matching algorithm to use.
|
||||
* Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.
|
||||
* For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
|
||||
* - `numeric` - The format of output message.
|
||||
* Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).
|
||||
* The `"auto"` value allows to not always have to use numeric values in the output.
|
||||
* - `style` - The length of the internationalized message. Possible values are:
|
||||
* `"long"` (default, e.g., in 1 month),
|
||||
* `"short"` (e.g., in 1 mo.)
|
||||
* or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.
|
||||
* with some or all of options of `RelativeTimeFormatOptions`.
|
||||
*
|
||||
* @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-intl-relativetimeformat-constructor).
|
||||
*/
|
||||
new(
|
||||
locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],
|
||||
@ -255,25 +204,12 @@ declare namespace Intl {
|
||||
*
|
||||
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
||||
* with some or all of options of the formatting.
|
||||
* An object with some or all of the following properties:
|
||||
* - `localeMatcher` - The locale matching algorithm to use.
|
||||
* Possible values are `"lookup"` and `"best fit"`; the default is `"best fit"`.
|
||||
* For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
|
||||
* - `numeric` - The format of output message.
|
||||
* Possible values are: `"always"` (default, e.g., `1 day ago`) or `"auto"` (e.g., `yesterday`).
|
||||
* The `"auto"` value allows to not always have to use numeric values in the output.
|
||||
* - `style` - The length of the internationalized message. Possible values are:
|
||||
* `"long"` (default, e.g., in 1 month),
|
||||
* `"short"` (e.g., in 1 mo.)
|
||||
* or `"narrow"` (e.g., in 1 mo.). The narrow style could be similar to the short style for some locales.
|
||||
*
|
||||
* @returns An array containing those of the provided locales
|
||||
* that are supported in date and time formatting
|
||||
* without having to fall back to the runtime's default locale.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).
|
||||
*
|
||||
* [Specification](https://tc39.es/ecma402/#sec-Intl.RelativeTimeFormat.supportedLocalesOf).
|
||||
*/
|
||||
supportedLocalesOf(
|
||||
locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],
|
||||
@ -282,28 +218,156 @@ declare namespace Intl {
|
||||
};
|
||||
|
||||
interface NumberFormatOptions {
|
||||
compactDisplay?: string;
|
||||
notation?: string;
|
||||
signDisplay?: string;
|
||||
unit?: string;
|
||||
unitDisplay?: string;
|
||||
compactDisplay?: "short" | "long" | undefined;
|
||||
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
||||
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
||||
unit?: string | undefined;
|
||||
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
||||
currencyDisplay?: string | undefined;
|
||||
currencySign?: string | undefined;
|
||||
}
|
||||
|
||||
interface ResolvedNumberFormatOptions {
|
||||
compactDisplay?: string;
|
||||
notation?: string;
|
||||
signDisplay?: string;
|
||||
compactDisplay?: "short" | "long";
|
||||
notation?: "standard" | "scientific" | "engineering" | "compact";
|
||||
signDisplay?: "auto" | "never" | "always" | "exceptZero";
|
||||
unit?: string;
|
||||
unitDisplay?: string;
|
||||
unitDisplay?: "short" | "long" | "narrow";
|
||||
currencyDisplay?: string;
|
||||
currencySign?: string;
|
||||
}
|
||||
|
||||
interface DateTimeFormatOptions {
|
||||
dateStyle?: "full" | "long" | "medium" | "short";
|
||||
timeStyle?: "full" | "long" | "medium" | "short";
|
||||
calendar?: string;
|
||||
dayPeriod?: "narrow" | "short" | "long";
|
||||
numberingSystem?: string;
|
||||
hourCycle?: "h11" | "h12" | "h23" | "h24";
|
||||
fractionalSecondDigits?: 0 | 1 | 2 | 3;
|
||||
calendar?: string | undefined;
|
||||
dayPeriod?: "narrow" | "short" | "long" | undefined;
|
||||
numberingSystem?: string | undefined;
|
||||
|
||||
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||
timeStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
||||
}
|
||||
|
||||
type LocaleHourCycleKey = "h12" | "h23" | "h11" | "h24";
|
||||
type LocaleCollationCaseFirst = "upper" | "lower" | "false";
|
||||
|
||||
interface LocaleOptions {
|
||||
/** A string containing the language, and the script and region if available. */
|
||||
baseName?: string;
|
||||
/** The part of the Locale that indicates the locale's calendar era. */
|
||||
calendar?: string;
|
||||
/** Flag that defines whether case is taken into account for the locale's collation rules. */
|
||||
caseFirst?: LocaleCollationCaseFirst;
|
||||
/** The collation type used for sorting */
|
||||
collation?: string;
|
||||
/** The time keeping format convention used by the locale. */
|
||||
hourCycle?: LocaleHourCycleKey;
|
||||
/** The primary language subtag associated with the locale. */
|
||||
language?: string;
|
||||
/** The numeral system used by the locale. */
|
||||
numberingSystem?: string;
|
||||
/** Flag that defines whether the locale has special collation handling for numeric characters. */
|
||||
numeric?: boolean;
|
||||
/** The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1. */
|
||||
region?: string;
|
||||
/** The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924. */
|
||||
script?: string;
|
||||
}
|
||||
|
||||
interface Locale extends LocaleOptions {
|
||||
/** Gets the most likely values for the language, script, and region of the locale based on existing values. */
|
||||
maximize(): Locale;
|
||||
/** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */
|
||||
minimize(): Locale;
|
||||
/** Returns the locale's full locale identifier string. */
|
||||
toString(): BCP47LanguageTag;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)
|
||||
* objects
|
||||
*
|
||||
* @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).
|
||||
* For the general form and interpretation of the locales argument,
|
||||
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
||||
*
|
||||
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.
|
||||
*
|
||||
* @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).
|
||||
*/
|
||||
const Locale: {
|
||||
new (tag?: BCP47LanguageTag, options?: LocaleOptions): Locale;
|
||||
};
|
||||
|
||||
interface DisplayNamesOptions {
|
||||
locale: UnicodeBCP47LocaleIdentifier;
|
||||
localeMatcher: RelativeTimeFormatLocaleMatcher;
|
||||
style: RelativeTimeFormatStyle;
|
||||
type: "language" | "region" | "script" | "currency";
|
||||
fallback: "code" | "none";
|
||||
}
|
||||
|
||||
interface DisplayNames {
|
||||
/**
|
||||
* Receives a code and returns a string based on the locale and options provided when instantiating
|
||||
* [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
||||
*
|
||||
* @param code The `code` to provide depends on the `type` passed to display name during creation:
|
||||
* - If the type is `"region"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),
|
||||
* or a [three digits UN M49 Geographic Regions](https://unstats.un.org/unsd/methodology/m49/).
|
||||
* - If the type is `"script"`, code should be an [ISO-15924 four letters script code](https://unicode.org/iso15924/iso15924-codes.html).
|
||||
* - If the type is `"language"`, code should be a `languageCode` ["-" `scriptCode`] ["-" `regionCode` ] *("-" `variant` )
|
||||
* subsequence of the unicode_language_id grammar in [UTS 35's Unicode Language and Locale Identifiers grammar](https://unicode.org/reports/tr35/#Unicode_language_identifier).
|
||||
* `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.
|
||||
* - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
|
||||
*/
|
||||
of(code: string): string | undefined;
|
||||
/**
|
||||
* Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
|
||||
* [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).
|
||||
*/
|
||||
resolvedOptions(): DisplayNamesOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
||||
* object enables the consistent translation of language, region and script display names.
|
||||
*
|
||||
* [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).
|
||||
*/
|
||||
const DisplayNames: {
|
||||
prototype: DisplayNames;
|
||||
|
||||
/**
|
||||
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
||||
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
||||
* page.
|
||||
*
|
||||
* @param options An object for setting up a display name.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).
|
||||
*/
|
||||
new(locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: Partial<DisplayNamesOptions>): DisplayNames;
|
||||
|
||||
/**
|
||||
* Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.
|
||||
*
|
||||
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
||||
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
||||
* page.
|
||||
*
|
||||
* @param options An object with a locale matcher.
|
||||
*
|
||||
* @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
|
||||
*
|
||||
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).
|
||||
*/
|
||||
supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: {localeMatcher: RelativeTimeFormatLocaleMatcher}): BCP47LanguageTag[];
|
||||
};
|
||||
|
||||
}
|
||||
|
5
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2020.promise.d.ts
generated
vendored
5
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2020.promise.d.ts
generated
vendored
@ -37,8 +37,7 @@ interface PromiseConstructor {
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
allSettled<T extends readonly unknown[] | readonly [unknown]>(values: T):
|
||||
Promise<{ -readonly [P in keyof T]: PromiseSettledResult<T[P] extends PromiseLike<infer U> ? U : T[P]> }>;
|
||||
allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>> }>;
|
||||
|
||||
/**
|
||||
* Creates a Promise that is resolved with an array of results when all
|
||||
@ -46,5 +45,5 @@ interface PromiseConstructor {
|
||||
* @param values An array of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
allSettled<T>(values: Iterable<T>): Promise<PromiseSettledResult<T extends PromiseLike<infer U> ? U : T>[]>;
|
||||
allSettled<T>(values: Iterable<T | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;
|
||||
}
|
||||
|
1
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.d.ts
generated
vendored
1
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.d.ts
generated
vendored
@ -22,3 +22,4 @@ and limitations under the License.
|
||||
/// <reference lib="es2021.promise" />
|
||||
/// <reference lib="es2021.string" />
|
||||
/// <reference lib="es2021.weakref" />
|
||||
/// <reference lib="es2021.intl" />
|
||||
|
44
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.intl.d.ts
generated
vendored
Normal file
44
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.intl.d.ts
generated
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
declare namespace Intl {
|
||||
|
||||
interface DateTimeFormatOptions {
|
||||
formatMatcher?: "basic" | "best fit" | "best fit" | undefined;
|
||||
dateStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||
timeStyle?: "full" | "long" | "medium" | "short" | undefined;
|
||||
dayPeriod?: "narrow" | "short" | "long" | undefined;
|
||||
fractionalSecondDigits?: 0 | 1 | 2 | 3 | undefined;
|
||||
}
|
||||
|
||||
interface ResolvedDateTimeFormatOptions {
|
||||
formatMatcher?: "basic" | "best fit" | "best fit";
|
||||
dateStyle?: "full" | "long" | "medium" | "short";
|
||||
timeStyle?: "full" | "long" | "medium" | "short";
|
||||
hourCycle?: "h11" | "h12" | "h23" | "h24";
|
||||
dayPeriod?: "narrow" | "short" | "long";
|
||||
fractionalSecondDigits?: 0 | 1 | 2 | 3;
|
||||
}
|
||||
|
||||
interface NumberFormat {
|
||||
formatRange(startDate: number | bigint, endDate: number | bigint): string;
|
||||
formatRangeToParts(startDate: number | bigint, endDate: number | bigint): NumberFormatPart[];
|
||||
}
|
||||
}
|
9
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.promise.d.ts
generated
vendored
9
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2021.promise.d.ts
generated
vendored
@ -39,5 +39,12 @@ interface PromiseConstructor {
|
||||
* @param values An array or iterable of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
any<T>(values: (T | PromiseLike<T>)[] | Iterable<T | PromiseLike<T>>): Promise<T>
|
||||
any<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;
|
||||
|
||||
/**
|
||||
* The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
|
||||
* @param values An array or iterable of Promises.
|
||||
* @returns A new Promise.
|
||||
*/
|
||||
any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>
|
||||
}
|
||||
|
123
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.array.d.ts
generated
vendored
Normal file
123
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.array.d.ts
generated
vendored
Normal file
@ -0,0 +1,123 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
interface Array<T> {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): T | undefined;
|
||||
}
|
||||
|
||||
interface ReadonlyArray<T> {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): T | undefined;
|
||||
}
|
||||
|
||||
interface Int8Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Uint8Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Uint8ClampedArray {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Int16Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Uint16Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Int32Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Uint32Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Float32Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface Float64Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): number | undefined;
|
||||
}
|
||||
|
||||
interface BigInt64Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): bigint | undefined;
|
||||
}
|
||||
|
||||
interface BigUint64Array {
|
||||
/**
|
||||
* Returns the item located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): bigint | undefined;
|
||||
}
|
25
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.d.ts
generated
vendored
Normal file
25
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.d.ts
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
/// <reference lib="es2021" />
|
||||
/// <reference lib="es2022.array" />
|
||||
/// <reference lib="es2022.error" />
|
||||
/// <reference lib="es2022.object" />
|
||||
/// <reference lib="es2022.string" />
|
75
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.error.d.ts
generated
vendored
Normal file
75
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.error.d.ts
generated
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
interface ErrorOptions {
|
||||
cause?: Error;
|
||||
}
|
||||
|
||||
interface Error {
|
||||
cause?: Error;
|
||||
}
|
||||
|
||||
interface ErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): Error;
|
||||
(message?: string, options?: ErrorOptions): Error;
|
||||
}
|
||||
|
||||
interface EvalErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): EvalError;
|
||||
(message?: string, options?: ErrorOptions): EvalError;
|
||||
}
|
||||
|
||||
interface RangeErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): RangeError;
|
||||
(message?: string, options?: ErrorOptions): RangeError;
|
||||
}
|
||||
|
||||
interface ReferenceErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): ReferenceError;
|
||||
(message?: string, options?: ErrorOptions): ReferenceError;
|
||||
}
|
||||
|
||||
interface SyntaxErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): SyntaxError;
|
||||
(message?: string, options?: ErrorOptions): SyntaxError;
|
||||
}
|
||||
|
||||
interface TypeErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): TypeError;
|
||||
(message?: string, options?: ErrorOptions): TypeError;
|
||||
}
|
||||
|
||||
interface URIErrorConstructor {
|
||||
new (message?: string, options?: ErrorOptions): URIError;
|
||||
(message?: string, options?: ErrorOptions): URIError;
|
||||
}
|
||||
|
||||
interface AggregateErrorConstructor {
|
||||
new (
|
||||
errors: Iterable<any>,
|
||||
message?: string,
|
||||
options?: ErrorOptions
|
||||
): AggregateError;
|
||||
(
|
||||
errors: Iterable<any>,
|
||||
message?: string,
|
||||
options?: ErrorOptions
|
||||
): AggregateError;
|
||||
}
|
25
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.full.d.ts
generated
vendored
Normal file
25
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.full.d.ts
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
/// <reference lib="es2022" />
|
||||
/// <reference lib="dom" />
|
||||
/// <reference lib="webworker.importscripts" />
|
||||
/// <reference lib="scripthost" />
|
||||
/// <reference lib="dom.iterable" />
|
28
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.object.d.ts
generated
vendored
Normal file
28
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.object.d.ts
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
interface Object {
|
||||
/**
|
||||
* Determines whether an object has a property with the specified name.
|
||||
* @param o An object.
|
||||
* @param v A property name.
|
||||
*/
|
||||
hasOwn(o: object, v: PropertyKey): boolean;
|
||||
}
|
27
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.string.d.ts
generated
vendored
Normal file
27
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es2022.string.d.ts
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
|
||||
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
interface String {
|
||||
/**
|
||||
* Returns a new String consisting of the single UTF-16 code unit located at the specified index.
|
||||
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
||||
*/
|
||||
at(index: number): string | undefined;
|
||||
}
|
148
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es5.d.ts
generated
vendored
148
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.es5.d.ts
generated
vendored
@ -84,12 +84,14 @@ declare function encodeURIComponent(uriComponent: string | number | boolean): st
|
||||
|
||||
/**
|
||||
* Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
* @param string A string value
|
||||
*/
|
||||
declare function escape(string: string): string;
|
||||
|
||||
/**
|
||||
* Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
* @param string A string value
|
||||
*/
|
||||
declare function unescape(string: string): string;
|
||||
@ -114,7 +116,7 @@ interface PropertyDescriptor {
|
||||
}
|
||||
|
||||
interface PropertyDescriptorMap {
|
||||
[s: string]: PropertyDescriptor;
|
||||
[key: PropertyKey]: PropertyDescriptor;
|
||||
}
|
||||
|
||||
interface Object {
|
||||
@ -214,13 +216,13 @@ interface ObjectConstructor {
|
||||
|
||||
/**
|
||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||
* @param o Object on which to lock the attributes.
|
||||
* @param a Object on which to lock the attributes.
|
||||
*/
|
||||
freeze<T>(a: T[]): readonly T[];
|
||||
|
||||
/**
|
||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||
* @param o Object on which to lock the attributes.
|
||||
* @param f Object on which to lock the attributes.
|
||||
*/
|
||||
freeze<T extends Function>(f: T): T;
|
||||
|
||||
@ -503,6 +505,7 @@ interface String {
|
||||
// IE extensions
|
||||
/**
|
||||
* Gets a substring beginning at the specified location and having the specified length.
|
||||
* @deprecated A legacy feature for browser compatibility
|
||||
* @param from The starting position of the desired substring. The index of the first character in the string is zero.
|
||||
* @param length The number of characters to include in the returned substring.
|
||||
*/
|
||||
@ -614,6 +617,23 @@ interface TemplateStringsArray extends ReadonlyArray<string> {
|
||||
interface ImportMeta {
|
||||
}
|
||||
|
||||
/**
|
||||
* The type for the optional second argument to `import()`.
|
||||
*
|
||||
* If your host environment supports additional options, this type may be
|
||||
* augmented via interface merging.
|
||||
*/
|
||||
interface ImportCallOptions {
|
||||
assert?: ImportAssertions;
|
||||
}
|
||||
|
||||
/**
|
||||
* The type for the `assert` property of the optional second argument to `import()`.
|
||||
*/
|
||||
interface ImportAssertions {
|
||||
[key: string]: string;
|
||||
}
|
||||
|
||||
interface Math {
|
||||
/** The mathematical constant e. This is Euler's number, the base of natural logarithms. */
|
||||
readonly E: number;
|
||||
@ -944,7 +964,8 @@ interface RegExp {
|
||||
lastIndex: number;
|
||||
|
||||
// Non-standard extensions
|
||||
compile(): this;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
compile(pattern: string, flags?: string): this;
|
||||
}
|
||||
|
||||
interface RegExpConstructor {
|
||||
@ -955,16 +976,44 @@ interface RegExpConstructor {
|
||||
readonly prototype: RegExp;
|
||||
|
||||
// Non-standard extensions
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$1: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$2: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$3: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$4: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$5: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$6: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$7: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$8: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$9: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
input: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
$_: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
lastMatch: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
"$&": string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
lastParen: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
"$+": string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
leftContext: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
"$`": string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
rightContext: string;
|
||||
/** @deprecated A legacy feature for browser compatibility */
|
||||
"$'": string;
|
||||
}
|
||||
|
||||
declare var RegExp: RegExpConstructor;
|
||||
@ -1281,7 +1330,7 @@ interface Array<T> {
|
||||
* Sorts an array in place.
|
||||
* This method mutates the array and returns a reference to the same array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
@ -1460,6 +1509,17 @@ interface Promise<T> {
|
||||
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to `never`. This emulates the behavior of `await`.
|
||||
*/
|
||||
type Awaited<T> =
|
||||
T extends null | undefined ? T : // special case for `null | undefined` when not in `--strictNullChecks` mode
|
||||
T extends object & { then(onfulfilled: infer F): any } ? // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped
|
||||
F extends ((value: infer V, ...args: any) => any) ? // if the argument to `then` is callable, extracts the first argument
|
||||
Awaited<V> : // recursively unwrap the value
|
||||
never : // the argument to `then` was not callable
|
||||
T; // non-object or non-thenable
|
||||
|
||||
interface ArrayLike<T> {
|
||||
readonly length: number;
|
||||
readonly [n: number]: T;
|
||||
@ -1966,7 +2026,7 @@ interface Int8Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -2248,7 +2308,7 @@ interface Uint8Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -2530,7 +2590,7 @@ interface Uint8ClampedArray {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -2810,7 +2870,7 @@ interface Int16Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -3093,7 +3153,7 @@ interface Uint16Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -3375,7 +3435,7 @@ interface Int32Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -3656,7 +3716,7 @@ interface Uint32Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -3938,7 +3998,7 @@ interface Float32Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -4221,7 +4281,7 @@ interface Float64Array {
|
||||
* Sorts an array.
|
||||
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
||||
* a negative value if first argument is less than second argument, zero if they're equal and a positive
|
||||
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
|
||||
* value otherwise. If omitted, the elements are sorted in ascending order.
|
||||
* ```ts
|
||||
* [11,2,22,1].sort((a, b) => a - b)
|
||||
* ```
|
||||
@ -4283,12 +4343,12 @@ declare var Float64Array: Float64ArrayConstructor;
|
||||
|
||||
declare namespace Intl {
|
||||
interface CollatorOptions {
|
||||
usage?: string;
|
||||
localeMatcher?: string;
|
||||
numeric?: boolean;
|
||||
caseFirst?: string;
|
||||
sensitivity?: string;
|
||||
ignorePunctuation?: boolean;
|
||||
usage?: string | undefined;
|
||||
localeMatcher?: string | undefined;
|
||||
numeric?: boolean | undefined;
|
||||
caseFirst?: string | undefined;
|
||||
sensitivity?: string | undefined;
|
||||
ignorePunctuation?: boolean | undefined;
|
||||
}
|
||||
|
||||
interface ResolvedCollatorOptions {
|
||||
@ -4312,17 +4372,16 @@ declare namespace Intl {
|
||||
};
|
||||
|
||||
interface NumberFormatOptions {
|
||||
localeMatcher?: string;
|
||||
style?: string;
|
||||
currency?: string;
|
||||
currencyDisplay?: string;
|
||||
currencySign?: string;
|
||||
useGrouping?: boolean;
|
||||
minimumIntegerDigits?: number;
|
||||
minimumFractionDigits?: number;
|
||||
maximumFractionDigits?: number;
|
||||
minimumSignificantDigits?: number;
|
||||
maximumSignificantDigits?: number;
|
||||
localeMatcher?: string | undefined;
|
||||
style?: string | undefined;
|
||||
currency?: string | undefined;
|
||||
currencySign?: string | undefined;
|
||||
useGrouping?: boolean | undefined;
|
||||
minimumIntegerDigits?: number | undefined;
|
||||
minimumFractionDigits?: number | undefined;
|
||||
maximumFractionDigits?: number | undefined;
|
||||
minimumSignificantDigits?: number | undefined;
|
||||
maximumSignificantDigits?: number | undefined;
|
||||
}
|
||||
|
||||
interface ResolvedNumberFormatOptions {
|
||||
@ -4330,7 +4389,6 @@ declare namespace Intl {
|
||||
numberingSystem: string;
|
||||
style: string;
|
||||
currency?: string;
|
||||
currencyDisplay?: string;
|
||||
minimumIntegerDigits: number;
|
||||
minimumFractionDigits: number;
|
||||
maximumFractionDigits: number;
|
||||
@ -4350,19 +4408,19 @@ declare namespace Intl {
|
||||
};
|
||||
|
||||
interface DateTimeFormatOptions {
|
||||
localeMatcher?: "best fit" | "lookup";
|
||||
weekday?: "long" | "short" | "narrow";
|
||||
era?: "long" | "short" | "narrow";
|
||||
year?: "numeric" | "2-digit";
|
||||
month?: "numeric" | "2-digit" | "long" | "short" | "narrow";
|
||||
day?: "numeric" | "2-digit";
|
||||
hour?: "numeric" | "2-digit";
|
||||
minute?: "numeric" | "2-digit";
|
||||
second?: "numeric" | "2-digit";
|
||||
timeZoneName?: "long" | "short";
|
||||
formatMatcher?: "best fit" | "basic";
|
||||
hour12?: boolean;
|
||||
timeZone?: string;
|
||||
localeMatcher?: "best fit" | "lookup" | undefined;
|
||||
weekday?: "long" | "short" | "narrow" | undefined;
|
||||
era?: "long" | "short" | "narrow" | undefined;
|
||||
year?: "numeric" | "2-digit" | undefined;
|
||||
month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | undefined;
|
||||
day?: "numeric" | "2-digit" | undefined;
|
||||
hour?: "numeric" | "2-digit" | undefined;
|
||||
minute?: "numeric" | "2-digit" | undefined;
|
||||
second?: "numeric" | "2-digit" | undefined;
|
||||
timeZoneName?: "long" | "short" | undefined;
|
||||
formatMatcher?: "best fit" | "basic" | undefined;
|
||||
hour12?: boolean | undefined;
|
||||
timeZone?: string | undefined;
|
||||
}
|
||||
|
||||
interface ResolvedDateTimeFormatOptions {
|
||||
|
2
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.esnext.d.ts
generated
vendored
2
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.esnext.d.ts
generated
vendored
@ -18,5 +18,5 @@ and limitations under the License.
|
||||
/// <reference no-default-lib="true"/>
|
||||
|
||||
|
||||
/// <reference lib="es2021" />
|
||||
/// <reference lib="es2022" />
|
||||
/// <reference lib="esnext.intl" />
|
||||
|
11
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.esnext.intl.d.ts
generated
vendored
11
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.esnext.intl.d.ts
generated
vendored
@ -19,14 +19,5 @@ and limitations under the License.
|
||||
|
||||
|
||||
declare namespace Intl {
|
||||
type NumberFormatPartTypes = "compact" | "currency" | "decimal" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "fraction" | "group" | "infinity" | "integer" | "literal" | "minusSign" | "nan" | "plusSign" | "percentSign" | "unit" | "unknown";
|
||||
|
||||
interface NumberFormatPart {
|
||||
type: NumberFormatPartTypes;
|
||||
value: string;
|
||||
}
|
||||
|
||||
interface NumberFormat {
|
||||
formatToParts(number?: number | bigint): NumberFormatPart[];
|
||||
}
|
||||
// Empty for now
|
||||
}
|
||||
|
919
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.webworker.d.ts
generated
vendored
919
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.webworker.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
54
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.webworker.iterable.d.ts
generated
vendored
54
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.webworker.iterable.d.ts
generated
vendored
@ -39,40 +39,26 @@ interface FontFaceSet extends Set<FontFace> {
|
||||
|
||||
interface FormData {
|
||||
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
||||
/**
|
||||
* Returns an array of key, value pairs for every entry in the list.
|
||||
*/
|
||||
/** Returns an array of key, value pairs for every entry in the list. */
|
||||
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
||||
/**
|
||||
* Returns a list of keys in the list.
|
||||
*/
|
||||
/** Returns a list of keys in the list. */
|
||||
keys(): IterableIterator<string>;
|
||||
/**
|
||||
* Returns a list of values in the list.
|
||||
*/
|
||||
/** Returns a list of values in the list. */
|
||||
values(): IterableIterator<FormDataEntryValue>;
|
||||
}
|
||||
|
||||
interface Headers {
|
||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns an iterator allowing to go through all key/value pairs contained in this object.
|
||||
*/
|
||||
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
||||
entries(): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
|
||||
*/
|
||||
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
||||
keys(): IterableIterator<string>;
|
||||
/**
|
||||
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
|
||||
*/
|
||||
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
||||
values(): IterableIterator<string>;
|
||||
}
|
||||
|
||||
interface IDBDatabase {
|
||||
/**
|
||||
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
||||
*/
|
||||
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
||||
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
|
||||
}
|
||||
|
||||
@ -90,13 +76,6 @@ interface MessageEvent<T = any> {
|
||||
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
||||
}
|
||||
|
||||
interface ReadableStream<R = any> {
|
||||
[Symbol.iterator](): IterableIterator<any>;
|
||||
entries(): IterableIterator<[number, any]>;
|
||||
keys(): IterableIterator<number>;
|
||||
values(): IterableIterator<any>;
|
||||
}
|
||||
|
||||
interface SubtleCrypto {
|
||||
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
||||
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;
|
||||
@ -109,17 +88,11 @@ interface SubtleCrypto {
|
||||
|
||||
interface URLSearchParams {
|
||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns an array of key, value pairs for every entry in the search params.
|
||||
*/
|
||||
/** Returns an array of key, value pairs for every entry in the search params. */
|
||||
entries(): IterableIterator<[string, string]>;
|
||||
/**
|
||||
* Returns a list of keys in the search params.
|
||||
*/
|
||||
/** Returns a list of keys in the search params. */
|
||||
keys(): IterableIterator<string>;
|
||||
/**
|
||||
* Returns a list of values in the search params.
|
||||
*/
|
||||
/** Returns a list of values in the search params. */
|
||||
values(): IterableIterator<string>;
|
||||
}
|
||||
|
||||
@ -127,6 +100,13 @@ interface WEBGL_draw_buffers {
|
||||
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
||||
}
|
||||
|
||||
interface WEBGL_multi_draw {
|
||||
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
||||
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
||||
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
||||
}
|
||||
|
||||
interface WebGL2RenderingContextBase {
|
||||
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
||||
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
||||
|
10
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/protocol.d.ts
generated
vendored
10
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/protocol.d.ts
generated
vendored
@ -2637,6 +2637,13 @@ declare namespace ts.server.protocol {
|
||||
* values, with insertion text to replace preceding `.` tokens with `?.`.
|
||||
*/
|
||||
readonly includeAutomaticOptionalChainCompletions?: boolean;
|
||||
/**
|
||||
* If enabled, completions for class members (e.g. methods and properties) will include
|
||||
* a whole declaration for the member.
|
||||
* E.g., `class A { f| }` could be completed to `class A { foo(): number {} }`, instead of
|
||||
* `class A { foo }`.
|
||||
*/
|
||||
readonly includeCompletionsWithClassMemberSnippets?: boolean;
|
||||
readonly allowIncompleteCompletions?: boolean;
|
||||
readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
|
||||
/** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
|
||||
@ -2647,6 +2654,7 @@ declare namespace ts.server.protocol {
|
||||
readonly provideRefactorNotApplicableReason?: boolean;
|
||||
readonly allowRenameOfImportPath?: boolean;
|
||||
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
|
||||
readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
|
||||
readonly displayPartsForJSDoc?: boolean;
|
||||
readonly generateReturnInDocTemplate?: boolean;
|
||||
}
|
||||
@ -2757,6 +2765,7 @@ declare namespace ts.server.protocol {
|
||||
ES2019 = "ES2019",
|
||||
ES2020 = "ES2020",
|
||||
ES2021 = "ES2021",
|
||||
ES2022 = "ES2022",
|
||||
ESNext = "ESNext"
|
||||
}
|
||||
const enum ClassificationType {
|
||||
@ -2891,6 +2900,7 @@ declare namespace ts.server.protocol {
|
||||
externalModuleName = "external module name",
|
||||
/**
|
||||
* <JsxTagName attribute1 attribute2={0} />
|
||||
* @deprecated
|
||||
*/
|
||||
jsxAttribute = "JSX attribute",
|
||||
/** String literal */
|
||||
|
732
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/tsserverlibrary.d.ts
generated
vendored
732
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/tsserverlibrary.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
717
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/typescript.d.ts
generated
vendored
717
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/typescript.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
717
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/typescriptServices.d.ts
generated
vendored
717
node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/typescriptServices.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
BIN
node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js.cache
generated
vendored
BIN
node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js.cache
generated
vendored
Binary file not shown.
2
node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js.cache.js
generated
vendored
2
node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js.cache.js
generated
vendored
File diff suppressed because one or more lines are too long
27
node_modules/@vercel/ncc/package.json
generated
vendored
27
node_modules/@vercel/ncc/package.json
generated
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@vercel/ncc",
|
||||
"description": "Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.",
|
||||
"version": "0.33.1",
|
||||
"version": "0.34.0",
|
||||
"repository": "vercel/ncc",
|
||||
"license": "MIT",
|
||||
"main": "./dist/ncc/index.js",
|
||||
@ -15,8 +15,8 @@
|
||||
"build": "node scripts/build.js",
|
||||
"build-test-binary": "cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node",
|
||||
"codecov": "codecov",
|
||||
"test": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest",
|
||||
"test-coverage": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov",
|
||||
"test": "node --expose-gc --max_old_space_size=4096 node_modules/jest/bin/jest.js",
|
||||
"test-coverage": "node --expose-gc --max_old_space_size=4096 node_modules/jest/bin/jest.js --coverage --globals \"{\\\"coverage\\\":true}\" && codecov",
|
||||
"prepublishOnly": "node scripts/build.js --no-cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -27,9 +27,9 @@
|
||||
"@google-cloud/firestore": "^4.14.0",
|
||||
"@sentry/node": "^6.10.0",
|
||||
"@slack/web-api": "^6.3.0",
|
||||
"@tensorflow/tfjs-node": "^3.8.0",
|
||||
"@vercel/webpack-asset-relocator-loader": "1.7.0",
|
||||
"analytics-node": "^5.0.0",
|
||||
"@tensorflow/tfjs-node": "^3.12.0",
|
||||
"@vercel/webpack-asset-relocator-loader": "1.7.2",
|
||||
"analytics-node": "^6.0.0",
|
||||
"apollo-server-express": "^2.2.2",
|
||||
"arg": "^5.0.0",
|
||||
"auth0": "^2.14.0",
|
||||
@ -57,31 +57,30 @@
|
||||
"got": "^11.8.2",
|
||||
"graceful-fs": "^4.1.15",
|
||||
"graphql": "^15.5.1",
|
||||
"highlights": "^3.1.1",
|
||||
"hot-shots": "^8.5.0",
|
||||
"ioredis": "^4.2.0",
|
||||
"isomorphic-unfetch": "^3.0.0",
|
||||
"jest": "^27.0.6",
|
||||
"jest": "^27.5.1",
|
||||
"jimp": "^0.16.1",
|
||||
"jugglingdb": "2.0.1",
|
||||
"koa": "^2.6.2",
|
||||
"leveldown": "^6.0.0",
|
||||
"license-webpack-plugin": "2.3.20",
|
||||
"license-webpack-plugin": "^4.0.2",
|
||||
"lighthouse": "^8.1.0",
|
||||
"loopback": "^3.24.0",
|
||||
"mailgun": "^0.5.0",
|
||||
"mariadb": "^2.0.1-beta",
|
||||
"memcached": "^2.2.2",
|
||||
"memory-fs": "^0.5.0",
|
||||
"mkdirp": "^1.0.4",
|
||||
"mongoose": "^5.3.12",
|
||||
"mysql": "^2.16.0",
|
||||
"node-gyp": "^8.1.0",
|
||||
"node-gyp": "^8.4.1",
|
||||
"npm": "^6.13.4",
|
||||
"oracledb": "^4.2.0",
|
||||
"passport": "^0.4.0",
|
||||
"passport": "^0.5.2",
|
||||
"passport-google-oauth": "^2.0.0",
|
||||
"path-platform": "^0.11.15",
|
||||
"pdf2json": "^1.1.8",
|
||||
"pdfkit": "^0.12.1",
|
||||
"pg": "^8.7.1",
|
||||
"pug": "^3.0.1",
|
||||
@ -101,7 +100,7 @@
|
||||
"terser": "^5.6.1",
|
||||
"the-answer": "^1.0.0",
|
||||
"tiny-json-http": "^7.0.2",
|
||||
"ts-loader": "^8.3.0",
|
||||
"ts-loader": "^9.3.0",
|
||||
"tsconfig-paths": "^3.7.0",
|
||||
"tsconfig-paths-webpack-plugin": "^3.2.0",
|
||||
"twilio": "^3.23.2",
|
||||
@ -114,6 +113,6 @@
|
||||
"when": "^3.7.8"
|
||||
},
|
||||
"resolutions": {
|
||||
"grpc": "1.24.6"
|
||||
"grpc": "1.24.11"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user