From edecf71179930748fa33cd011ad64f1f0dbc30e7 Mon Sep 17 00:00:00 2001 From: Christian Bromann Date: Wed, 6 Nov 2024 14:50:30 -0800 Subject: [PATCH] upgrade prettier --- .../component-library-angular/.prettierignore | 1 + .../component-library-angular/package.json | 2 +- .../src/directives/boolean-value-accessor.ts | 8 +- .../src/directives/number-value-accessor.ts | 10 +- .../src/directives/proxies.ts | 189 ++---- .../src/directives/select-value-accessor.ts | 8 +- .../src/directives/text-value-accessor.ts | 8 +- .../component-library-react/.prettierignore | 1 + .../component-library-react/src/components.ts | 267 ++++----- .../component-library-vue/.prettierignore | 1 + .../component-library-vue/src/index.ts | 549 +++++++++--------- package.json | 2 +- packages/vue/src/ssr.ts | 15 +- pnpm-lock.yaml | 420 +++++++++----- 14 files changed, 705 insertions(+), 776 deletions(-) create mode 100644 example-project/component-library-angular/.prettierignore create mode 100644 example-project/component-library-react/.prettierignore create mode 100644 example-project/component-library-vue/.prettierignore diff --git a/example-project/component-library-angular/.prettierignore b/example-project/component-library-angular/.prettierignore new file mode 100644 index 00000000..e5a67d36 --- /dev/null +++ b/example-project/component-library-angular/.prettierignore @@ -0,0 +1 @@ +src/directives/*.ts diff --git a/example-project/component-library-angular/package.json b/example-project/component-library-angular/package.json index d1086a3f..848ed4bb 100644 --- a/example-project/component-library-angular/package.json +++ b/example-project/component-library-angular/package.json @@ -17,7 +17,7 @@ "lint": "echo \"lint not configured\" && exit 0", "prerelease": "pnpm run validate && np prerelease --yolo --any-branch --tag next", "prettier": "pnpm run prettier.base --write", - "prettier.base": "prettier \"./({scripts,src,__tests__}/**/*.{ts,tsx,js,jsx})|*.{ts,tsx,js,jsx}\"", + "prettier.base": "prettier \"./({scripts,src,__tests__,!src/directives}/**/*.{ts,tsx,js,jsx})|*.{ts,tsx,js,jsx}\" --ignore-path=\"./.prettierignore\"", "prettier.dry-run": "pnpm run prettier.base --list-different", "test": "jest", "tsc": "tsc -p .", diff --git a/example-project/component-library-angular/src/directives/boolean-value-accessor.ts b/example-project/component-library-angular/src/directives/boolean-value-accessor.ts index 77beddbd..68f19ab2 100644 --- a/example-project/component-library-angular/src/directives/boolean-value-accessor.ts +++ b/example-project/component-library-angular/src/directives/boolean-value-accessor.ts @@ -7,15 +7,15 @@ import { ValueAccessor } from './value-accessor'; /* tslint:disable-next-line:directive-selector */ selector: 'my-checkbox', host: { - '(myChange)': 'handleChangeEvent($event.target.checked)', + '(myChange)': 'handleChangeEvent($event.target.checked)' }, providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: BooleanValueAccessor, - multi: true, - }, - ], + multi: true + } + ] }) export class BooleanValueAccessor extends ValueAccessor { constructor(el: ElementRef) { diff --git a/example-project/component-library-angular/src/directives/number-value-accessor.ts b/example-project/component-library-angular/src/directives/number-value-accessor.ts index f48462e5..8046e221 100644 --- a/example-project/component-library-angular/src/directives/number-value-accessor.ts +++ b/example-project/component-library-angular/src/directives/number-value-accessor.ts @@ -7,22 +7,22 @@ import { ValueAccessor } from './value-accessor'; /* tslint:disable-next-line:directive-selector */ selector: 'my-input[type=number]', host: { - '(myChange)': 'handleChangeEvent($event.target.value)', + '(myChange)': 'handleChangeEvent($event.target.value)' }, providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: NumericValueAccessor, - multi: true, - }, - ], + multi: true + } + ] }) export class NumericValueAccessor extends ValueAccessor { constructor(el: ElementRef) { super(el); } override registerOnChange(fn: (_: number | null) => void) { - super.registerOnChange((value) => { + super.registerOnChange(value => { fn(value === '' ? null : parseFloat(value)); }); } diff --git a/example-project/component-library-angular/src/directives/proxies.ts b/example-project/component-library-angular/src/directives/proxies.ts index e4912c24..6c795aea 100644 --- a/example-project/component-library-angular/src/directives/proxies.ts +++ b/example-project/component-library-angular/src/directives/proxies.ts @@ -6,45 +6,16 @@ import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils'; import { Components } from 'component-library'; + @ProxyCmp({ - inputs: [ - 'buttonType', - 'color', - 'disabled', - 'download', - 'expand', - 'fill', - 'href', - 'mode', - 'rel', - 'shape', - 'size', - 'strong', - 'target', - 'type', - ], + inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'href', 'mode', 'rel', 'shape', 'size', 'strong', 'target', 'type'] }) @Component({ selector: 'my-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: [ - 'buttonType', - 'color', - 'disabled', - 'download', - 'expand', - 'fill', - 'href', - 'mode', - 'rel', - 'shape', - 'size', - 'strong', - 'target', - 'type', - ], + inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'href', 'mode', 'rel', 'shape', 'size', 'strong', 'target', 'type'], }) export class MyButton { protected el: HTMLElement; @@ -55,6 +26,7 @@ export class MyButton { } } + export declare interface MyButton extends Components.MyButton { /** * Emitted when the button has focus. @@ -66,8 +38,9 @@ export declare interface MyButton extends Components.MyButton { myBlur: EventEmitter>; } + @ProxyCmp({ - inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value'], + inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value'] }) @Component({ selector: 'my-checkbox', @@ -85,6 +58,7 @@ export class MyCheckbox { } } + import type { CheckboxChangeEventDetail as IMyCheckboxCheckboxChangeEventDetail } from 'component-library'; export declare interface MyCheckbox extends Components.MyCheckbox { @@ -102,8 +76,9 @@ export declare interface MyCheckbox extends Components.MyCheckbox { myBlur: EventEmitter>; } + @ProxyCmp({ - inputs: ['age', 'favoriteKidName', 'first', 'kidsNames', 'last', 'middle'], + inputs: ['age', 'favoriteKidName', 'first', 'kidsNames', 'last', 'middle'] }) @Component({ selector: 'my-component', @@ -121,6 +96,7 @@ export class MyComponent { } } + export declare interface MyComponent extends Components.MyComponent { /** * Testing an event without value @@ -128,72 +104,17 @@ export declare interface MyComponent extends Components.MyComponent { myCustomEvent: EventEmitter>; } + @ProxyCmp({ - inputs: [ - 'accept', - 'autocapitalize', - 'autocomplete', - 'autocorrect', - 'autofocus', - 'clearInput', - 'clearOnEdit', - 'color', - 'disabled', - 'enterkeyhint', - 'inputmode', - 'max', - 'maxlength', - 'min', - 'minlength', - 'mode', - 'multiple', - 'name', - 'pattern', - 'placeholder', - 'readonly', - 'required', - 'size', - 'spellcheck', - 'step', - 'type', - 'value', - ], - methods: ['setFocus', 'getInputElement'], + inputs: ['accept', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearInput', 'clearOnEdit', 'color', 'disabled', 'enterkeyhint', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'mode', 'multiple', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'type', 'value'], + methods: ['setFocus', 'getInputElement'] }) @Component({ selector: 'my-input', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: [ - 'accept', - 'autocapitalize', - 'autocomplete', - 'autocorrect', - 'autofocus', - 'clearInput', - 'clearOnEdit', - 'color', - 'disabled', - 'enterkeyhint', - 'inputmode', - 'max', - 'maxlength', - 'min', - 'minlength', - 'mode', - 'multiple', - 'name', - 'pattern', - 'placeholder', - 'readonly', - 'required', - 'size', - 'spellcheck', - 'step', - 'type', - 'value', - ], + inputs: ['accept', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearInput', 'clearOnEdit', 'color', 'disabled', 'enterkeyhint', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'mode', 'multiple', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'type', 'value'], }) export class MyInput { protected el: HTMLElement; @@ -204,6 +125,7 @@ export class MyInput { } } + import type { InputChangeEventDetail as IMyInputInputChangeEventDetail } from 'component-library'; export declare interface MyInput extends Components.MyInput { @@ -225,53 +147,28 @@ export declare interface MyInput extends Components.MyInput { myFocus: EventEmitter>; } + @ProxyCmp({ - inputs: [ - 'animated', - 'backdropDismiss', - 'component', - 'componentProps', - 'cssClass', - 'event', - 'keyboardClose', - 'mode', - 'showBackdrop', - 'translucent', - ], - methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss'], + inputs: ['animated', 'backdropDismiss', 'component', 'componentProps', 'cssClass', 'event', 'keyboardClose', 'mode', 'showBackdrop', 'translucent'], + methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss'] }) @Component({ selector: 'my-popover', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: [ - 'animated', - 'backdropDismiss', - 'component', - 'componentProps', - 'cssClass', - 'event', - 'keyboardClose', - 'mode', - 'showBackdrop', - 'translucent', - ], + inputs: ['animated', 'backdropDismiss', 'component', 'componentProps', 'cssClass', 'event', 'keyboardClose', 'mode', 'showBackdrop', 'translucent'], }) export class MyPopover { protected el: HTMLElement; constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) { c.detach(); this.el = r.nativeElement; - proxyOutputs(this, this.el, [ - 'myPopoverDidPresent', - 'myPopoverWillPresent', - 'myPopoverWillDismiss', - 'myPopoverDidDismiss', - ]); + proxyOutputs(this, this.el, ['myPopoverDidPresent', 'myPopoverWillPresent', 'myPopoverWillDismiss', 'myPopoverDidDismiss']); } } + import type { OverlayEventDetail as IMyPopoverOverlayEventDetail } from 'component-library'; export declare interface MyPopover extends Components.MyPopover { @@ -293,8 +190,9 @@ export declare interface MyPopover extends Components.MyPopover { myPopoverDidDismiss: EventEmitter>; } + @ProxyCmp({ - inputs: ['color', 'disabled', 'mode', 'name', 'value'], + inputs: ['color', 'disabled', 'mode', 'name', 'value'] }) @Component({ selector: 'my-radio', @@ -312,6 +210,7 @@ export class MyRadio { } } + export declare interface MyRadio extends Components.MyRadio { /** * Emitted when the radio button has focus. @@ -327,8 +226,9 @@ export declare interface MyRadio extends Components.MyRadio { mySelect: EventEmitter>; } + @ProxyCmp({ - inputs: ['allowEmptySelection', 'name', 'value'], + inputs: ['allowEmptySelection', 'name', 'value'] }) @Component({ selector: 'my-radio-group', @@ -346,6 +246,7 @@ export class MyRadioGroup { } } + import type { RadioGroupChangeEventDetail as IMyRadioGroupRadioGroupChangeEventDetail } from 'component-library'; export declare interface MyRadioGroup extends Components.MyRadioGroup { @@ -355,43 +256,16 @@ export declare interface MyRadioGroup extends Components.MyRadioGroup { myChange: EventEmitter>; } + @ProxyCmp({ - inputs: [ - 'color', - 'debounce', - 'disabled', - 'dualKnobs', - 'max', - 'min', - 'mode', - 'name', - 'pin', - 'snaps', - 'step', - 'ticks', - 'value', - ], + inputs: ['color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'snaps', 'step', 'ticks', 'value'] }) @Component({ selector: 'my-range', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: [ - 'color', - 'debounce', - 'disabled', - 'dualKnobs', - 'max', - 'min', - 'mode', - 'name', - 'pin', - 'snaps', - 'step', - 'ticks', - 'value', - ], + inputs: ['color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'snaps', 'step', 'ticks', 'value'], }) export class MyRange { protected el: HTMLElement; @@ -402,6 +276,7 @@ export class MyRange { } } + import type { RangeChangeEventDetail as IMyRangeRangeChangeEventDetail } from 'component-library'; export declare interface MyRange extends Components.MyRange { @@ -418,3 +293,5 @@ export declare interface MyRange extends Components.MyRange { */ myBlur: EventEmitter>; } + + diff --git a/example-project/component-library-angular/src/directives/select-value-accessor.ts b/example-project/component-library-angular/src/directives/select-value-accessor.ts index 095853f0..30d5925c 100644 --- a/example-project/component-library-angular/src/directives/select-value-accessor.ts +++ b/example-project/component-library-angular/src/directives/select-value-accessor.ts @@ -7,15 +7,15 @@ import { ValueAccessor } from './value-accessor'; /* tslint:disable-next-line:directive-selector */ selector: 'my-range, my-radio-group', host: { - '(myChange)': 'handleChangeEvent($event.target.value)', + '(myChange)': 'handleChangeEvent($event.target.value)' }, providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: SelectValueAccessor, - multi: true, - }, - ], + multi: true + } + ] }) export class SelectValueAccessor extends ValueAccessor { constructor(el: ElementRef) { diff --git a/example-project/component-library-angular/src/directives/text-value-accessor.ts b/example-project/component-library-angular/src/directives/text-value-accessor.ts index 0bf5bd14..b6a71b70 100644 --- a/example-project/component-library-angular/src/directives/text-value-accessor.ts +++ b/example-project/component-library-angular/src/directives/text-value-accessor.ts @@ -7,15 +7,15 @@ import { ValueAccessor } from './value-accessor'; /* tslint:disable-next-line:directive-selector */ selector: 'my-input[type=text]', host: { - '(myChange)': 'handleChangeEvent($event.target.value)', + '(myChange)': 'handleChangeEvent($event.target.value)' }, providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: TextValueAccessor, - multi: true, - }, - ], + multi: true + } + ] }) export class TextValueAccessor extends ValueAccessor { constructor(el: ElementRef) { diff --git a/example-project/component-library-react/.prettierignore b/example-project/component-library-react/.prettierignore new file mode 100644 index 00000000..52c0e8bb --- /dev/null +++ b/example-project/component-library-react/.prettierignore @@ -0,0 +1 @@ +src/components.ts diff --git a/example-project/component-library-react/src/components.ts b/example-project/component-library-react/src/components.ts index 25acecd1..c0089ae6 100644 --- a/example-project/component-library-react/src/components.ts +++ b/example-project/component-library-react/src/components.ts @@ -9,208 +9,151 @@ import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime'; import { createComponent } from '@stencil/react-output-target/runtime'; -import { - type CheckboxChangeEventDetail, - type InputChangeEventDetail, - type MyCheckboxCustomEvent, - type MyInputCustomEvent, - type MyPopoverCustomEvent, - type MyRadioGroupCustomEvent, - type MyRangeCustomEvent, - type OverlayEventDetail, - type RadioGroupChangeEventDetail, - type RangeChangeEventDetail, -} from 'component-library'; -import { - MyButton as MyButtonElement, - defineCustomElement as defineMyButton, -} from 'component-library/components/my-button.js'; -import { - MyCheckbox as MyCheckboxElement, - defineCustomElement as defineMyCheckbox, -} from 'component-library/components/my-checkbox.js'; -import { - MyComponent as MyComponentElement, - defineCustomElement as defineMyComponent, -} from 'component-library/components/my-component.js'; -import { - MyInput as MyInputElement, - defineCustomElement as defineMyInput, -} from 'component-library/components/my-input.js'; -import { - MyPopover as MyPopoverElement, - defineCustomElement as defineMyPopover, -} from 'component-library/components/my-popover.js'; -import { - MyRadioGroup as MyRadioGroupElement, - defineCustomElement as defineMyRadioGroup, -} from 'component-library/components/my-radio-group.js'; -import { - MyRadio as MyRadioElement, - defineCustomElement as defineMyRadio, -} from 'component-library/components/my-radio.js'; -import { - MyRange as MyRangeElement, - defineCustomElement as defineMyRange, -} from 'component-library/components/my-range.js'; +import { type CheckboxChangeEventDetail, type InputChangeEventDetail, type MyCheckboxCustomEvent, type MyInputCustomEvent, type MyPopoverCustomEvent, type MyRadioGroupCustomEvent, type MyRangeCustomEvent, type OverlayEventDetail, type RadioGroupChangeEventDetail, type RangeChangeEventDetail } from "component-library"; +import { MyButton as MyButtonElement, defineCustomElement as defineMyButton } from "component-library/components/my-button.js"; +import { MyCheckbox as MyCheckboxElement, defineCustomElement as defineMyCheckbox } from "component-library/components/my-checkbox.js"; +import { MyComponent as MyComponentElement, defineCustomElement as defineMyComponent } from "component-library/components/my-component.js"; +import { MyInput as MyInputElement, defineCustomElement as defineMyInput } from "component-library/components/my-input.js"; +import { MyPopover as MyPopoverElement, defineCustomElement as defineMyPopover } from "component-library/components/my-popover.js"; +import { MyRadioGroup as MyRadioGroupElement, defineCustomElement as defineMyRadioGroup } from "component-library/components/my-radio-group.js"; +import { MyRadio as MyRadioElement, defineCustomElement as defineMyRadio } from "component-library/components/my-radio.js"; +import { MyRange as MyRangeElement, defineCustomElement as defineMyRange } from "component-library/components/my-range.js"; import React from 'react'; type MyButtonEvents = { - onMyFocus: EventName>; - onMyBlur: EventName>; + onMyFocus: EventName>, + onMyBlur: EventName> }; -export const MyButton: StencilReactComponent = /*@__PURE__*/ createComponent< - MyButtonElement, - MyButtonEvents ->({ - tagName: 'my-button', - elementClass: MyButtonElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { - onMyFocus: 'myFocus', - onMyBlur: 'myBlur', - } as MyButtonEvents, - defineCustomElement: defineMyButton, +export const MyButton: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-button', + elementClass: MyButtonElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { + onMyFocus: 'myFocus', + onMyBlur: 'myBlur' + } as MyButtonEvents, + defineCustomElement: defineMyButton }); type MyCheckboxEvents = { - onMyChange: EventName>; - onMyFocus: EventName>; - onMyBlur: EventName>; + onMyChange: EventName>, + onMyFocus: EventName>, + onMyBlur: EventName> }; -export const MyCheckbox: StencilReactComponent = /*@__PURE__*/ createComponent< - MyCheckboxElement, - MyCheckboxEvents ->({ - tagName: 'my-checkbox', - elementClass: MyCheckboxElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { - onMyChange: 'myChange', - onMyFocus: 'myFocus', - onMyBlur: 'myBlur', - } as MyCheckboxEvents, - defineCustomElement: defineMyCheckbox, +export const MyCheckbox: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-checkbox', + elementClass: MyCheckboxElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { + onMyChange: 'myChange', + onMyFocus: 'myFocus', + onMyBlur: 'myBlur' + } as MyCheckboxEvents, + defineCustomElement: defineMyCheckbox }); type MyComponentEvents = { onMyCustomEvent: EventName> }; -export const MyComponent: StencilReactComponent = /*@__PURE__*/ createComponent< - MyComponentElement, - MyComponentEvents ->({ - tagName: 'my-component', - elementClass: MyComponentElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { onMyCustomEvent: 'myCustomEvent' } as MyComponentEvents, - defineCustomElement: defineMyComponent, +export const MyComponent: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-component', + elementClass: MyComponentElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { onMyCustomEvent: 'myCustomEvent' } as MyComponentEvents, + defineCustomElement: defineMyComponent }); type MyInputEvents = { - onMyInput: EventName>; - onMyChange: EventName>; - onMyBlur: EventName>; - onMyFocus: EventName>; + onMyInput: EventName>, + onMyChange: EventName>, + onMyBlur: EventName>, + onMyFocus: EventName> }; -export const MyInput: StencilReactComponent = /*@__PURE__*/ createComponent< - MyInputElement, - MyInputEvents ->({ - tagName: 'my-input', - elementClass: MyInputElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { - onMyInput: 'myInput', - onMyChange: 'myChange', - onMyBlur: 'myBlur', - onMyFocus: 'myFocus', - } as MyInputEvents, - defineCustomElement: defineMyInput, +export const MyInput: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-input', + elementClass: MyInputElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { + onMyInput: 'myInput', + onMyChange: 'myChange', + onMyBlur: 'myBlur', + onMyFocus: 'myFocus' + } as MyInputEvents, + defineCustomElement: defineMyInput }); type MyPopoverEvents = { - onMyPopoverDidPresent: EventName>; - onMyPopoverWillPresent: EventName>; - onMyPopoverWillDismiss: EventName>; - onMyPopoverDidDismiss: EventName>; + onMyPopoverDidPresent: EventName>, + onMyPopoverWillPresent: EventName>, + onMyPopoverWillDismiss: EventName>, + onMyPopoverDidDismiss: EventName> }; -export const MyPopover: StencilReactComponent = /*@__PURE__*/ createComponent< - MyPopoverElement, - MyPopoverEvents ->({ - tagName: 'my-popover', - elementClass: MyPopoverElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { - onMyPopoverDidPresent: 'myPopoverDidPresent', - onMyPopoverWillPresent: 'myPopoverWillPresent', - onMyPopoverWillDismiss: 'myPopoverWillDismiss', - onMyPopoverDidDismiss: 'myPopoverDidDismiss', - } as MyPopoverEvents, - defineCustomElement: defineMyPopover, +export const MyPopover: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-popover', + elementClass: MyPopoverElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { + onMyPopoverDidPresent: 'myPopoverDidPresent', + onMyPopoverWillPresent: 'myPopoverWillPresent', + onMyPopoverWillDismiss: 'myPopoverWillDismiss', + onMyPopoverDidDismiss: 'myPopoverDidDismiss' + } as MyPopoverEvents, + defineCustomElement: defineMyPopover }); type MyRadioEvents = { - onMyFocus: EventName>; - onMyBlur: EventName>; - onMySelect: EventName>; + onMyFocus: EventName>, + onMyBlur: EventName>, + onMySelect: EventName> }; -export const MyRadio: StencilReactComponent = /*@__PURE__*/ createComponent< - MyRadioElement, - MyRadioEvents ->({ - tagName: 'my-radio', - elementClass: MyRadioElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { - onMyFocus: 'myFocus', - onMyBlur: 'myBlur', - onMySelect: 'mySelect', - } as MyRadioEvents, - defineCustomElement: defineMyRadio, +export const MyRadio: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-radio', + elementClass: MyRadioElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { + onMyFocus: 'myFocus', + onMyBlur: 'myBlur', + onMySelect: 'mySelect' + } as MyRadioEvents, + defineCustomElement: defineMyRadio }); type MyRadioGroupEvents = { onMyChange: EventName> }; -export const MyRadioGroup: StencilReactComponent = - /*@__PURE__*/ createComponent({ +export const MyRadioGroup: StencilReactComponent = /*@__PURE__*/ createComponent({ tagName: 'my-radio-group', elementClass: MyRadioGroupElement, // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. react: React, events: { onMyChange: 'myChange' } as MyRadioGroupEvents, - defineCustomElement: defineMyRadioGroup, - }); + defineCustomElement: defineMyRadioGroup +}); type MyRangeEvents = { - onMyChange: EventName>; - onMyFocus: EventName>; - onMyBlur: EventName>; + onMyChange: EventName>, + onMyFocus: EventName>, + onMyBlur: EventName> }; -export const MyRange: StencilReactComponent = /*@__PURE__*/ createComponent< - MyRangeElement, - MyRangeEvents ->({ - tagName: 'my-range', - elementClass: MyRangeElement, - // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. - react: React, - events: { - onMyChange: 'myChange', - onMyFocus: 'myFocus', - onMyBlur: 'myBlur', - } as MyRangeEvents, - defineCustomElement: defineMyRange, +export const MyRange: StencilReactComponent = /*@__PURE__*/ createComponent({ + tagName: 'my-range', + elementClass: MyRangeElement, + // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored. + react: React, + events: { + onMyChange: 'myChange', + onMyFocus: 'myFocus', + onMyBlur: 'myBlur' + } as MyRangeEvents, + defineCustomElement: defineMyRange }); diff --git a/example-project/component-library-vue/.prettierignore b/example-project/component-library-vue/.prettierignore new file mode 100644 index 00000000..42401056 --- /dev/null +++ b/example-project/component-library-vue/.prettierignore @@ -0,0 +1 @@ +src/index.ts diff --git a/example-project/component-library-vue/src/index.ts b/example-project/component-library-vue/src/index.ts index 448ff59c..7c7112e8 100644 --- a/example-project/component-library-vue/src/index.ts +++ b/example-project/component-library-vue/src/index.ts @@ -14,290 +14,279 @@ import { defineCustomElement as defineMyRadio } from 'component-library/componen import { defineCustomElement as defineMyRadioGroup } from 'component-library/components/my-radio-group.js'; import { defineCustomElement as defineMyRange } from 'component-library/components/my-range.js'; -export const MyButton = /*@__PURE__*/ globalThis.window - ? defineContainer('my-button', defineMyButton, [ - 'color', - 'buttonType', - 'disabled', - 'expand', - 'fill', - 'download', - 'href', - 'rel', - 'shape', - 'size', - 'strong', - 'target', - 'type', - 'myFocus', - 'myBlur', - ]) - : defineStencilSSRComponent({ - tagName: 'my-button', - hydrateModule: import('component-library/hydrate'), - props: { - color: [String, 'color'], - buttonType: [String, 'button-type'], - disabled: [Boolean, 'disabled'], - expand: [String, 'expand'], - fill: [String, 'fill'], - download: [String, 'download'], - href: [String, 'href'], - rel: [String, 'rel'], - shape: [String, 'shape'], - size: [String, 'size'], - strong: [Boolean, 'strong'], - target: [String, 'target'], - type: [String, 'type'], - onMyFocus: [Function], - onMyBlur: [Function], - }, - }); -export const MyCheckbox = /*@__PURE__*/ globalThis.window - ? defineContainer( - 'my-checkbox', - defineMyCheckbox, - ['color', 'name', 'checked', 'indeterminate', 'disabled', 'value', 'myChange', 'myFocus', 'myBlur', 'myStyle'], - 'checked', - 'myChange' - ) - : defineStencilSSRComponent({ - tagName: 'my-checkbox', - hydrateModule: import('component-library/hydrate'), - props: { - color: [String, 'color'], - name: [String, 'name'], - checked: [Boolean, 'checked'], - indeterminate: [Boolean, 'indeterminate'], - disabled: [Boolean, 'disabled'], - value: [String, 'value'], - onMyChange: [Function], - onMyFocus: [Function], - onMyBlur: [Function], - onMyStyle: [Function], - }, - }); +export const MyButton = /*@__PURE__*/ globalThis.window ? defineContainer('my-button', defineMyButton, [ + 'color', + 'buttonType', + 'disabled', + 'expand', + 'fill', + 'download', + 'href', + 'rel', + 'shape', + 'size', + 'strong', + 'target', + 'type', + 'myFocus', + 'myBlur' +]) : defineStencilSSRComponent({ + tagName: 'my-button', + hydrateModule: import('component-library/hydrate'), + props: { + 'color': [String, "color"], + 'buttonType': [String, "button-type"], + 'disabled': [Boolean, "disabled"], + 'expand': [String, "expand"], + 'fill': [String, "fill"], + 'download': [String, "download"], + 'href': [String, "href"], + 'rel': [String, "rel"], + 'shape': [String, "shape"], + 'size': [String, "size"], + 'strong': [Boolean, "strong"], + 'target': [String, "target"], + 'type': [String, "type"], + 'onMyFocus': [Function], + 'onMyBlur': [Function] + } +}); -export const MyComponent = /*@__PURE__*/ globalThis.window - ? defineContainer('my-component', defineMyComponent, [ - 'first', - 'middle', - 'last', - 'age', - 'kidsNames', - 'favoriteKidName', - 'myCustomEvent', - ]) - : defineStencilSSRComponent({ - tagName: 'my-component', - hydrateModule: import('component-library/hydrate'), - props: { - first: [String, 'first'], - middle: [String, 'middle'], - last: [String, 'last'], - age: [Number, 'age'], - favoriteKidName: [String, 'favorite-kid-name'], - onMyCustomEvent: [Function], - }, - }); -export const MyInput = /*@__PURE__*/ globalThis.window - ? defineContainer( - 'my-input', - defineMyInput, - [ - 'color', - 'accept', - 'autocapitalize', - 'autocomplete', - 'autocorrect', - 'autofocus', - 'clearInput', - 'clearOnEdit', - 'disabled', - 'enterkeyhint', - 'inputmode', - 'max', - 'maxlength', - 'min', - 'minlength', - 'multiple', - 'name', - 'pattern', - 'placeholder', - 'readonly', - 'required', - 'spellcheck', - 'step', - 'size', - 'type', - 'value', - 'myInput', - 'myChange', - 'myBlur', - 'myFocus', - ], - 'value', - 'myChange' - ) - : defineStencilSSRComponent({ - tagName: 'my-input', - hydrateModule: import('component-library/hydrate'), - props: { - color: [String, 'color'], - accept: [String, 'accept'], - autocapitalize: [String, 'autocapitalize'], - autocomplete: [String, 'autocomplete'], - autocorrect: [String, 'autocorrect'], - autofocus: [Boolean, 'autofocus'], - clearInput: [Boolean, 'clear-input'], - clearOnEdit: [Boolean, 'clear-on-edit'], - disabled: [Boolean, 'disabled'], - enterkeyhint: [String, 'enterkeyhint'], - inputmode: [String, 'inputmode'], - max: [String, 'max'], - maxlength: [Number, 'maxlength'], - min: [String, 'min'], - minlength: [Number, 'minlength'], - multiple: [Boolean, 'multiple'], - name: [String, 'name'], - pattern: [String, 'pattern'], - placeholder: [String, 'placeholder'], - readonly: [Boolean, 'readonly'], - required: [Boolean, 'required'], - spellcheck: [Boolean, 'spellcheck'], - step: [String, 'step'], - size: [Number, 'size'], - type: [String, 'type'], - onMyInput: [Function], - onMyChange: [Function], - onMyBlur: [Function], - onMyFocus: [Function], - }, - }); +export const MyCheckbox = /*@__PURE__*/ globalThis.window ? defineContainer('my-checkbox', defineMyCheckbox, [ + 'color', + 'name', + 'checked', + 'indeterminate', + 'disabled', + 'value', + 'myChange', + 'myFocus', + 'myBlur', + 'myStyle' +], +'checked', 'myChange') : defineStencilSSRComponent({ + tagName: 'my-checkbox', + hydrateModule: import('component-library/hydrate'), + props: { + 'color': [String, "color"], + 'name': [String, "name"], + 'checked': [Boolean, "checked"], + 'indeterminate': [Boolean, "indeterminate"], + 'disabled': [Boolean, "disabled"], + 'value': [String, "value"], + 'onMyChange': [Function], + 'onMyFocus': [Function], + 'onMyBlur': [Function], + 'onMyStyle': [Function] + } +}); -export const MyPopover = /*@__PURE__*/ globalThis.window - ? defineContainer('my-popover', defineMyPopover, [ - 'component', - 'componentProps', - 'keyboardClose', - 'cssClass', - 'backdropDismiss', - 'event', - 'showBackdrop', - 'translucent', - 'animated', - 'myPopoverDidPresent', - 'myPopoverWillPresent', - 'myPopoverWillDismiss', - 'myPopoverDidDismiss', - ]) - : defineStencilSSRComponent({ - tagName: 'my-popover', - hydrateModule: import('component-library/hydrate'), - props: { - component: [String, 'component'], - keyboardClose: [Boolean, 'keyboard-close'], - cssClass: [String, 'css-class'], - backdropDismiss: [Boolean, 'backdrop-dismiss'], - showBackdrop: [Boolean, 'show-backdrop'], - translucent: [Boolean, 'translucent'], - animated: [Boolean, 'animated'], - onMyPopoverDidPresent: [Function], - onMyPopoverWillPresent: [Function], - onMyPopoverWillDismiss: [Function], - onMyPopoverDidDismiss: [Function], - }, - }); -export const MyRadio = /*@__PURE__*/ globalThis.window - ? defineContainer('my-radio', defineMyRadio, [ - 'color', - 'name', - 'disabled', - 'value', - 'myStyle', - 'myFocus', - 'myBlur', - 'mySelect', - ]) - : defineStencilSSRComponent({ - tagName: 'my-radio', - hydrateModule: import('component-library/hydrate'), - props: { - color: [String, 'color'], - name: [String, 'name'], - disabled: [Boolean, 'disabled'], - onMyStyle: [Function], - onMyFocus: [Function], - onMyBlur: [Function], - onMySelect: [Function], - }, - }); +export const MyComponent = /*@__PURE__*/ globalThis.window ? defineContainer('my-component', defineMyComponent, [ + 'first', + 'middle', + 'last', + 'age', + 'kidsNames', + 'favoriteKidName', + 'myCustomEvent' +]) : defineStencilSSRComponent({ + tagName: 'my-component', + hydrateModule: import('component-library/hydrate'), + props: { + 'first': [String, "first"], + 'middle': [String, "middle"], + 'last': [String, "last"], + 'age': [Number, "age"], + 'favoriteKidName': [String, "favorite-kid-name"], + 'onMyCustomEvent': [Function] + } +}); -export const MyRadioGroup = /*@__PURE__*/ globalThis.window - ? defineContainer( - 'my-radio-group', - defineMyRadioGroup, - ['allowEmptySelection', 'name', 'value', 'myChange'], - 'value', - 'myChange' - ) - : defineStencilSSRComponent({ - tagName: 'my-radio-group', - hydrateModule: import('component-library/hydrate'), - props: { - allowEmptySelection: [Boolean, 'allow-empty-selection'], - name: [String, 'name'], - onMyChange: [Function], - }, - }); -export const MyRange = /*@__PURE__*/ globalThis.window - ? defineContainer( - 'my-range', - defineMyRange, - [ - 'color', - 'debounce', - 'name', - 'dualKnobs', - 'min', - 'max', - 'pin', - 'snaps', - 'step', - 'ticks', - 'disabled', - 'value', - 'myChange', - 'myStyle', - 'myFocus', - 'myBlur', - ], - 'value', - 'myChange' - ) - : defineStencilSSRComponent({ - tagName: 'my-range', - hydrateModule: import('component-library/hydrate'), - props: { - color: [String, 'color'], - debounce: [Number, 'debounce'], - name: [String, 'name'], - dualKnobs: [Boolean, 'dual-knobs'], - min: [Number, 'min'], - max: [Number, 'max'], - pin: [Boolean, 'pin'], - snaps: [Boolean, 'snaps'], - step: [Number, 'step'], - ticks: [Boolean, 'ticks'], - disabled: [Boolean, 'disabled'], - value: [Number, 'value'], - onMyChange: [Function], - onMyStyle: [Function], - onMyFocus: [Function], - onMyBlur: [Function], - }, - }); +export const MyInput = /*@__PURE__*/ globalThis.window ? defineContainer('my-input', defineMyInput, [ + 'color', + 'accept', + 'autocapitalize', + 'autocomplete', + 'autocorrect', + 'autofocus', + 'clearInput', + 'clearOnEdit', + 'disabled', + 'enterkeyhint', + 'inputmode', + 'max', + 'maxlength', + 'min', + 'minlength', + 'multiple', + 'name', + 'pattern', + 'placeholder', + 'readonly', + 'required', + 'spellcheck', + 'step', + 'size', + 'type', + 'value', + 'myInput', + 'myChange', + 'myBlur', + 'myFocus' +], +'value', 'myChange') : defineStencilSSRComponent({ + tagName: 'my-input', + hydrateModule: import('component-library/hydrate'), + props: { + 'color': [String, "color"], + 'accept': [String, "accept"], + 'autocapitalize': [String, "autocapitalize"], + 'autocomplete': [String, "autocomplete"], + 'autocorrect': [String, "autocorrect"], + 'autofocus': [Boolean, "autofocus"], + 'clearInput': [Boolean, "clear-input"], + 'clearOnEdit': [Boolean, "clear-on-edit"], + 'disabled': [Boolean, "disabled"], + 'enterkeyhint': [String, "enterkeyhint"], + 'inputmode': [String, "inputmode"], + 'max': [String, "max"], + 'maxlength': [Number, "maxlength"], + 'min': [String, "min"], + 'minlength': [Number, "minlength"], + 'multiple': [Boolean, "multiple"], + 'name': [String, "name"], + 'pattern': [String, "pattern"], + 'placeholder': [String, "placeholder"], + 'readonly': [Boolean, "readonly"], + 'required': [Boolean, "required"], + 'spellcheck': [Boolean, "spellcheck"], + 'step': [String, "step"], + 'size': [Number, "size"], + 'type': [String, "type"], + 'onMyInput': [Function], + 'onMyChange': [Function], + 'onMyBlur': [Function], + 'onMyFocus': [Function] + } +}); + + +export const MyPopover = /*@__PURE__*/ globalThis.window ? defineContainer('my-popover', defineMyPopover, [ + 'component', + 'componentProps', + 'keyboardClose', + 'cssClass', + 'backdropDismiss', + 'event', + 'showBackdrop', + 'translucent', + 'animated', + 'myPopoverDidPresent', + 'myPopoverWillPresent', + 'myPopoverWillDismiss', + 'myPopoverDidDismiss' +]) : defineStencilSSRComponent({ + tagName: 'my-popover', + hydrateModule: import('component-library/hydrate'), + props: { + 'component': [String, "component"], + 'keyboardClose': [Boolean, "keyboard-close"], + 'cssClass': [String, "css-class"], + 'backdropDismiss': [Boolean, "backdrop-dismiss"], + 'showBackdrop': [Boolean, "show-backdrop"], + 'translucent': [Boolean, "translucent"], + 'animated': [Boolean, "animated"], + 'onMyPopoverDidPresent': [Function], + 'onMyPopoverWillPresent': [Function], + 'onMyPopoverWillDismiss': [Function], + 'onMyPopoverDidDismiss': [Function] + } +}); + + +export const MyRadio = /*@__PURE__*/ globalThis.window ? defineContainer('my-radio', defineMyRadio, [ + 'color', + 'name', + 'disabled', + 'value', + 'myStyle', + 'myFocus', + 'myBlur', + 'mySelect' +]) : defineStencilSSRComponent({ + tagName: 'my-radio', + hydrateModule: import('component-library/hydrate'), + props: { + 'color': [String, "color"], + 'name': [String, "name"], + 'disabled': [Boolean, "disabled"], + 'onMyStyle': [Function], + 'onMyFocus': [Function], + 'onMyBlur': [Function], + 'onMySelect': [Function] + } +}); + + +export const MyRadioGroup = /*@__PURE__*/ globalThis.window ? defineContainer('my-radio-group', defineMyRadioGroup, [ + 'allowEmptySelection', + 'name', + 'value', + 'myChange' +], +'value', 'myChange') : defineStencilSSRComponent({ + tagName: 'my-radio-group', + hydrateModule: import('component-library/hydrate'), + props: { + 'allowEmptySelection': [Boolean, "allow-empty-selection"], + 'name': [String, "name"], + 'onMyChange': [Function] + } +}); + + +export const MyRange = /*@__PURE__*/ globalThis.window ? defineContainer('my-range', defineMyRange, [ + 'color', + 'debounce', + 'name', + 'dualKnobs', + 'min', + 'max', + 'pin', + 'snaps', + 'step', + 'ticks', + 'disabled', + 'value', + 'myChange', + 'myStyle', + 'myFocus', + 'myBlur' +], +'value', 'myChange') : defineStencilSSRComponent({ + tagName: 'my-range', + hydrateModule: import('component-library/hydrate'), + props: { + 'color': [String, "color"], + 'debounce': [Number, "debounce"], + 'name': [String, "name"], + 'dualKnobs': [Boolean, "dual-knobs"], + 'min': [Number, "min"], + 'max': [Number, "max"], + 'pin': [Boolean, "pin"], + 'snaps': [Boolean, "snaps"], + 'step': [Number, "step"], + 'ticks': [Boolean, "ticks"], + 'disabled': [Boolean, "disabled"], + 'value': [Number, "value"], + 'onMyChange': [Function], + 'onMyStyle': [Function], + 'onMyFocus': [Function], + 'onMyBlur': [Function] + } +}); + diff --git a/package.json b/package.json index bab71616..230e522d 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "lerna-changelog": "^2.0.0", "np": "^10.0.2", "npm-run-all2": "^6.2.4", - "prettier": "2.8.8", + "prettier": "^3.3.3", "semver": "^5.5.0", "ts-jest": "^26.2.0" }, diff --git a/packages/vue/src/ssr.ts b/packages/vue/src/ssr.ts index d5c4bfa3..98d25aad 100644 --- a/packages/vue/src/ssr.ts +++ b/packages/vue/src/ssr.ts @@ -65,8 +65,8 @@ export function defineStencilSSRComponent(options: StencilSSRComponentOptions) { : undefined : `"${value}"` : Array.isArray(value) && value.every(isPrimitive) - ? JSON.stringify(value) - : undefined; + ? JSON.stringify(value) + : undefined; if (!propName || !propValue) { console.warn( `${LOG_PREFIX} ignore component property "${key}" for ${options.tagName} ` + @@ -106,10 +106,13 @@ export function defineStencilSSRComponent(options: StencilSSRComponentOptions) { } ); }, - props: Object.entries(options.props || {}).reduce((acc, [key, value]) => { - acc[key] = value[0]; - return acc; - }, {} as Record), + props: Object.entries(options.props || {}).reduce( + (acc, [key, value]) => { + acc[key] = value[0]; + return acc; + }, + {} as Record + ), /** * the template tags can be arbitrary as they will be replaced with above compiled template */ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01adc4af..c5b9a6ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: devDependencies: '@ionic/prettier-config': specifier: ^2.0.0 - version: 2.1.2(prettier@2.8.8) + version: 2.1.2(prettier@3.3.3) lerna: specifier: ^8.0.0 version: 8.1.9(@swc/core@1.7.26(@swc/helpers@0.5.5))(encoding@0.1.13) @@ -24,8 +24,8 @@ importers: specifier: ^6.2.4 version: 6.2.4 prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: ^3.3.3 + version: 3.3.3 semver: specifier: ^5.5.0 version: 5.7.2 @@ -101,13 +101,13 @@ importers: version: 29.5.13 jest: specifier: ^29.0.0 - version: 29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + version: 29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-environment-jsdom: specifier: ^29.0.0 version: 29.7.0 jest-preset-angular: specifier: ^13.0.0 - version: 13.1.6(y5fmd6746vq2ysjsbi4rl2y7ym) + version: 13.1.6(ramax2z2wbjtjbk5xohnmuqlra) rollup: specifier: ^4.14.3 version: 4.24.2 @@ -386,10 +386,10 @@ importers: version: 8.2.14(@angular/common@16.2.12(@angular/core@8.2.14(rxjs@7.8.1)(zone.js@0.13.3))(rxjs@7.8.1))(@angular/core@8.2.14(rxjs@7.8.1)(zone.js@0.13.3))(@angular/platform-browser@16.2.12(@angular/common@16.2.12(@angular/core@8.2.14(rxjs@7.8.1)(zone.js@0.13.3))(rxjs@7.8.1))(@angular/core@8.2.14(rxjs@7.8.1)(zone.js@0.13.3)))(rxjs@7.8.1) '@types/node': specifier: ^18.0.0 - version: 20.17.6 + version: 18.19.64 jest: specifier: ^27.0.0 - version: 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)) + version: 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)) jest-environment-jsdom: specifier: ^27.0.0 version: 27.5.1 @@ -472,7 +472,7 @@ importers: version: 12.1.1(rollup@4.24.2)(tslib@2.8.1)(typescript@5.6.3) '@types/node': specifier: ^18.0.0 - version: 20.17.6 + version: 18.19.64 '@vue/shared': specifier: ^3.5.12 version: 3.5.12 @@ -487,7 +487,7 @@ importers: version: 5.6.3 vitest: specifier: ^2.0.5 - version: 2.1.3(@types/node@20.17.6)(jsdom@20.0.3)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + version: 2.1.3(@types/node@18.19.64)(jsdom@20.0.3)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) packages: @@ -3590,6 +3590,9 @@ packages: '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} + '@types/node@18.19.64': + resolution: {integrity: sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==} + '@types/node@20.14.12': resolution: {integrity: sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==} @@ -9540,9 +9543,9 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + engines: {node: '>=14'} hasBin: true pretty-bytes@6.1.1: @@ -12026,7 +12029,7 @@ snapshots: transitivePeerDependencies: - chokidar - '@angular-devkit/build-angular@17.3.10(@angular/compiler-cli@16.2.12(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(typescript@5.1.6))(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/express@4.17.21)(@types/node@22.9.0)(chokidar@3.6.0)(jest-environment-jsdom@29.7.0)(jest@29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)))(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)))(typescript@5.1.6)': + '@angular-devkit/build-angular@17.3.10(@angular/compiler-cli@16.2.12(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(typescript@5.1.6))(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/express@4.17.21)(@types/node@20.17.6)(chokidar@3.6.0)(jest-environment-jsdom@29.7.0)(jest@29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)))(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)))(typescript@5.1.6)': dependencies: '@ampproject/remapping': 2.3.0 '@angular-devkit/architect': 0.1703.10(chokidar@3.6.0) @@ -12044,7 +12047,7 @@ snapshots: '@babel/runtime': 7.24.0 '@discoveryjs/json-ext': 0.5.7 '@ngtools/webpack': 17.3.10(@angular/compiler-cli@16.2.12(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(typescript@5.1.6))(typescript@5.1.6)(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1)) - '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.1.8(@types/node@22.9.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1)) + '@vitejs/plugin-basic-ssl': 1.1.0(vite@5.1.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1)) ansi-colors: 4.1.3 autoprefixer: 10.4.18(postcss@8.4.35) babel-loader: 9.1.3(@babel/core@7.24.0)(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1)) @@ -12086,7 +12089,7 @@ snapshots: tslib: 2.6.2 typescript: 5.1.6 undici: 6.11.1 - vite: 5.1.8(@types/node@22.9.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + vite: 5.1.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) watchpack: 2.4.0 webpack: 5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1) webpack-dev-middleware: 6.1.2(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1)) @@ -12095,9 +12098,9 @@ snapshots: webpack-subresource-integrity: 5.1.0(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1)) optionalDependencies: esbuild: 0.20.1 - jest: 29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest: 29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-environment-jsdom: 29.7.0 - tailwindcss: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + tailwindcss: 3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) transitivePeerDependencies: - '@rspack/core' - '@swc/core' @@ -12295,7 +12298,7 @@ snapshots: dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.26.2 - '@babel/generator': 7.23.6 + '@babel/generator': 7.26.2 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-module-transforms': 7.26.0(@babel/core@7.24.0) '@babel/helpers': 7.26.0 @@ -13953,9 +13956,9 @@ snapshots: dependencies: mute-stream: 1.0.0 - '@ionic/prettier-config@2.1.2(prettier@2.8.8)': + '@ionic/prettier-config@2.1.2(prettier@3.3.3)': dependencies: - prettier: 2.8.8 + prettier: 3.3.3 '@ioredis/commands@1.2.0': {} @@ -13983,7 +13986,7 @@ snapshots: '@jest/console@26.6.2': dependencies: '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 jest-message-util: 26.6.2 jest-util: 26.6.2 @@ -14001,7 +14004,7 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -14014,7 +14017,7 @@ snapshots: '@jest/test-result': 26.6.2 '@jest/transform': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 exit: 0.1.2 @@ -14044,7 +14047,7 @@ snapshots: - ts-node - utf-8-validate - '@jest/core@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3))': + '@jest/core@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3))': dependencies: '@jest/console': 27.5.1 '@jest/reporters': 27.5.1(node-notifier@8.0.2) @@ -14058,7 +14061,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 27.5.1 - jest-config: 27.5.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 27.5.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)) jest-haste-map: 27.5.1 jest-message-util: 27.5.1 jest-regex-util: 27.5.1 @@ -14083,21 +14086,21 @@ snapshots: - ts-node - utf-8-validate - '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6))': + '@jest/core@29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0(node-notifier@8.0.2) '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -14127,14 +14130,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.6.3)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.6.3)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -14161,7 +14164,7 @@ snapshots: dependencies: '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-mock: 26.6.2 '@jest/environment@27.5.1': @@ -14175,7 +14178,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.14.12 + '@types/node': 20.17.6 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -14193,7 +14196,7 @@ snapshots: dependencies: '@jest/types': 26.6.2 '@sinonjs/fake-timers': 6.0.1 - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-message-util: 26.6.2 jest-mock: 26.6.2 jest-util: 26.6.2 @@ -14211,7 +14214,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.14.12 + '@types/node': 20.17.6 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -14308,7 +14311,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -14468,7 +14471,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/yargs': 15.0.19 chalk: 4.1.2 @@ -14485,7 +14488,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -15741,20 +15744,20 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/bonjour@3.5.13': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/connect-history-api-fallback@1.5.4': dependencies: '@types/express-serve-static-core': 5.0.1 - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/connect@3.4.38': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/estree@1.0.5': {} @@ -15762,14 +15765,14 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 '@types/express-serve-static-core@5.0.1': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -15783,7 +15786,7 @@ snapshots: '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/http-cache-semantics@4.0.4': {} @@ -15791,7 +15794,7 @@ snapshots: '@types/http-proxy@1.17.15': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/istanbul-lib-coverage@2.0.6': {} @@ -15810,7 +15813,7 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 20.14.12 + '@types/node': 20.17.6 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -15828,11 +15831,15 @@ snapshots: '@types/mute-stream@0.0.4': dependencies: - '@types/node': 20.14.12 + '@types/node': 20.17.6 '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 + + '@types/node@18.19.64': + dependencies: + undici-types: 5.26.5 '@types/node@20.14.12': dependencies: @@ -15876,7 +15883,7 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/serve-index@1.9.4': dependencies: @@ -15885,14 +15892,14 @@ snapshots: '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/send': 0.17.4 '@types/sinonjs__fake-timers@8.1.5': {} '@types/sockjs@0.3.36': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/stack-utils@2.0.3': {} @@ -15904,11 +15911,11 @@ snapshots: '@types/ws@8.5.12': dependencies: - '@types/node': 20.14.12 + '@types/node': 20.17.6 '@types/ws@8.5.13': dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 '@types/yargs-parser@21.0.3': {} @@ -15926,7 +15933,7 @@ snapshots: '@types/yauzl@2.10.3': dependencies: - '@types/node': 20.14.12 + '@types/node': 20.17.6 optional: true '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2)': @@ -16127,9 +16134,9 @@ snapshots: - encoding - supports-color - '@vitejs/plugin-basic-ssl@1.1.0(vite@5.1.8(@types/node@22.9.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))': + '@vitejs/plugin-basic-ssl@1.1.0(vite@5.1.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))': dependencies: - vite: 5.1.8(@types/node@22.9.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + vite: 5.1.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) '@vitejs/plugin-react@4.3.2(vite@5.4.8(@types/node@22.9.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))': dependencies: @@ -16164,6 +16171,14 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 + '@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.4.8(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))': + dependencies: + '@vitest/spy': 2.1.3 + estree-walker: 3.0.3 + magic-string: 0.30.12 + optionalDependencies: + vite: 5.4.8(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + '@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.4.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))': dependencies: '@vitest/spy': 2.1.3 @@ -16602,7 +16617,7 @@ snapshots: '@wdio/repl@9.0.8': dependencies: - '@types/node': 20.14.12 + '@types/node': 20.17.6 '@wdio/reporter@9.1.3': dependencies: @@ -18045,13 +18060,13 @@ snapshots: crc-32: 1.2.2 readable-stream: 4.5.2 - create-jest@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)): + create-jest@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -18084,7 +18099,7 @@ snapshots: dom-serializer: 2.0.0 domhandler: 5.0.3 htmlparser2: 8.0.2 - postcss: 8.4.35 + postcss: 8.4.47 postcss-media-query-parser: 0.2.3 croner@8.1.2: {} @@ -18121,14 +18136,14 @@ snapshots: css-loader@6.10.0(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1)): dependencies: - icss-utils: 5.1.0(postcss@8.4.35) - postcss: 8.4.35 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.35) - postcss-modules-local-by-default: 4.0.5(postcss@8.4.35) - postcss-modules-scope: 3.2.0(postcss@8.4.35) - postcss-modules-values: 4.0.0(postcss@8.4.35) + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.47) + postcss-modules-local-by-default: 4.0.5(postcss@8.4.47) + postcss-modules-scope: 3.2.0(postcss@8.4.47) + postcss-modules-values: 4.0.0(postcss@8.4.47) postcss-value-parser: 4.2.0 - semver: 7.6.0 + semver: 7.6.3 optionalDependencies: webpack: 5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1) @@ -18878,7 +18893,7 @@ snapshots: eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.1) eslint-plugin-react: 7.37.1(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) @@ -18909,7 +18924,7 @@ snapshots: is-bun-module: 1.2.1 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node @@ -18927,7 +18942,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.8.1(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -20161,9 +20176,9 @@ snapshots: dependencies: safer-buffer: 2.1.2 - icss-utils@5.1.0(postcss@8.4.35): + icss-utils@5.1.0(postcss@8.4.47): dependencies: - postcss: 8.4.35 + postcss: 8.4.47 ieee754@1.2.1: {} @@ -20807,7 +20822,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -20849,16 +20864,16 @@ snapshots: - ts-node - utf-8-validate - jest-cli@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)): + jest-cli@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)): dependencies: - '@jest/core': 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)) + '@jest/core': 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)) '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 import-local: 3.1.0 - jest-config: 27.5.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)) + jest-config: 27.5.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)) jest-util: 27.5.1 jest-validate: 27.5.1 prompts: 2.4.2 @@ -20872,16 +20887,16 @@ snapshots: - ts-node - utf-8-validate - jest-cli@29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)): + jest-cli@29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)): dependencies: - '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + create-jest: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest-config: 29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -20927,7 +20942,7 @@ snapshots: jest-environment-jsdom: 26.6.2 jest-environment-node: 26.6.2 jest-get-type: 26.3.0 - jest-jasmine2: 26.6.3 + jest-jasmine2: 26.6.3(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.6.3)) jest-regex-util: 26.0.0 jest-resolve: 26.6.2 jest-util: 26.6.2 @@ -20942,7 +20957,7 @@ snapshots: - supports-color - utf-8-validate - jest-config@27.5.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)): + jest-config@27.5.1(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 27.5.1 @@ -20969,14 +20984,14 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3) + ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3) transitivePeerDependencies: - bufferutil - canvas - supports-color - utf-8-validate - jest-config@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)): + jest-config@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -21001,8 +21016,39 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.9.0 - ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6) + '@types/node': 20.17.6 + ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6) + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + + jest-config@29.7.0(@types/node@20.17.6)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.6.3)): + dependencies: + '@babel/core': 7.24.7 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.24.7) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.7 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 20.17.6 + ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.6.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -21100,7 +21146,7 @@ snapshots: '@jest/environment': 26.6.2 '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-mock: 26.6.2 jest-util: 26.6.2 jsdom: 16.7.0 @@ -21145,7 +21191,7 @@ snapshots: '@jest/environment': 26.6.2 '@jest/fake-timers': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-mock: 26.6.2 jest-util: 26.6.2 @@ -21163,7 +21209,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -21177,7 +21223,7 @@ snapshots: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.9 - '@types/node': 22.9.0 + '@types/node': 20.17.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -21214,7 +21260,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 22.9.0 + '@types/node': 20.17.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -21226,14 +21272,14 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - jest-jasmine2@26.6.3: + jest-jasmine2@26.6.3(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.6.3)): dependencies: '@babel/traverse': 7.25.4 '@jest/environment': 26.6.2 '@jest/source-map': 26.6.2 '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 co: 4.6.0 expect: 26.6.2 @@ -21247,7 +21293,11 @@ snapshots: pretty-format: 26.6.2 throat: 5.0.0 transitivePeerDependencies: + - bufferutil + - canvas - supports-color + - ts-node + - utf-8-validate jest-jasmine2@27.5.1: dependencies: @@ -21346,7 +21396,7 @@ snapshots: jest-mock@26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-mock@27.5.1: dependencies: @@ -21356,7 +21406,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.12 + '@types/node': 20.17.6 jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@26.6.2): @@ -21371,19 +21421,19 @@ snapshots: optionalDependencies: jest-resolve: 29.7.0 - jest-preset-angular@13.1.6(y5fmd6746vq2ysjsbi4rl2y7ym): + jest-preset-angular@13.1.6(ramax2z2wbjtjbk5xohnmuqlra): dependencies: - '@angular-devkit/build-angular': 17.3.10(@angular/compiler-cli@16.2.12(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(typescript@5.1.6))(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/express@4.17.21)(@types/node@22.9.0)(chokidar@3.6.0)(jest-environment-jsdom@29.7.0)(jest@29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)))(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)))(typescript@5.1.6) + '@angular-devkit/build-angular': 17.3.10(@angular/compiler-cli@16.2.12(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(typescript@5.1.6))(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/express@4.17.21)(@types/node@20.17.6)(chokidar@3.6.0)(jest-environment-jsdom@29.7.0)(jest@29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)))(tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)))(typescript@5.1.6) '@angular/compiler-cli': 16.2.12(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(typescript@5.1.6) '@angular/core': 16.2.12(rxjs@7.8.1)(zone.js@0.13.3) '@angular/platform-browser-dynamic': 16.2.12(@angular/common@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3))(rxjs@7.8.1))(@angular/compiler@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3)))(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3))(@angular/platform-browser@16.2.12(@angular/common@16.2.12(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3))(rxjs@7.8.1))(@angular/core@16.2.12(rxjs@7.8.1)(zone.js@0.13.3))) bs-logger: 0.2.6 esbuild-wasm: 0.24.0 - jest: 29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest: 29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-environment-jsdom: 29.7.0 jest-util: 29.7.0 pretty-format: 29.7.0 - ts-jest: 29.2.5(@babel/core@7.24.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.7))(esbuild@0.21.5)(jest@29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)))(typescript@5.1.6) + ts-jest: 29.2.5(@babel/core@7.24.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.7))(esbuild@0.21.5)(jest@29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)))(typescript@5.1.6) typescript: 5.1.6 optionalDependencies: esbuild: 0.21.5 @@ -21468,7 +21518,7 @@ snapshots: '@jest/environment': 26.6.2 '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 emittery: 0.7.2 exit: 0.1.2 @@ -21527,7 +21577,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -21618,7 +21668,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 cjs-module-lexer: 1.3.1 collect-v8-coverage: 1.0.2 @@ -21638,7 +21688,7 @@ snapshots: jest-serializer@26.6.2: dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 graceful-fs: 4.2.11 jest-serializer@27.5.1: @@ -21722,7 +21772,7 @@ snapshots: jest-util@26.6.2: dependencies: '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 chalk: 4.1.2 graceful-fs: 4.2.11 is-ci: 2.0.0 @@ -21740,7 +21790,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.14.12 + '@types/node': 20.17.6 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -21777,7 +21827,7 @@ snapshots: dependencies: '@jest/test-result': 26.6.2 '@jest/types': 26.6.2 - '@types/node': 22.9.0 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 26.6.2 @@ -21797,7 +21847,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.9.0 + '@types/node': 20.17.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -21806,7 +21856,7 @@ snapshots: jest-worker@26.6.2: dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 merge-stream: 2.0.0 supports-color: 7.2.0 @@ -21818,16 +21868,16 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)): + jest@27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)): dependencies: - '@jest/core': 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)) + '@jest/core': 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)) import-local: 3.1.0 - jest-cli: 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3)) + jest-cli: 27.5.1(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3)) optionalDependencies: node-notifier: 8.0.2 transitivePeerDependencies: @@ -21837,12 +21887,12 @@ snapshots: - ts-node - utf-8-validate - jest@29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)): + jest@29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)): dependencies: - '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + '@jest/core': 29.7.0(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest-cli: 29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) optionalDependencies: node-notifier: 8.0.2 transitivePeerDependencies: @@ -22178,7 +22228,7 @@ snapshots: dependencies: copy-anything: 2.0.6 parse-node-version: 1.0.1 - tslib: 2.6.2 + tslib: 2.8.1 optionalDependencies: errno: 0.1.8 graceful-fs: 4.2.11 @@ -23915,29 +23965,29 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.47 - postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2)): + postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)): dependencies: lilconfig: 3.1.2 yaml: 2.5.1 optionalDependencies: postcss: 8.4.47 - ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2) + ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6) + optional: true - postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)): + postcss-load-config@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2)): dependencies: lilconfig: 3.1.2 yaml: 2.5.1 optionalDependencies: postcss: 8.4.47 - ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6) - optional: true + ts-node: 10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2) postcss-loader@8.1.1(postcss@8.4.35)(typescript@5.1.6)(webpack@5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1)): dependencies: cosmiconfig: 9.0.0(typescript@5.1.6) jiti: 1.21.6 postcss: 8.4.35 - semver: 7.6.0 + semver: 7.6.3 optionalDependencies: webpack: 5.94.0(@swc/core@1.7.26(@swc/helpers@0.5.5))(esbuild@0.20.1) transitivePeerDependencies: @@ -23984,26 +24034,26 @@ snapshots: postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-modules-extract-imports@3.1.0(postcss@8.4.35): + postcss-modules-extract-imports@3.1.0(postcss@8.4.47): dependencies: - postcss: 8.4.35 + postcss: 8.4.47 - postcss-modules-local-by-default@4.0.5(postcss@8.4.35): + postcss-modules-local-by-default@4.0.5(postcss@8.4.47): dependencies: - icss-utils: 5.1.0(postcss@8.4.35) - postcss: 8.4.35 + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 - postcss-modules-scope@3.2.0(postcss@8.4.35): + postcss-modules-scope@3.2.0(postcss@8.4.47): dependencies: - postcss: 8.4.35 + postcss: 8.4.47 postcss-selector-parser: 6.1.2 - postcss-modules-values@4.0.0(postcss@8.4.35): + postcss-modules-values@4.0.0(postcss@8.4.47): dependencies: - icss-utils: 5.1.0(postcss@8.4.35) - postcss: 8.4.35 + icss-utils: 5.1.0(postcss@8.4.47) + postcss: 8.4.47 postcss-nested@6.2.0(postcss@8.4.47): dependencies: @@ -24110,7 +24160,7 @@ snapshots: prelude-ls@1.2.1: {} - prettier@2.8.8: {} + prettier@3.3.3: {} pretty-bytes@6.1.1: {} @@ -24485,7 +24535,7 @@ snapshots: adjust-sourcemap-loader: 4.0.0 convert-source-map: 1.9.0 loader-utils: 2.0.4 - postcss: 8.4.35 + postcss: 8.4.47 source-map: 0.6.1 resolve-url@0.2.1: {} @@ -25315,7 +25365,7 @@ snapshots: system-architecture@0.1.0: {} - tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2)): + tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -25334,15 +25384,16 @@ snapshots: postcss: 8.4.47 postcss-import: 15.1.0(postcss@8.4.47) postcss-js: 4.0.1(postcss@8.4.47) - postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2)) + postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) postcss-nested: 6.2.0(postcss@8.4.47) postcss-selector-parser: 6.1.2 resolve: 1.22.8 sucrase: 3.35.0 transitivePeerDependencies: - ts-node + optional: true - tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)): + tailwindcss@3.4.13(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -25361,14 +25412,13 @@ snapshots: postcss: 8.4.47 postcss-import: 15.1.0(postcss@8.4.47) postcss-js: 4.0.1(postcss@8.4.47) - postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + postcss-load-config: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2)) postcss-nested: 6.2.0(postcss@8.4.47) postcss-selector-parser: 6.1.2 resolve: 1.22.8 sucrase: 3.35.0 transitivePeerDependencies: - ts-node - optional: true tapable@2.2.1: {} @@ -25570,12 +25620,12 @@ snapshots: typescript: 5.6.3 yargs-parser: 20.2.9 - ts-jest@29.2.5(@babel/core@7.24.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.7))(esbuild@0.21.5)(jest@29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)))(typescript@5.1.6): + ts-jest@29.2.5(@babel/core@7.24.7)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.7))(esbuild@0.21.5)(jest@29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)))(typescript@5.1.6): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@22.9.0)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6)) + jest: 29.7.0(@types/node@20.17.6)(node-notifier@8.0.2)(ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -25595,28 +25645,28 @@ snapshots: '@ts-morph/common': 0.23.0 code-block-writer: 13.0.1 - ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2): + ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@18.19.64)(typescript@5.6.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.17.6 + '@types/node': 18.19.64 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.2 + typescript: 5.6.3 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: '@swc/core': 1.7.26(@swc/helpers@0.5.5) optional: true - ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.3): + ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.1.6): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -25630,28 +25680,28 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 5.1.6 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: '@swc/core': 1.7.26(@swc/helpers@0.5.5) optional: true - ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@22.9.0)(typescript@5.1.6): + ts-node@10.9.2(@swc/core@1.7.26(@swc/helpers@0.5.5))(@types/node@20.17.6)(typescript@5.6.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.9.0 + '@types/node': 20.17.6 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.1.6 + typescript: 5.6.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: @@ -26114,6 +26164,23 @@ snapshots: - supports-color - terser + vite-node@2.1.3(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): + dependencies: + cac: 6.7.14 + debug: 4.3.7 + pathe: 1.1.2 + vite: 5.4.8(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + vite-node@2.1.3(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): dependencies: cac: 6.7.14 @@ -26204,13 +26271,13 @@ snapshots: transitivePeerDependencies: - supports-color - vite@5.1.8(@types/node@22.9.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): + vite@5.1.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): dependencies: esbuild: 0.19.12 - postcss: 8.4.35 + postcss: 8.4.47 rollup: 4.24.4 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 20.17.6 fsevents: 2.3.3 less: 4.2.0 sass: 1.71.1 @@ -26228,6 +26295,18 @@ snapshots: sass: 1.71.1 terser: 5.29.1 + vite@5.4.8(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.47 + rollup: 4.24.2 + optionalDependencies: + '@types/node': 18.19.64 + fsevents: 2.3.3 + less: 4.2.0 + sass: 1.71.1 + terser: 5.29.1 + vite@5.4.8(@types/node@20.17.6)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): dependencies: esbuild: 0.21.5 @@ -26252,6 +26331,41 @@ snapshots: sass: 1.71.1 terser: 5.29.1 + vitest@2.1.3(@types/node@18.19.64)(jsdom@20.0.3)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): + dependencies: + '@vitest/expect': 2.1.3 + '@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(vite@5.4.8(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1)) + '@vitest/pretty-format': 2.1.4 + '@vitest/runner': 2.1.3 + '@vitest/snapshot': 2.1.3 + '@vitest/spy': 2.1.3 + '@vitest/utils': 2.1.3 + chai: 5.1.2 + debug: 4.3.7 + magic-string: 0.30.12 + pathe: 1.1.2 + std-env: 3.7.0 + tinybench: 2.9.0 + tinyexec: 0.3.1 + tinypool: 1.0.1 + tinyrainbow: 1.2.0 + vite: 5.4.8(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + vite-node: 2.1.3(@types/node@18.19.64)(less@4.2.0)(sass@1.71.1)(terser@5.29.1) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 18.19.64 + jsdom: 20.0.3 + transitivePeerDependencies: + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + vitest@2.1.3(@types/node@20.17.6)(jsdom@20.0.3)(less@4.2.0)(sass@1.71.1)(terser@5.29.1): dependencies: '@vitest/expect': 2.1.3 @@ -26463,7 +26577,7 @@ snapshots: webdriver@9.1.5: dependencies: - '@types/node': 20.14.12 + '@types/node': 20.17.6 '@types/ws': 8.5.12 '@wdio/config': 9.1.3 '@wdio/logger': 9.1.3