update to ts 4.8 and fix errors - tests no longer working

This commit is contained in:
Chris Holt 2023-09-28 21:27:30 -07:00
Родитель 0dea28d8c8
Коммит b0708a8e08
58 изменённых файлов: 256 добавлений и 623 удалений

Просмотреть файл

@ -19,8 +19,8 @@
},
"devDependencies": {
"rimraf": "^3.0.2",
"ts-loader": "^7.0.1",
"typescript": "^4.6.2",
"ts-loader": "~9.4.0",
"typescript": "~4.8.0",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"

Просмотреть файл

@ -20,8 +20,8 @@
"devDependencies": {
"http-server": "^14.1.0",
"rimraf": "^3.0.2",
"ts-loader": "^7.0.1",
"typescript": "^4.6.2",
"ts-loader": "~9.4.0",
"typescript": "~4.8.0",
"webpack": "^4.44.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"

Просмотреть файл

@ -69,6 +69,7 @@
},
"resolutions": {
"@microsoft/fast-tooling": "^0.37.7",
"@types/node": "~20.7.0",
"@types/react": "^16.14.0",
"browserslist": "^4.16.5",
"clean-css": "^4.2.3",
@ -88,7 +89,7 @@
"node-gyp": "^9.0.0",
"trim-newlines": "^4.0.2",
"trim": "^0.0.3",
"typescript": "^4.6.2",
"typescript": "~4.8.0",
"ua-parser-js": "^0.7.28",
"ws": "^7.4.6",
"xmlhttprequest-ssl": "^1.6.2"
@ -98,7 +99,7 @@
"@babel/preset-env": "^7.12.13",
"@octokit/rest": "^18.0.6",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.0.1",
"@types/node": "~20.7.0",
"beachball": "^2.24.0",
"chalk": "^2.4.2",
"copyfiles": "^2.4.1",
@ -112,8 +113,8 @@
"markdown-it": "^12.3.2",
"prettier": "2.0.2",
"rimraf": "^3.0.2",
"ts-node": "^8.8.2",
"typescript": "^4.6.2",
"ts-node": "~10.9.0",
"typescript": "~4.8.0",
"yargs": "^16.2.0"
},
"dependencies": {

Просмотреть файл

@ -22,14 +22,14 @@
},
"devDependencies": {
"@types/benchmark": "^2.1.0",
"@types/node": "^15.0.1",
"@types/node": "~20.7.0",
"benchmark": "^2.1.4",
"chalk": "^2.4.2",
"commander": "^7.2.0",
"html-webpack-plugin": "^5.3.1",
"prettier": "2.0.2",
"ts-loader": "^8.1.0",
"typescript": "^4.6.2",
"ts-loader": "~9.4.0",
"typescript": "~4.8.0",
"webpack": "^5.30.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^4.0.0-beta.1"

Просмотреть файл

@ -42,6 +42,6 @@
"@microsoft/eslint-config-fast-dna": "^2.1.0",
"eslint-config-prettier": "^6.10.1",
"prettier": "2.0.2",
"typescript": "^4.6.2"
"typescript": "~4.8.0"
}
}

Просмотреть файл

@ -44,7 +44,7 @@
"test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
},
"devDependencies": {
"@microsoft/api-extractor": "7.23.1",
"@microsoft/api-extractor": "7.37.2",
"@types/chai": "^4.2.11",
"@types/karma": "^5.0.0",
"@types/mocha": "^7.0.2",
@ -80,10 +80,10 @@
"rollup-plugin-typescript2": "^0.27.0",
"source-map": "^0.7.3",
"source-map-loader": "^0.2.4",
"ts-loader": "^7.0.2",
"ts-node": "^8.9.1",
"ts-loader": "~9.4.0",
"ts-node": "~10.9.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.6.2",
"typescript": "~4.8.0",
"webpack": "^4.44.0"
},
"dependencies": {

Просмотреть файл

@ -65,8 +65,8 @@
"karma-webpack": "^4.0.2",
"mocha": "^7.1.2",
"prettier": "2.0.2",
"ts-loader": "^4.0.1",
"typescript": "^4.6.2"
"ts-loader": "~9.4.0",
"typescript": "~4.8.0"
},
"dependencies": {
"exenv-es6": "^1.1.1"

Просмотреть файл

@ -314,7 +314,7 @@ export const FASTElement: (new () => HTMLElement & FASTElement) & {
new (): HTMLElement;
prototype: HTMLElement;
}>(BaseType: TBase): new () => InstanceType<TBase> & FASTElement;
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition | undefined): TType;
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition): TType;
};
// @public
@ -440,7 +440,7 @@ export const Observable: Readonly<{
notify(source: unknown, args: any): void;
defineProperty(target: {}, nameOrAccessor: string | Accessor): void;
getAccessors: (target: {}) => Accessor[];
binding<TSource = any, TReturn = any, TParent = any>(binding: Binding<TSource, TReturn, TParent>, initialSubscriber?: Subscriber | undefined, isVolatileBinding?: boolean): BindingObserver<TSource, TReturn, TParent>;
binding<TSource = any, TReturn = any, TParent = any>(binding: Binding<TSource, TReturn, TParent>, initialSubscriber?: Subscriber, isVolatileBinding?: boolean): BindingObserver<TSource, TReturn, TParent>;
isVolatileBinding<TSource_1 = any, TReturn_1 = any, TParent_1 = any>(binding: Binding<TSource_1, TReturn_1, TParent_1>): boolean;
}>;

Просмотреть файл

@ -46,7 +46,7 @@
"test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
},
"devDependencies": {
"@microsoft/api-extractor": "7.23.1",
"@microsoft/api-extractor": "7.37.2",
"@types/chai": "^4.2.11",
"@types/chai-spies": "^1.0.3",
"@types/karma": "^5.0.0",
@ -80,11 +80,11 @@
"rollup-plugin-typescript2": "^0.27.0",
"source-map": "^0.7.3",
"source-map-loader": "^0.2.4",
"ts-loader": "^7.0.2",
"ts-node": "^8.9.1",
"ts-loader": "~9.4.0",
"ts-node": "~10.9.0",
"tsconfig-paths": "^3.9.0",
"tslib": "^1.11.1",
"typescript": "^4.6.2",
"typescript": "~4.8.0",
"webpack": "^4.44.0"
}
}

Просмотреть файл

