diff --git a/.eslintrc.json b/.eslintrc.json index 3e4ac73ce3..20f8188b31 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,9 +1,10 @@ { "extends": [ + "airbnb-base", "airbnb-typescript/base", "plugin:@typescript-eslint/recommended", "plugin:wc/recommended", - "plugin:lit/recommended", + "plugin:lit/all", "prettier" ], "parser": "@typescript-eslint/parser", @@ -109,7 +110,9 @@ } ], "unused-imports/no-unused-imports": "error", - "lit/attribute-value-entities": "off" + "lit/attribute-value-entities": "off", + "lit/no-template-map": "off", + "lit/no-template-arrow": "warn" }, "plugins": ["disable", "unused-imports"], "processor": "disable/disable" diff --git a/cast/src/launcher/layout/hc-cast.ts b/cast/src/launcher/layout/hc-cast.ts index 1f349f6371..078850d4f8 100644 --- a/cast/src/launcher/layout/hc-cast.ts +++ b/cast/src/launcher/layout/hc-cast.ts @@ -191,7 +191,7 @@ class HcCast extends LitElement { } this.connection.close(); location.reload(); - } catch (err) { + } catch (err: any) { alert("Unable to log out!"); } } diff --git a/cast/src/launcher/layout/hc-connect.ts b/cast/src/launcher/layout/hc-connect.ts index dd87cbef64..a3fd436e97 100644 --- a/cast/src/launcher/layout/hc-connect.ts +++ b/cast/src/launcher/layout/hc-connect.ts @@ -212,7 +212,7 @@ export class HcConnect extends LitElement { let url: URL; try { url = new URL(value); - } catch (err) { + } catch (err: any) { this.error = "Invalid URL"; return; } @@ -240,7 +240,7 @@ export class HcConnect extends LitElement { try { this.loading = true; auth = await getAuth(options); - } catch (err) { + } catch (err: any) { if (init === "saved-tokens" && err === ERR_CANNOT_CONNECT) { this.cannotConnect = true; return; @@ -259,7 +259,7 @@ export class HcConnect extends LitElement { try { conn = await createConnection({ auth }); - } catch (err) { + } catch (err: any) { // In case of saved tokens, silently solve problems. if (init === "saved-tokens") { if (err === ERR_CANNOT_CONNECT) { @@ -285,7 +285,7 @@ export class HcConnect extends LitElement { try { saveTokens(null); location.reload(); - } catch (err) { + } catch (err: any) { alert("Unable to log out!"); } } diff --git a/cast/src/receiver/layout/hc-main.ts b/cast/src/receiver/layout/hc-main.ts index bc4a9320ea..4e47ad61ae 100644 --- a/cast/src/receiver/layout/hc-main.ts +++ b/cast/src/receiver/layout/hc-main.ts @@ -148,14 +148,14 @@ export class HcMain extends HassElement { expires_in: 0, }), }); - } catch (err) { + } catch (err: any) { this._error = this._getErrorMessage(err); return; } let connection; try { connection = await createConnection({ auth }); - } catch (err) { + } catch (err: any) { this._error = this._getErrorMessage(err); return; } @@ -193,7 +193,7 @@ export class HcMain extends HassElement { this._unsubLovelace = llColl.subscribe((lovelaceConfig) => this._handleNewLovelaceConfig(lovelaceConfig) ); - } catch (err) { + } catch (err: any) { // eslint-disable-next-line console.log("Error fetching Lovelace configuration", err, msg); // Generate a Lovelace config. diff --git a/demo/src/custom-cards/ha-demo-card.ts b/demo/src/custom-cards/ha-demo-card.ts index 72fedc0daf..0f27328ecf 100644 --- a/demo/src/custom-cards/ha-demo-card.ts +++ b/demo/src/custom-cards/ha-demo-card.ts @@ -44,7 +44,7 @@ export class HADemoCard extends LitElement implements LovelaceCard { (conf) => html` ${conf.name} - + ${this.hass.localize( "ui.panel.page-demo.cards.demo.demo_by", "name", @@ -94,7 +94,7 @@ export class HADemoCard extends LitElement implements LovelaceCard { this._switching = true; try { await setDemoConfig(this.hass, this.lovelace!, index); - } catch (err) { + } catch (err: any) { alert("Failed to switch config :-("); } finally { this._switching = false; diff --git a/demo/src/stubs/lovelace.ts b/demo/src/stubs/lovelace.ts index 11dc854159..6f831c325d 100644 --- a/demo/src/stubs/lovelace.ts +++ b/demo/src/stubs/lovelace.ts @@ -23,9 +23,9 @@ customElements.whenDefined("hui-view").then(() => { // eslint-disable-next-line const HUIView = customElements.get("hui-view"); // Patch HUI-VIEW to make the lovelace object available to the demo card - const oldCreateCard = HUIView.prototype.createCardElement; + const oldCreateCard = HUIView!.prototype.createCardElement; - HUIView.prototype.createCardElement = function (config) { + HUIView!.prototype.createCardElement = function (config) { const el = oldCreateCard.call(this, config); if (el.tagName === "HA-DEMO-CARD") { (el as HADemoCard).lovelace = this.lovelace; diff --git a/gallery/src/demos/demo-util-long-press.ts b/gallery/src/demos/demo-util-long-press.ts index f4fddb45ac..d7851dcefd 100644 --- a/gallery/src/demos/demo-util-long-press.ts +++ b/gallery/src/demos/demo-util-long-press.ts @@ -1,5 +1,5 @@ import "@material/mwc-button"; -import { html, LitElement, TemplateResult } from "lit"; +import { css, html, LitElement, TemplateResult } from "lit"; import { customElement } from "lit/decorators"; import "../../../src/components/ha-card"; import { ActionHandlerEvent } from "../../../src/data/lovelace"; @@ -9,7 +9,6 @@ import { actionHandler } from "../../../src/panels/lovelace/common/directives/ac export class DemoUtilLongPress extends LitElement { protected render(): TemplateResult { return html` - ${this.renderStyle()} ${[1, 2, 3].map( () => html` @@ -41,26 +40,22 @@ export class DemoUtilLongPress extends LitElement { area.scrollTop = area.scrollHeight; } - private renderStyle() { - return html` - - `; - } + textarea { + height: 50px; + } + `; } diff --git a/hassio/src/addon-view/config/hassio-addon-config.ts b/hassio/src/addon-view/config/hassio-addon-config.ts index a04820bb03..ed9ed11c42 100644 --- a/hassio/src/addon-view/config/hassio-addon-config.ts +++ b/hassio/src/addon-view/config/hassio-addon-config.ts @@ -259,7 +259,7 @@ class HassioAddonConfig extends LitElement { path: "options", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.common.update_available", "error", @@ -300,7 +300,7 @@ class HassioAddonConfig extends LitElement { if (this.addon?.state === "started") { await suggestAddonRestart(this, this.hass, this.supervisor, this.addon); } - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.failed_to_save", "error", diff --git a/hassio/src/addon-view/config/hassio-addon-network.ts b/hassio/src/addon-view/config/hassio-addon-network.ts index 5fe8371014..ae3deed1db 100644 --- a/hassio/src/addon-view/config/hassio-addon-network.ts +++ b/hassio/src/addon-view/config/hassio-addon-network.ts @@ -89,9 +89,9 @@ class HassioAddonNetwork extends LitElement { @@ -254,7 +254,7 @@ class HassioAddonInfo extends LitElement { ${this.supervisor.localize( "addon.dashboard.visit_addon_page", "name", - html`${this.addon.name}` )} @@ -437,10 +437,10 @@ class HassioAddonInfo extends LitElement { ${this.addon.version ? html`
@@ -796,7 +796,7 @@ class HassioAddonInfo extends LitElement { path: "option", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.failed_to_save", "error", @@ -818,7 +818,7 @@ class HassioAddonInfo extends LitElement { path: "option", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.failed_to_save", "error", @@ -840,7 +840,7 @@ class HassioAddonInfo extends LitElement { path: "option", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.failed_to_save", "error", @@ -862,7 +862,7 @@ class HassioAddonInfo extends LitElement { path: "security", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.failed_to_save", "error", @@ -884,7 +884,7 @@ class HassioAddonInfo extends LitElement { path: "option", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.failed_to_save", "error", @@ -912,7 +912,7 @@ class HassioAddonInfo extends LitElement { title: this.supervisor.localize("addon.dashboard.changelog"), content, }); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "addon.dashboard.action_error.get_changelog" @@ -934,7 +934,7 @@ class HassioAddonInfo extends LitElement { path: "install", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("addon.dashboard.action_error.install"), text: extractApiErrorMessage(err), @@ -955,7 +955,7 @@ class HassioAddonInfo extends LitElement { path: "stop", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("addon.dashboard.action_error.stop"), text: extractApiErrorMessage(err), @@ -976,7 +976,7 @@ class HassioAddonInfo extends LitElement { path: "stop", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("addon.dashboard.action_error.restart"), text: extractApiErrorMessage(err), @@ -1035,7 +1035,7 @@ class HassioAddonInfo extends LitElement { button.progress = false; return; } - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: "Failed to validate addon configuration", text: extractApiErrorMessage(err), @@ -1053,7 +1053,7 @@ class HassioAddonInfo extends LitElement { path: "start", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("addon.dashboard.action_error.start"), text: extractApiErrorMessage(err), @@ -1091,7 +1091,7 @@ class HassioAddonInfo extends LitElement { path: "uninstall", }; fireEvent(this, "hass-api-called", eventdata); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "addon.dashboard.action_error.uninstall" diff --git a/hassio/src/addon-view/log/hassio-addon-logs.ts b/hassio/src/addon-view/log/hassio-addon-logs.ts index fc1cdab675..133e888bb9 100644 --- a/hassio/src/addon-view/log/hassio-addon-logs.ts +++ b/hassio/src/addon-view/log/hassio-addon-logs.ts @@ -71,7 +71,7 @@ class HassioAddonLogs extends LitElement { this._error = undefined; try { this._content = await fetchHassioAddonLogs(this.hass, this.addon.slug); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "addon.logs.get_logs", "error", diff --git a/hassio/src/backups/hassio-backups.ts b/hassio/src/backups/hassio-backups.ts index 8e4c3f7ac9..04cacddc18 100644 --- a/hassio/src/backups/hassio-backups.ts +++ b/hassio/src/backups/hassio-backups.ts @@ -294,7 +294,7 @@ export class HassioBackups extends LitElement { await Promise.all( this._selectedBackups.map((slug) => removeBackup(this.hass, slug)) ); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("backup.failed_to_delete"), text: extractApiErrorMessage(err), diff --git a/hassio/src/components/hassio-card-content.ts b/hassio/src/components/hassio-card-content.ts index b1c381f357..d1be7b741b 100644 --- a/hassio/src/components/hassio-card-content.ts +++ b/hassio/src/components/hassio-card-content.ts @@ -37,7 +37,7 @@ class HassioCardContent extends LitElement { ${this.iconImage ? html`
- +
` diff --git a/hassio/src/components/hassio-upload-backup.ts b/hassio/src/components/hassio-upload-backup.ts index 619e35d4e2..bbb6f43d7f 100644 --- a/hassio/src/components/hassio-upload-backup.ts +++ b/hassio/src/components/hassio-upload-backup.ts @@ -70,7 +70,7 @@ export class HassioUploadBackup extends LitElement { try { const backup = await uploadBackup(this.hass, file); fireEvent(this, "backup-uploaded", { backup: backup.data }); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: "Upload failed", text: extractApiErrorMessage(err), diff --git a/hassio/src/components/supervisor-metric.ts b/hassio/src/components/supervisor-metric.ts index af31344e44..fa0d798bbf 100644 --- a/hassio/src/components/supervisor-metric.ts +++ b/hassio/src/components/supervisor-metric.ts @@ -20,10 +20,10 @@ class SupervisorMetric extends LitElement {
${roundedValue} % 50, "target-critical": roundedValue > 85, - })}" + })} .value=${this.value} >
diff --git a/hassio/src/dashboard/hassio-update.ts b/hassio/src/dashboard/hassio-update.ts index 3b854b1f4e..d46c505eb2 100644 --- a/hassio/src/dashboard/hassio-update.ts +++ b/hassio/src/dashboard/hassio-update.ts @@ -136,7 +136,7 @@ export class HassioUpdate extends LitElement {
- + ${this.supervisor.localize("common.release_notes")} @@ -206,7 +206,7 @@ export class HassioUpdate extends LitElement { fireEvent(this, "supervisor-collection-refresh", { collection: item.key, }); - } catch (err) { + } catch (err: any) { // Only show an error if the status code was not expected (user behind proxy) // or no status at all(connection terminated) if (this.hass.connection.connected && !ignoreSupervisorError(err)) { diff --git a/hassio/src/dialogs/backup/dialog-hassio-backup.ts b/hassio/src/dialogs/backup/dialog-hassio-backup.ts index 0fc71cafa9..47bbf18e25 100644 --- a/hassio/src/dialogs/backup/dialog-hassio-backup.ts +++ b/hassio/src/dialogs/backup/dialog-hassio-backup.ts @@ -311,7 +311,7 @@ class HassioBackupDialog : "snapshots" }/${this._backup!.slug}/download` ); - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { text: extractApiErrorMessage(err), }); diff --git a/hassio/src/dialogs/backup/dialog-hassio-create-backup.ts b/hassio/src/dialogs/backup/dialog-hassio-create-backup.ts index d4604d221b..89325f04de 100644 --- a/hassio/src/dialogs/backup/dialog-hassio-create-backup.ts +++ b/hassio/src/dialogs/backup/dialog-hassio-create-backup.ts @@ -127,7 +127,7 @@ class HassioCreateBackupDialog extends LitElement { this._dialogParams!.onCreate(); this.closeDialog(); - } catch (err) { + } catch (err: any) { this._error = extractApiErrorMessage(err); } this._creatingBackup = false; diff --git a/hassio/src/dialogs/datadisk/dialog-hassio-datadisk.ts b/hassio/src/dialogs/datadisk/dialog-hassio-datadisk.ts index 5c32a9e9e3..be852ac7ec 100644 --- a/hassio/src/dialogs/datadisk/dialog-hassio-datadisk.ts +++ b/hassio/src/dialogs/datadisk/dialog-hassio-datadisk.ts @@ -149,7 +149,7 @@ class HassioDatadiskDialog extends LitElement { this.moving = true; try { await moveDatadisk(this.hass, this.selectedDevice!); - } catch (err) { + } catch (err: any) { if (this.hass.connection.connected && !ignoreSupervisorError(err)) { showAlertDialog(this, { title: this.dialogParams!.supervisor.localize( diff --git a/hassio/src/dialogs/network/dialog-hassio-network.ts b/hassio/src/dialogs/network/dialog-hassio-network.ts index 858a3eaf7e..d765060baa 100644 --- a/hassio/src/dialogs/network/dialog-hassio-network.ts +++ b/hassio/src/dialogs/network/dialog-hassio-network.ts @@ -287,7 +287,7 @@ export class DialogHassioNetwork this.hass, this._interface.interface ); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: "Failed to scan for accesspoints", text: extractApiErrorMessage(err), @@ -448,7 +448,7 @@ export class DialogHassioNetwork this._interface!.interface, interfaceOptions ); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("dialog.network.failed_to_change"), text: extractApiErrorMessage(err), diff --git a/hassio/src/dialogs/registries/dialog-hassio-registries.ts b/hassio/src/dialogs/registries/dialog-hassio-registries.ts index 5f39f8155b..e3b2fd0e33 100644 --- a/hassio/src/dialogs/registries/dialog-hassio-registries.ts +++ b/hassio/src/dialogs/registries/dialog-hassio-registries.ts @@ -190,7 +190,7 @@ class HassioRegistriesDialog extends LitElement { await addHassioDockerRegistry(this.hass, data); await this._loadRegistries(); this._addingRegistry = false; - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("dialog.registries.failed_to_add"), text: extractApiErrorMessage(err), @@ -204,7 +204,7 @@ class HassioRegistriesDialog extends LitElement { try { await removeHassioDockerRegistry(this.hass, entry.registry); await this._loadRegistries(); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("dialog.registries.failed_to_remove"), text: extractApiErrorMessage(err), diff --git a/hassio/src/dialogs/repositories/dialog-hassio-repositories.ts b/hassio/src/dialogs/repositories/dialog-hassio-repositories.ts index 9a50043475..4ab98e50c3 100644 --- a/hassio/src/dialogs/repositories/dialog-hassio-repositories.ts +++ b/hassio/src/dialogs/repositories/dialog-hassio-repositories.ts @@ -185,7 +185,7 @@ class HassioRepositoriesDialog extends LitElement { this._repositories = addonsinfo.repositories; fireEvent(this, "supervisor-collection-refresh", { collection: "addon" }); - } catch (err) { + } catch (err: any) { this._error = extractApiErrorMessage(err); } } @@ -207,7 +207,7 @@ class HassioRepositoriesDialog extends LitElement { await this._loadData(); input.value = ""; - } catch (err) { + } catch (err: any) { this._error = extractApiErrorMessage(err); } this._processing = false; @@ -229,7 +229,7 @@ class HassioRepositoriesDialog extends LitElement { addons_repositories: newRepositories, }); await this._loadData(); - } catch (err) { + } catch (err: any) { this._error = extractApiErrorMessage(err); } } diff --git a/hassio/src/dialogs/suggestAddonRestart.ts b/hassio/src/dialogs/suggestAddonRestart.ts index d3bb5b1653..66e95bf08b 100644 --- a/hassio/src/dialogs/suggestAddonRestart.ts +++ b/hassio/src/dialogs/suggestAddonRestart.ts @@ -26,7 +26,7 @@ export const suggestAddonRestart = async ( if (confirmed) { try { await restartHassioAddon(hass, addon.slug); - } catch (err) { + } catch (err: any) { showAlertDialog(element, { title: supervisor.localize( "common.failed_to_restart_name", diff --git a/hassio/src/dialogs/update/dialog-supervisor-update.ts b/hassio/src/dialogs/update/dialog-supervisor-update.ts index 62c48d2031..ca832ff776 100644 --- a/hassio/src/dialogs/update/dialog-supervisor-update.ts +++ b/hassio/src/dialogs/update/dialog-supervisor-update.ts @@ -148,7 +148,7 @@ class DialogSupervisorUpdate extends LitElement { this.hass, this._dialogParams!.backupParams ); - } catch (err) { + } catch (err: any) { this._error = extractApiErrorMessage(err); this._action = null; return; @@ -158,7 +158,7 @@ class DialogSupervisorUpdate extends LitElement { this._action = "update"; try { await this._dialogParams!.updateHandler!(); - } catch (err) { + } catch (err: any) { if (this.hass.connection.connected && !ignoreSupervisorError(err)) { this._error = extractApiErrorMessage(err); this._action = null; diff --git a/hassio/src/hassio-my-redirect.ts b/hassio/src/hassio-my-redirect.ts index 6cfb728f1b..e2bc3d85ac 100644 --- a/hassio/src/hassio-my-redirect.ts +++ b/hassio/src/hassio-my-redirect.ts @@ -87,7 +87,7 @@ class HassioMyRedirect extends LitElement { let url: string; try { url = this._createRedirectUrl(redirect); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize("my.error"); return; } diff --git a/hassio/src/ingress-view/hassio-ingress-view.ts b/hassio/src/ingress-view/hassio-ingress-view.ts index 24d050acb9..91c338a3e5 100644 --- a/hassio/src/ingress-view/hassio-ingress-view.ts +++ b/hassio/src/ingress-view/hassio-ingress-view.ts @@ -91,7 +91,7 @@ class HassioIngressView extends LitElement { if (requestedAddon) { try { addonInfo = await fetchHassioAddonInfo(this.hass, requestedAddon); - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { text: extractApiErrorMessage(err), title: requestedAddon, @@ -145,7 +145,7 @@ class HassioIngressView extends LitElement { try { addon = await fetchHassioAddonInfo(this.hass, addonSlug); - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { text: "Unable to fetch add-on info to start Ingress", title: "Supervisor", @@ -179,7 +179,7 @@ class HassioIngressView extends LitElement { try { session = await createSessionPromise; - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { text: "Unable to create an Ingress session", title: addon.name, @@ -195,7 +195,7 @@ class HassioIngressView extends LitElement { this._sessionKeepAlive = window.setInterval(async () => { try { await validateHassioSession(this.hass, session); - } catch (err) { + } catch (err: any) { session = await createHassioSession(this.hass); } }, 60000); diff --git a/hassio/src/system/hassio-core-info.ts b/hassio/src/system/hassio-core-info.ts index f749eaade2..351b4b53e5 100644 --- a/hassio/src/system/hassio-core-info.ts +++ b/hassio/src/system/hassio-core-info.ts @@ -144,7 +144,7 @@ class HassioCoreInfo extends LitElement { try { await restartCore(this.hass); - } catch (err) { + } catch (err: any) { if (this.hass.connection.connected) { showAlertDialog(this, { title: this.supervisor.localize( diff --git a/hassio/src/system/hassio-host-info.ts b/hassio/src/system/hassio-host-info.ts index 5592d23ee0..00ef68e59e 100644 --- a/hassio/src/system/hassio-host-info.ts +++ b/hassio/src/system/hassio-host-info.ts @@ -247,7 +247,7 @@ class HassioHostInfo extends LitElement { let hardware; try { hardware = await fetchHassioHardwareInfo(this.hass); - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { title: this.supervisor.localize( "system.host.failed_to_get_hardware_list" @@ -277,7 +277,7 @@ class HassioHostInfo extends LitElement { try { await rebootHost(this.hass); - } catch (err) { + } catch (err: any) { // Ignore connection errors, these are all expected if (this.hass.connection.connected && !ignoreSupervisorError(err)) { showAlertDialog(this, { @@ -307,7 +307,7 @@ class HassioHostInfo extends LitElement { try { await shutdownHost(this.hass); - } catch (err) { + } catch (err: any) { // Ignore connection errors, these are all expected if (this.hass.connection.connected && !ignoreSupervisorError(err)) { showAlertDialog(this, { @@ -348,7 +348,7 @@ class HassioHostInfo extends LitElement { try { await updateOS(this.hass); fireEvent(this, "supervisor-collection-refresh", { collection: "os" }); - } catch (err) { + } catch (err: any) { if (this.hass.connection.connected) { showAlertDialog(this, { title: this.supervisor.localize( @@ -386,7 +386,7 @@ class HassioHostInfo extends LitElement { fireEvent(this, "supervisor-collection-refresh", { collection: "host", }); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("system.host.failed_to_set_hostname"), text: extractApiErrorMessage(err), @@ -401,7 +401,7 @@ class HassioHostInfo extends LitElement { fireEvent(this, "supervisor-collection-refresh", { collection: "host", }); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "system.host.failed_to_import_from_usb" diff --git a/hassio/src/system/hassio-supervisor-info.ts b/hassio/src/system/hassio-supervisor-info.ts index e3e8129294..7282cced77 100644 --- a/hassio/src/system/hassio-supervisor-info.ts +++ b/hassio/src/system/hassio-supervisor-info.ts @@ -282,7 +282,7 @@ class HassioSupervisorInfo extends LitElement { }; await setSupervisorOption(this.hass, data); await this._reloadSupervisor(); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "system.supervisor.failed_to_set_option" @@ -300,7 +300,7 @@ class HassioSupervisorInfo extends LitElement { try { await this._reloadSupervisor(); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize("system.supervisor.failed_to_reload"), text: extractApiErrorMessage(err), @@ -343,7 +343,7 @@ class HassioSupervisorInfo extends LitElement { try { await restartSupervisor(this.hass); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "common.failed_to_restart_name", @@ -388,7 +388,7 @@ class HassioSupervisorInfo extends LitElement { fireEvent(this, "supervisor-collection-refresh", { collection: "supervisor", }); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "common.failed_to_update_name", @@ -427,10 +427,10 @@ class HassioSupervisorInfo extends LitElement {
  • ${UNSUPPORTED_REASON_URL[reason] ? html` @@ -458,10 +458,10 @@ class HassioSupervisorInfo extends LitElement {
  • ${UNHEALTHY_REASON_URL[reason] ? html` @@ -483,7 +483,7 @@ class HassioSupervisorInfo extends LitElement { diagnostics: !this.supervisor.supervisor?.diagnostics, }; await setSupervisorOption(this.hass, data); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.supervisor.localize( "system.supervisor.failed_to_set_option" diff --git a/hassio/src/system/hassio-supervisor-log.ts b/hassio/src/system/hassio-supervisor-log.ts index f41e0a09aa..09f518703c 100644 --- a/hassio/src/system/hassio-supervisor-log.ts +++ b/hassio/src/system/hassio-supervisor-log.ts @@ -130,7 +130,7 @@ class HassioSupervisorLog extends LitElement { this.hass, this._selectedLogProvider ); - } catch (err) { + } catch (err: any) { this._error = this.supervisor.localize( "system.log.get_logs", "provider", diff --git a/package.json b/package.json index 5c3d9447f0..1382092b59 100644 --- a/package.json +++ b/package.json @@ -145,18 +145,18 @@ "xss": "^1.0.9" }, "devDependencies": { - "@babel/core": "^7.14.6", + "@babel/core": "^7.15.5", "@babel/plugin-external-helpers": "^7.14.5", "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-decorators": "^7.14.5", + "@babel/plugin-proposal-decorators": "^7.15.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.14.7", + "@babel/plugin-proposal-object-rest-spread": "^7.15.6", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/preset-env": "^7.14.7", - "@babel/preset-typescript": "^7.14.5", + "@babel/preset-env": "^7.15.6", + "@babel/preset-typescript": "^7.15.0", "@koa/cors": "^3.1.0", "@open-wc/dev-server-hmr": "^0.0.2", "@rollup/plugin-babel": "^5.2.1", @@ -173,23 +173,24 @@ "@types/mocha": "^8", "@types/sortablejs": "^1", "@types/webspeechapi": "^0.0.29", - "@typescript-eslint/eslint-plugin": "^4.28.3", - "@typescript-eslint/parser": "^4.28.3", + "@typescript-eslint/eslint-plugin": "^4.32.0", + "@typescript-eslint/parser": "^4.32.0", "@web/dev-server": "^0.0.24", "@web/dev-server-rollup": "^0.2.11", "babel-loader": "^8.2.2", "chai": "^4.3.4", "del": "^4.0.0", - "eslint": "^7.30.0", - "eslint-config-airbnb-typescript": "^12.3.1", + "eslint": "^7.32.0", + "eslint-config-airbnb-base": "^14.2.1", + "eslint-config-airbnb-typescript": "^14.0.0", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-webpack": "^0.13.1", "eslint-plugin-disable": "^2.0.1", - "eslint-plugin-import": "^2.23.4", + "eslint-plugin-import": "^2.24.2", "eslint-plugin-lit": "^1.5.1", - "eslint-plugin-prettier": "^3.4.0", - "eslint-plugin-unused-imports": "^1.1.2", - "eslint-plugin-wc": "^1.3.0", + "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-unused-imports": "^1.1.5", + "eslint-plugin-wc": "^1.3.2", "fancy-log": "^1.3.3", "fs-extra": "^7.0.1", "gulp": "^4.0.2", @@ -201,7 +202,7 @@ "html-minifier": "^4.0.0", "husky": "^1.3.1", "instant-mocha": "^1.3.1", - "lint-staged": "^11.0.1", + "lint-staged": "^11.1.2", "lit-analyzer": "^1.2.1", "lodash.template": "^4.5.0", "magic-string": "^0.25.7", @@ -210,7 +211,7 @@ "mocha": "^8.4.0", "object-hash": "^2.0.3", "open": "^7.0.4", - "prettier": "^2.3.2", + "prettier": "^2.4.1", "require-dir": "^1.2.0", "rollup": "^2.8.2", "rollup-plugin-string": "^3.0.0", @@ -222,7 +223,7 @@ "systemjs": "^6.3.2", "terser-webpack-plugin": "^5.2.4", "ts-lit-plugin": "^1.2.1", - "typescript": "^4.3.5", + "typescript": "^4.4.3", "vinyl-buffer": "^1.0.1", "vinyl-source-stream": "^2.0.0", "webpack": "^5.55.1", diff --git a/src/auth/ha-auth-flow.ts b/src/auth/ha-auth-flow.ts index c04f91acc9..d046ca6dae 100644 --- a/src/auth/ha-auth-flow.ts +++ b/src/auth/ha-auth-flow.ts @@ -194,7 +194,7 @@ class HaAuthFlow extends litLocalizeLiteMixin(LitElement) { this._state = "error"; this._errorMessage = data.message; } - } catch (err) { + } catch (err: any) { // eslint-disable-next-line no-console console.error("Error starting auth flow", err); this._state = "error"; @@ -317,7 +317,7 @@ class HaAuthFlow extends litLocalizeLiteMixin(LitElement) { return; } await this._updateStep(newStep); - } catch (err) { + } catch (err: any) { // eslint-disable-next-line no-console console.error("Error submitting step", err); this._state = "error"; diff --git a/src/auth/ha-authorize.ts b/src/auth/ha-authorize.ts index cade5741f0..9608ad0642 100644 --- a/src/auth/ha-authorize.ts +++ b/src/auth/ha-authorize.ts @@ -76,20 +76,20 @@ class HaAuthorize extends litLocalizeLiteMixin(LitElement) { ${loggingInWith} ${inactiveProviders.length > 0 ? html` ` : ""} @@ -158,7 +158,7 @@ class HaAuthorize extends litLocalizeLiteMixin(LitElement) { this._authProviders = authProviders; this._authProvider = authProviders[0]; - } catch (err) { + } catch (err: any) { // eslint-disable-next-line console.error("Error loading auth providers", err); } diff --git a/src/auth/ha-password-manager-polyfill.ts b/src/auth/ha-password-manager-polyfill.ts index 1a2e765e05..c0c46c0ab0 100644 --- a/src/auth/ha-password-manager-polyfill.ts +++ b/src/auth/ha-password-manager-polyfill.ts @@ -1,3 +1,4 @@ +/* eslint-disable lit/prefer-static-styles */ import { html, LitElement, TemplateResult } from "lit"; import { customElement, property } from "lit/decorators"; import { fireEvent } from "../common/dom/fire_event"; diff --git a/src/auth/ha-pick-auth-provider.ts b/src/auth/ha-pick-auth-provider.ts index e471cb6908..ecaff2ebd8 100644 --- a/src/auth/ha-pick-auth-provider.ts +++ b/src/auth/ha-pick-auth-provider.ts @@ -1,6 +1,6 @@ import "@polymer/paper-item/paper-item"; import "@polymer/paper-item/paper-item-body"; -import { html, LitElement } from "lit"; +import { css, html, LitElement } from "lit"; import { property } from "lit/decorators"; import { fireEvent } from "../common/dom/fire_event"; import "../components/ha-icon-next"; @@ -18,14 +18,6 @@ class HaPickAuthProvider extends litLocalizeLiteMixin(LitElement) { protected render() { return html` -

    ${this.localize("ui.panel.page-authorize.pick_auth_provider")}:

    ${this.authProviders.map( (provider) => html` @@ -41,5 +33,14 @@ class HaPickAuthProvider extends litLocalizeLiteMixin(LitElement) { private _handlePick(ev) { fireEvent(this, "pick-auth-provider", ev.currentTarget.auth_provider); } + + static styles = css` + paper-item { + cursor: pointer; + } + p { + margin-top: 0; + } + `; } customElements.define("ha-pick-auth-provider", HaPickAuthProvider); diff --git a/src/common/auth/token_storage.ts b/src/common/auth/token_storage.ts index 335cb65075..6f8eea5d43 100644 --- a/src/common/auth/token_storage.ts +++ b/src/common/auth/token_storage.ts @@ -33,7 +33,7 @@ export function saveTokens(tokens: AuthData | null) { if (tokenCache.writeEnabled) { try { storage.hassTokens = JSON.stringify(tokens); - } catch (err) { + } catch (err: any) { // write failed, ignore it. Happens if storage is full or private mode. } } @@ -58,7 +58,7 @@ export function loadTokens() { } else { tokenCache.tokens = null; } - } catch (err) { + } catch (err: any) { tokenCache.tokens = null; } } diff --git a/src/common/decorators/local-storage.ts b/src/common/decorators/local-storage.ts index 960afa65b0..6c61546ebe 100644 --- a/src/common/decorators/local-storage.ts +++ b/src/common/decorators/local-storage.ts @@ -74,7 +74,7 @@ class Storage { this._storage[storageKey] = value; try { window.localStorage.setItem(storageKey, JSON.stringify(value)); - } catch (err) { + } catch (err: any) { // Safari in private mode doesn't allow localstorage } } diff --git a/src/common/dom/apply_themes_on_element.ts b/src/common/dom/apply_themes_on_element.ts index 3f647f6a40..31027462c0 100644 --- a/src/common/dom/apply_themes_on_element.ts +++ b/src/common/dom/apply_themes_on_element.ts @@ -167,7 +167,7 @@ const processTheme = ( const prefixedRgbKey = `--${rgbKey}`; styles[prefixedRgbKey] = rgbValue; keys[prefixedRgbKey] = ""; - } catch (e) { + } catch (err: any) { continue; } } diff --git a/src/common/dom/get_main_window.ts b/src/common/dom/get_main_window.ts index 5bf9e2687b..f97d2f7b76 100644 --- a/src/common/dom/get_main_window.ts +++ b/src/common/dom/get_main_window.ts @@ -5,4 +5,4 @@ export const mainWindow = ? window : parent.name === MAIN_WINDOW_NAME ? parent - : top; + : top!; diff --git a/src/common/number/format_number.ts b/src/common/number/format_number.ts index c5ed9bbb44..89ad6da7a6 100644 --- a/src/common/number/format_number.ts +++ b/src/common/number/format_number.ts @@ -51,10 +51,10 @@ export const formatNumber = ( locale, getDefaultFormatOptions(num, options) ).format(Number(num)); - } catch (error) { + } catch (err: any) { // Don't fail when using "TEST" language // eslint-disable-next-line no-console - console.error(error); + console.error(err); return new Intl.NumberFormat( undefined, getDefaultFormatOptions(num, options) diff --git a/src/common/translations/localize.ts b/src/common/translations/localize.ts index fcf05051bd..49f7e1d1bc 100644 --- a/src/common/translations/localize.ts +++ b/src/common/translations/localize.ts @@ -108,7 +108,7 @@ export const computeLocalize = async ( language, formats ); - } catch (err) { + } catch (err: any) { return "Translation error: " + err.message; } cache._localizationCache[messageKey] = translatedMessage; @@ -125,7 +125,7 @@ export const computeLocalize = async ( try { return translatedMessage.format(argObject) as string; - } catch (err) { + } catch (err: any) { return "Translation " + err; } }; diff --git a/src/common/util/parse-aspect-ratio.ts b/src/common/util/parse-aspect-ratio.ts index 8fb1dee0a2..bda41448db 100644 --- a/src/common/util/parse-aspect-ratio.ts +++ b/src/common/util/parse-aspect-ratio.ts @@ -25,7 +25,7 @@ export default function parseAspectRatio(input: string) { return arr.length === 1 ? { w: parseOrThrow(arr[0]), h: 1 } : { w: parseOrThrow(arr[0]), h: parseOrThrow(arr[1]) }; - } catch (err) { + } catch (err: any) { // Ignore the error } return null; diff --git a/src/components/buttons/ha-call-api-button.ts b/src/components/buttons/ha-call-api-button.ts index 6bf9e92d4d..34013a1102 100644 --- a/src/components/buttons/ha-call-api-button.ts +++ b/src/components/buttons/ha-call-api-button.ts @@ -50,7 +50,7 @@ class HaCallApiButton extends LitElement { this._progressButton.actionSuccess(); eventData.success = true; eventData.response = resp; - } catch (err) { + } catch (err: any) { this.progress = false; this._progressButton.actionError(); eventData.success = false; diff --git a/src/components/device/ha-area-devices-picker.ts b/src/components/device/ha-area-devices-picker.ts index 0b64c9aa4b..4905d8e1c4 100644 --- a/src/components/device/ha-area-devices-picker.ts +++ b/src/components/device/ha-area-devices-picker.ts @@ -50,6 +50,7 @@ interface AreaDevices { devices: string[]; } +// eslint-disable-next-line lit/prefer-static-styles const rowRenderer: ComboBoxLitRenderer = (item) => html`

    ${this.hass!.localize( @@ -138,7 +138,7 @@ class DialogMQTTDeviceDebugInfo extends LitElement { ${this._debugInfo!.entities.map( (entity) => html`
  • - '${computeStateName(this.hass.states[entity.entity_id])}' + ${computeStateName(this.hass.states[entity.entity_id])} (${entity.entity_id})
    MQTT discovery data:
  • `; })} - + ${this.hass!.localize("ui.common.cancel")} `} @@ -166,7 +166,7 @@ export class DialogHelperDetail extends LitElement { try { await HELPERS[this._platform](this.hass, this._item); this.closeDialog(); - } catch (err) { + } catch (err: any) { this._error = err.message || "Unknown error"; } finally { this._submitting = false; diff --git a/src/panels/config/helpers/forms/ha-counter-form.ts b/src/panels/config/helpers/forms/ha-counter-form.ts index 2773d4d523..6b7ae3be8d 100644 --- a/src/panels/config/helpers/forms/ha-counter-form.ts +++ b/src/panels/config/helpers/forms/ha-counter-form.ts @@ -75,9 +75,9 @@ class HaCounterForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/helpers/forms/ha-input_boolean-form.ts b/src/panels/config/helpers/forms/ha-input_boolean-form.ts index 926d8d1320..39af672352 100644 --- a/src/panels/config/helpers/forms/ha-input_boolean-form.ts +++ b/src/panels/config/helpers/forms/ha-input_boolean-form.ts @@ -53,9 +53,9 @@ class HaInputBooleanForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/helpers/forms/ha-input_datetime-form.ts b/src/panels/config/helpers/forms/ha-input_datetime-form.ts index ba2a10dd6a..d28277078c 100644 --- a/src/panels/config/helpers/forms/ha-input_datetime-form.ts +++ b/src/panels/config/helpers/forms/ha-input_datetime-form.ts @@ -64,9 +64,9 @@ class HaInputDateTimeForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/helpers/forms/ha-input_number-form.ts b/src/panels/config/helpers/forms/ha-input_number-form.ts index 36fef5acb1..a87ea0cde0 100644 --- a/src/panels/config/helpers/forms/ha-input_number-form.ts +++ b/src/panels/config/helpers/forms/ha-input_number-form.ts @@ -79,9 +79,9 @@ class HaInputNumberForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/helpers/forms/ha-input_select-form.ts b/src/panels/config/helpers/forms/ha-input_select-form.ts index 3b30ad6b3d..9664e14979 100644 --- a/src/panels/config/helpers/forms/ha-input_select-form.ts +++ b/src/panels/config/helpers/forms/ha-input_select-form.ts @@ -65,9 +65,9 @@ class HaInputSelectForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/helpers/forms/ha-input_text-form.ts b/src/panels/config/helpers/forms/ha-input_text-form.ts index 68a5fafcde..3c951bc8f3 100644 --- a/src/panels/config/helpers/forms/ha-input_text-form.ts +++ b/src/panels/config/helpers/forms/ha-input_text-form.ts @@ -70,9 +70,9 @@ class HaInputTextForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/helpers/forms/ha-timer-form.ts b/src/panels/config/helpers/forms/ha-timer-form.ts index 3256240fd8..829aac65c3 100644 --- a/src/panels/config/helpers/forms/ha-timer-form.ts +++ b/src/panels/config/helpers/forms/ha-timer-form.ts @@ -56,9 +56,9 @@ class HaTimerForm extends LitElement { .label=${this.hass!.localize( "ui.dialogs.helper_settings.generic.name" )} - .errorMessage="${this.hass!.localize( + .errorMessage=${this.hass!.localize( "ui.dialogs.helper_settings.required_error_msg" - )}" + )} .invalid=${nameInvalid} dialogInitialFocus > diff --git a/src/panels/config/info/ha-config-info.ts b/src/panels/config/info/ha-config-info.ts index d849eaeada..24ed7b84fe 100644 --- a/src/panels/config/info/ha-config-info.ts +++ b/src/panels/config/info/ha-config-info.ts @@ -37,15 +37,15 @@ class HaConfigInfo extends LitElement { >
    ${this.hass.localize(
+              alt=${this.hass.localize(

    Home Assistant ${hass.connection.haVersion}

    @@ -58,7 +58,7 @@ class HaConfigInfo extends LitElement {

    @@ -122,8 +122,8 @@ class HaConfigInfo extends LitElement { ${customUiList.map( (item) => html`

    - ${item.name}: ${item.version} + ${item.name}: + ${item.version}
    ` )} diff --git a/src/panels/config/integrations/ha-integration-card.ts b/src/panels/config/integrations/ha-integration-card.ts index 6449e9e7e6..ad3d885195 100644 --- a/src/panels/config/integrations/ha-integration-card.ts +++ b/src/panels/config/integrations/ha-integration-card.ts @@ -82,7 +82,7 @@ export class HaIntegrationCard extends LitElement { return html` - + ${this.hass.localize( "ui.panel.config.integrations.config_entry.rename" )} - + ${this.hass.localize( "ui.panel.config.integrations.config_entry.system_options" )} @@ -328,20 +328,20 @@ export class HaIntegrationCard extends LitElement { item.state === "loaded" && item.supports_unload && item.source !== "system" - ? html` + ? html` ${this.hass.localize( "ui.panel.config.integrations.config_entry.reload" )} ` : ""} ${item.disabled_by === "user" - ? html` + ? html` ${this.hass.localize("ui.common.enable")} ` : item.source !== "system" ? html` ${this.hass.localize("ui.common.disable")} ` @@ -349,7 +349,7 @@ export class HaIntegrationCard extends LitElement { ${item.source !== "system" ? html` ${this.hass.localize( "ui.panel.config.integrations.config_entry.delete" @@ -495,7 +495,7 @@ export class HaIntegrationCard extends LitElement { let result: DisableConfigEntryResult; try { result = await disableConfigEntry(this.hass, entryId); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.hass.localize( "ui.panel.config.integrations.config_entry.disable_error" @@ -522,7 +522,7 @@ export class HaIntegrationCard extends LitElement { let result: DisableConfigEntryResult; try { result = await enableConfigEntry(this.hass, entryId); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.hass.localize( "ui.panel.config.integrations.config_entry.disable_error" diff --git a/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts b/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts index 2edd27c8db..0b187dddcd 100644 --- a/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts +++ b/src/panels/config/integrations/integration-panels/mqtt/mqtt-config-panel.ts @@ -45,13 +45,13 @@ class HaPanelDevMqtt extends LitElement {
    @@ -59,7 +59,7 @@ class HaPanelDevMqtt extends LitElement {

    ${this.hass.localize("ui.panel.config.mqtt.payload")}

    diff --git a/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts b/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts index c3fd96ce4f..0602b4b698 100644 --- a/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts +++ b/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts @@ -35,9 +35,7 @@ class MqttSubscribeCard extends LitElement { protected render(): TemplateResult { return html`

    ${this.hass.localize( @@ -136,9 +136,9 @@ class OZWNodeConfig extends LitElement { ? html`

    @@ -199,7 +199,7 @@ class OZWNodeConfig extends LitElement { metadataProm, configProm, ]); - } catch (err) { + } catch (err: any) { if (err.code === ERR_NOT_FOUND) { this._error = ERR_NOT_FOUND; return; diff --git a/src/panels/config/integrations/integration-panels/ozw/ozw-node-dashboard.ts b/src/panels/config/integrations/integration-panels/ozw/ozw-node-dashboard.ts index c34a5bf729..a5c6fc76ca 100644 --- a/src/panels/config/integrations/integration-panels/ozw/ozw-node-dashboard.ts +++ b/src/panels/config/integrations/integration-panels/ozw/ozw-node-dashboard.ts @@ -90,7 +90,7 @@ class OZWNodeDashboard extends LitElement { Query Stage: ${this._node.node_query_stage} ${this._metadata?.metadata.ProductManualURL ? html`

    Product Manual

    ` @@ -167,7 +167,7 @@ class OZWNodeDashboard extends LitElement { this.ozwInstance, this.nodeId ); - } catch (err) { + } catch (err: any) { if (err.code === ERR_NOT_FOUND) { this._not_found = true; return; diff --git a/src/panels/config/integrations/integration-panels/zha/dialog-zha-cluster.ts b/src/panels/config/integrations/integration-panels/zha/dialog-zha-cluster.ts index f46570057d..84ea96c629 100644 --- a/src/panels/config/integrations/integration-panels/zha/dialog-zha-cluster.ts +++ b/src/panels/config/integrations/integration-panels/zha/dialog-zha-cluster.ts @@ -61,7 +61,7 @@ class DialogZHACluster extends LitElement { ${this._selectedCluster ? html` ` : ""} @@ -90,8 +90,8 @@ class DialogZHACluster extends LitElement { ? html` ` : ""} @@ -99,8 +99,8 @@ class DialogZHACluster extends LitElement { ? html` ` : ""} diff --git a/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts b/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts index 5150ed473a..0a0c6d9959 100644 --- a/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts +++ b/src/panels/config/integrations/integration-panels/zha/dialog-zha-device-zigbee-info.ts @@ -36,7 +36,7 @@ class DialogZHADeviceZigbeeInfo extends LitElement { ` : ""} diff --git a/src/panels/config/integrations/integration-panels/zha/zha-add-group-page.ts b/src/panels/config/integrations/integration-panels/zha/zha-add-group-page.ts index 34ed5174e2..067648de05 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-add-group-page.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-add-group-page.ts @@ -70,11 +70,11 @@ export class ZHAAddGroupPage extends LitElement {

    @@ -92,10 +92,10 @@ export class ZHAAddGroupPage extends LitElement {
    ${this._processingAdd diff --git a/src/panels/config/integrations/integration-panels/zha/zha-cluster-attributes.ts b/src/panels/config/integrations/integration-panels/zha/zha-cluster-attributes.ts index 0d7a815256..7239f44e00 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-cluster-attributes.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-cluster-attributes.ts @@ -68,7 +68,7 @@ export class ZHAClusterAttributes extends LitElement { protected render(): TemplateResult { return html` - +
    ${this.hass!.localize( @@ -77,7 +77,7 @@ export class ZHAClusterAttributes extends LitElement { @@ -91,15 +91,15 @@ export class ZHAClusterAttributes extends LitElement {
    ${this._attributes.map( (entry) => html` @@ -135,30 +135,26 @@ export class ZHAClusterAttributes extends LitElement { return html`
    - + ${this.hass!.localize( "ui.panel.config.zha.cluster_attributes.get_zigbee_attribute" )} @@ -176,7 +172,7 @@ export class ZHAClusterAttributes extends LitElement { .hass=${this.hass} domain="zha" service="set_zigbee_cluster_attribute" - .serviceData="${this._setAttributeServiceData}" + .serviceData=${this._setAttributeServiceData} > ${this.hass!.localize( "ui.panel.config.zha.cluster_attributes.set_zigbee_attribute" diff --git a/src/panels/config/integrations/integration-panels/zha/zha-cluster-commands.ts b/src/panels/config/integrations/integration-panels/zha/zha-cluster-commands.ts index 8925eb9959..de1a2781c5 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-cluster-commands.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-cluster-commands.ts @@ -62,7 +62,7 @@ export class ZHAClusterCommands extends LitElement { protected render(): TemplateResult { return html` - +
    ${this.hass!.localize( @@ -71,7 +71,7 @@ export class ZHAClusterCommands extends LitElement { @@ -85,15 +85,15 @@ export class ZHAClusterCommands extends LitElement {
    ${this._commands.map( (entry) => html` @@ -121,15 +121,15 @@ export class ZHAClusterCommands extends LitElement { ? html`
    @@ -137,7 +137,7 @@ export class ZHAClusterCommands extends LitElement { .hass=${this.hass} domain="zha" service="issue_zigbee_cluster_command" - .serviceData="${this._issueClusterCommandServiceData}" + .serviceData=${this._issueClusterCommandServiceData} > ${this.hass!.localize( "ui.panel.config.zha.cluster_commands.issue_zigbee_command" diff --git a/src/panels/config/integrations/integration-panels/zha/zha-clusters.ts b/src/panels/config/integrations/integration-panels/zha/zha-clusters.ts index 4559fafe9e..2bcb44f1d9 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-clusters.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-clusters.ts @@ -62,11 +62,11 @@ export class ZHAClusters extends LitElement { protected render(): TemplateResult { return html` - +
    @@ -85,8 +85,8 @@ export class ZHAClusters extends LitElement { > ${this._clusters.map( (entry) => html` diff --git a/src/panels/config/integrations/integration-panels/zha/zha-config-dashboard.ts b/src/panels/config/integrations/integration-panels/zha/zha-config-dashboard.ts index 1145543104..8983508074 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-config-dashboard.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-config-dashboard.ts @@ -84,7 +84,7 @@ class ZHAConfigDashboard extends LitElement { ${this.configEntryId ? html`
    ${this.hass.localize( @@ -93,7 +93,7 @@ class ZHAConfigDashboard extends LitElement { > ${this.hass.localize( diff --git a/src/panels/config/integrations/integration-panels/zha/zha-device-binding.ts b/src/panels/config/integrations/integration-panels/zha/zha-device-binding.ts index 36c71f8536..cc5623422d 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-device-binding.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-device-binding.ts @@ -46,12 +46,12 @@ export class ZHADeviceBindingControl extends LitElement { protected render(): TemplateResult { return html` - +
    Device Binding @@ -63,8 +63,8 @@ export class ZHADeviceBindingControl extends LitElement { ${this.bindableDevices.map( (device) => html` @@ -87,16 +87,16 @@ export class ZHADeviceBindingControl extends LitElement { : ""}
    Bind ${this._showHelp ? html`
    Bind devices.
    ` : ""} Unbind ${this._showHelp diff --git a/src/panels/config/integrations/integration-panels/zha/zha-device-card.ts b/src/panels/config/integrations/integration-panels/zha/zha-device-card.ts index 0b54648a37..d95402bc51 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-device-card.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-device-card.ts @@ -91,9 +91,9 @@ class ZHADeviceCard extends SubscribeMixin(LitElement) { ${entities.map( (entity) => html` ` @@ -186,7 +186,7 @@ class ZHADeviceCard extends SubscribeMixin(LitElement) { area_id: area, }); this.device!.area_id = area; - } catch (err) { + } catch (err: any) { showAlertDialog(this, { text: this.hass.localize( "ui.panel.config.integrations.config_flow.error_saving_area", diff --git a/src/panels/config/integrations/integration-panels/zha/zha-device-endpoint-data-table.ts b/src/panels/config/integrations/integration-panels/zha/zha-device-endpoint-data-table.ts index 3a3ce48f09..eb2237a716 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-device-endpoint-data-table.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-device-endpoint-data-table.ts @@ -68,7 +68,7 @@ export class ZHADeviceEndpointDataTable extends LitElement { direction: "asc", grows: true, template: (name, device: any) => html` -
    + ${name} `, @@ -87,7 +87,7 @@ export class ZHADeviceEndpointDataTable extends LitElement { direction: "asc", grows: true, template: (name, device: any) => html` - + ${name} `, diff --git a/src/panels/config/integrations/integration-panels/zha/zha-group-binding.ts b/src/panels/config/integrations/integration-panels/zha/zha-group-binding.ts index 201c139c69..c5a5201dd8 100644 --- a/src/panels/config/integrations/integration-panels/zha/zha-group-binding.ts +++ b/src/panels/config/integrations/integration-panels/zha/zha-group-binding.ts @@ -71,7 +71,7 @@ export class ZHAGroupBindingControl extends LitElement { protected render(): TemplateResult { return html` - +
    ${this.hass!.localize( @@ -80,7 +80,7 @@ export class ZHAGroupBindingControl extends LitElement { > @@ -101,8 +101,8 @@ export class ZHAGroupBindingControl extends LitElement { > ${this.groups.map( (group) => html` ${group.name} ` @@ -139,8 +139,8 @@ export class ZHAGroupBindingControl extends LitElement { : ""}
    ${this.hass!.localize( "ui.panel.config.zha.group_binding.bind_button_label" )}${this.hass!.localize( "ui.panel.config.zha.group_binding.unbind_button_label" )} ${this._processingAdd diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-migration.ts b/src/panels/config/integrations/integration-panels/zwave/zwave-migration.ts index 15d104b643..99cf52fb36 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-migration.ts +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-migration.ts @@ -453,7 +453,7 @@ export class ZwaveMigration extends LitElement { this._zwaveJsEntryId!, true ); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: "Failed to get migration data!", text: diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-network.ts b/src/panels/config/integrations/integration-panels/zwave/zwave-network.ts index 12d0284cc1..9a346e7551 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-network.ts +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-network.ts @@ -45,7 +45,7 @@ export class ZwaveNetwork extends LitElement { protected render(): TemplateResult { return html` - +
    ${this.hass!.localize( @@ -54,7 +54,7 @@ export class ZwaveNetwork extends LitElement {
    @@ -64,10 +64,7 @@ export class ZwaveNetwork extends LitElement { )}

    @@ -217,14 +214,14 @@ export class ZwaveNetwork extends LitElement { ${this.hass!.localize("ui.panel.config.zwave.services." + service)} diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-node-config.ts b/src/panels/config/integrations/integration-panels/zwave/zwave-node-config.ts index 3a846334b6..975862c679 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-node-config.ts +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-node-config.ts @@ -52,9 +52,9 @@ export class ZwaveNodeConfig extends LitElement { ? html`

    ` : ""} - + ${this.hass.localize( "ui.panel.config.zwave_js.add_node.view_device" @@ -432,7 +432,7 @@ class DialogZWaveJSAddNode extends LitElement { this._entryId!, this._pinInput!.value as string ); - } catch (err) { + } catch (err: any) { this._error = err.message; this._status = "validate_dsk_enter_pin"; } @@ -447,7 +447,7 @@ class DialogZWaveJSAddNode extends LitElement { this._entryId!, this._securityClasses ); - } catch (err) { + } catch (err: any) { this._error = err.message; this._status = "grant_security_classes"; } diff --git a/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-heal-node.ts b/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-heal-node.ts index 9da32c7820..de8d541293 100644 --- a/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-heal-node.ts +++ b/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-heal-node.ts @@ -225,8 +225,8 @@ class DialogZWaveJSHealNode extends LitElement { this._status = (await healNode(this.hass, this.entry_id!, this.node_id!)) ? "finished" : "failed"; - } catch (error) { - this._error = error.message; + } catch (err: any) { + this._error = err.message; this._status = "failed"; } } diff --git a/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-remove-failed-node.ts b/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-remove-failed-node.ts index ca9cce32f6..aa8a264649 100644 --- a/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-remove-failed-node.ts +++ b/src/panels/config/integrations/integration-panels/zwave_js/dialog-zwave_js-remove-failed-node.ts @@ -63,7 +63,7 @@ class DialogZWaveJSRemoveFailedNode extends LitElement { return html`
    ${this.hass.localize("ui.panel.config.devices.caption")} ${this.hass.localize( @@ -422,7 +422,7 @@ class ZWaveJSConfigDashboard extends LitElement { this.hass, `/api/zwave_js/dump/${this.configEntryId}` ); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: "Error", text: err.error || err.body || err, diff --git a/src/panels/config/integrations/integration-panels/zwave_js/zwave_js-node-config.ts b/src/panels/config/integrations/integration-panels/zwave_js/zwave_js-node-config.ts index f060383728..993b3cc7a9 100644 --- a/src/panels/config/integrations/integration-panels/zwave_js/zwave_js-node-config.ts +++ b/src/panels/config/integrations/integration-panels/zwave_js/zwave_js-node-config.ts @@ -168,8 +168,8 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) { "device_database", html`${this.hass.localize( "ui.panel.config.zwave_js.node_config.zwave_js_device_database" @@ -389,8 +389,8 @@ class ZWaveJSNodeConfig extends SubscribeMixin(LitElement) { this._config![target.key].value = value; this.setResult(target.key, result.status); - } catch (error) { - this.setError(target.key, error.message); + } catch (err: any) { + this.setError(target.key, err.message); } } diff --git a/src/panels/config/logs/dialog-system-log-detail.ts b/src/panels/config/logs/dialog-system-log-detail.ts index 51e2483d73..cf3ace57d7 100644 --- a/src/panels/config/logs/dialog-system-log-detail.ts +++ b/src/panels/config/logs/dialog-system-log-detail.ts @@ -68,7 +68,7 @@ class DialogSystemLogDetail extends LitElement { !this._manifest.documentation.includes("www.home-assistant.io")); return html` - + @@ -77,7 +77,7 @@ class DialogSystemLogDetail extends LitElement { ${this.hass.localize( "ui.panel.config.logs.details", "level", - html`${this.hass.localize( "ui.panel.config.logs.level." + item.level.toLowerCase() )}${this.hass.localize( "ui.panel.config.logs.level." + item.level.toLowerCase() diff --git a/src/panels/config/lovelace/dashboards/dialog-lovelace-dashboard-detail.ts b/src/panels/config/lovelace/dashboards/dialog-lovelace-dashboard-detail.ts index 6e0e4fcf75..486a6c8c55 100644 --- a/src/panels/config/lovelace/dashboards/dialog-lovelace-dashboard-detail.ts +++ b/src/panels/config/lovelace/dashboards/dialog-lovelace-dashboard-detail.ts @@ -74,7 +74,7 @@ export class DialogLovelaceDashboardDetail extends LitElement { return html` ${this._params.urlPath @@ -293,7 +293,7 @@ export class DialogLovelaceDashboardDetail extends LitElement { ); } this._close(); - } catch (err) { + } catch (err: any) { this._error = err?.message || "Unknown error"; } finally { this._submitting = false; diff --git a/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts b/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts index 6c53171b26..cec992c52c 100644 --- a/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts +++ b/src/panels/config/lovelace/dashboards/ha-config-lovelace-dashboards.ts @@ -298,7 +298,7 @@ export class HaConfigLovelaceDashboards extends LitElement { (res) => res !== dashboard ); return true; - } catch (err) { + } catch (err: any) { return false; } }, diff --git a/src/panels/config/lovelace/resources/dialog-lovelace-resource-detail.ts b/src/panels/config/lovelace/resources/dialog-lovelace-resource-detail.ts index b4145ca5c3..9c80495f75 100644 --- a/src/panels/config/lovelace/resources/dialog-lovelace-resource-detail.ts +++ b/src/panels/config/lovelace/resources/dialog-lovelace-resource-detail.ts @@ -151,7 +151,7 @@ export class DialogLovelaceResourceDetail extends LitElement { ${this.hass!.localize( @@ -162,7 +162,7 @@ export class DialogLovelaceResourceDetail extends LitElement { : html``} ${this._params.resource @@ -206,7 +206,7 @@ export class DialogLovelaceResourceDetail extends LitElement { await this._params!.createResource(values); } this._params = undefined; - } catch (err) { + } catch (err: any) { this._error = err?.message || "Unknown error"; } finally { this._submitting = false; diff --git a/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts b/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts index b49871d840..b5a7f2859d 100644 --- a/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts +++ b/src/panels/config/lovelace/resources/ha-config-lovelace-resources.ts @@ -185,7 +185,7 @@ export class HaConfigLovelaceRescources extends LitElement { confirm: () => location.reload(), }); return true; - } catch (err) { + } catch (err: any) { return false; } }, diff --git a/src/panels/config/person/dialog-person-detail.ts b/src/panels/config/person/dialog-person-detail.ts index 88dce3ce2c..06f1f05841 100644 --- a/src/panels/config/person/dialog-person-detail.ts +++ b/src/panels/config/person/dialog-person-detail.ts @@ -120,12 +120,10 @@ class DialogPersonDetail extends LitElement { dialogInitialFocus .value=${this._name} @value-changed=${this._nameChanged} - label="${this.hass!.localize( - "ui.panel.config.person.detail.name" - )}" - error-message="${this.hass!.localize( + label=${this.hass!.localize("ui.panel.config.person.detail.name")} + error-message=${this.hass!.localize( "ui.panel.config.person.detail.name_error_msg" - )}" + )} required auto-validate > @@ -198,10 +196,10 @@ class DialogPersonDetail extends LitElement {
    `; diff --git a/src/panels/lovelace/editor/delete-card.ts b/src/panels/lovelace/editor/delete-card.ts index ebbd6a71bf..9db1af53bd 100644 --- a/src/panels/lovelace/editor/delete-card.ts +++ b/src/panels/lovelace/editor/delete-card.ts @@ -22,7 +22,7 @@ export async function confDeleteCard( await lovelace.saveConfig(insertCard(newLovelace, path, cardConfig)); }; showDeleteSuccessToast(element, hass!, action); - } catch (err) { + } catch (err: any) { showAlertDialog(element, { text: `Deleting failed: ${err.message}`, }); diff --git a/src/panels/lovelace/editor/hui-dialog-save-config.ts b/src/panels/lovelace/editor/hui-dialog-save-config.ts index 0f0a6c341e..fe2e6fad39 100644 --- a/src/panels/lovelace/editor/hui-dialog-save-config.ts +++ b/src/panels/lovelace/editor/hui-dialog-save-config.ts @@ -187,7 +187,7 @@ export class HuiSaveConfig extends LitElement implements HassDialog { lovelace.setEditMode(true); this._saving = false; this.closeDialog(); - } catch (err) { + } catch (err: any) { alert(`Saving failed: ${err.message}`); this._saving = false; } diff --git a/src/panels/lovelace/editor/hui-element-editor.ts b/src/panels/lovelace/editor/hui-element-editor.ts index 492383c54d..68e0d1875c 100644 --- a/src/panels/lovelace/editor/hui-element-editor.ts +++ b/src/panels/lovelace/editor/hui-element-editor.ts @@ -87,7 +87,7 @@ export abstract class HuiElementEditor extends LitElement { try { this._config = load(this.yaml) as any; this._errors = undefined; - } catch (err) { + } catch (err: any) { this._errors = [err.message]; } this._setConfig(); @@ -111,7 +111,7 @@ export abstract class HuiElementEditor extends LitElement { if (!this._errors) { try { this._updateConfigElement(); - } catch (err) { + } catch (err: any) { this._errors = [err.message]; } } @@ -321,7 +321,7 @@ export abstract class HuiElementEditor extends LitElement { // Setup GUI editor and check that it can handle the current config try { this._configElement.setConfig(this.value); - } catch (err) { + } catch (err: any) { const msgs = handleStructError(this.hass, err); throw new GUISupportError( "Config is not supported", @@ -332,7 +332,7 @@ export abstract class HuiElementEditor extends LitElement { } else { this.GUImode = false; } - } catch (err) { + } catch (err: any) { if (err instanceof GUISupportError) { this._warnings = err.warnings ?? [err.message]; this._errors = err.errors || undefined; diff --git a/src/panels/lovelace/editor/lovelace-editor/hui-dialog-edit-lovelace.ts b/src/panels/lovelace/editor/lovelace-editor/hui-dialog-edit-lovelace.ts index 2630466145..7465d3d757 100644 --- a/src/panels/lovelace/editor/lovelace-editor/hui-dialog-edit-lovelace.ts +++ b/src/panels/lovelace/editor/lovelace-editor/hui-dialog-edit-lovelace.ts @@ -63,8 +63,8 @@ export class HuiDialogEditLovelace extends LitElement { )}
    @@ -72,8 +72,8 @@ export class HuiDialogEditLovelace extends LitElement { >${this.hass!.localize("ui.common.cancel")} ${this._saving ? html`
    `; diff --git a/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts b/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts index f01cf1717a..2ea6f32c6b 100644 --- a/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts +++ b/src/panels/lovelace/editor/select-view/hui-dialog-select-view.ts @@ -120,7 +120,7 @@ export class HuiDialogSelectView extends LitElement { this._urlPath = urlPath; try { this._config = await fetchConfig(this.hass.connection, urlPath, false); - } catch (e) { + } catch (err: any) { this._config = undefined; } } diff --git a/src/panels/lovelace/editor/unused-entities/hui-unused-entities.ts b/src/panels/lovelace/editor/unused-entities/hui-unused-entities.ts index 4b24e74f44..52a55d3d92 100644 --- a/src/panels/lovelace/editor/unused-entities/hui-unused-entities.ts +++ b/src/panels/lovelace/editor/unused-entities/hui-unused-entities.ts @@ -61,9 +61,9 @@ export class HuiUnusedEntities extends LitElement { ${!this.narrow ? html`
    ${this.hass.localize( diff --git a/src/panels/lovelace/editor/view-editor/hui-dialog-edit-view.ts b/src/panels/lovelace/editor/view-editor/hui-dialog-edit-view.ts index bd578aa96f..9f76adeadc 100644 --- a/src/panels/lovelace/editor/view-editor/hui-dialog-edit-view.ts +++ b/src/panels/lovelace/editor/view-editor/hui-dialog-edit-view.ts @@ -113,8 +113,8 @@ export class HuiDialogEditView extends LitElement { `; break; @@ -145,8 +145,8 @@ export class HuiDialogEditView extends LitElement { : ""} `; break; @@ -154,8 +154,8 @@ export class HuiDialogEditView extends LitElement { content = html` `; break; @@ -176,8 +176,8 @@ export class HuiDialogEditView extends LitElement { ${this.hass!.localize( @@ -202,7 +202,7 @@ export class HuiDialogEditView extends LitElement { ${this.hass!.localize( "ui.panel.lovelace.editor.edit_view.delete" @@ -210,13 +210,13 @@ export class HuiDialogEditView extends LitElement { ` : ""} - ${this.hass!.localize("ui.common.cancel")} ${this._saving ? html` ${user.name} diff --git a/src/panels/lovelace/elements/hui-icon-element.ts b/src/panels/lovelace/elements/hui-icon-element.ts index 9f88b796cc..f382f469df 100644 --- a/src/panels/lovelace/elements/hui-icon-element.ts +++ b/src/panels/lovelace/elements/hui-icon-element.ts @@ -31,8 +31,8 @@ export class HuiIconElement extends LitElement implements LovelaceElement { return html` @@ -113,12 +113,12 @@ class HuiInputNumberEntityRow extends LitElement implements LovelaceRow { auto-validate .disabled=${UNAVAILABLE_STATES.includes(stateObj.state)} pattern="[0-9]+([\\.][0-9]+)?" - .step="${Number(stateObj.attributes.step)}" - .min="${Number(stateObj.attributes.min)}" - .max="${Number(stateObj.attributes.max)}" - .value="${Number(stateObj.state)}" + .step=${Number(stateObj.attributes.step)} + .min=${Number(stateObj.attributes.min)} + .max=${Number(stateObj.attributes.max)} + .value=${Number(stateObj.state)} type="number" - @change="${this._selectedValueChanged}" + @change=${this._selectedValueChanged} id="input" > ${stateObj.attributes.unit_of_measurement} diff --git a/src/panels/lovelace/entity-rows/hui-input-text-entity-row.ts b/src/panels/lovelace/entity-rows/hui-input-text-entity-row.ts index 5c52d0b605..65c3ee84aa 100644 --- a/src/panels/lovelace/entity-rows/hui-input-text-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-input-text-entity-row.ts @@ -53,13 +53,13 @@ class HuiInputTextEntityRow extends LitElement implements LovelaceRow { diff --git a/src/panels/lovelace/entity-rows/hui-lock-entity-row.ts b/src/panels/lovelace/entity-rows/hui-lock-entity-row.ts index 4bc96f298b..faa24d9787 100644 --- a/src/panels/lovelace/entity-rows/hui-lock-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-lock-entity-row.ts @@ -50,7 +50,7 @@ class HuiLockEntityRow extends LitElement implements LovelaceRow { return html` diff --git a/src/panels/lovelace/entity-rows/hui-number-entity-row.ts b/src/panels/lovelace/entity-rows/hui-number-entity-row.ts index 1e6c76b97c..339244c1b1 100644 --- a/src/panels/lovelace/entity-rows/hui-number-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-number-entity-row.ts @@ -87,12 +87,12 @@ class HuiNumberEntityRow extends LitElement implements LovelaceRow { @@ -113,12 +113,12 @@ class HuiNumberEntityRow extends LitElement implements LovelaceRow { auto-validate .disabled=${stateObj.state === UNAVAILABLE} pattern="[0-9]+([\\.][0-9]+)?" - .step="${Number(stateObj.attributes.step)}" - .min="${Number(stateObj.attributes.min)}" - .max="${Number(stateObj.attributes.max)}" - .value="${Number(stateObj.state)}" + .step=${Number(stateObj.attributes.step)} + .min=${Number(stateObj.attributes.min)} + .max=${Number(stateObj.attributes.max)} + .value=${Number(stateObj.state)} type="number" - @change="${this._selectedValueChanged}" + @change=${this._selectedValueChanged} id="input" > ${stateObj.attributes.unit_of_measurement} diff --git a/src/panels/lovelace/entity-rows/hui-scene-entity-row.ts b/src/panels/lovelace/entity-rows/hui-scene-entity-row.ts index 3a9b87694c..0331920299 100644 --- a/src/panels/lovelace/entity-rows/hui-scene-entity-row.ts +++ b/src/panels/lovelace/entity-rows/hui-scene-entity-row.ts @@ -52,7 +52,7 @@ class HuiSceneEntityRow extends LitElement implements LovelaceRow { return html` diff --git a/src/panels/lovelace/ha-panel-lovelace.ts b/src/panels/lovelace/ha-panel-lovelace.ts index 4389bb4198..1590a44cb3 100644 --- a/src/panels/lovelace/ha-panel-lovelace.ts +++ b/src/panels/lovelace/ha-panel-lovelace.ts @@ -117,8 +117,8 @@ class LovelacePanel extends LitElement { return html` ${this.hass!.localize("ui.panel.lovelace.reload_lovelace")} @@ -131,8 +131,8 @@ class LovelacePanel extends LitElement { return html` `; } @@ -263,7 +263,7 @@ class LovelacePanel extends LitElement { } else { conf = rawConf; } - } catch (err) { + } catch (err: any) { if (err.code !== "config_not_found") { // eslint-disable-next-line console.log(err); @@ -379,7 +379,7 @@ class LovelacePanel extends LitElement { }); this._ignoreNextUpdateEvent = true; await saveConfig(this.hass!, urlPath, newConfig); - } catch (err) { + } catch (err: any) { // eslint-disable-next-line console.error(err); // Rollback the optimistic update @@ -414,7 +414,7 @@ class LovelacePanel extends LitElement { }); this._ignoreNextUpdateEvent = true; await deleteConfig(this.hass!, urlPath); - } catch (err) { + } catch (err: any) { // eslint-disable-next-line console.error(err); // Rollback the optimistic update diff --git a/src/panels/lovelace/header-footer/hui-picture-header-footer.ts b/src/panels/lovelace/header-footer/hui-picture-header-footer.ts index e9de04e022..22e5d904f8 100644 --- a/src/panels/lovelace/header-footer/hui-picture-header-footer.ts +++ b/src/panels/lovelace/header-footer/hui-picture-header-footer.ts @@ -72,10 +72,10 @@ export class HuiPictureHeaderFooter hasDoubleClick: hasAction(this._config!.double_tap_action), })} tabindex=${ifDefined(clickable ? 0 : undefined)} - class="${classMap({ + class=${classMap({ clickable, - })}" - src="${this.hass.hassUrl(this._config.image)}" + })} + src=${this.hass.hassUrl(this._config.image)} /> `; } diff --git a/src/panels/lovelace/hui-editor.ts b/src/panels/lovelace/hui-editor.ts index f989ba7ac9..c2c04b095d 100644 --- a/src/panels/lovelace/hui-editor.ts +++ b/src/panels/lovelace/hui-editor.ts @@ -56,7 +56,7 @@ class LovelaceFullConfigEditor extends LitElement {
    ${this.hass!.localize( @@ -209,7 +209,7 @@ class LovelaceFullConfigEditor extends LitElement { private async _removeConfig() { try { await this.lovelace!.deleteConfig(); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.error_remove", @@ -259,7 +259,7 @@ class LovelaceFullConfigEditor extends LitElement { let config: LovelaceConfig; try { config = load(value) as LovelaceConfig; - } catch (err) { + } catch (err: any) { showAlertDialog(this, { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.error_parse_yaml", @@ -272,7 +272,7 @@ class LovelaceFullConfigEditor extends LitElement { } try { assert(config, lovelaceStruct); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.error_invalid_config", @@ -292,7 +292,7 @@ class LovelaceFullConfigEditor extends LitElement { } try { await this.lovelace!.saveConfig(config); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.error_save_yaml", diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index f8f98751fd..5ab8afac4e 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -119,13 +119,11 @@ class HUIRoot extends LitElement { ? html` @@ -133,28 +131,28 @@ class HUIRoot extends LitElement { ${this.config.title || this.hass!.localize("ui.panel.lovelace.editor.header")}
    @@ -162,9 +160,9 @@ class HUIRoot extends LitElement { ${this.lovelace!.config.views.map( (view) => html` ${view.icon ? html` ` : view.title || "Unnamed view"} @@ -297,9 +294,9 @@ class HUIRoot extends LitElement { .label=${this.hass!.localize( "ui.panel.lovelace.editor.menu.open" )} - .title="${this.hass!.localize( + .title=${this.hass!.localize( "ui.panel.lovelace.editor.menu.open" - )}" + )} > @@ -332,7 +329,7 @@ class HUIRoot extends LitElement { "ui.common.refresh" )} graphic="icon" - @request-selected="${this._handleRefresh}" + @request-selected=${this._handleRefresh} > ${this.hass!.localize("ui.common.refresh")} ${this.hass!.localize( @@ -401,7 +398,7 @@ class HUIRoot extends LitElement { ` : ""} ${this.lovelace!.config.views.map( (view) => html` ${this._editMode ? html` ` : ""} ${view.icon ? html` ` : view.title || "Unnamed view"} ${this._editMode ? html` ` : ""} @@ -504,10 +500,10 @@ class HUIRoot extends LitElement { ? html` @@ -518,7 +514,7 @@ class HUIRoot extends LitElement { ` : ""} -
    +
    `; } diff --git a/src/panels/lovelace/special-rows/hui-cast-row.ts b/src/panels/lovelace/special-rows/hui-cast-row.ts index e60e8e74a4..c384bce228 100644 --- a/src/panels/lovelace/special-rows/hui-cast-row.ts +++ b/src/panels/lovelace/special-rows/hui-cast-row.ts @@ -56,7 +56,7 @@ class HuiCastRow extends LitElement implements LovelaceRow { this._config.dashboard === this._castManager.status.urlPath; return html` - +
    ${this._config.name}
    ${this._noHTTPS diff --git a/src/panels/lovelace/special-rows/hui-text-row.ts b/src/panels/lovelace/special-rows/hui-text-row.ts index a88c68a732..6953de6102 100644 --- a/src/panels/lovelace/special-rows/hui-text-row.ts +++ b/src/panels/lovelace/special-rows/hui-text-row.ts @@ -21,7 +21,7 @@ class HuiTextRow extends LitElement implements LovelaceRow { } return html` - +
    ${this._config.name}
    ${this._config.text}
    `; diff --git a/src/panels/lovelace/special-rows/hui-weblink-row.ts b/src/panels/lovelace/special-rows/hui-weblink-row.ts index 9fe2a9aeed..3ff017470f 100644 --- a/src/panels/lovelace/special-rows/hui-weblink-row.ts +++ b/src/panels/lovelace/special-rows/hui-weblink-row.ts @@ -35,7 +35,7 @@ class HuiWeblinkRow extends LitElement implements LovelaceRow { rel="noreferrer" ?download=${this._config.download} > - +
    ${this._config.name}
    `; diff --git a/src/panels/lovelace/strategies/get-strategy.ts b/src/panels/lovelace/strategies/get-strategy.ts index 66e426147d..0c43803533 100644 --- a/src/panels/lovelace/strategies/get-strategy.ts +++ b/src/panels/lovelace/strategies/get-strategy.ts @@ -59,7 +59,7 @@ const getLovelaceStrategy = async < ); } - return customElements.get(tag); + return customElements.get(tag) as unknown as T; }; interface GenerateMethods { @@ -81,7 +81,7 @@ const generateStrategy = async ( const strategy = (await getLovelaceStrategy(strategyType)) as any; // eslint-disable-next-line @typescript-eslint/return-await return await strategy[generateMethod](info); - } catch (err) { + } catch (err: any) { if (err.message !== "timeout") { // eslint-disable-next-line console.error(err); diff --git a/src/panels/my/ha-panel-my.ts b/src/panels/my/ha-panel-my.ts index 60bd581ea8..59a81234d7 100644 --- a/src/panels/my/ha-panel-my.ts +++ b/src/panels/my/ha-panel-my.ts @@ -205,7 +205,7 @@ class HaPanelMy extends LitElement { let url: string; try { url = this._createRedirectUrl(redirect); - } catch (err) { + } catch (err: any) { this._error = "url_error"; return; } @@ -248,7 +248,7 @@ class HaPanelMy extends LitElement { html`${this.hass.localize("ui.panel.my.documentation")}` ); diff --git a/src/panels/profile/ha-change-password-card.ts b/src/panels/profile/ha-change-password-card.ts index 6b06b70365..2bbcd54caf 100644 --- a/src/panels/profile/ha-change-password-card.ts +++ b/src/panels/profile/ha-change-password-card.ts @@ -153,7 +153,7 @@ class HaChangePasswordCard extends LitElement { current_password: this._currentPassword, new_password: this._password, }); - } catch (err) { + } catch (err: any) { this._errorMsg = err.message; return; } finally { diff --git a/src/panels/profile/ha-long-lived-access-tokens-card.ts b/src/panels/profile/ha-long-lived-access-tokens-card.ts index a641da7f5e..dd331c6949 100644 --- a/src/panels/profile/ha-long-lived-access-tokens-card.ts +++ b/src/panels/profile/ha-long-lived-access-tokens-card.ts @@ -119,7 +119,7 @@ class HaLongLivedTokens extends LitElement { showLongLivedAccessTokenDialog(this, { token, name }); fireEvent(this, "hass-refresh-tokens"); - } catch (err) { + } catch (err: any) { showAlertDialog(this, { title: this.hass.localize( "ui.panel.profile.long_lived_access_tokens.create_failed" @@ -148,7 +148,7 @@ class HaLongLivedTokens extends LitElement { refresh_token_id: token.id, }); fireEvent(this, "hass-refresh-tokens"); - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { title: this.hass.localize( "ui.panel.profile.long_lived_access_tokens.delete_failed" diff --git a/src/panels/profile/ha-pick-theme-row.ts b/src/panels/profile/ha-pick-theme-row.ts index 5ae1ecc679..09b6d5e899 100644 --- a/src/panels/profile/ha-pick-theme-row.ts +++ b/src/panels/profile/ha-pick-theme-row.ts @@ -52,10 +52,10 @@ export class HaPickThemeRow extends LitElement { ? this.hass.localize("ui.panel.profile.themes.error_no_theme") : ""} diff --git a/src/panels/profile/ha-refresh-tokens-card.ts b/src/panels/profile/ha-refresh-tokens-card.ts index 0b380b2455..12f801978e 100644 --- a/src/panels/profile/ha-refresh-tokens-card.ts +++ b/src/panels/profile/ha-refresh-tokens-card.ts @@ -127,7 +127,7 @@ class HaRefreshTokens extends LitElement { refresh_token_id: token.id, }); fireEvent(this, "hass-refresh-tokens"); - } catch (err) { + } catch (err: any) { await showAlertDialog(this, { title: this.hass.localize( "ui.panel.profile.refresh_tokens.delete_failed" diff --git a/src/state-summary/state-card-input_select.ts b/src/state-summary/state-card-input_select.ts index 152f9565e5..91b47eede3 100644 --- a/src/state-summary/state-card-input_select.ts +++ b/src/state-summary/state-card-input_select.ts @@ -29,7 +29,7 @@ class StateCardInputSelect extends LitElement { diff --git a/src/state/auth-mixin.ts b/src/state/auth-mixin.ts index 21575adc33..7b210cb2e9 100644 --- a/src/state/auth-mixin.ts +++ b/src/state/auth-mixin.ts @@ -44,7 +44,7 @@ export default >(superClass: T) => this.hass!.connection.close(); clearState(); document.location.href = "/"; - } catch (err) { + } catch (err: any) { // eslint-disable-next-line console.error(err); alert("Log out failed"); diff --git a/src/state/connection-mixin.ts b/src/state/connection-mixin.ts index 00bfb44bc9..4de7103637 100644 --- a/src/state/connection-mixin.ts +++ b/src/state/connection-mixin.ts @@ -81,7 +81,7 @@ export const connectionMixin = >( serviceData, target )) as ServiceCallResponse; - } catch (err) { + } catch (err: any) { if ( err.error?.code === ERR_CONNECTION_LOST && serviceCallWillDisconnect(domain, service) diff --git a/src/util/ha-pref-storage.ts b/src/util/ha-pref-storage.ts index 8c21de00b7..eb9b722914 100644 --- a/src/util/ha-pref-storage.ts +++ b/src/util/ha-pref-storage.ts @@ -17,7 +17,7 @@ export function storeState(hass: HomeAssistant) { const value = hass[key]; STORAGE[key] = JSON.stringify(value === undefined ? null : value); }); - } catch (err) { + } catch (err: any) { // Safari throws exception in private mode } } diff --git a/src/util/hass-attributes-util.ts b/src/util/hass-attributes-util.ts index d2c185c0cc..feaf4c28fb 100644 --- a/src/util/hass-attributes-util.ts +++ b/src/util/hass-attributes-util.ts @@ -189,7 +189,7 @@ export function formatAttributeValue( // If invalid URL, exception will be raised const url = new URL(value); if (url.protocol === "http:" || url.protocol === "https:") - return html`${value}`; } catch (_) { diff --git a/src/util/hass-call-api.ts b/src/util/hass-call-api.ts index 7cb4161f3a..4214ff46a0 100644 --- a/src/util/hass-call-api.ts +++ b/src/util/hass-call-api.ts @@ -8,7 +8,7 @@ export const handleFetchPromise = async ( try { response = await fetchPromise; - } catch (err) { + } catch (err: any) { // eslint-disable-next-line @typescript-eslint/no-throw-literal throw { error: "Request error", @@ -24,7 +24,7 @@ export const handleFetchPromise = async ( if (contentType && contentType.includes("application/json")) { try { body = await response.json(); - } catch (err) { + } catch (err: any) { // eslint-disable-next-line @typescript-eslint/no-throw-literal throw { error: "Unable to parse JSON response", diff --git a/src/util/hass-translation.ts b/src/util/hass-translation.ts index fcf8767d03..156c79fff7 100644 --- a/src/util/hass-translation.ts +++ b/src/util/hass-translation.ts @@ -90,7 +90,7 @@ export function getLocalLanguage() { return language; } } - } catch (e) { + } catch (err: any) { // Ignore parsing error. } } @@ -110,12 +110,8 @@ export function getLocalLanguage() { return "en"; } -export async function getTranslation( - fragment: string | null, - language: string -) { - return commonGetTranslation(fragment, language); -} +export const getTranslation = (fragment: string | null, language: string) => + commonGetTranslation(fragment, language); // Load selected translation into memory immediately so it is ready when Polymer // initializes. diff --git a/test/external_app/external_messaging.spec.ts b/test/external_app/external_messaging.spec.ts index ac1b1b8aa1..0903704572 100644 --- a/test/external_app/external_messaging.spec.ts +++ b/test/external_app/external_messaging.spec.ts @@ -67,7 +67,7 @@ describe("ExternalMessaging", () => { try { await sendMessageProm; assert.fail("Should have raised"); - } catch (err) { + } catch (err: any) { assert.deepEqual(err, { code: "no_auth", message: "There is no authentication.", diff --git a/tsconfig.json b/tsconfig.json index 47ceb96016..d23b0f2d39 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,7 +25,8 @@ "no-unclosed-tag": "error", "no-incompatible-type-binding": "warning", "no-invalid-css": "warning", - "no-missing-element-type-definition": "warning" + "no-missing-element-type-definition": "warning", + "no-property-visibility-mismatch": "error" } } ] diff --git a/yarn.lock b/yarn.lock index 44d1f5ea29..d8a7d889ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23,53 +23,53 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.13.11, @babel/compat-data@npm:^7.14.5, @babel/compat-data@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/compat-data@npm:7.14.7" - checksum: dcf7a72cb650206857a98cce1ab0973e67689f19afc3b30cabff6dbddf563f188d54d3b3f92a70c6bc1feb9049d8b2e601540e1d435b6866c77bffad0a441c9f +"@babel/compat-data@npm:^7.13.11, @babel/compat-data@npm:^7.15.0": + version: 7.15.0 + resolution: "@babel/compat-data@npm:7.15.0" + checksum: 65088d87b14966dcdba397c799f312beb1e7a4dac178e7daa922a17ee9b65d8cfd9f35ff8352ccb6e20bb9a169df1171263ef5fd5967aa25d544ea3f62681993 languageName: node linkType: hard -"@babel/core@npm:7.14.6, @babel/core@npm:^7.11.1, @babel/core@npm:^7.12.3, @babel/core@npm:^7.14.6": - version: 7.14.6 - resolution: "@babel/core@npm:7.14.6" +"@babel/core@npm:7.15.5, @babel/core@npm:^7.11.1, @babel/core@npm:^7.12.3, @babel/core@npm:^7.15.5": + version: 7.15.5 + resolution: "@babel/core@npm:7.15.5" dependencies: "@babel/code-frame": ^7.14.5 - "@babel/generator": ^7.14.5 - "@babel/helper-compilation-targets": ^7.14.5 - "@babel/helper-module-transforms": ^7.14.5 - "@babel/helpers": ^7.14.6 - "@babel/parser": ^7.14.6 - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 + "@babel/generator": ^7.15.4 + "@babel/helper-compilation-targets": ^7.15.4 + "@babel/helper-module-transforms": ^7.15.4 + "@babel/helpers": ^7.15.4 + "@babel/parser": ^7.15.5 + "@babel/template": ^7.15.4 + "@babel/traverse": ^7.15.4 + "@babel/types": ^7.15.4 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.1.2 semver: ^6.3.0 source-map: ^0.5.0 - checksum: 6ede604d8de7a103c087b96a58548a3d27efb9e53de6ecc84f4b4ca947cd91f02b0289fc04557b04eb6e31243dbeabdcdb8fd520a1780f284333f56eb1b58913 + checksum: 8121bf74040d98562b773c1e92a174cd53c99a5158ae5a9ef25645ed35d6f821c64155e394cdb04e7dc77a0871ba42a638f6703b2c44a75bc04564b21cad9e1b languageName: node linkType: hard -"@babel/generator@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/generator@npm:7.14.5" +"@babel/generator@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/generator@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 + "@babel/types": ^7.15.4 jsesc: ^2.5.1 source-map: ^0.5.0 - checksum: 7fcfeaf17e8e76ea91c66dc86c776d2112f52ce0315d3f4ca6a74b6eada0be1592d1ea6286d7241d3f634b63717ceef5d180d041a0b3dca9d071ba2e5fa7c77b + checksum: fec8e8fa46723d7edf4087dc07b1f65a64488cba9662458431dd00d2a24f7c41b21e3160cfa1ba3df9373b2bb5e84189a95206c9ce6f14845a3929fc1ab58f57 languageName: node linkType: hard -"@babel/helper-annotate-as-pure@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-annotate-as-pure@npm:7.14.5" +"@babel/helper-annotate-as-pure@npm:^7.14.5, @babel/helper-annotate-as-pure@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-annotate-as-pure@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: 18cefedda60003c2551dabe0e4ad278ef0507682680892c60e9f7cb75ae1dc9a065cddb3ce9964da76f220bf972af5262619eeac4b84c2b8aba1b031961215cc + "@babel/types": ^7.15.4 + checksum: 94e3b5714748cc4fe419c3e75656b1747f7e985d46a178dbd87e4a97f8f4d0ba94374c6768516cdc9c744d40202f1c2bb7930a7a153274c3d42edb196e945404 languageName: node linkType: hard @@ -83,33 +83,33 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-compilation-targets@npm:7.14.5" +"@babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-compilation-targets@npm:7.15.4" dependencies: - "@babel/compat-data": ^7.14.5 + "@babel/compat-data": ^7.15.0 "@babel/helper-validator-option": ^7.14.5 browserslist: ^4.16.6 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 02df2c6d1bc5f2336f380945aa266a3a65d057c5eff6be667235a8005048b21f69e4aaebc8e43ccfc2fb406688383ae8e572f257413febf244772e5e7af5fd7f + checksum: a2b9767d5658da90bd79170b4b0d2987930fb6708d48428619f9f4664c47e3f9409801b76c7603446404b453c67e54682cc86840cb1c29aa06c956533ebaf5ba languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.14.5, @babel/helper-create-class-features-plugin@npm:^7.14.6": - version: 7.14.6 - resolution: "@babel/helper-create-class-features-plugin@npm:7.14.6" +"@babel/helper-create-class-features-plugin@npm:^7.14.5, @babel/helper-create-class-features-plugin@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-create-class-features-plugin@npm:7.15.4" dependencies: - "@babel/helper-annotate-as-pure": ^7.14.5 - "@babel/helper-function-name": ^7.14.5 - "@babel/helper-member-expression-to-functions": ^7.14.5 - "@babel/helper-optimise-call-expression": ^7.14.5 - "@babel/helper-replace-supers": ^7.14.5 - "@babel/helper-split-export-declaration": ^7.14.5 + "@babel/helper-annotate-as-pure": ^7.15.4 + "@babel/helper-function-name": ^7.15.4 + "@babel/helper-member-expression-to-functions": ^7.15.4 + "@babel/helper-optimise-call-expression": ^7.15.4 + "@babel/helper-replace-supers": ^7.15.4 + "@babel/helper-split-export-declaration": ^7.15.4 peerDependencies: "@babel/core": ^7.0.0 - checksum: 9d9c3c6f469bc5da4e5819979d0f70bf8a824967661743800741b5560cfa3cf811d52ab14dc00dd6e839814f8db39cf3118c08d550c487680969c40c9ccf2e2a + checksum: 42fa8550125cd26ec5ff62f8d5383924b896a35326a31acced93a166661d1a1446199e5d2c8dc3685d70482127dc57cc6c22c5ffccadb58e72bfedf906fba817 languageName: node linkType: hard @@ -152,75 +152,75 @@ __metadata: languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-function-name@npm:7.14.5" +"@babel/helper-function-name@npm:^7.14.5, @babel/helper-function-name@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-function-name@npm:7.15.4" dependencies: - "@babel/helper-get-function-arity": ^7.14.5 - "@babel/template": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: fd8ffa82f7622b6e9a6294fb3b98b42e743ab2a8e3c329367667a960b5b98b48bc5ebf8be7308981f1985b9f3c69e1a3b4a91c8944ae97c31803240da92fb3c8 + "@babel/helper-get-function-arity": ^7.15.4 + "@babel/template": ^7.15.4 + "@babel/types": ^7.15.4 + checksum: 0500e8e40753fdc25252b30609b12df8ebb997a4e5b4c2145774855c026a4338c0510fc7b819035d5f9d76cf3bd63417c0b7b58f0836a10996300f2f925c4e0f languageName: node linkType: hard -"@babel/helper-get-function-arity@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-get-function-arity@npm:7.14.5" +"@babel/helper-get-function-arity@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-get-function-arity@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: a60779918b677a35e177bb4f46babfd54e9790587b6a4f076092a9eff2a940cbeacdeb10c94331b26abfe838769554d72293d16df897246cfccd1444e5e27cb7 + "@babel/types": ^7.15.4 + checksum: 1a3dba8700ec69b5b120401769897a1a0ca2edcf6b546659d49946dcc8b0755c4c58dd8f15739f5cf851d4ca1db76f56759897c6f5b9f76f2fef989dc4f8fd54 languageName: node linkType: hard -"@babel/helper-hoist-variables@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-hoist-variables@npm:7.14.5" +"@babel/helper-hoist-variables@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-hoist-variables@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: 35af58eebffca10988de7003e044ce2d27212aea72ac6d2c4604137da7f1e193cc694d8d60805d0d0beaf3d990f6f2dcc2622c52e3d3148e37017a29cacf2e56 + "@babel/types": ^7.15.4 + checksum: 1a9ae0a27112b5f4e4ab91da2a1b40a8f91d8ce195e965d900ec3f13b583a1ab36834fb3edc2812523fa1d586ce21c3e6d8ce437d168e23a5d8e7e2e46b50f6f languageName: node linkType: hard -"@babel/helper-member-expression-to-functions@npm:^7.14.5": - version: 7.14.7 - resolution: "@babel/helper-member-expression-to-functions@npm:7.14.7" +"@babel/helper-member-expression-to-functions@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-member-expression-to-functions@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: 1768b849224002d7a8553226ad73e1e957fb6184b68234d5df7a45cf8e4453ed1208967c1cace1a4d973b223ddc881d105e372945ec688f09485dff0e8ed6180 + "@babel/types": ^7.15.4 + checksum: 30cf27e2afbaf1d58d189c5f36951a6af7d2bfccdfdb7d57e91749620d9c3c37d78324a1725079d3ab4a0e5c4e5f3d5f19a275d5dd269baa2aa8852835b05d6d languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-module-imports@npm:7.14.5" +"@babel/helper-module-imports@npm:^7.10.4, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.14.5, @babel/helper-module-imports@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-module-imports@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: b98279908698a50a22634e683924cb25eb93edf1bf28ac65691dfa82d7a1a4dae4e6b12b8ef9f9a50171ca484620bce544f270873c53505d8a45364c5b665c0c + "@babel/types": ^7.15.4 + checksum: 519681cb9c27fcacd85ef13534020db3a2bac1d53a4d988fd9f3cf1ec223854311d4193c961cc2031c4d1df3b1a35a849b38237302752ae3d29eb00e5b9a904a languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-module-transforms@npm:7.14.5" +"@babel/helper-module-transforms@npm:^7.14.5, @babel/helper-module-transforms@npm:^7.15.4": + version: 7.15.7 + resolution: "@babel/helper-module-transforms@npm:7.15.7" dependencies: - "@babel/helper-module-imports": ^7.14.5 - "@babel/helper-replace-supers": ^7.14.5 - "@babel/helper-simple-access": ^7.14.5 - "@babel/helper-split-export-declaration": ^7.14.5 - "@babel/helper-validator-identifier": ^7.14.5 - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: f5d64c0242ec8949ee09069a634d28ae750ab22f9533ea90eab9eaf3405032a33b0b329a63fac0a7901482efb8a388a06279f7544225a0bc3c1b92b306ab2b6e + "@babel/helper-module-imports": ^7.15.4 + "@babel/helper-replace-supers": ^7.15.4 + "@babel/helper-simple-access": ^7.15.4 + "@babel/helper-split-export-declaration": ^7.15.4 + "@babel/helper-validator-identifier": ^7.15.7 + "@babel/template": ^7.15.4 + "@babel/traverse": ^7.15.4 + "@babel/types": ^7.15.6 + checksum: 7e09aa7c3cfff4d715891af13a09626962aadb822501fbb587218abe35d82174255f5aa79b67e40b75c1d374a6b5976e6836237ece69c651c7e11e604783a5c9 languageName: node linkType: hard -"@babel/helper-optimise-call-expression@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-optimise-call-expression@npm:7.14.5" +"@babel/helper-optimise-call-expression@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-optimise-call-expression@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: c7af558c63eb5449bf2249f1236d892ed54a400cb6c721756cde573b996c12c64dee6b57fa18ad1a0025d152e6f689444f7ea32997a1d56e1af66c3eda18843d + "@babel/types": ^7.15.4 + checksum: 7c929d1a3dbed7ee776dd8a4502b92433bb14ce6217372581db117de294edcf7b8678b1f703b8309c769bb46f2e4f005cdb3958dec508a486b2b03a9a919b542 languageName: node linkType: hard @@ -231,60 +231,60 @@ __metadata: languageName: node linkType: hard -"@babel/helper-remap-async-to-generator@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-remap-async-to-generator@npm:7.14.5" +"@babel/helper-remap-async-to-generator@npm:^7.14.5, @babel/helper-remap-async-to-generator@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-remap-async-to-generator@npm:7.15.4" dependencies: - "@babel/helper-annotate-as-pure": ^7.14.5 - "@babel/helper-wrap-function": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: 022594a15caed0d3bbac52e27eef0f20f9dceb85921b682df55f3bb21dee6fea645b03663e84fdfaadc6b88f4b83b012858520813c15e88728bbc5e16bf3fa29 + "@babel/helper-annotate-as-pure": ^7.15.4 + "@babel/helper-wrap-function": ^7.15.4 + "@babel/types": ^7.15.4 + checksum: 80918caa96fcb679a89887f7997fd1428d77810e3fa11de0c7475594a09c7b96adee872b84202f8301ee707dec43575c6d92799f07959d595d2da1940388d8aa languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-replace-supers@npm:7.14.5" +"@babel/helper-replace-supers@npm:^7.14.5, @babel/helper-replace-supers@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-replace-supers@npm:7.15.4" dependencies: - "@babel/helper-member-expression-to-functions": ^7.14.5 - "@babel/helper-optimise-call-expression": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: 35d33cfe473f9fb5cc1110ee259686179ecd07e00e07d9eb03de998e47f49d59fc2e183cf6be0793fd6bec24510b893415e52ace93ae940f94663c4a02c6fbd0 + "@babel/helper-member-expression-to-functions": ^7.15.4 + "@babel/helper-optimise-call-expression": ^7.15.4 + "@babel/traverse": ^7.15.4 + "@babel/types": ^7.15.4 + checksum: b08a23914a5f7f964aefa4518255006d3a58e4c0cf972527c1fe3c79ebff4d6d50c9f1d370b8d62e0085766a654910e39ba196fab522d794142d2219eea8430d languageName: node linkType: hard -"@babel/helper-simple-access@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-simple-access@npm:7.14.5" +"@babel/helper-simple-access@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-simple-access@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: cd795416bd10dd2f1bdebb36f1af08bf263024fdbf789cfda5dd1fbf4fea1fd0375e21d0bcb910a7d49b09b7480340797dcdfc888fbc895aeae45c145358ad75 + "@babel/types": ^7.15.4 + checksum: 8c3462264d6755c1e190a709fa90667c1691cb61cdca2d3f9119dd93adfd9fbcb292bcc48dbd7e065b8c27d9371f2793799a92aec124a3260288ed112e00c839 languageName: node linkType: hard -"@babel/helper-skip-transparent-expression-wrappers@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.14.5" +"@babel/helper-skip-transparent-expression-wrappers@npm:^7.14.5, @babel/helper-skip-transparent-expression-wrappers@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: d16937eb08d57d2577902fa6d05ac4b1695602babd9dff9890fa8e56b593fdc997ad24de13fdaf15617036bfacf3493ea569898a5ac0538c2a831aa163f18985 + "@babel/types": ^7.15.4 + checksum: ebec4ea6fc93fd39e610f7b274cb63e420fffee1cbe5002e41bdf9d39ce6121d541163124730fb22b242d0f58d3be447b339ec6b323feeda687a978cafabfeaa languageName: node linkType: hard -"@babel/helper-split-export-declaration@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-split-export-declaration@npm:7.14.5" +"@babel/helper-split-export-declaration@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-split-export-declaration@npm:7.15.4" dependencies: - "@babel/types": ^7.14.5 - checksum: 93437025a33747bfd37d6d5a9cdac8f4b6b3e5c0c53c0e24c5444575e731ea64fd5471a51a039fd74ff3378f916ea2d69d9f10274d253ed6f832952be2fd65f0 + "@babel/types": ^7.15.4 + checksum: 6baf45996e1323fdfc30666e9c0b3219d74c54dc71e9130acfa4d9d4c53faa95618ac383a1c82a156555908323384a416b4a29e88b337de98fdb476212134f99 languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-validator-identifier@npm:7.14.5" - checksum: 6366bceab4498785defc083a1bd96344f788d90a1aa7a6f18d6813c1d3d134640bfc05690453c0b79bbfc820472cf5b29110dfddaca1f8e2763dfe1bd5df0b88 +"@babel/helper-validator-identifier@npm:^7.14.5, @babel/helper-validator-identifier@npm:^7.14.9, @babel/helper-validator-identifier@npm:^7.15.7": + version: 7.15.7 + resolution: "@babel/helper-validator-identifier@npm:7.15.7" + checksum: f041c28c531d1add5cc345b25d5df3c29c62bce3205b4d4a93dcd164ccf630350acba252d374fad8f5d8ea526995a215829f27183ba7ce7ce141843bf23068a6 languageName: node linkType: hard @@ -295,26 +295,26 @@ __metadata: languageName: node linkType: hard -"@babel/helper-wrap-function@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-wrap-function@npm:7.14.5" +"@babel/helper-wrap-function@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helper-wrap-function@npm:7.15.4" dependencies: - "@babel/helper-function-name": ^7.14.5 - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: d5c4bec02396f00d305ae2b60cfa5f3ec27d196a71b88107745b6be4fe257ebe54deedb6ee3997c8c9a2cc5c2571d567c22e9b866109490a2aa7f79a1a2272e2 + "@babel/helper-function-name": ^7.15.4 + "@babel/template": ^7.15.4 + "@babel/traverse": ^7.15.4 + "@babel/types": ^7.15.4 + checksum: 66422c8abd69ac3b9be44de62fe9e460ae8faa2b692757eeed920523633a1921b29af8867eb5f0832b1f029c489cf01c703ae51fa2dc078ea636abcc52e092bc languageName: node linkType: hard -"@babel/helpers@npm:^7.14.6": - version: 7.14.6 - resolution: "@babel/helpers@npm:7.14.6" +"@babel/helpers@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/helpers@npm:7.15.4" dependencies: - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: fe4e73975b062a8b8b95f499f4ac1064c9a53d4ee83cc273c2420250f6a46b59f1f5e35050d41ebe04efd7885a28ceea6f4f16d8eb091e24622f2a4a5eb20f23 + "@babel/template": ^7.15.4 + "@babel/traverse": ^7.15.4 + "@babel/types": ^7.15.4 + checksum: e60738110086c183d0ce369ad56949d5dceeb7d73d8fdb892f36d5b8525192e6b97f4563eb77334f47ac27ac43a21f3c4cd53bff342c2a0d5f4008a2b0169c89 languageName: node linkType: hard @@ -329,25 +329,25 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.14.5, @babel/parser@npm:^7.14.6, @babel/parser@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/parser@npm:7.14.7" +"@babel/parser@npm:^7.15.4, @babel/parser@npm:^7.15.5": + version: 7.15.7 + resolution: "@babel/parser@npm:7.15.7" bin: parser: ./bin/babel-parser.js - checksum: 0d7acc8cf9c19ccd0e80ab0608953f32f4375f3867c080211270e7bb4bb94c551fd1fc3f49b3cc92a4eec356cf507801f5c93c4c72996968bdc4c28815fe0550 + checksum: bd828b933118354ecae482240e100205738b9d8bff06cf615493c470cad09198d8c024f3e28053f38f875f90d566a5994c19a4c0329bb0c126a994cb031e90e1 languageName: node linkType: hard -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.14.5" +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.15.4" dependencies: "@babel/helper-plugin-utils": ^7.14.5 - "@babel/helper-skip-transparent-expression-wrappers": ^7.14.5 + "@babel/helper-skip-transparent-expression-wrappers": ^7.15.4 "@babel/plugin-proposal-optional-chaining": ^7.14.5 peerDependencies: "@babel/core": ^7.13.0 - checksum: 17331fd4c1de860ac78aa3195eb5bd058c4eb24a8f2c6e719f079f9c86cbdb53d9a8affc2f9f78b6fc257afef03811922c2d16addad5d5f6224d2820da1c9f45 + checksum: 6c4f264951a51b22ae52e97ed8ba272c1b7a068a0b4a3472c24998a9ce0c3174c3157457a7c886664cc5c77f7693b779d07b1def2545a6cfdf66ee5ff2064423 languageName: node linkType: hard @@ -362,16 +362,16 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-async-generator-functions@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.14.7" +"@babel/plugin-proposal-async-generator-functions@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.15.4" dependencies: "@babel/helper-plugin-utils": ^7.14.5 - "@babel/helper-remap-async-to-generator": ^7.14.5 + "@babel/helper-remap-async-to-generator": ^7.15.4 "@babel/plugin-syntax-async-generators": ^7.8.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 09343a79385615f8d5f95aaef7c44af5e899c82f030f3d73546c2ffffa567c0949f0405052d7e32f643c0eb2a23590a5050f4606855b3506246d3d60e46f32e3 + checksum: 23fdc2b4fe7482ee4d4de31da5433d660cd7251a417d3a99826f69d8684db2225b640afc16b4014a55ee737eb0e966357f4063ad0128893c6f54e24ffe0318bd languageName: node linkType: hard @@ -387,29 +387,29 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-class-static-block@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-proposal-class-static-block@npm:7.14.5" +"@babel/plugin-proposal-class-static-block@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-proposal-class-static-block@npm:7.15.4" dependencies: - "@babel/helper-create-class-features-plugin": ^7.14.5 + "@babel/helper-create-class-features-plugin": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 "@babel/plugin-syntax-class-static-block": ^7.14.5 peerDependencies: "@babel/core": ^7.12.0 - checksum: 0275d0643dacd08638c2d3c129158ad0c2dea6a26e78fa4b2129811a29460ff9a6459d1955a19bfa3b9ed67ba2bb3c88676823ad207b2de4f0c65e0c3751d75c + checksum: 2c77531cf6637fbebed18cc0485651737a875c507c7ebfc35c702bde9aeac303708c825bcd7c9882ae5c007ab1c44fbea322ac3b26ef3774d89f4e5d494da0fb languageName: node linkType: hard -"@babel/plugin-proposal-decorators@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-proposal-decorators@npm:7.14.5" +"@babel/plugin-proposal-decorators@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-proposal-decorators@npm:7.15.4" dependencies: - "@babel/helper-create-class-features-plugin": ^7.14.5 + "@babel/helper-create-class-features-plugin": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 "@babel/plugin-syntax-decorators": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: caf02b34940b719a4e7648abef2f7397b50bcfb07ae631cc2dcee5d77473679bf4c6e1e5e5a467d0abb0fdaaadabc9d017259cb6e68c5dec8a20e3b7ef406696 + checksum: 02d966e11bf9b4a6984940cc77319f901e21574bca542a294d384ef8b05a6571b2b60c6ac5aa4e97beeec95e3ec6b440c8fc04d1e37996bb1fd366cfe672c0db languageName: node linkType: hard @@ -485,18 +485,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-object-rest-spread@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.14.7" +"@babel/plugin-proposal-object-rest-spread@npm:^7.15.6": + version: 7.15.6 + resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.15.6" dependencies: - "@babel/compat-data": ^7.14.7 - "@babel/helper-compilation-targets": ^7.14.5 + "@babel/compat-data": ^7.15.0 + "@babel/helper-compilation-targets": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 "@babel/plugin-syntax-object-rest-spread": ^7.8.3 - "@babel/plugin-transform-parameters": ^7.14.5 + "@babel/plugin-transform-parameters": ^7.15.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: a35192868166fb5a62003a56ce2c266f74ae680f1d9589652c4495145240dd138a9505301bb5adca069cb874d6f0f733dc2f3d1d05f71a06019735c29c4d1a11 + checksum: fef884b9e2e235c449f317b4fb0f90c23bdfbfec160c3ed105a3bbf2a85a6e449883953f8229ba132ad65090ff38094fca8475225ad462d1bd87f1392f3f60ed languageName: node linkType: hard @@ -537,17 +537,17 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-private-property-in-object@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.14.5" +"@babel/plugin-proposal-private-property-in-object@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.15.4" dependencies: - "@babel/helper-annotate-as-pure": ^7.14.5 - "@babel/helper-create-class-features-plugin": ^7.14.5 + "@babel/helper-annotate-as-pure": ^7.15.4 + "@babel/helper-create-class-features-plugin": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 "@babel/plugin-syntax-private-property-in-object": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: a11da6a52eb13d6dcb6ed36993a81e9746404f6e83d32be16142911b7e5768293d8c4c5373d182ef25cb94d0b18c0c27a07f4553be042ee2dc49f7179f8cbfe2 + checksum: 39a0ab24dcc3464997dbac785ad4f69eac26496c6848000f4886da47a18547e635a34b0ca6fd943674f280d4b146d20b7baeb31e05276af8f508f884198dcea9 languageName: node linkType: hard @@ -796,31 +796,31 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-transform-block-scoping@npm:7.14.5" +"@babel/plugin-transform-block-scoping@npm:^7.15.3": + version: 7.15.3 + resolution: "@babel/plugin-transform-block-scoping@npm:7.15.3" dependencies: "@babel/helper-plugin-utils": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d317d636d0475317302e9c8b01cf9214fac3ff9353b23d0d16285f196f5c7b95b7864a8e8eaf51a3e1b650649203855f80a58b7a2caef4b0ee9793e7349a0ec5 + checksum: ee28f51711b5f6569a9bb86be5b2a5456f3e6e22e68488ee77f8082fae5563f45c858dc8323e0e51085d880db1be73e28dc5d108c8a855c831fb29310a01b549 languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-transform-classes@npm:7.14.5" +"@babel/plugin-transform-classes@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-transform-classes@npm:7.15.4" dependencies: - "@babel/helper-annotate-as-pure": ^7.14.5 - "@babel/helper-function-name": ^7.14.5 - "@babel/helper-optimise-call-expression": ^7.14.5 + "@babel/helper-annotate-as-pure": ^7.15.4 + "@babel/helper-function-name": ^7.15.4 + "@babel/helper-optimise-call-expression": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 - "@babel/helper-replace-supers": ^7.14.5 - "@babel/helper-split-export-declaration": ^7.14.5 + "@babel/helper-replace-supers": ^7.15.4 + "@babel/helper-split-export-declaration": ^7.15.4 globals: ^11.1.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 42fc333a0d8a6a90b5c75e90d2ec21494f711ab7c58f2d074d95726cdd38f137e74653602a82d2d1a3e9bc504b5eff62418d70048514b672c9bd108bfb866e25 + checksum: c795bb3f49eff5a5a7357650fb233e6a84089278d8b917ef46c566dd112de660240e7ffca6ba274d7596034806b9655974082cf99746ea492f3be98613d5fc01 languageName: node linkType: hard @@ -881,14 +881,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-for-of@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-transform-for-of@npm:7.14.5" +"@babel/plugin-transform-for-of@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-transform-for-of@npm:7.15.4" dependencies: "@babel/helper-plugin-utils": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: aeb76eb11d10b2390996001e2fd529bbaf3695edd306d24e4eba87b8137c10a6afda3896017f88fcf40fd2334cc424c0a111fad34e10c747e81e577e5957e328 + checksum: 908307b89d05bfb464a4a33033f68fdfedf6302a0203d45c2a34abc3a5bacf23767284892b21b52d0cbeb7e10330a1d5d81990000fef1592adbb3556fd96d1d0 languageName: node linkType: hard @@ -939,32 +939,32 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-transform-modules-commonjs@npm:7.14.5" +"@babel/plugin-transform-modules-commonjs@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.15.4" dependencies: - "@babel/helper-module-transforms": ^7.14.5 + "@babel/helper-module-transforms": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 - "@babel/helper-simple-access": ^7.14.5 + "@babel/helper-simple-access": ^7.15.4 babel-plugin-dynamic-import-node: ^2.3.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 5cc41ee904e421c32f692ce10985190bc8f995df63ee1fd899ea80ce50b4b8408c7f2fddf16e01345244fc5702c8b9c0772afdd934e325c4e468840daa9bee04 + checksum: 4782b0dad09a9a593be94c7d71fc134ba190e04125a0bf7127dfb5f23413438467b50d92f5d91faa2d377cecccfaf9cdd61156a033fc772816772fdddd82e0ad languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.14.5" +"@babel/plugin-transform-modules-systemjs@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.15.4" dependencies: - "@babel/helper-hoist-variables": ^7.14.5 - "@babel/helper-module-transforms": ^7.14.5 + "@babel/helper-hoist-variables": ^7.15.4 + "@babel/helper-module-transforms": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 - "@babel/helper-validator-identifier": ^7.14.5 + "@babel/helper-validator-identifier": ^7.14.9 babel-plugin-dynamic-import-node: ^2.3.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3ca0bb1c0c22a3d705476186afa9fc86398ae4662afc259ff29c1942e3c8770f4bdadaf67418a21816964d4e1eaf07412eeabccccfaa9d45eac735f971ad148b + checksum: c5ba905680781237a8e86ae6434a9ca33e49deb8e7c3ac28d7b8079bc51c39b557aeecb06e97dc519912815fc99cbd75eaa23bfaa5428ee36aef2dfeae617c29 languageName: node linkType: hard @@ -980,14 +980,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.14.7" +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.14.9": + version: 7.14.9 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.14.9" dependencies: "@babel/helper-create-regexp-features-plugin": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0 - checksum: 3c68bc77cce387750ecd32d33e9ad0f0968245fbe03b36ec8dddc52bee3ee84757205db3b3b4fc605e055f08769312ef4dbf4a0c8adb8f02eb04b142ffcdf265 + checksum: 81dda376c0af4c07ae252703481e8bd16d49045bd624697ff6b6635326f3f20fca9c574a2f0036bf7f4aa8c36baa9d926912538de486a189a3515bec7f72e16a languageName: node linkType: hard @@ -1014,14 +1014,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-parameters@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-transform-parameters@npm:7.14.5" +"@babel/plugin-transform-parameters@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/plugin-transform-parameters@npm:7.15.4" dependencies: "@babel/helper-plugin-utils": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 932bc616be7b5542ba2371c85cfcc579a8556b9e5a5ea5535b7f0ec5b68284ed2a3724ae181f1a22719b5ea6539c82f5fcee37d9f45f08ed72eb9e43a0940b56 + checksum: 0d8bf881156669a2a6fa279e80fa2f1f47ec6404a72be87adb3e8fa40e72d26f2413ce942208dd1b0f6deb47332d8d2fd81b5e5d6f744779c7d9b13f85b608a5 languageName: node linkType: hard @@ -1114,16 +1114,16 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-typescript@npm:^7.14.5": - version: 7.14.6 - resolution: "@babel/plugin-transform-typescript@npm:7.14.6" +"@babel/plugin-transform-typescript@npm:^7.15.0": + version: 7.15.4 + resolution: "@babel/plugin-transform-typescript@npm:7.15.4" dependencies: - "@babel/helper-create-class-features-plugin": ^7.14.6 + "@babel/helper-create-class-features-plugin": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 "@babel/plugin-syntax-typescript": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: cb3117cfc9c8ebf9612b137eb660448e79a876a189fcad6b79641faa7200073bbfd08bf0e63c7ddb3a35b3d31457d6e90cf63565e64446a73866290dc97353fa + checksum: a6fb1f2f831024aff5110fa1be44e5fff96ce11a51178869f09d98675528c6878ff3a95caa42868cb55eae97d23c77e68913aa1737eb38befd2cb49301e2601d languageName: node linkType: hard @@ -1150,29 +1150,29 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.11.0, @babel/preset-env@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/preset-env@npm:7.14.7" +"@babel/preset-env@npm:^7.11.0, @babel/preset-env@npm:^7.15.6": + version: 7.15.6 + resolution: "@babel/preset-env@npm:7.15.6" dependencies: - "@babel/compat-data": ^7.14.7 - "@babel/helper-compilation-targets": ^7.14.5 + "@babel/compat-data": ^7.15.0 + "@babel/helper-compilation-targets": ^7.15.4 "@babel/helper-plugin-utils": ^7.14.5 "@babel/helper-validator-option": ^7.14.5 - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.14.5 - "@babel/plugin-proposal-async-generator-functions": ^7.14.7 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.15.4 + "@babel/plugin-proposal-async-generator-functions": ^7.15.4 "@babel/plugin-proposal-class-properties": ^7.14.5 - "@babel/plugin-proposal-class-static-block": ^7.14.5 + "@babel/plugin-proposal-class-static-block": ^7.15.4 "@babel/plugin-proposal-dynamic-import": ^7.14.5 "@babel/plugin-proposal-export-namespace-from": ^7.14.5 "@babel/plugin-proposal-json-strings": ^7.14.5 "@babel/plugin-proposal-logical-assignment-operators": ^7.14.5 "@babel/plugin-proposal-nullish-coalescing-operator": ^7.14.5 "@babel/plugin-proposal-numeric-separator": ^7.14.5 - "@babel/plugin-proposal-object-rest-spread": ^7.14.7 + "@babel/plugin-proposal-object-rest-spread": ^7.15.6 "@babel/plugin-proposal-optional-catch-binding": ^7.14.5 "@babel/plugin-proposal-optional-chaining": ^7.14.5 "@babel/plugin-proposal-private-methods": ^7.14.5 - "@babel/plugin-proposal-private-property-in-object": ^7.14.5 + "@babel/plugin-proposal-private-property-in-object": ^7.15.4 "@babel/plugin-proposal-unicode-property-regex": ^7.14.5 "@babel/plugin-syntax-async-generators": ^7.8.4 "@babel/plugin-syntax-class-properties": ^7.12.13 @@ -1191,25 +1191,25 @@ __metadata: "@babel/plugin-transform-arrow-functions": ^7.14.5 "@babel/plugin-transform-async-to-generator": ^7.14.5 "@babel/plugin-transform-block-scoped-functions": ^7.14.5 - "@babel/plugin-transform-block-scoping": ^7.14.5 - "@babel/plugin-transform-classes": ^7.14.5 + "@babel/plugin-transform-block-scoping": ^7.15.3 + "@babel/plugin-transform-classes": ^7.15.4 "@babel/plugin-transform-computed-properties": ^7.14.5 "@babel/plugin-transform-destructuring": ^7.14.7 "@babel/plugin-transform-dotall-regex": ^7.14.5 "@babel/plugin-transform-duplicate-keys": ^7.14.5 "@babel/plugin-transform-exponentiation-operator": ^7.14.5 - "@babel/plugin-transform-for-of": ^7.14.5 + "@babel/plugin-transform-for-of": ^7.15.4 "@babel/plugin-transform-function-name": ^7.14.5 "@babel/plugin-transform-literals": ^7.14.5 "@babel/plugin-transform-member-expression-literals": ^7.14.5 "@babel/plugin-transform-modules-amd": ^7.14.5 - "@babel/plugin-transform-modules-commonjs": ^7.14.5 - "@babel/plugin-transform-modules-systemjs": ^7.14.5 + "@babel/plugin-transform-modules-commonjs": ^7.15.4 + "@babel/plugin-transform-modules-systemjs": ^7.15.4 "@babel/plugin-transform-modules-umd": ^7.14.5 - "@babel/plugin-transform-named-capturing-groups-regex": ^7.14.7 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.14.9 "@babel/plugin-transform-new-target": ^7.14.5 "@babel/plugin-transform-object-super": ^7.14.5 - "@babel/plugin-transform-parameters": ^7.14.5 + "@babel/plugin-transform-parameters": ^7.15.4 "@babel/plugin-transform-property-literals": ^7.14.5 "@babel/plugin-transform-regenerator": ^7.14.5 "@babel/plugin-transform-reserved-words": ^7.14.5 @@ -1221,15 +1221,15 @@ __metadata: "@babel/plugin-transform-unicode-escapes": ^7.14.5 "@babel/plugin-transform-unicode-regex": ^7.14.5 "@babel/preset-modules": ^0.1.4 - "@babel/types": ^7.14.5 + "@babel/types": ^7.15.6 babel-plugin-polyfill-corejs2: ^0.2.2 babel-plugin-polyfill-corejs3: ^0.2.2 babel-plugin-polyfill-regenerator: ^0.2.2 - core-js-compat: ^3.15.0 + core-js-compat: ^3.16.0 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: ebebc20ada68c92b67375926021d576af3636a279aee7625c1e234880355c8669188483aecfff2d478c1caa9fcf18b569ea329060b479236b04baed2bdf796d5 + checksum: 096902ac397b6ab53bd6c03c59cc451d98b407d1863c185837f0cb56ff45414aa08ae6b950ef179c66a30c0680d4d1846cda0766a990f850ee477022353daf5b languageName: node linkType: hard @@ -1248,16 +1248,16 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/preset-typescript@npm:7.14.5" +"@babel/preset-typescript@npm:^7.15.0": + version: 7.15.0 + resolution: "@babel/preset-typescript@npm:7.15.0" dependencies: "@babel/helper-plugin-utils": ^7.14.5 "@babel/helper-validator-option": ^7.14.5 - "@babel/plugin-transform-typescript": ^7.14.5 + "@babel/plugin-transform-typescript": ^7.15.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: c4f60abfa96c380e16f38b9206a1009a5cbc01866da83ca731fa360c0bf7dca11ca930179bba476ab77e270e2567f28439244d4f495dce9d39647a7273c04949 + checksum: 2c480bb0ef76418357d92ccfae67df544a069ca8f59785e8bd0d1d3111bfc671f9f04672583506f1ee62afc3872bf21ed85d6d0c97ba1bc09a6efd1f7c20a10f languageName: node linkType: hard @@ -1270,41 +1270,41 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/template@npm:7.14.5" +"@babel/template@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/template@npm:7.15.4" dependencies: "@babel/code-frame": ^7.14.5 - "@babel/parser": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: 4939199c5b1ca8940e14c87f30f4fab5f35c909bef88447131075349027546927b4e3e08e50db5c2db2024f2c6585a4fe571c739c835ac980f7a4ada2dd8a623 + "@babel/parser": ^7.15.4 + "@babel/types": ^7.15.4 + checksum: 58ca51fdd40bbaaddf2e46513dd05d5823f214cb2877b3f353abf5541a033a1b6570c29c2c80e60f2b55966326e40bebbf53666b261646ccf410b3d984af42ce languageName: node linkType: hard -"@babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.14.5": - version: 7.14.7 - resolution: "@babel/traverse@npm:7.14.7" +"@babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.15.4": + version: 7.15.4 + resolution: "@babel/traverse@npm:7.15.4" dependencies: "@babel/code-frame": ^7.14.5 - "@babel/generator": ^7.14.5 - "@babel/helper-function-name": ^7.14.5 - "@babel/helper-hoist-variables": ^7.14.5 - "@babel/helper-split-export-declaration": ^7.14.5 - "@babel/parser": ^7.14.7 - "@babel/types": ^7.14.5 + "@babel/generator": ^7.15.4 + "@babel/helper-function-name": ^7.15.4 + "@babel/helper-hoist-variables": ^7.15.4 + "@babel/helper-split-export-declaration": ^7.15.4 + "@babel/parser": ^7.15.4 + "@babel/types": ^7.15.4 debug: ^4.1.0 globals: ^11.1.0 - checksum: 11e9162e46bdd6daef8691facbf5c47838f6e312ac775be35c40353c77887338d1b9ce497211d2ae96628a9230551f03eb3df49b4ca53b6f668082f2c157d1a0 + checksum: 831506a92c8ed76dc60504de37663bf5a553d7b1b009a94defc082cddb6c380c5487a1aa9438bcd7b9891a2a72758a63e4f878154aa70699d09b388b1445d774 languageName: node linkType: hard -"@babel/types@npm:^7.14.5, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": - version: 7.14.5 - resolution: "@babel/types@npm:7.14.5" +"@babel/types@npm:^7.14.5, @babel/types@npm:^7.15.4, @babel/types@npm:^7.15.6, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": + version: 7.15.6 + resolution: "@babel/types@npm:7.15.6" dependencies: - "@babel/helper-validator-identifier": ^7.14.5 + "@babel/helper-validator-identifier": ^7.14.9 to-fast-properties: ^2.0.0 - checksum: 7c1ab6e8bdf438d44236034cab10f7d0f1971179bc405dca26733a9b89dd87dd692dc49a238a7495075bc41a9a17fb6f08b4d1da45ea6ddcce1e5c8593574aea + checksum: 37f497dde10d238b5eb184efab83b415a86611e3d73dc0434de0cfb851b20ee606a3b7e1525e5b2d522fac1248d0345fea0468006f246262511b80cd3ed2419f languageName: node linkType: hard @@ -1492,9 +1492,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^0.4.2": - version: 0.4.2 - resolution: "@eslint/eslintrc@npm:0.4.2" +"@eslint/eslintrc@npm:^0.4.3": + version: 0.4.3 + resolution: "@eslint/eslintrc@npm:0.4.3" dependencies: ajv: ^6.12.4 debug: ^4.1.1 @@ -1505,7 +1505,7 @@ __metadata: js-yaml: ^3.13.1 minimatch: ^3.0.4 strip-json-comments: ^3.1.1 - checksum: 17f90cf07988dd2a5e4f510687c81334141977b8e0fa1b63ef0318b0578466e368fc988c101ddc7df55b6124dff8ecd1be67292c27901265761758ad22608e12 + checksum: 03a7704150b868c318aab6a94d87a33d30dc2ec579d27374575014f06237ba1370ae11178db772f985ef680d469dc237e7b16a1c5d8edaaeb8c3733e7a95a6d3 languageName: node linkType: hard @@ -3993,14 +3993,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^4.28.3": - version: 4.28.3 - resolution: "@typescript-eslint/eslint-plugin@npm:4.28.3" +"@typescript-eslint/eslint-plugin@npm:^4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/eslint-plugin@npm:4.32.0" dependencies: - "@typescript-eslint/experimental-utils": 4.28.3 - "@typescript-eslint/scope-manager": 4.28.3 + "@typescript-eslint/experimental-utils": 4.32.0 + "@typescript-eslint/scope-manager": 4.32.0 debug: ^4.3.1 functional-red-black-tree: ^1.0.1 + ignore: ^5.1.8 regexpp: ^3.1.0 semver: ^7.3.5 tsutils: ^3.21.0 @@ -4010,66 +4011,66 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 2ac7113dbb0916ee911c3cee552b31b82c3c286ce4be1d2b5b8fbbe64eb05eb8c5187a64aba2fc5d46f2bc2d391887b33e00edbb65f2f25f41342efa346776ef + checksum: f1e856f1f500ac7a06097536d0a5392f33f4a9f0750ffac90c30e40852524579715624ffa791b6fb601320d1d53135b4321b00d0554f6aea12fe55b65ccedd7b languageName: node linkType: hard -"@typescript-eslint/experimental-utils@npm:4.28.3": - version: 4.28.3 - resolution: "@typescript-eslint/experimental-utils@npm:4.28.3" +"@typescript-eslint/experimental-utils@npm:4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/experimental-utils@npm:4.32.0" dependencies: "@types/json-schema": ^7.0.7 - "@typescript-eslint/scope-manager": 4.28.3 - "@typescript-eslint/types": 4.28.3 - "@typescript-eslint/typescript-estree": 4.28.3 + "@typescript-eslint/scope-manager": 4.32.0 + "@typescript-eslint/types": 4.32.0 + "@typescript-eslint/typescript-estree": 4.32.0 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 peerDependencies: eslint: "*" - checksum: 09b1b196318acbf6efbb9ea93fc73b18a77c1fc04efb24bc77d941666b5a0c48828f2d788079bdfd340828045d15054a4c95fba5367e7c8b1fe53de53736a1db + checksum: bad0072df9f7f7804a3bd9aeccfe6a0b117e47ad7f58d091674a276c84171be2c525c977c304d39c6d0cd31706a2d9a4f797466a505dda7985535cd3ad9b5830 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^4.28.3, @typescript-eslint/parser@npm:^4.4.1": - version: 4.28.3 - resolution: "@typescript-eslint/parser@npm:4.28.3" +"@typescript-eslint/parser@npm:^4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/parser@npm:4.32.0" dependencies: - "@typescript-eslint/scope-manager": 4.28.3 - "@typescript-eslint/types": 4.28.3 - "@typescript-eslint/typescript-estree": 4.28.3 + "@typescript-eslint/scope-manager": 4.32.0 + "@typescript-eslint/types": 4.32.0 + "@typescript-eslint/typescript-estree": 4.32.0 debug: ^4.3.1 peerDependencies: eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 3a5d64237e7085235f3b27eece73105bd5a7b51f17c868c086a6062bd8ab6901c908270d41c055f44d9f440c6a1bb3203429693a07436905cc60d3a03cd361e9 + checksum: dd6a30fb04e56a13b53298c7d20cb3954cc6f220c599ba907b5029c2d36230a1d9850c8392d47a3b4c2760a39af5f6ff502a2eaa984a44f93142c83ac231d52d languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:4.28.3": - version: 4.28.3 - resolution: "@typescript-eslint/scope-manager@npm:4.28.3" +"@typescript-eslint/scope-manager@npm:4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/scope-manager@npm:4.32.0" dependencies: - "@typescript-eslint/types": 4.28.3 - "@typescript-eslint/visitor-keys": 4.28.3 - checksum: 9ffb955581311ef46d7aebf23ac544c96164bac00f7657f963680ba7b239b1c021733318ea22ca2965ff9b8f2798dff8ae5d7add0dae4207d3dad86d5e4f0f1f + "@typescript-eslint/types": 4.32.0 + "@typescript-eslint/visitor-keys": 4.32.0 + checksum: 03510d080dee19588a09f41226c93fb67eafe132c2305da4dbcfaf3ccb333a6d1736f7b897d83c85545cb88f532c81849182b1c55cb7ca7ad9148aa5d4671ad2 languageName: node linkType: hard -"@typescript-eslint/types@npm:4.28.3": - version: 4.28.3 - resolution: "@typescript-eslint/types@npm:4.28.3" - checksum: 15f052f92ee429056e7bdd4b0ff3750d72a6ab6c202a46f394dcd7490da7f670d7b516fc5febc96332cced39fdf3fd20c4893ee58fb93ce9b58e2f1e1766d7bb +"@typescript-eslint/types@npm:4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/types@npm:4.32.0" + checksum: e93ce12ee3ee0fa1ac6f6e51f9aec8c4b7b603296dad2d5cb11790710de12fd7bf88fca0f8220e51f18e696aba8764e26ff960fa0cc1aef50055ee1e1e72c207 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:4.28.3": - version: 4.28.3 - resolution: "@typescript-eslint/typescript-estree@npm:4.28.3" +"@typescript-eslint/typescript-estree@npm:4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/typescript-estree@npm:4.32.0" dependencies: - "@typescript-eslint/types": 4.28.3 - "@typescript-eslint/visitor-keys": 4.28.3 + "@typescript-eslint/types": 4.32.0 + "@typescript-eslint/visitor-keys": 4.32.0 debug: ^4.3.1 globby: ^11.0.3 is-glob: ^4.0.1 @@ -4078,17 +4079,17 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 674cdd5e3c24306f906d6479ede454d5f5a2100e22cd5aa08f9bc27953cdb4930384ad3b4434937e31e8e92e6b3cc867f8d56c3b65e2254f7042662deafef583 + checksum: 4525789cd27f4af333c9e2c221511b4ce8c50bd520b5c73958885b718f38d5c7349678286db8dc26de2ca61463651925d37e833456497e493c357acc3ea24b03 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:4.28.3": - version: 4.28.3 - resolution: "@typescript-eslint/visitor-keys@npm:4.28.3" +"@typescript-eslint/visitor-keys@npm:4.32.0": + version: 4.32.0 + resolution: "@typescript-eslint/visitor-keys@npm:4.32.0" dependencies: - "@typescript-eslint/types": 4.28.3 + "@typescript-eslint/types": 4.32.0 eslint-visitor-keys: ^2.0.0 - checksum: b570740ae16901df85febde13b5e34b95dfa13fc51b035875bc087fef356f2db1284ff045812ace06b0e8f821171a7ddaf7606cee672d35df486989e79a0c7df + checksum: 233bf479b6373bae2e61976ed1f2d0fb5c365203984e1233024a2677da0958fb3b19753b67047e8c9a9f4cec7603d1027d73b1302fef0d49c5e92be012d3d92e languageName: node linkType: hard @@ -4933,13 +4934,6 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^2.2.1": - version: 2.2.1 - resolution: "ansi-styles@npm:2.2.1" - checksum: ebc0e00381f2a29000d1dac8466a640ce11943cef3bda3cd0020dc042e31e1058ab59bf6169cd794a54c3a7338a61ebc404b7c91e004092dd20e028c432c9c2c - languageName: node - linkType: hard - "ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" @@ -5571,18 +5565,18 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.14.5, browserslist@npm:^4.16.6": - version: 4.16.6 - resolution: "browserslist@npm:4.16.6" +"browserslist@npm:^4.14.5, browserslist@npm:^4.16.6, browserslist@npm:^4.17.1": + version: 4.17.1 + resolution: "browserslist@npm:4.17.1" dependencies: - caniuse-lite: ^1.0.30001219 - colorette: ^1.2.2 - electron-to-chromium: ^1.3.723 + caniuse-lite: ^1.0.30001259 + electron-to-chromium: ^1.3.846 escalade: ^3.1.1 - node-releases: ^1.1.71 + nanocolors: ^0.1.5 + node-releases: ^1.1.76 bin: browserslist: cli.js - checksum: 3dffc86892d2dcfcfc66b52519b7e5698ae070b4fc92ab047e760efc4cae0474e9e70bbe10d769c8d3491b655ef3a2a885b88e7196c83cc5dc0a46dfdba8b70c + checksum: 7935fad6ad1ec6986e93854ea11c344b4fb0a8665a1501cf0a91cc832fd6a280ea147d2684b05520b70785c9ec88e746d6f5b0f8f0b70fc501b1684af5fc56dc languageName: node linkType: hard @@ -5825,10 +5819,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001219": - version: 1.0.30001243 - resolution: "caniuse-lite@npm:1.0.30001243" - checksum: 912cf885036847a8b6972cd65170d9f355a08b08cfd6b06bcaa8de965755ee5b35a4bbe4eb73844aac313a42e2038ae0971a5b4c9b94d631db2f073c906ce1d6 +"caniuse-lite@npm:^1.0.30001259": + version: 1.0.30001261 + resolution: "caniuse-lite@npm:1.0.30001261" + checksum: d894662312ecbdd772f0a258c4a45cac93605247b127b25649052353e0b981abfd0b445f469650943b612adc236fd510ae61c1293f3e77c68af7411d1b66574a languageName: node linkType: hard @@ -5870,19 +5864,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^1.0.0": - version: 1.1.3 - resolution: "chalk@npm:1.1.3" - dependencies: - ansi-styles: ^2.2.1 - escape-string-regexp: ^1.0.2 - has-ansi: ^2.0.0 - strip-ansi: ^3.0.0 - supports-color: ^2.0.0 - checksum: 9d2ea6b98fc2b7878829eec223abcf404622db6c48396a9b9257f6d0ead2acf18231ae368d6a664a83f272b0679158da12e97b5229f794939e555cc574478acd - languageName: node - linkType: hard - "chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -6496,13 +6477,13 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.14.0, core-js-compat@npm:^3.15.0": - version: 3.15.2 - resolution: "core-js-compat@npm:3.15.2" +"core-js-compat@npm:^3.14.0, core-js-compat@npm:^3.16.0": + version: 3.18.1 + resolution: "core-js-compat@npm:3.18.1" dependencies: - browserslist: ^4.16.6 + browserslist: ^4.17.1 semver: 7.0.0 - checksum: ca68b51b4a75241dae44ae75bf01476c0c8505c1c6fe69dc3b3ae3ee0e8d39fadf415df21a2c46ea018c250aa76ba1a664e8cb2b6657a801eed1a2ac738d7968 + checksum: d7afbd879fa1fd6bd20778308bfafc8b4993b13a4c24cb0793baad4b027d13f59fef78b867137b0a570df708ea2d0766a067d8c5b3dc4e5e4747d70dc91e1c98 languageName: node linkType: hard @@ -6724,13 +6705,6 @@ __metadata: languageName: node linkType: hard -"dedent@npm:^0.7.0": - version: 0.7.0 - resolution: "dedent@npm:0.7.0" - checksum: 87de191050d9a40dd70cad01159a0bcf05ecb59750951242070b6abf9569088684880d00ba92a955b4058804f16eeaf91d604f283929b4f614d181cd7ae633d2 - languageName: node - linkType: hard - "deep-clone-simple@npm:^1.1.1": version: 1.1.1 resolution: "deep-clone-simple@npm:1.1.1" @@ -7079,10 +7053,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.3.723": - version: 1.3.769 - resolution: "electron-to-chromium@npm:1.3.769" - checksum: 484767fa6ab1c9a0a2ed39037027ab9f712439d51f4cfb7b314e708e2b3ec9e93b47c83af4f84fe7ce1e24f9e961dbe923ebd65b6ab7638c59865405383421ff +"electron-to-chromium@npm:^1.3.846": + version: 1.3.854 + resolution: "electron-to-chromium@npm:1.3.854" + checksum: c9070a49e6ee26d6088fe89bff10b2e0c31adb22f21f8a854ce7399346fbcdba36bd8de84d4adb5514facc43745e7c8d5992aae6d172263950e4736c3965f938 languageName: node linkType: hard @@ -7315,14 +7289,14 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^1.0.0, escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.5": +"escape-string-regexp@npm:^1.0.0, escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" checksum: 6092fda75c63b110c706b6a9bfde8a612ad595b628f0bd2147eea1d3406723020810e591effc7db1da91d80a71a737a313567c5abb3813e8d9c71f4aa595b410 languageName: node linkType: hard -"eslint-config-airbnb-base@npm:^14.2.0, eslint-config-airbnb-base@npm:^14.2.1": +"eslint-config-airbnb-base@npm:^14.2.1": version: 14.2.1 resolution: "eslint-config-airbnb-base@npm:14.2.1" dependencies: @@ -7336,31 +7310,13 @@ __metadata: languageName: node linkType: hard -"eslint-config-airbnb-typescript@npm:^12.3.1": - version: 12.3.1 - resolution: "eslint-config-airbnb-typescript@npm:12.3.1" - dependencies: - "@typescript-eslint/parser": ^4.4.1 - eslint-config-airbnb: ^18.2.0 - eslint-config-airbnb-base: ^14.2.0 - checksum: 2aac9d736c0bcb778a8b6894aa7e061f2454895e0e4cc7bc1247074c4c54d777212f9523539b57b49c2e09abe64f0b95d8571196f04e471db9d764f88aff697a - languageName: node - linkType: hard - -"eslint-config-airbnb@npm:^18.2.0": - version: 18.2.1 - resolution: "eslint-config-airbnb@npm:18.2.1" - dependencies: - eslint-config-airbnb-base: ^14.2.1 - object.assign: ^4.1.2 - object.entries: ^1.1.2 +"eslint-config-airbnb-typescript@npm:^14.0.0": + version: 14.0.0 + resolution: "eslint-config-airbnb-typescript@npm:14.0.0" peerDependencies: - eslint: ^5.16.0 || ^6.8.0 || ^7.2.0 - eslint-plugin-import: ^2.22.1 - eslint-plugin-jsx-a11y: ^6.4.1 - eslint-plugin-react: ^7.21.5 - eslint-plugin-react-hooks: ^4 || ^3 || ^2.3.0 || ^1.7.0 - checksum: ea11cd0006912f7086fb278e03180da4bc2378cf4e93b1dd970775d8e9b50fd11a64209bdc0ed17654d29abe4ccfa19baa4d1e1e5bd3eb660fcf4798ba2810d2 + "@typescript-eslint/eslint-plugin": ^4.29.3 + "@typescript-eslint/parser": ^4.29.3 + checksum: 0544e55cd651e0217a09faa257a86689fdaa056bb6e0217ea38345c3c083ddeb5eb59a23b745884637d8e7c338acaa4459b08c151226c65c61b308c58e8a1d3a languageName: node linkType: hard @@ -7375,13 +7331,13 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.4": - version: 0.3.4 - resolution: "eslint-import-resolver-node@npm:0.3.4" +"eslint-import-resolver-node@npm:^0.3.6": + version: 0.3.6 + resolution: "eslint-import-resolver-node@npm:0.3.6" dependencies: - debug: ^2.6.9 - resolve: ^1.13.1 - checksum: a0db55ec26c5bb385c8681af6b8d6dee16768d5f27dff72c3113407d0f028f28e56dcb1cc3a4689c79396a5f6a9c24bd0cac9a2c9c588c7d7357d24a42bec876 + debug: ^3.2.7 + resolve: ^1.20.0 + checksum: 6266733af1e112970e855a5bcc2d2058fb5ae16ad2a6d400705a86b29552b36131ffc5581b744c23d550de844206fb55e9193691619ee4dbf225c4bde526b1c8 languageName: node linkType: hard @@ -7407,13 +7363,13 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.6.1": - version: 2.6.1 - resolution: "eslint-module-utils@npm:2.6.1" +"eslint-module-utils@npm:^2.6.2": + version: 2.6.2 + resolution: "eslint-module-utils@npm:2.6.2" dependencies: debug: ^3.2.7 pkg-dir: ^2.0.0 - checksum: 3cc43a36a0075d300db6a3946203ec92249b6da1539694ef205a43b4ccfbc2eaf4961475d4b89c24b12c187d6bfd882c7c7d0b2ce02adb40c2dedb7fd022a7e2 + checksum: 814591f494e4f4b04c1af0fde2a679e7a7664a5feb51175e02ba96d671e34ec60cb1835d174508eb81c07a6c92c243f84c6349f4169b3bec1a8dbdd36a0934f3 languageName: node linkType: hard @@ -7429,28 +7385,28 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.23.4": - version: 2.23.4 - resolution: "eslint-plugin-import@npm:2.23.4" +"eslint-plugin-import@npm:^2.24.2": + version: 2.24.2 + resolution: "eslint-plugin-import@npm:2.24.2" dependencies: array-includes: ^3.1.3 array.prototype.flat: ^1.2.4 debug: ^2.6.9 doctrine: ^2.1.0 - eslint-import-resolver-node: ^0.3.4 - eslint-module-utils: ^2.6.1 + eslint-import-resolver-node: ^0.3.6 + eslint-module-utils: ^2.6.2 find-up: ^2.0.0 has: ^1.0.3 - is-core-module: ^2.4.0 + is-core-module: ^2.6.0 minimatch: ^3.0.4 - object.values: ^1.1.3 + object.values: ^1.1.4 pkg-up: ^2.0.0 read-pkg-up: ^3.0.0 resolve: ^1.20.0 - tsconfig-paths: ^3.9.0 + tsconfig-paths: ^3.11.0 peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 - checksum: 8c64bb96fa35607de3da1ddf5d127a5913aebde5677bc276c55fecb3e539a7287569dc697af4f5c523bd2b08bff8f5b525448df5aa7d6256c86436b615be5abc + checksum: df570aec83ffa126fd80596d9fb1b6799d3cde025ceeb159eb28383541ebbb855468c9a2dbc670ab9e91dd0a8f8a82e52fd909a7c61e9ffa585bcce84ae1aec4 languageName: node linkType: hard @@ -7467,39 +7423,45 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^3.4.0": - version: 3.4.0 - resolution: "eslint-plugin-prettier@npm:3.4.0" +"eslint-plugin-prettier@npm:^4.0.0": + version: 4.0.0 + resolution: "eslint-plugin-prettier@npm:4.0.0" dependencies: prettier-linter-helpers: ^1.0.0 peerDependencies: - eslint: ">=5.0.0" - prettier: ">=1.13.0" + eslint: ">=7.28.0" + prettier: ">=2.0.0" peerDependenciesMeta: eslint-config-prettier: optional: true - checksum: 30a07e8d12637d2988e371f6a20ff4c86fd7fdc3596d1d18d62c0367804f38e06a65052d0281234aeb2552e4d1908dcb2de20543413e038251a2717a46400a9d + checksum: 03d69177a3c21fa2229c7e427ce604429f0b20ab7f411e2e824912f572a207c7f5a41fd1f0a95b9b8afe121e291c1b1f1dc1d44c7aad4b0837487f9c19f5210d languageName: node linkType: hard -"eslint-plugin-unused-imports@npm:^1.1.2": - version: 1.1.2 - resolution: "eslint-plugin-unused-imports@npm:1.1.2" +"eslint-plugin-unused-imports@npm:^1.1.5": + version: 1.1.5 + resolution: "eslint-plugin-unused-imports@npm:1.1.5" dependencies: eslint-rule-composer: ^0.3.0 - checksum: 7e899ec79e043f9b2a3d634b405f787c65353c25c37f2dd8561e7919518c5450c34a2ff7ff43bb2ecd296a79f5bc9c7ec0010dc026ea6ba983b8a9e538f68fdb + peerDependencies: + "@typescript-eslint/eslint-plugin": ^4.14.2 + eslint: ^6.0.0 || ^7.0.0 + peerDependenciesMeta: + "@typescript-eslint/eslint-plugin": + optional: true + checksum: fd1ef93fd414240594ea2f78cd7334523c244af12a610442c6dbf78b0058915c363ce78032730962f510fdd2792ded0607bc13adea9a724d1c5cec736704c99d languageName: node linkType: hard -"eslint-plugin-wc@npm:^1.3.0": - version: 1.3.0 - resolution: "eslint-plugin-wc@npm:1.3.0" +"eslint-plugin-wc@npm:^1.3.2": + version: 1.3.2 + resolution: "eslint-plugin-wc@npm:1.3.2" dependencies: + is-valid-element-name: ^1.0.0 js-levenshtein-esm: ^1.2.0 - validate-element-name: ^2.1.1 peerDependencies: - eslint: ">= 5" - checksum: 1089d24f10fb16c0573d18d9c6aee2edd75069faea1b0daf51c8fb18b141fb5557586b4243d18b7d991668bead6e4cd7e182526d775a40603a8d2380df93e992 + eslint: ">=5" + checksum: 0661d8b61abc3e29396de3b78cbaa71517dca769f6ad19d43db3055659667b941b2a4e7757865c71924ea5febb2fde7ee4ff6d0f7ba41587ff5136f60f661503 languageName: node linkType: hard @@ -7554,12 +7516,12 @@ __metadata: languageName: node linkType: hard -"eslint@npm:>=0.16.0, eslint@npm:^7.30.0": - version: 7.30.0 - resolution: "eslint@npm:7.30.0" +"eslint@npm:>=0.16.0, eslint@npm:^7.32.0": + version: 7.32.0 + resolution: "eslint@npm:7.32.0" dependencies: "@babel/code-frame": 7.12.11 - "@eslint/eslintrc": ^0.4.2 + "@eslint/eslintrc": ^0.4.3 "@humanwhocodes/config-array": ^0.5.0 ajv: ^6.10.0 chalk: ^4.0.0 @@ -7600,7 +7562,7 @@ __metadata: v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 872f90844b164dd61ec1bb949d2e33e7fbd189e0652fabe2cbbd0bdce1e4cd7ed08e72fa213795a453ae39fe24460771800608e765febb9e778deb28b9db3cc1 + checksum: cc85af9985a3a11085c011f3d27abe8111006d34cc274291b3c4d7bea51a4e2ff6135780249becd919ba7f6d6d1ecc38a6b73dacb6a7be08d38453b344dc8d37 languageName: node linkType: hard @@ -8861,15 +8823,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"has-ansi@npm:^2.0.0": - version: 2.0.0 - resolution: "has-ansi@npm:2.0.0" - dependencies: - ansi-regex: ^2.0.0 - checksum: 1b51daa0214440db171ff359d0a2d17bc20061164c57e76234f614c91dbd2a79ddd68dfc8ee73629366f7be45a6df5f2ea9de83f52e1ca24433f2cc78c35d8ec - languageName: node - linkType: hard - "has-bigints@npm:^1.0.1": version: 1.0.1 resolution: "has-bigints@npm:1.0.1" @@ -8973,18 +8926,18 @@ fsevents@^1.2.7: version: 0.0.0-use.local resolution: "home-assistant-frontend@workspace:." dependencies: - "@babel/core": ^7.14.6 + "@babel/core": ^7.15.5 "@babel/plugin-external-helpers": ^7.14.5 "@babel/plugin-proposal-class-properties": ^7.14.5 - "@babel/plugin-proposal-decorators": ^7.14.5 + "@babel/plugin-proposal-decorators": ^7.15.4 "@babel/plugin-proposal-nullish-coalescing-operator": ^7.14.5 - "@babel/plugin-proposal-object-rest-spread": ^7.14.7 + "@babel/plugin-proposal-object-rest-spread": ^7.15.6 "@babel/plugin-proposal-optional-chaining": ^7.14.5 "@babel/plugin-syntax-dynamic-import": ^7.8.3 "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/plugin-syntax-top-level-await": ^7.14.5 - "@babel/preset-env": ^7.14.7 - "@babel/preset-typescript": ^7.14.5 + "@babel/preset-env": ^7.15.6 + "@babel/preset-typescript": ^7.15.0 "@braintree/sanitize-url": ^5.0.2 "@codemirror/commands": ^0.19.2 "@codemirror/gutter": ^0.19.1 @@ -9072,8 +9025,8 @@ fsevents@^1.2.7: "@types/mocha": ^8 "@types/sortablejs": ^1 "@types/webspeechapi": ^0.0.29 - "@typescript-eslint/eslint-plugin": ^4.28.3 - "@typescript-eslint/parser": ^4.28.3 + "@typescript-eslint/eslint-plugin": ^4.32.0 + "@typescript-eslint/parser": ^4.32.0 "@vaadin/vaadin-combo-box": ^21.0.2 "@vaadin/vaadin-date-picker": ^21.0.2 "@vibrant/color": ^3.2.1-alpha.1 @@ -9093,16 +9046,17 @@ fsevents@^1.2.7: deep-clone-simple: ^1.1.1 deep-freeze: ^0.0.1 del: ^4.0.0 - eslint: ^7.30.0 - eslint-config-airbnb-typescript: ^12.3.1 + eslint: ^7.32.0 + eslint-config-airbnb-base: ^14.2.1 + eslint-config-airbnb-typescript: ^14.0.0 eslint-config-prettier: ^8.3.0 eslint-import-resolver-webpack: ^0.13.1 eslint-plugin-disable: ^2.0.1 - eslint-plugin-import: ^2.23.4 + eslint-plugin-import: ^2.24.2 eslint-plugin-lit: ^1.5.1 - eslint-plugin-prettier: ^3.4.0 - eslint-plugin-unused-imports: ^1.1.2 - eslint-plugin-wc: ^1.3.0 + eslint-plugin-prettier: ^4.0.0 + eslint-plugin-unused-imports: ^1.1.5 + eslint-plugin-wc: ^1.3.2 fancy-log: ^1.3.3 fs-extra: ^7.0.1 fuse.js: ^6.0.0 @@ -9123,7 +9077,7 @@ fsevents@^1.2.7: js-yaml: ^4.1.0 leaflet: ^1.7.1 leaflet-draw: ^1.0.4 - lint-staged: ^11.0.1 + lint-staged: ^11.1.2 lit: ^2.0.0 lit-analyzer: ^1.2.1 lit-vaadin-helpers: ^0.2.1 @@ -9137,7 +9091,7 @@ fsevents@^1.2.7: node-vibrant: 3.2.1-alpha.1 object-hash: ^2.0.3 open: ^7.0.4 - prettier: ^2.3.2 + prettier: ^2.4.1 proxy-polyfill: ^0.3.2 punycode: ^2.1.1 qrcode: ^1.4.4 @@ -9159,7 +9113,7 @@ fsevents@^1.2.7: tinykeys: ^1.1.3 ts-lit-plugin: ^1.2.1 tsparticles: ^1.34.0 - typescript: ^4.3.5 + typescript: ^4.4.3 unfetch: ^4.1.0 vinyl-buffer: ^1.0.1 vinyl-source-stream: ^2.0.0 @@ -9456,7 +9410,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"ignore@npm:^5.1.4": +"ignore@npm:^5.1.4, ignore@npm:^5.1.8": version: 5.1.8 resolution: "ignore@npm:5.1.8" checksum: 967abadb61e2cb0e5c5e8c4e1686ab926f91bc1a4680d994b91947d3c65d04c3ae126dcdf67f08e0feeb8ff8407d453e641aeeddcc47a3a3cca359f283cf6121 @@ -9766,12 +9720,12 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-core-module@npm:^2.2.0, is-core-module@npm:^2.4.0": - version: 2.4.0 - resolution: "is-core-module@npm:2.4.0" +"is-core-module@npm:^2.2.0, is-core-module@npm:^2.4.0, is-core-module@npm:^2.6.0": + version: 2.7.0 + resolution: "is-core-module@npm:2.7.0" dependencies: has: ^1.0.3 - checksum: c498902d4c4d0e8eba3a2e8293ccd442158cfe49a71d7cfad136ccf9902b6a41de34ddaa86cdc95c8b7c22f872e59572d8a5d994cbec04c8ecf27ffe75137119 + checksum: 8ec6dc714438ef9dc4dae10c94d21bd5aa67244da7e85bd9e42f0fd298514181214f6bebe358a486477c1242458b170ad7a8c936be0be15d465862fa61d3d1c7 languageName: node linkType: hard @@ -10149,6 +10103,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"is-valid-element-name@npm:^1.0.0": + version: 1.0.0 + resolution: "is-valid-element-name@npm:1.0.0" + dependencies: + is-potential-custom-element-name: ^1.0.0 + checksum: 915099b633770948b5967e6896f4475252634a2cc455ae1c158f48f6c11f03680e0bdaf0a547912ce6d3dea2cfa28a0e8013a98bb5e41445fc6ef0616824bea7 + languageName: node + linkType: hard + "is-valid-glob@npm:^1.0.0": version: 1.0.0 resolution: "is-valid-glob@npm:1.0.0" @@ -10644,16 +10607,15 @@ fsevents@^1.2.7: languageName: node linkType: hard -"lint-staged@npm:^11.0.1": - version: 11.0.1 - resolution: "lint-staged@npm:11.0.1" +"lint-staged@npm:^11.1.2": + version: 11.1.2 + resolution: "lint-staged@npm:11.1.2" dependencies: chalk: ^4.1.1 cli-truncate: ^2.1.0 commander: ^7.2.0 cosmiconfig: ^7.0.0 debug: ^4.3.1 - dedent: ^0.7.0 enquirer: ^2.3.6 execa: ^5.0.0 listr2: ^3.8.2 @@ -10665,7 +10627,7 @@ fsevents@^1.2.7: stringify-object: ^3.3.0 bin: lint-staged: bin/lint-staged.js - checksum: 5046fbaa020e573ca31a4b7a3819cdd5383912c53dc55f5e68db4a525eba1fc23312f4cf0162742ef6a358464394e584b718049cd62b883b1d4f06fdfb163022 + checksum: 0050d1836dda879c58561fa4efd100f5cd14fcbf8ee3fdeab7e89ec4219c019543bb5bf2442f760557ebe4bb8b7bfc56a9c98b9384acecfe0f8553f091723e36 languageName: node linkType: hard @@ -11083,15 +11045,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"log-symbols@npm:^1.0.0": - version: 1.0.2 - resolution: "log-symbols@npm:1.0.2" - dependencies: - chalk: ^1.0.0 - checksum: 5214ade9381db5d40528c171fdfd459b75cad7040eb6a347294ae47fa80cfebba4adbc3aa73a1c9da744cbfa240dd93b38f80df8615717affeea6c4bb6b8dfe7 - languageName: node - linkType: hard - "log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" @@ -11290,7 +11243,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"meow@npm:^3.3.0, meow@npm:^3.7.0": +"meow@npm:^3.3.0": version: 3.7.0 resolution: "meow@npm:3.7.0" dependencies: @@ -11701,6 +11654,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"nanocolors@npm:^0.1.5": + version: 0.1.12 + resolution: "nanocolors@npm:0.1.12" + checksum: 2ce58f57006ddd1d2680d05fe21f54d858db8ba81bd13381598ddc546f7637e33c4407da2ea7da40ea1c96794250e7c14a4d00358b48eeae4d917d6a92bafe4c + languageName: node + linkType: hard + "nanoid@npm:3.1.20, nanoid@npm:^3.0.1": version: 3.1.20 resolution: "nanoid@npm:3.1.20" @@ -11846,10 +11806,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"node-releases@npm:^1.1.71": - version: 1.1.71 - resolution: "node-releases@npm:1.1.71" - checksum: a6ab18069e43d70b811fa7f12b397619f2003f78ac2ed0affa30876880ca3036a191d33679d93baac166afa12a7b1b1716e13f3c82c0f0fa09e2c83db3f91faf +"node-releases@npm:^1.1.76": + version: 1.1.76 + resolution: "node-releases@npm:1.1.76" + checksum: 10174cb880fffbb2896954599a2551da66127dd3c65703c827536fe9a4b4431545a9e3378c2006fb5ba59d0f0764ceff87c9f7eb0e84fabf7958411fccd0edd1 languageName: node linkType: hard @@ -12055,14 +12015,13 @@ fsevents@^1.2.7: linkType: hard "object.entries@npm:^1.1.2": - version: 1.1.3 - resolution: "object.entries@npm:1.1.3" + version: 1.1.4 + resolution: "object.entries@npm:1.1.4" dependencies: - call-bind: ^1.0.0 + call-bind: ^1.0.2 define-properties: ^1.1.3 - es-abstract: ^1.18.0-next.1 - has: ^1.0.3 - checksum: 2622ac94f801e6cfddfa2e26719dd200bbc2cb891f00664f0256ebf1ca6626f00882352207ba2d2706c36bbd99d8cfbc84a01b937092239c23a60e1a4ee1d497 + es-abstract: ^1.18.2 + checksum: 1ddd2e28f5ecfe2369fe198439ec0457529f3eec85c7f43870be8de3ec3d98024b014ddb4a769ca48925e47ed76c69a51d8bf2c9886ed43174e3a1d33c2dbe38 languageName: node linkType: hard @@ -12095,7 +12054,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"object.values@npm:^1.1.3": +"object.values@npm:^1.1.4": version: 1.1.4 resolution: "object.values@npm:1.1.4" dependencies: @@ -12834,12 +12793,12 @@ fsevents@^1.2.7: languageName: node linkType: hard -"prettier@npm:^2.3.2": - version: 2.3.2 - resolution: "prettier@npm:2.3.2" +"prettier@npm:^2.4.1": + version: 2.4.1 + resolution: "prettier@npm:2.4.1" bin: prettier: bin-prettier.js - checksum: 17ce5784ac67621c292df58e2da60b2ee150c2d6aebea22a6ad9e52fcd6a5e66c349d0a8436ea3bd8ff9d778920a5f68000d7625b74f43558718a49755aa5259 + checksum: cc6830588b401b0d742862fe9c46bc9118204fb307c3abe0e49e95b35ed23629573807ffdf9cdd65289c252a0bb51fc0171437f6626ee36378dea80f0ee80b91 languageName: node linkType: hard @@ -13548,7 +13507,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.4.0, resolve@^1.9.0": +"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.4.0, resolve@^1.9.0": version: 1.20.0 resolution: "resolve@npm:1.20.0" dependencies: @@ -13558,7 +13517,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.11.0#~builtin, resolve@patch:resolve@^1.13.1#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.17.0#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.4.0#~builtin, resolve@patch:resolve@^1.9.0#~builtin": +"resolve@patch:resolve@^1.1.6#~builtin, resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.11.0#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.17.0#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.4.0#~builtin, resolve@patch:resolve@^1.9.0#~builtin": version: 1.20.0 resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff" dependencies: @@ -14689,13 +14648,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"supports-color@npm:^2.0.0": - version: 2.0.0 - resolution: "supports-color@npm:2.0.0" - checksum: 602538c5812b9006404370b5a4b885d3e2a1f6567d314f8b4a41974ffe7d08e525bf92ae0f9c7030e3b4c78e4e34ace55d6a67a74f1571bc205959f5972f88f0 - languageName: node - linkType: hard - "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -15116,15 +15068,15 @@ fsevents@^1.2.7: languageName: node linkType: hard -"tsconfig-paths@npm:^3.9.0": - version: 3.9.0 - resolution: "tsconfig-paths@npm:3.9.0" +"tsconfig-paths@npm:^3.11.0": + version: 3.11.0 + resolution: "tsconfig-paths@npm:3.11.0" dependencies: "@types/json5": ^0.0.29 json5: ^1.0.1 minimist: ^1.2.0 strip-bom: ^3.0.0 - checksum: 243b3b098c76a4ca90ea0431683f3755a4ff175c6123bcba5f7b4bd80fe2ef8fa9bdc8f4d525148a1e71ade7f3e037e7c0313ae177fd12398ab68f05c2c7f25d + checksum: e14aaa6883f316d611db41cbb0fc8779b59c66b31d1e045565ad4540c77ccd3d2bb66f7c261b74ff535d3cc6b4a1ce21dc84774bf2a2a603ed6b0fb96f7e0cc7 languageName: node linkType: hard @@ -15236,13 +15188,13 @@ typescript@^3.8.3: languageName: node linkType: hard -typescript@^4.3.5: - version: 4.3.5 - resolution: "typescript@npm:4.3.5" +typescript@^4.4.3: + version: 4.4.3 + resolution: "typescript@npm:4.4.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: bab033b5e2b0790dd35b77fd005df976ef80b8d84fd2c6e63cc31808151875beae9216e5a315fe7068e8499905c3c354248fe83272cdfc13b7705635f0c66c97 + checksum: 05823f21796d450531a7e4ab299715d38fd9ded0e4ce7400876053f4b5166ca3dde7a68cecfe72d9086039f03c0b6edba36516fb10ed83c5837d9600532ea4c2 languageName: node linkType: hard @@ -15256,13 +15208,13 @@ typescript@^4.3.5: languageName: node linkType: hard -"typescript@patch:typescript@^4.3.5#~builtin": - version: 4.3.5 - resolution: "typescript@patch:typescript@npm%3A4.3.5#~builtin::version=4.3.5&hash=32657b" +"typescript@patch:typescript@^4.4.3#~builtin": + version: 4.4.3 + resolution: "typescript@patch:typescript@npm%3A4.4.3#~builtin::version=4.4.3&hash=32657b" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 4e2edec3c9b7b9a22ad9cbf9371339d9e13bfe44731f0e2d6a5287f991c3b0e3e0ac0c0ebbf9bf6fc2051e30559c789bfc9cf572cd6b836a0222ae141fac1dba + checksum: 28ab98313afab46788ff41014fdb5932430ada6e03cf9e92ac47f406526a2cac1ae2894834e7da61e46b7429318e9c47f45ba8de323332f0cb9af99b72ebae74 languageName: node linkType: hard @@ -15558,19 +15510,6 @@ typescript@^4.3.5: languageName: node linkType: hard -"validate-element-name@npm:^2.1.1": - version: 2.1.1 - resolution: "validate-element-name@npm:2.1.1" - dependencies: - is-potential-custom-element-name: ^1.0.0 - log-symbols: ^1.0.0 - meow: ^3.7.0 - bin: - validate-element-name: cli.js - checksum: c84818e4e5213b555f1dd974d19174ed73f5ae8ae03bca1e3f413b6b1e02798d47e1995e5a24ebb8e430ed9d2bcdf4ee2c768f3a514fa8cb907bebb06f8b047f - languageName: node - linkType: hard - "validate-npm-package-license@npm:^3.0.1": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4"