@ -68,7 +68,7 @@ export const accordionItemTemplate: FoundationElementTemplate<ViewTemplate<Accor
export const accordionTemplate: FoundationElementTemplate<ViewTemplate<Accordion>>;
// @public
export const all: (key: any, searchAncestors?: boolean | undefined) => ReturnType<typeof DI.inject>;
export const all: (key: any, searchAncestors?: boolean) => ReturnType<typeof DI.inject>;
// Warning: (ae-different-release-tags) This symbol has another declaration with a different release tag
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Anchor" because one of its declarations is marked as @internal
@ -918,7 +918,7 @@ export interface DesignSystem {
export const DesignSystem: Readonly<{
tagFor(type: Constructable): string;
responsibleFor(element: HTMLElement): DesignSystem;
getOrCreate(node?: Node | undefined): DesignSystem;
getOrCreate(node?: Node): DesignSystem;
}>;
// @public
@ -973,17 +973,17 @@ export type DesignTokenValue<T> = StaticDesignTokenValue<T> | DerivedDesignToken
// @public
export const DI: Readonly<{
createContainer(config?: Partial<ContainerConfiguration> | undefined): Container;
createContainer(config?: Partial<ContainerConfiguration>): Container;
findResponsibleContainer(node: Node): Container;
findParentContainer(node: Node): Container;
getOrCreateDOMContainer(node?: Node | undefined, config?: Partial<Omit<ContainerConfiguration, "parentLocator">> | undefined): Container;
getOrCreateDOMContainer(node?: Node, config?: Partial<Omit<ContainerConfiguration, "parentLocator">>): Container;
getDesignParamtypes: (Type: Constructable | Injectable) => readonly Key[] | undefined;
getAnnotationParamtypes: (Type: Constructable | Injectable) => readonly Key[] | undefined;
getOrCreateAnnotationParamTypes(Type: Constructable | Injectable): Key[];
getDependencies(Type: Constructable | Injectable): Key[];
defineProperty(target: {}, propertyName: string, key: Key, respectConnection?: boolean): void;
createInterface<K extends Key>(nameConfigOrCallback?: string | InterfaceConfiguration | ((builder: ResolverBuilder<K>) => Resolver<K>) | undefined, configuror?: ((builder: ResolverBuilder<K>) => Resolver<K>) | undefined): InterfaceSymbol<K>;
inject(...dependencies: Key[]): (target: any, key?: string | number | undefined, descriptor?: number | PropertyDescriptor | undefined) => void;
inject(...dependencies: Key[]): (target: any, key?: string | number, descriptor?: PropertyDescriptor | number) => void;
transient<T extends Constructable<{}>>(target: T & Partial<RegisterSelf<T>>): T & RegisterSelf<T>;
singleton<T_1 extends Constructable<{}>>(target: T_1 & Partial<RegisterSelf<T_1>>, options?: SingletonOptions): T_1 & RegisterSelf<T_1>;
}>;
@ -1174,7 +1174,7 @@ export const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMed
// @alpha
export function FormAssociated<T extends ConstructableFormAssociated>(BaseCtor: T): T;
// Warning: (ae-forgotten-export) The symbol "ElementInternals" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "ElementInternals_2" needs to be exported by the entry point index.d.ts
//
// @alpha
export interface FormAssociated extends Omit<ElementInternals_2, "labels"> {
@ -1349,7 +1349,7 @@ export type HorizontalScrollView = "default" | "mobile";
export function ignore(target: Injectable, property?: string | number, descriptor?: PropertyDescriptor | number): void;
// @public
export const inject: (...dependencies: Key[]) => (target: any, key?: string | number | undefined, descriptor?: number | PropertyDescriptor | undefined) => void;
export const inject: (...dependencies: Key[]) => (target: any, key?: string | number, descriptor?: PropertyDescriptor | number) => void;
// @public
export type Injectable<T = {}> = Constructable<T> & {
@ -2819,7 +2819,7 @@ export type YearFormat = "2-digit" | "numeric";
// Warnings were encountered during analysis:
//
// dist/dts/design-token/design-token.d.ts:91:5 - (ae-forgotten-export) The symbol "create" needs to be exported by the entry point index.d.ts
// dist/dts/design-token/design-token.d.ts:94:5 - (ae-forgotten-export) The symbol "create" needs to be exported by the entry point index.d.ts
// dist/dts/di/di.d.ts:513:5 - (ae-forgotten-export) The symbol "SingletonOptions" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package)

Просмотреть файл

@ -53,7 +53,7 @@
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.5.7",
"@custom-elements-manifest/to-markdown": "^0.1.0",
"@microsoft/api-extractor": "7.23.1",
"@microsoft/api-extractor": "7.37.2",
"@microsoft/tsdoc-config": "^0.13.4",
"@types/chai": "^4.2.11",
"@types/karma": "^5.0.0",
@ -88,10 +88,10 @@
"rollup-plugin-typescript2": "^0.27.0",
"source-map": "^0.7.3",
"source-map-loader": "^0.2.4",
"ts-loader": "^7.0.2",
"ts-node": "^8.9.1",
"ts-loader": "~9.4.0",
"ts-node": "~10.9.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.6.2",
"typescript": "~4.8.0",
"webpack": "^4.44.0"
},
"dependencies": {

Просмотреть файл

@ -134,12 +134,6 @@ export const myAccordionItem = AccordionItem.compose<AccordionItemOptions>({
| -------- | ---- | ---------------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when the active item changes | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ---------- | -------------- |
| `expand-mode` | expandmode | |
#### CSS Parts
| Name | Description |
@ -190,14 +184,6 @@ export const myAccordionItem = AccordionItem.compose<AccordionItemOptions>({
| -------- | ---- | -------------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when the button is invoked | |
#### Attributes
| Name | Field | Inherited From |
| --------------- | ------------ | -------------- |
| `heading-level` | headinglevel | |
| | expanded | |
| `id` | id | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -91,19 +91,6 @@ This component is built with the expectation that focus is delegated to the anch
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---------------- | -------------- | -------------- |
| `download` | download | |
| `href` | href | |
| `hreflang` | hreflang | |
| `ping` | ping | |
| `referrerpolicy` | referrerpolicy | |
| `rel` | rel | |
| `target` | target | |
| `type` | type | |
#### CSS Parts
| Name | Description |
@ -129,12 +116,6 @@ This component is built with the expectation that focus is delegated to the anch
| -------------- | ------- | ------------------------------------- | ------- | -------------------------------------------------------------------- | -------------- |
| `ariaExpanded` | public | `"true" or "false" or string or null` | | See https://www.w3.org/WAI/PF/aria/roles#link for more information | |
#### Attributes
| Name | Field | Inherited From |
| --------------- | ------------ | -------------- |
| `aria-expanded` | ariaExpanded | |
<hr/>

Просмотреть файл

@ -126,27 +126,6 @@ export const myAnchoredRegion = AnchoredRegion.compose({
| `loaded` | | Fires a custom 'loaded' event when the region is loaded and visible | |
| `positionchange` | | Fires a custom 'positionchange' event when the position has changed | |
#### Attributes
| Name | Field | Inherited From |
| ----------------------------- | ------------------------- | -------------- |
| `anchor` | anchor | |
| `viewport` | viewport | |
| `horizontal-positioning-mode` | horizontalPositioningMode | |
| `horizontal-default-position` | horizontalDefaultPosition | |
| `horizontal-viewport-lock` | horizontalViewportLock | |
| `horizontal-inset` | horizontalInset | |
| `horizontal-threshold` | horizontalThreshold | |
| `horizontal-scaling` | horizontalScaling | |
| `vertical-positioning-mode` | verticalPositioningMode | |
| `vertical-default-position` | verticalDefaultPosition | |
| `vertical-viewport-lock` | verticalViewportLock | |
| `vertical-inset` | verticalInset | |
| `vertical-threshold` | verticalThreshold | |
| `vertical-scaling` | verticalScaling | |
| `fixed-placement` | fixedPlacement | |
| `auto-update-mode` | autoUpdateMode | |
#### Slots
| Name | Description |

Просмотреть файл

@ -150,15 +150,6 @@ This component is built with the expectation that focus is delegated to the anch
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------- | ----- | -------------- |
| `fill` | fill | |
| `color` | color | |
| `link` | link | |
| `shape` | shape | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -83,14 +83,6 @@ export const myBadge = Badge.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------- | -------- | -------------- |
| `fill` | fill | |
| `color` | color | |
| | circular | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -172,19 +172,6 @@ This component is built with the expectation that focus is delegated to the anch
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---------------- | -------------- | -------------- |
| `download` | download | Anchor |
| `href` | href | Anchor |
| `hreflang` | hreflang | Anchor |
| `ping` | ping | Anchor |
| `referrerpolicy` | referrerpolicy | Anchor |
| `rel` | rel | Anchor |
| `target` | target | Anchor |
| `type` | type | Anchor |
<hr/>

Просмотреть файл

@ -94,19 +94,6 @@ This component is built with the expectation that focus is delegated to the butt
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------------- | -------------- | -------------- |
| | autofocus | |
| `form` | formId | |
| `formaction` | formaction | |
| `formenctype` | formenctype | |
| `formmethod` | formmethod | |
| | formnovalidate | |
| `formtarget` | formtarget | |
| `type` | type | |
#### CSS Parts
| Name | Description |
@ -133,13 +120,6 @@ This component is built with the expectation that focus is delegated to the butt
| `ariaExpanded` | public | `"true" or "false" or string or null` | | See https://www.w3.org/WAI/PF/aria/roles#button for more information | |
| `ariaPressed` | public | `"true" or "false" or "mixed" or string or null` | | See https://www.w3.org/WAI/PF/aria/roles#button for more information | |
#### Attributes
| Name | Field | Inherited From |
| --------------- | ------------ | -------------- |
| `aria-expanded` | ariaExpanded | |
| `aria-pressed` | ariaPressed | |
<hr/>

Просмотреть файл

@ -108,12 +108,6 @@ export const myCheckbox = Checkbox.compose<CheckboxOptions>({
| -------- | ---- | ---------------------------------------------------------- | -------------- |
| `change` | | Emits a custom change event when the checked state changes | |
#### Attributes
| Name | Field | Inherited From |
| ---------- | -------- | -------------- |
| `readonly` | readOnly | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -153,16 +153,6 @@ See [listbox-option](/docs/components/listbox-option) for more information.
| -------- | ---- | ---------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when the value updates | |
#### Attributes
| Name | Field | Inherited From |
| -------------- | ----------------- | -------------- |
| `autocomplete` | autocomplete | |
| `open` | open | |
| `placeholder` | placeholder | |
| `position` | positionAttribute | |
| | disabled | Listbox |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -132,13 +132,6 @@ export const myDataGrid = DataGrid.compose({
| -------------- | ---- | ----------------------------------------------------------------------------- | -------------- |
| `cell-focused` | | Fires a custom 'cell-focused' event when focus is on the cell or its contents | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ---------- | -------------- |
| `cell-type` | cellType | |
| `grid-column` | gridColumn | |
#### Slots
| Name | Description |
@ -188,13 +181,6 @@ export const myDataGrid = DataGrid.compose({
| ------------- | ---- | ---------------------------------------------------------------------------------------------------------- | -------------- |
| `row-focused` | | Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row | |
#### Attributes
| Name | Field | Inherited From |
| ----------------------- | ------------------- | -------------- |
| `grid-template-columns` | gridTemplateColumns | |
| `row-type` | rowType | |
#### Slots
| Name | Description |
@ -257,14 +243,6 @@ export const myDataGrid = DataGrid.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ----------------------- | ------------------- | -------------- |
| `no-tabbing` | noTabbing | |
| `generate-header` | generateHeader | |
| `grid-template-columns` | gridTemplateColumns | |
#### Slots
| Name | Description |

Просмотреть файл

@ -77,6 +77,18 @@ export interface DesignToken<
unsubscribe(subscriber: DesignTokenSubscriber<this>, target?: HTMLElement): void;
}
type ValidDesignTokenType =
| string
| number
| boolean
| BigInteger
| null
| Array<any>
| symbol
| {
createCSS?(): string;
};
/**
* A {@link (DesignToken:interface)} that emits a CSS custom property.
* @public
@ -143,7 +155,7 @@ class DesignTokenImpl<T extends { createCSS?(): string }> extends CSSDirective
return [...this._appliedTo];
}
public static from<T>(
public static from<T extends { createCSS?(): string }>(
nameOrConfig: string | DesignTokenConfiguration
): DesignTokenImpl<T> {
return new DesignTokenImpl<T>({
@ -157,7 +169,7 @@ class DesignTokenImpl<T extends { createCSS?(): string }> extends CSSDirective
});
}
public static isCSSDesignToken<T>(
public static isCSSDesignToken<T extends ValidDesignTokenType>(
token: DesignToken<T> | CSSDesignToken<T>
): token is CSSDesignToken<T> {
return typeof (token as CSSDesignToken<T>).cssCustomProperty === "string";
@ -349,7 +361,7 @@ class CustomPropertyReflector {
* A light wrapper around BindingObserver to handle value caching and
* token notification
*/
class DesignTokenBindingObserver<T> {
class DesignTokenBindingObserver<T extends { createCSS?(): string }> {
public readonly dependencies = new Set<DesignTokenImpl<any>>();
private observer: BindingObserver<HTMLElement, DerivedDesignTokenValue<T>>;
constructor(
@ -394,19 +406,24 @@ class DesignTokenBindingObserver<T> {
*/
class Store {
private values = new Map<DesignTokenImpl<any>, any>();
set<T>(token: DesignTokenImpl<T>, value: StaticDesignTokenValue<T>) {
set<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>,
value: StaticDesignTokenValue<T>
) {
if (this.values.get(token) !== value) {
this.values.set(token, value);
Observable.getNotifier(this).notify(token.id);
}
}
get<T>(token: DesignTokenImpl<T>): StaticDesignTokenValue<T> | undefined {
get<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>
): StaticDesignTokenValue<T> | undefined {
Observable.track(this, token.id);
return this.values.get(token);
}
delete<T>(token: DesignTokenImpl<T>) {
delete<T extends { createCSS?(): string }>(token: DesignTokenImpl<T>) {
this.values.delete(token);
}
@ -471,7 +488,7 @@ class DesignTokenNode implements Behavior, Subscriber {
* @param start - The node to start looking for value assignment
* @returns
*/
public static findClosestAssignedNode<T>(
public static findClosestAssignedNode<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>,
start: DesignTokenNode
): DesignTokenNode | null {
@ -581,7 +598,7 @@ class DesignTokenNode implements Behavior, Subscriber {
* Checks if a token has been assigned an explicit value the node.
* @param token - the token to check.
*/
public has<T>(token: DesignTokenImpl<T>): boolean {
public has<T extends { createCSS?(): string }>(token: DesignTokenImpl<T>): boolean {
return this.assignedValues.has(token);
}
@ -590,7 +607,9 @@ class DesignTokenNode implements Behavior, Subscriber {
* @param token - The token to retrieve the value for
* @returns
*/
public get<T>(token: DesignTokenImpl<T>): StaticDesignTokenValue<T> | undefined {
public get<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>
): StaticDesignTokenValue<T> | undefined {
const value = this.store.get(token);
if (value !== undefined) {
@ -610,7 +629,9 @@ class DesignTokenNode implements Behavior, Subscriber {
* @param token - The token to retrieve a raw value for
* @returns
*/
public getRaw<T>(token: DesignTokenImpl<T>): DesignTokenValue<T> | undefined {
public getRaw<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>
): DesignTokenValue<T> | undefined {
if (this.assignedValues.has(token)) {
return this.assignedValues.get(token);
}
@ -623,7 +644,10 @@ class DesignTokenNode implements Behavior, Subscriber {
* @param token - The token to set
* @param value - The value to set the token to
*/
public set<T>(token: DesignTokenImpl<T>, value: DesignTokenValue<T>): void {
public set<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>,
value: DesignTokenValue<T>
): void {
if (DesignTokenImpl.isDerivedDesignTokenValue(this.assignedValues.get(token))) {
this.tearDownBindingObserver(token);
}
@ -641,7 +665,7 @@ class DesignTokenNode implements Behavior, Subscriber {
* Deletes a token value for the node.
* @param token - The token to delete the value for
*/
public delete<T>(token: DesignTokenImpl<T>): void {
public delete<T extends { createCSS?(): string }>(token: DesignTokenImpl<T>): void {
this.assignedValues.delete(token);
this.tearDownBindingObserver(token);
const upstream = this.getRaw(token);
@ -783,7 +807,10 @@ class DesignTokenNode implements Behavior, Subscriber {
* @param token - The token to hydrate
* @param value - The value to hydrate
*/
public hydrate<T>(token: DesignTokenImpl<T>, value: DesignTokenValue<T>) {
public hydrate<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>,
value: DesignTokenValue<T>
) {
if (!this.has(token)) {
const observer = this.bindingObservers.get(token);
@ -815,7 +842,7 @@ class DesignTokenNode implements Behavior, Subscriber {
* @param token - The token to notify when the binding updates
* @param source - The binding source
*/
private setupBindingObserver<T>(
private setupBindingObserver<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>,
source: DerivedDesignTokenValue<T>
): DesignTokenBindingObserver<T> {
@ -828,7 +855,9 @@ class DesignTokenNode implements Behavior, Subscriber {
/**
* Tear down a binding observer for a token.
*/
private tearDownBindingObserver<T>(token: DesignTokenImpl<T>): boolean {
private tearDownBindingObserver<T extends { createCSS?(): string }>(
token: DesignTokenImpl<T>
): boolean {
if (this.bindingObservers.has(token)) {
this.bindingObservers.get(token)!.disconnect();
this.bindingObservers.delete(token);
@ -845,16 +874,18 @@ function create<T extends Function>(
function create<T extends undefined | void>(
nameOrConfig: string | DesignTokenConfiguration
): never;
function create<T>(nameOrConfig: string): CSSDesignToken<T>;
function create<T>(
function create<T extends ValidDesignTokenType>(nameOrConfig: string): CSSDesignToken<T>;
function create<T extends ValidDesignTokenType>(
nameOrConfig:
| Omit<DesignTokenConfiguration, "cssCustomPropertyName">
| (DesignTokenConfiguration & Record<"cssCustomPropertyName", string>)
): CSSDesignToken<T>;
function create<T>(
function create<T extends ValidDesignTokenType>(
nameOrConfig: DesignTokenConfiguration & Record<"cssCustomPropertyName", null>
): DesignToken<T>;
function create<T>(nameOrConfig: string | DesignTokenConfiguration): any {
function create<T extends ValidDesignTokenType>(
nameOrConfig: string | DesignTokenConfiguration
): any {
return DesignTokenImpl.from(nameOrConfig);
}
/* eslint-enable @typescript-eslint/no-unused-vars */

Просмотреть файл

@ -1721,7 +1721,7 @@ export class ContainerImpl implements Container {
}
}
throw new Error(`Unable to resolve key: ${key}`);
throw new Error(`Unable to resolve key: ${String(key)}`);
}
public getAll<K extends Key>(

Просмотреть файл

@ -91,17 +91,6 @@ export const myDialog = Dialog.compose({
| `cancel` | | Fires a custom 'cancel' event when the modal overlay is clicked | |
| `close` | | Fires a custom 'close' event when the dialog is hidden | |
#### Attributes
| Name | Field | Inherited From |
| ------------------ | --------------- | -------------- |
| | modal | |
| | hidden | |
| `trap-focus` | trapFocus | |
| `aria-describedby` | ariaDescribedby | |
| `aria-labelledby` | ariaLabelledby | |
| `aria-label` | ariaLabel | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -91,13 +91,6 @@ export const myDisclosure = Disclosure.compose({
| -------- | ---- | ------------------------------------------------ | -------------- |
| `toggle` | | fires a toggle event when the summary is toggled | |
#### Attributes
| Name | Field | Inherited From |
| ------- | -------- | -------------- |
| | expanded | |
| `title` | title | |
#### Slots
| Name | Description |

Просмотреть файл

@ -80,13 +80,6 @@ export const myDivider = Divider.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `role` | role | |
| `orientation` | orientation | |
<hr/>

Просмотреть файл

@ -121,14 +121,6 @@ export const myFlipper = Flipper.compose<FlipperOptions>({
| ------- | ---- | ------------------------------------------------------------------------------------------------------------------------------ | -------------- |
| `click` | | Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies. | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ------------ | -------------- |
| | disabled | |
| `aria-hidden` | hiddenFromAT | |
| `direction` | direction | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -177,16 +177,6 @@ export const myHorizontalScroll = HorizontalScroll.compose<HorizontalScrollOptio
| `scrollstart` | | Fires a custom 'scrollstart' event when scrolling | |
| `scrollend` | | Fires a custom 'scrollend' event when scrolling stops | |
#### Attributes
| Name | Field | Inherited From |
| ------------------------- | -------------------- | -------------- |
| | speed | |
| `duration` | duration | |
| `easing` | easing | |
| `flippers-hidden-from-at` | flippersHiddenFromAT | |
| `view` | view | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -90,14 +90,6 @@ export const myOption = ListboxOption.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---------- | ----------------- | -------------- |
| | disabled | |
| `selected` | selectedAttribute | |
| `value` | initialValue | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -99,13 +99,6 @@ See [listbox-option](/docs/components/listbox-option) for more information.
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---- | -------- | -------------- |
| | multiple | Listbox |
| | multiple | Listbox |
<hr/>
@ -147,12 +140,6 @@ See [listbox-option](/docs/components/listbox-option) for more information.
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---- | -------- | -------------- |
| | disabled | |
#### Slots
| Name | Description |

Просмотреть файл

@ -216,15 +216,6 @@ export const myMenuItem = MenuItem.compose<MenuItemOptions>({
| `expanded-change` | | Fires a custom 'expanded-change' event when the expanded state changes | |
| `change` | | Fires a custom 'change' event when a non-submenu item with a role of \`menuitemcheckbox\`, \`menuitemradio\`, or \`menuitem\` is invoked | |
#### Attributes
| Name | Field | Inherited From |
| ------ | -------- | -------------- |
| | disabled | |
| | expanded | |
| `role` | role | |
| | checked | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -124,22 +124,6 @@ This component is built with the expectation that focus is delegated to the inpu
| `input` | | Fires a custom 'input' event when the value has changed | |
| `change` | | Fires a custom 'change' event when the value has changed | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `readonly` | readOnly | |
| | autofocus | |
| `hide-step` | hideStep | |
| `placeholder` | placeholder | |
| `list` | list | |
| | maxlength | |
| | minlength | |
| | size | |
| | step | |
| | max | |
| | min | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -69,12 +69,6 @@ export class FASTTextField extends TextField {}
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------- | ----- | -------------- |
| `value` | value | |
<hr/>
@ -132,12 +126,6 @@ export class FASTTextField extends TextField {}
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------- | ----- | -------------- |
| `value` | value | |
<hr/>
@ -227,23 +215,6 @@ export class FASTTextField extends TextField {}
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---------------------------- | ------------------------ | -------------- |
| `selection` | selection | |
| `options` | options | |
| `filter-selected` | filterSelected | |
| `filter-query` | filterQuery | |
| `max-selected` | maxSelected | |
| `no-suggestions-text` | noSuggestionsText | |
| `suggestions-available-text` | suggestionsAvailableText | |
| `loading-text` | loadingText | |
| `label` | label | |
| `labelledby` | labelledBy | |
| `placeholder` | placeholder | |
| `menu-placement` | menuPlacement | |
<hr/>

Просмотреть файл

@ -133,15 +133,6 @@ export const myProgressRing = ProgressRing.compose<ProgressRingOptions>({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---- | ------ | -------------- |
| | value | |
| | min | |
| | max | |
| | paused | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -92,16 +92,6 @@ export const myRadioGroup = RadioGroup.compose({
| -------- | ---- | ---------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when the value changes | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `readonly` | readOnly | |
| `disabled` | disabled | |
| `name` | name | |
| `value` | value | |
| `orientation` | orientation | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -111,12 +111,6 @@ export const myRadio = Radio.compose<RadioOptions>({
| -------- | ---- | ---------------------------------------------------------- | -------------- |
| `change` | | Emits a custom change event when the checked state changes | |
#### Attributes
| Name | Field | Inherited From |
| ---------- | -------- | -------------- |
| `readonly` | readOnly | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -94,20 +94,6 @@ This component is built with the expectation that focus is delegated to the inpu
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `readonly` | readOnly | |
| | autofocus | |
| `placeholder` | placeholder | |
| `list` | list | |
| | maxlength | |
| | minlength | |
| `pattern` | pattern | |
| | size | |
| | spellcheck | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -143,14 +143,6 @@ See [listbox-option](/docs/components/listbox-option) for more information.
| `input` | | Fires a custom 'input' event when the value updates | |
| `change` | | Fires a custom 'change' event when the value updates | |
#### Attributes
| Name | Field | Inherited From |
| ---------- | ----------------- | -------------- |
| `open` | open | |
| `position` | positionAttribute | |
| | multiple | Listbox |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -166,15 +166,6 @@ export const mySkeleton = Skeleton.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| --------- | ------- | -------------- |
| `fill` | fill | |
| `shape` | shape | |
| `pattern` | pattern | |
| | shimmer | |
#### Slots
| Name | Description |

Просмотреть файл

@ -163,17 +163,6 @@ export const mySliderLabel = SliderLabel.compose({
| -------- | ---- | ----------------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when the slider value changes | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `readonly` | readOnly | |
| | min | |
| | max | |
| | step | |
| `orientation` | orientation | |
| `mode` | mode | |
#### CSS Parts
| Name | Description |
@ -230,14 +219,6 @@ export const mySliderLabel = SliderLabel.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ----------- | -------- | -------------- |
| `position` | position | |
| `hide-mark` | hideMark | |
| `disabled` | disabled | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -103,12 +103,6 @@ export const mySwitch = Switch.compose<SwitchOptions>({
| -------- | ---- | ---------------------------------------------------------- | -------------- |
| `change` | | Emits a custom change event when the checked state changes | |
#### Attributes
| Name | Field | Inherited From |
| ---------- | -------- | -------------- |
| `readonly` | readOnly | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -140,14 +140,6 @@ export const myTabs = Tabs.compose({
| -------- | ---- | --------------------------------------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when a tab is clicked or during keyboard navigation | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | --------------- | -------------- |
| `orientation` | orientation | |
| `activeid` | activeid | |
| | activeindicator | |
#### CSS Parts
| Name | Description |
@ -235,12 +227,6 @@ export const myTabs = Tabs.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ---- | -------- | -------------- |
| | disabled | |
#### Slots
| Name | Description |

Просмотреть файл

@ -42,7 +42,7 @@ async function setup() {
const [tabPanel1, tabPanel2, tabPanel3] = Array.from(
element.querySelectorAll("fast-tab-panel")
);
const [tab1, tab2, tab3] = Array.from(element.querySelectorAll("fast-tab"));
const [tab1, tab2, tab3] = Array.from<HTMLElement>(element.querySelectorAll("fast-tab"));
return {
element,

Просмотреть файл

@ -109,23 +109,6 @@ This component is built with the expectation that focus is delegated to the inpu
| -------- | ---- | -------------------------------------------------------------------- | -------------- |
| `change` | | Emits a custom 'change' event when the textarea emits a change event | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| | readOnly | |
| `resize` | resize | |
| | autofocus | |
| `form` | formId | |
| `list` | list | |
| | maxlength | |
| | minlength | |
| `name` | name | |
| `placeholder` | placeholder | |
| | cols | |
| | rows | |
| | spellcheck | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -112,21 +112,6 @@ This component is built with the expectation that focus is delegated to the inpu
| -------- | ---- | -------------------------------------------------------- | -------------- |
| `change` | | Fires a custom 'change' event when the value has changed | |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `readonly` | readOnly | |
| | autofocus | |
| `placeholder` | placeholder | |
| `type` | type | |
| `list` | list | |
| | maxlength | |
| | minlength | |
| `pattern` | pattern | |
| | size | |
| | spellcheck | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -111,12 +111,6 @@ export const myToolbar = Toolbar.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------------- | ----------- | -------------- |
| `orientation` | orientation | |
#### CSS Parts
| Name | Description |
@ -143,13 +137,6 @@ export const myToolbar = Toolbar.compose({
| `ariaLabelledby` | public | `string or null` | | The id of the element labeling the toolbar. | |
| `ariaLabel` | public | `string or null` | | The label surfaced to assistive technologies. | |
#### Attributes
| Name | Field | Inherited From |
| ----------------- | -------------- | -------------- |
| `aria-labelledby` | ariaLabelledby | |
| `aria-label` | ariaLabel | |
<hr/>

Просмотреть файл

@ -95,18 +95,6 @@ export const myTooltip = Tooltip.compose({
| --------- | ---- | ------------------------------------------------------------------------------------ | -------------- |
| `dismiss` | | Fires a custom 'dismiss' event when the tooltip is visible and escape key is pressed | |
#### Attributes
| Name | Field | Inherited From |
| -------------------------- | ---------------------- | -------------- |
| | visible | |
| `anchor` | anchor | |
| `delay` | delay | |
| `position` | position | |
| `auto-update-mode` | autoUpdateMode | |
| `horizontal-viewport-lock` | horizontalViewportLock | |
| `vertical-viewport-lock` | verticalViewportLock | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -72,14 +72,6 @@ export class FASTTreeItem extends TreeItem {}
| `expanded-change` | | Fires a custom 'expanded-change' event when the expanded state changes | |
| `selected-change` | | Fires a custom 'selected-change' event when the selected state changes | |
#### Attributes
| Name | Field | Inherited From |
| ---- | -------- | -------------- |
| | expanded | |
| | selected | |
| | disabled | |
#### CSS Parts
| Name | Description |

Просмотреть файл

@ -122,12 +122,6 @@ export const myTreeView = TreeView.compose({
| `templateChanged` | protected | | | `void` | FoundationElement |
| `stylesChanged` | protected | | | `void` | FoundationElement |
#### Attributes
| Name | Field | Inherited From |
| ------------------------ | -------------------- | -------------- |
| `render-collapsed-nodes` | renderCollapsedNodes | |
#### Slots
| Name | Description |

Просмотреть файл

@ -50,7 +50,7 @@ export class DefaultLinkHandler implements LinkHandler {
connect(): void;
// (undocumented)
disconnect(): void;
}
}
// @alpha (undocumented)
export class DefaultNavigationProcess<TSettings> {
@ -74,7 +74,7 @@ export class DefaultNavigationQueue implements NavigationQueue, NavigationHandle
handleEvent(event: PopStateEvent): void;
// (undocumented)
receive(): Promise<NavigationMessage>;
}
}
// @alpha (undocumented)
export class DefaultRouter implements Router {
@ -105,7 +105,7 @@ export class DefaultRouter implements Router {
route: RecognizedRoute | null;
// (undocumented)
shouldRender(route: RecognizedRoute): boolean;
}
}
// @alpha (undocumented)
export class DefaultRouteRecognizer<TSettings> implements RouteRecognizer<TSettings> {
@ -115,7 +115,7 @@ export class DefaultRouteRecognizer<TSettings> implements RouteRecognizer<TSetti
generateFromPath(path: string, params: object): string | null;
// (undocumented)
recognize(path: string, converters?: Readonly<Record<string, RouteParameterConverter>>): Promise<RecognizedRoute<TSettings> | null>;
}
}
// @alpha (undocumented)
export type DefinitionCallback = () => Promise<FallbackRouteDefinition> | FallbackRouteDefinition;
@ -154,7 +154,7 @@ export class FASTElementLayout implements Layout {
afterCommit(routerElement: HTMLElement): Promise<void>;
// (undocumented)
beforeCommit(routerElement: HTMLElement): Promise<void>;
}
}
// Warning: (ae-forgotten-export) The symbol "FASTRouter_base" needs to be exported by the entry point index.d.ts
//
@ -335,7 +335,7 @@ export type PathedRouteDefinition<TSettings = any> = SupportsSettings<TSettings>
// @alpha (undocumented)
export const QueryString: Readonly<{
readonly current: string;
build(params: Object, traditional?: boolean | undefined): string;
build(params: Object, traditional?: boolean): string;
separate(path: string): Readonly<{
path: string;
queryString: string;
@ -369,7 +369,7 @@ export class Redirect implements NavigationCommand {
createContributor(): Promise<{
navigate(phase: NavigationPhase): Promise<void>;
}>;
}
}
// @alpha (undocumented)
export type RedirectRouteDefinition<TSettings = any> = PathedRouteDefinition<TSettings> & {
@ -395,7 +395,7 @@ export class Render implements RenderCommand {
// (undocumented)
get transition(): Transition;
set transition(value: Transition);
}
}
// @alpha (undocumented)
export type RenderableRouteDefinition<TSettings = any> = ElementRouteDefinition<TSettings> | TemplateRouteDefinition<TSettings>;
@ -460,7 +460,7 @@ export class RouteCollection<TSettings = any> {
map(...routes: MappableRouteDefinition<TSettings>[]): void;
// (undocumented)
recognize(path: string): Promise<RouteMatch<TSettings> | null>;
}
}
// @alpha (undocumented)
export type RouteMatch<TSettings = any> = {
@ -621,7 +621,6 @@ export const Transition: Readonly<{
default: Readonly<Transition>;
}>;
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -44,7 +44,7 @@
"test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
},
"devDependencies": {
"@microsoft/api-extractor": "7.23.1",
"@microsoft/api-extractor": "7.37.2",
"@types/chai": "^4.2.11",
"@types/karma": "^5.0.0",
"@types/mocha": "^7.0.2",
@ -77,10 +77,10 @@
"rollup-plugin-typescript2": "^0.27.0",
"source-map": "^0.7.3",
"source-map-loader": "^0.2.4",
"ts-loader": "^7.0.2",
"ts-node": "^8.9.1",
"ts-loader": "~9.4.0",
"ts-node": "~10.9.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.6.2",
"typescript": "~4.8.0",
"webpack": "^4.44.0"
},
"dependencies": {

Просмотреть файл

@ -46,7 +46,7 @@ export abstract class RouterConfiguration<TSettings = any> {
}
public createRouteRecognizer(): RouteRecognizer<TSettings> {
return this.construct(DefaultRouteRecognizer);
return this.construct(DefaultRouteRecognizer) as RouteRecognizer<TSettings>;
}
public construct<T>(Type: Constructable<T>): T {

Просмотреть файл

@ -268,11 +268,11 @@ class Candidate<T> {
segmentB = stateB.segment!;
}
if (segmentA.kind < segmentB.kind) {
if (segmentA!.kind < segmentB!.kind) {
return 1;
}
if (segmentA.kind > segmentB.kind) {
if (segmentA!.kind > segmentB!.kind) {
return -1;
}

Просмотреть файл

@ -198,7 +198,9 @@ export class DefaultRouter implements Router {
return null;
}
this.parentRouter = findParentRouterForElement(this.host);
this.parentRouter = (findParentRouterForElement(
this.host
) as unknown) as Router<any>;
}
return this.parentRouter || null;

Просмотреть файл

@ -30,7 +30,7 @@
"@babel/preset-env": "^7.12.13",
"@microsoft/eslint-config-fast-dna": "^2.1.0",
"@microsoft/site-utilities": "^0.9.0",
"@types/node": "^15.0.1",
"@types/node": "~20.7.0",
"clean-webpack-plugin": "^1.0.0",
"copy-webpack-plugin": "^6.0.3",
"css-loader": "^4.2.1",
@ -44,8 +44,8 @@
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "2.0.2",
"svg-inline-loader": "^0.8.2",
"ts-loader": "^5.3.1",
"typescript": "^4.6.2",
"ts-loader": "~9.4.0",
"typescript": "~4.8.0",
"webpack": "^4.44.0",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",

Просмотреть файл

@ -32,8 +32,8 @@
"rollup-plugin-typescript2": "^0.27.1",
"svg-inline-loader": "^0.8.2",
"terser-webpack-plugin": "^3.0.1",
"ts-loader": "^7.0.2",
"typescript": "^4.6.2",
"ts-loader": "~9.4.0",
"typescript": "~4.8.0",
"webpack": "^4.44.0",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"

Просмотреть файл

@ -34,7 +34,7 @@
"@microsoft/eslint-config-fast-dna": "^2.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/node": "^15.0.1",
"@types/node": "~20.7.0",
"@types/react": "^16.8.0",
"babel-loader": "^8.2.2",
"badge-maker": "^3.2.0",
@ -51,7 +51,7 @@
"raf-throttle": "^2.0.3",
"react": "^16.8.0",
"rimraf": "^3.0.2",
"typescript": "^4.6.2",
"typescript": "~4.8.0",
"vscode-web-custom-data": "^0.3.1"
},
"dependencies": {

256
yarn.lock
Просмотреть файл

@ -1173,6 +1173,13 @@
resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9"
integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==
"@cspotcode/source-map-support@^0.8.0":
version "0.8.1"
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
dependencies:
"@jridgewell/trace-mapping" "0.3.9"
"@custom-elements-manifest/analyzer@^0.5.7":
version "0.5.7"
resolved "https://registry.yarnpkg.com/@custom-elements-manifest/analyzer/-/analyzer-0.5.7.tgz#8ae74ede984f9a8f8717f4d938cb542c72af8db8"
@ -1998,6 +2005,14 @@
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz#b6461fb0c2964356c469e115f504c95ad97ab88c"
integrity sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==
"@jridgewell/trace-mapping@0.3.9":
version "0.3.9"
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
dependencies:
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@jridgewell/trace-mapping@^0.3.9":
version "0.3.10"
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.10.tgz#db436f0917d655393851bc258918c00226c9b183"
@ -2738,14 +2753,14 @@
js-yaml "~3.13.1"
resolve "~1.17.0"
"@microsoft/api-extractor-model@7.17.2":
version "7.17.2"
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor-model/-/api-extractor-model-7.17.2.tgz#033b39a7bac4f3eee3e5ffd406d2af61cedc727e"
integrity sha512-fYfCeBeLm7jnZligC64qHiH4/vzswFLDfyPpX+uKO36OI2kIeMHrYG0zaezmuinKvE4vg1dAz38zZeDbPvBKGg==
"@microsoft/api-extractor-model@7.28.2":
version "7.28.2"
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor-model/-/api-extractor-model-7.28.2.tgz#91c66dd820ccc70e0c163e06b392d8363f1b9269"
integrity sha512-vkojrM2fo3q4n4oPh4uUZdjJ2DxQ2+RnDQL/xhTWSRUNPF6P4QyrvY357HBxbnltKcYu+nNNolVqc6TIGQ73Ig==
dependencies:
"@microsoft/tsdoc" "0.14.1"
"@microsoft/tsdoc" "0.14.2"
"@microsoft/tsdoc-config" "~0.16.1"
"@rushstack/node-core-library" "3.45.4"
"@rushstack/node-core-library" "3.61.0"
"@microsoft/api-extractor-model@7.8.8":
version "7.8.8"
@ -2755,23 +2770,23 @@
"@microsoft/tsdoc" "0.12.19"
"@rushstack/node-core-library" "3.24.1"
"@microsoft/api-extractor@7.23.1":
version "7.23.1"
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.23.1.tgz#483e339cc73669c709ff215a76eb0e6d9a31de5b"
integrity sha512-J5cTjbMzSZPRZT4AKvFI1KmLGHVhV6bHnFcPo3Og9cN9QmknzpKg5BxvpBecEdFKNZxUpUrBkps2xOQ4Fjc6zg==
"@microsoft/api-extractor@7.37.2":
version "7.37.2"
resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.37.2.tgz#b21be9d83ccc1e8accaee9758d95d313ae655de1"
integrity sha512-b4tr1rTto9/utTjbuqRwfQP2mzP0ACCmJMUY0JIOfOQ3tewGOkMCIRpIS5kcv5/nURekoAY06hNwHmkVsv/s1g==
dependencies:
"@microsoft/api-extractor-model" "7.17.2"
"@microsoft/tsdoc" "0.14.1"
"@microsoft/api-extractor-model" "7.28.2"
"@microsoft/tsdoc" "0.14.2"
"@microsoft/tsdoc-config" "~0.16.1"
"@rushstack/node-core-library" "3.45.4"
"@rushstack/rig-package" "0.3.11"
"@rushstack/ts-command-line" "4.10.10"
"@rushstack/node-core-library" "3.61.0"
"@rushstack/rig-package" "0.5.1"
"@rushstack/ts-command-line" "4.16.1"
colors "~1.2.1"
lodash "~4.17.15"
resolve "~1.17.0"
semver "~7.3.0"
resolve "~1.22.1"
semver "~7.5.4"
source-map "~0.6.1"
typescript "~4.6.3"
typescript "~5.0.4"
"@microsoft/fast-components-class-name-contracts-base@^4.8.0":
version "4.8.0"
@ -2909,6 +2924,11 @@
resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.14.1.tgz#155ef21065427901994e765da8a0ba0eaae8b8bd"
integrity sha512-6Wci+Tp3CgPt/B9B0a3J4s3yMgLNSku6w5TV6mN+61C71UqsRBv2FUibBf3tPGlNxebgPHMEUzKpb1ggE8KCKw==
"@microsoft/tsdoc@0.14.2":
version "0.14.2"
resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz#c3ec604a0b54b9a9b87e9735dfc59e1a5da6a5fb"
integrity sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@ -3474,33 +3494,31 @@
timsort "~0.3.0"
z-schema "~3.18.3"
"@rushstack/node-core-library@3.45.4":
version "3.45.4"
resolved "https://registry.yarnpkg.com/@rushstack/node-core-library/-/node-core-library-3.45.4.tgz#a5e1246c462940d16a5acc667c1ffe460b514087"
integrity sha512-FMoEQWjK7nWAO2uFgV1eVpVhY9ZDGOdIIomi9zTej64cKJ+8/Nvu+ny0xKaUDEjw/ALftN2D2ml7L0RDpW/Z9g==
"@rushstack/node-core-library@3.61.0":
version "3.61.0"
resolved "https://registry.yarnpkg.com/@rushstack/node-core-library/-/node-core-library-3.61.0.tgz#7441a0d2ae5268b758a7a49588a78cd55af57e66"
integrity sha512-tdOjdErme+/YOu4gPed3sFS72GhtWCgNV9oDsHDnoLY5oDfwjKUc9Z+JOZZ37uAxcm/OCahDHfuu2ugqrfWAVQ==
dependencies:
"@types/node" "12.20.24"
colors "~1.2.1"
fs-extra "~7.0.1"
import-lazy "~4.0.0"
jju "~1.4.0"
resolve "~1.17.0"
semver "~7.3.0"
timsort "~0.3.0"
resolve "~1.22.1"
semver "~7.5.4"
z-schema "~5.0.2"
"@rushstack/rig-package@0.3.11":
version "0.3.11"
resolved "https://registry.yarnpkg.com/@rushstack/rig-package/-/rig-package-0.3.11.tgz#92a05929822610e8b42f2ad330d9ea20afae5165"
integrity sha512-uI1/g5oQPtyrT9nStoyX/xgZSLa2b+srRFaDk3r1eqC7zA5th4/bvTGl2QfV3C9NcP+coSqmk5mFJkUfH6i3Lw==
"@rushstack/rig-package@0.5.1":
version "0.5.1"
resolved "https://registry.yarnpkg.com/@rushstack/rig-package/-/rig-package-0.5.1.tgz#6c9c283cc96b5bb1eae9875946d974ac5429bb21"
integrity sha512-pXRYSe29TjRw7rqxD4WS3HN/sRSbfr+tJs4a9uuaSIBAITbUggygdhuG0VrO0EO+QqH91GhYMN4S6KRtOEmGVA==
dependencies:
resolve "~1.17.0"
resolve "~1.22.1"
strip-json-comments "~3.1.1"
"@rushstack/ts-command-line@4.10.10":
version "4.10.10"
resolved "https://registry.yarnpkg.com/@rushstack/ts-command-line/-/ts-command-line-4.10.10.tgz#69da17b03ce57795b67ea2aabf7c976c81816078"
integrity sha512-F+MH7InPDXqX40qvvcEsnvPpmg566SBpfFqj2fcCh8RjM6AyOoWlXc8zx7giBD3ZN85NVAEjZAgrcLU0z+R2yg==
"@rushstack/ts-command-line@4.16.1":
version "4.16.1"
resolved "https://registry.yarnpkg.com/@rushstack/ts-command-line/-/ts-command-line-4.16.1.tgz#3537bbc323f77c8646646465c579b992d39feb16"
integrity sha512-+OCsD553GYVLEmz12yiFjMOzuPeCiZ3f8wTiFHL30ZVXexTyPmgjwXEhg2K2P0a2lVf+8YBy7WtPoflB2Fp8/A==
dependencies:
"@types/argparse" "1.0.38"
argparse "~1.0.9"
@ -3679,6 +3697,26 @@
resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad"
integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==
"@tsconfig/node10@^1.0.7":
version "1.0.9"
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2"
integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==
"@tsconfig/node12@^1.0.7":
version "1.0.11"
resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d"
integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==
"@tsconfig/node14@^1.0.0":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1"
integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==
"@tsconfig/node16@^1.0.2":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9"
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
"@types/argparse@1.0.38":
version "1.0.38"
resolved "https://registry.yarnpkg.com/@types/argparse/-/argparse-1.0.38.tgz#a81fd8606d481f873a3800c6ebae4f1d768a56a9"
@ -3905,30 +3943,10 @@
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197"
integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==
"@types/node@*", "@types/node@^17.0.5":
version "17.0.31"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d"
integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==
"@types/node@10.17.13":
version "10.17.13"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.13.tgz#ccebcdb990bd6139cd16e84c39dc2fb1023ca90c"
integrity sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg==
"@types/node@12.20.24":
version "12.20.24"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.24.tgz#c37ac69cb2948afb4cef95f424fa0037971a9a5c"
integrity sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==
"@types/node@16.9.1":
version "16.9.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.1.tgz#0611b37db4246c937feef529ddcc018cf8e35708"
integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==
"@types/node@^15.0.1":
version "15.14.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-15.14.9.tgz#bc43c990c3c9be7281868bbc7b8fdd6e2b57adfa"
integrity sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A==
"@types/node@*", "@types/node@10.17.13", "@types/node@16.9.1", "@types/node@^17.0.5", "@types/node@~20.7.0":
version "20.7.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.7.1.tgz#06d732ead0bd5ad978ef0ea9cbdeb24dc8717514"
integrity sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==
"@types/normalize-package-data@^2.4.0":
version "2.4.1"
@ -4594,7 +4612,7 @@ acorn-walk@^7.1.1:
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc"
integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==
acorn-walk@^8.0.0:
acorn-walk@^8.0.0, acorn-walk@^8.1.1:
version "8.2.0"
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
@ -6071,7 +6089,7 @@ chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1, chalk@^2.4.2:
chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
@ -7105,6 +7123,11 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
create-require@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
cross-fetch@^3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f"
@ -8761,7 +8784,7 @@ engine.io@~3.5.0:
engine.io-parser "~2.2.0"
ws "~7.4.2"
enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.1, enhanced-resolve@^4.5.0:
enhanced-resolve@^4.1.1, enhanced-resolve@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec"
integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==
@ -8770,6 +8793,14 @@ enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.1, enhanced-resolve@^4.5.0:
memory-fs "^0.5.0"
tapable "^1.0.0"
enhanced-resolve@^5.0.0:
version "5.15.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35"
integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==
dependencies:
graceful-fs "^4.2.4"
tapable "^2.2.0"
enhanced-resolve@^5.9.2, enhanced-resolve@^5.9.3:
version "5.9.3"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88"
@ -11571,6 +11602,13 @@ is-core-module@^2.1.0, is-core-module@^2.2.0, is-core-module@^2.5.0, is-core-mod
dependencies:
has "^1.0.3"
is-core-module@^2.13.0:
version "2.13.0"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db"
integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==
dependencies:
has "^1.0.3"
is-data-descriptor@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
@ -12859,7 +12897,7 @@ loader-utils@^0.2.16:
json5 "^0.5.0"
object-assign "^4.0.1"
loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
@ -17527,6 +17565,15 @@ resolve@~1.19.0:
is-core-module "^2.1.0"
path-parse "^1.0.6"
resolve@~1.22.1:
version "1.22.6"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362"
integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==
dependencies:
is-core-module "^2.13.0"
path-parse "^1.0.7"
supports-preserve-symlinks-flag "^1.0.0"
responselike@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7"
@ -17932,7 +17979,7 @@ semver-regex@^3.1.2:
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.3.tgz#b2bcc6f97f63269f286994e297e229b6245d0dc3"
integrity sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ==
"semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.0:
"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.0:
version "5.7.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@ -17954,14 +18001,14 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
semver@^7.0.0:
semver@^7.0.0, semver@~7.5.4:
version "7.5.4"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
dependencies:
lru-cache "^6.0.0"
semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@~7.3.0:
semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7:
version "7.3.7"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f"
integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==
@ -18442,7 +18489,7 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"
source-map-support@^0.5.17, source-map-support@^0.5.5, source-map-support@~0.5.12, source-map-support@~0.5.20:
source-map-support@^0.5.5, source-map-support@~0.5.12, source-map-support@~0.5.20:
version "0.5.21"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==
@ -19434,59 +19481,33 @@ tryer@^1.0.1:
resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8"
integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==
ts-loader@^4.0.1:
version "4.5.0"
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-4.5.0.tgz#a1ce70b2dc799941fb2197605f0d67874097859b"
integrity sha512-ihgVaSmgrX4crGV4n7yuoHPoCHbDzj9aepCZR9TgIx4SgJ9gdnB6xLHgUBb7bsFM/f0K6x9iXa65KY/Fu1Klkw==
dependencies:
chalk "^2.3.0"
enhanced-resolve "^4.0.0"
loader-utils "^1.0.2"
micromatch "^3.1.4"
semver "^5.0.1"
ts-loader@^5.3.1:
version "5.4.5"
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-5.4.5.tgz#a0c1f034b017a9344cef0961bfd97cc192492b8b"
integrity sha512-XYsjfnRQCBum9AMRZpk2rTYSVpdZBpZK+kDh0TeT3kxmQNBDVIeUjdPjY5RZry4eIAb8XHc4gYSUiUWPYvzSRw==
dependencies:
chalk "^2.3.0"
enhanced-resolve "^4.0.0"
loader-utils "^1.0.2"
micromatch "^3.1.4"
semver "^5.0.1"
ts-loader@^7.0.1, ts-loader@^7.0.2:
version "7.0.5"
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-7.0.5.tgz#789338fb01cb5dc0a33c54e50558b34a73c9c4c5"
integrity sha512-zXypEIT6k3oTc+OZNx/cqElrsbBtYqDknf48OZos0NQ3RTt045fBIU8RRSu+suObBzYB355aIPGOe/3kj9h7Ig==
dependencies:
chalk "^2.3.0"
enhanced-resolve "^4.0.0"
loader-utils "^1.0.2"
micromatch "^4.0.0"
semver "^6.0.0"
ts-loader@^8.1.0:
version "8.4.0"
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-8.4.0.tgz#e845ea0f38d140bdc3d7d60293ca18d12ff2720f"
integrity sha512-6nFY3IZ2//mrPc+ImY3hNWx1vCHyEhl6V+wLmL4CZcm6g1CqX7UKrkc6y0i4FwcfOhxyMPCfaEvh20f4r9GNpw==
ts-loader@~9.4.0:
version "9.4.4"
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.4.4.tgz#6ceaf4d58dcc6979f84125335904920884b7cee4"
integrity sha512-MLukxDHBl8OJ5Dk3y69IsKVFRA/6MwzEqBgh+OXMPB/OD01KQuWPFd1WAQP8a5PeSCAxfnkhiuWqfmFJzJQt9w==
dependencies:
chalk "^4.1.0"
enhanced-resolve "^4.0.0"
loader-utils "^2.0.0"
enhanced-resolve "^5.0.0"
micromatch "^4.0.0"
semver "^7.3.4"
ts-node@^8.8.2, ts-node@^8.9.1:
version "8.10.2"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.10.2.tgz#eee03764633b1234ddd37f8db9ec10b75ec7fb8d"
integrity sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==
ts-node@~10.9.0:
version "10.9.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
dependencies:
"@cspotcode/source-map-support" "^0.8.0"
"@tsconfig/node10" "^1.0.7"
"@tsconfig/node12" "^1.0.7"
"@tsconfig/node14" "^1.0.0"
"@tsconfig/node16" "^1.0.2"
acorn "^8.4.1"
acorn-walk "^8.1.1"
arg "^4.1.0"
create-require "^1.1.0"
diff "^4.0.1"
make-error "^1.1.1"
source-map-support "^0.5.17"
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"
tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0:
@ -19626,10 +19647,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
"typescript@^3 || ^4", typescript@^4.6.2, "typescript@~3.9.0 || ~4.3.5 || ^4.6.2", typescript@~4.3.2, typescript@~4.6.3:
version "4.6.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c"
integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==
"typescript@^3 || ^4", "typescript@~3.9.0 || ~4.3.5 || ^4.6.2", typescript@~4.3.2, typescript@~4.8.0, typescript@~5.0.4:
version "4.8.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6"
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==
typical@^4.0.0:
version "4.0.0"
@ -20110,6 +20131,11 @@ uvu@^0.5.0:
kleur "^4.0.3"
sade "^1.7.3"
v8-compile-cache-lib@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
v8-compile-cache@2.3.0, v8-compile-cache@^2.0.3, v8-compile-cache@^2.1.1:
version "2.3.0"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"