diff --git a/build-scripts/removedIcons.json b/build-scripts/removedIcons.json index 02499346dd..fe51488c70 100644 --- a/build-scripts/removedIcons.json +++ b/build-scripts/removedIcons.json @@ -1,30 +1 @@ -[ - { - "path": "M20,20H7A2,2 0 0,1 5,18V8.94L2.23,5.64C2.09,5.47 2,5.24 2,5A1,1 0 0,1 3,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20M8.5,7A0.5,0.5 0 0,0 8,7.5V8.5A0.5,0.5 0 0,0 8.5,9H18.5A0.5,0.5 0 0,0 19,8.5V7.5A0.5,0.5 0 0,0 18.5,7H8.5M8.5,11A0.5,0.5 0 0,0 8,11.5V12.5A0.5,0.5 0 0,0 8.5,13H18.5A0.5,0.5 0 0,0 19,12.5V11.5A0.5,0.5 0 0,0 18.5,11H8.5M8.5,15A0.5,0.5 0 0,0 8,15.5V16.5A0.5,0.5 0 0,0 8.5,17H13.5A0.5,0.5 0 0,0 14,16.5V15.5A0.5,0.5 0 0,0 13.5,15H8.5Z", - "name": "android-messages" - }, - { - "path": "M4,6H2V20A2,2 0 0,0 4,22H18V20H4V6M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M20,12L17.5,10.5L15,12V4H20V12Z", - "name": "book-variant-multiple" - }, - { - "path": "M21,14H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10L8,21V22H16V21L14,18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z", - "name": "desktop-mac" - }, - { - "path": "M21,14V4H3V14H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14L16,21V22H8V21L10,18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M4,5H15V10H4V5M16,5H20V7H16V5M20,8V13H16V8H20M4,11H9V13H4V11M10,11H15V13H10V11Z", - "name": "desktop-mac-dashboard" - }, - { - "path": "M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z", - "name": "discord" - }, - { - "path": "M8.06,7.78C7.5,7.78 7.17,7.73 7.08,7.64L6.66,13.73C7.19,14.05 7.88,14.3 8.72,14.5C9.56,14.71 10.78,14.77 12.38,14.67C13.97,14.58 15.63,14.23 17.34,13.64L16.55,4.22C15.67,5.09 14.38,5.91 12.66,6.66C11.13,7.31 9.81,7.69 8.72,7.78H8.06M7.97,5.34C7.28,5.94 7,6.34 7.13,6.56C7.22,6.78 7.7,6.84 8.58,6.75C9.67,6.66 10.91,6.31 12.28,5.72C13.22,5.31 14.03,4.88 14.72,4.41C15.41,3.94 15.88,3.55 16.13,3.23C16.38,2.92 16.47,2.7 16.41,2.58C16.34,2.42 16.03,2.34 15.47,2.34C14.34,2.34 12.94,2.7 11.25,3.42C9.81,4.05 8.72,4.69 7.97,5.34M17.34,2.2C17.41,2.33 17.44,2.47 17.44,2.63L18.61,17C18.61,18.73 18,20.09 16.83,21.07C15.64,22.05 14.03,22.55 12,22.55C10,22.55 8.4,22.04 7.2,21C6,20 5.39,18.64 5.39,16.92L6.09,6.47C6.09,6.22 6.2,5.94 6.42,5.63C6.64,5.31 6.84,5.06 7.03,4.88L7.36,4.59C8.33,3.78 9.5,3.08 10.88,2.5C11.81,2.08 12.73,1.77 13.62,1.57C14.5,1.37 15.3,1.3 16,1.38C16.71,1.46 17.16,1.73 17.34,2.2Z", - "name": "google-home" - }, - { - "path": "M19.25,19H4.75V3H19.25M14,22H10V21H14M18,0H6A3,3 0 0,0 3,3V21A3,3 0 0,0 6,24H18A3,3 0 0,0 21,21V3A3,3 0 0,0 18,0Z", - "name": "tablet-android" - } -] +[] diff --git a/hassio/src/dialogs/backup/dialog-hassio-backup.ts b/hassio/src/dialogs/backup/dialog-hassio-backup.ts index 389bf5dd46..9ff96727a5 100644 --- a/hassio/src/dialogs/backup/dialog-hassio-backup.ts +++ b/hassio/src/dialogs/backup/dialog-hassio-backup.ts @@ -16,6 +16,7 @@ import { getSignedPath } from "../../../../src/data/auth"; import { fetchHassioBackupInfo, HassioBackupDetail, + removeBackup, } from "../../../../src/data/hassio/backup"; import { extractApiErrorMessage } from "../../../../src/data/hassio/common"; import { @@ -286,24 +287,15 @@ class HassioBackupDialog return; } - this.hass!.callApi( - atLeastVersion(this.hass!.config.version, 2021, 9) ? "DELETE" : "POST", - `hassio/${ - atLeastVersion(this.hass!.config.version, 2021, 9) - ? `backups/${this._backup!.slug}` - : `snapshots/${this._backup!.slug}/remove` - }` - ).then( - () => { - if (this._dialogParams!.onDelete) { - this._dialogParams!.onDelete(); - } - this.closeDialog(); - }, - (error) => { - this._error = error.body.message; + try { + await removeBackup(this.hass!, this._backup!.slug); + if (this._dialogParams!.onDelete) { + this._dialogParams!.onDelete(); } - ); + this.closeDialog(); + } catch (err: any) { + this._error = err.body.message; + } } private async _downloadClicked() { diff --git a/package.json b/package.json index 6911a612fa..b74288b48d 100644 --- a/package.json +++ b/package.json @@ -163,11 +163,11 @@ "@octokit/auth-oauth-device": "4.0.4", "@octokit/rest": "19.0.7", "@open-wc/dev-server-hmr": "0.1.3", - "@rollup/plugin-babel": "5.3.1", - "@rollup/plugin-commonjs": "11.1.0", - "@rollup/plugin-json": "4.1.0", - "@rollup/plugin-node-resolve": "7.1.3", - "@rollup/plugin-replace": "2.4.2", + "@rollup/plugin-babel": "6.0.3", + "@rollup/plugin-commonjs": "24.0.1", + "@rollup/plugin-json": "6.0.0", + "@rollup/plugin-node-resolve": "15.0.1", + "@rollup/plugin-replace": "5.0.2", "@types/chromecast-caf-receiver": "5.0.12", "@types/chromecast-caf-sender": "1.0.5", "@types/esprima": "4.0.3", @@ -193,7 +193,7 @@ "eslint": "8.35.0", "eslint-config-airbnb-base": "15.0.0", "eslint-config-airbnb-typescript": "17.0.0", - "eslint-config-prettier": "8.6.0", + "eslint-config-prettier": "8.7.0", "eslint-import-resolver-webpack": "0.13.2", "eslint-plugin-disable": "2.0.3", "eslint-plugin-import": "2.27.5", diff --git a/pyproject.toml b/pyproject.toml index 9cddcf96bd..07fdccc31e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "home-assistant-frontend" -version = "20230306.0" +version = "20230309.0" license = {text = "Apache-2.0"} description = "The Home Assistant frontend" readme = "README.md" diff --git a/src/components/ha-icon.ts b/src/components/ha-icon.ts index 611f2ae652..7a4d465580 100644 --- a/src/components/ha-icon.ts +++ b/src/components/ha-icon.ts @@ -29,102 +29,7 @@ interface DeprecatedIcon { }; } -const mdiDeprecatedIcons: DeprecatedIcon = { - "android-messages": { - newName: "message-text", - removeIn: "2022.10", - }, - "book-variant-multiple": { - newName: "bookmark-box-multiple", - removeIn: "2022.10", - }, - "desktop-mac": { - newName: "monitor", - removeIn: "2022.10", - }, - "desktop-mac-dashboard": { - newName: "monitor-dashboard", - removeIn: "2022.10", - }, - discord: { - removeIn: "2022.10", - }, - "diving-scuba": { - newName: "diving-scuba-mask", - removeIn: "2022.10", - }, - "email-send": { - newName: "email-arrow-right", - removeIn: "2022.10", - }, - "email-send-outline": { - newName: "email-arrow-right-outline", - removeIn: "2022.10", - }, - "email-receive": { - newName: "email-arrow-left", - removeIn: "2022.10", - }, - "email-receive-outline": { - newName: "email-arrow-left-outline", - removeIn: "2022.10", - }, - "format-textdirection-r-to-l": { - newName: "format-pilcrow-arrow-left", - removeIn: "2022.10", - }, - "format-textdirection-l-to-r": { - newName: "format-pilcrow-arrow-right", - removeIn: "2022.10", - }, - "google-controller": { - newName: "controller", - removeIn: "2022.10", - }, - "google-controller-off": { - newName: "controller-off", - removeIn: "2022.10", - }, - "google-home": { - removeIn: "2022.10", - }, - lecturn: { - newName: "lectern", - removeIn: "2022.10", - }, - receipt: { - newName: "receipt-text", - removeIn: "2022.10", - }, - "receipt-outline": { - newName: "receipt-text-outline", - removeIn: "2022.10", - }, - "tablet-android": { - newName: "tablet", - removeIn: "2022.10", - }, - "text-to-speech": { - newName: "microphone-message", - removeIn: "2022.10", - }, - "text-to-speech-off": { - newName: "microphone-message-off", - removeIn: "2022.10", - }, - "timeline-help": { - newName: "timeline-question", - removeIn: "2022.10", - }, - "timeline-help-outline": { - newName: "timeline-question-outline", - removeIn: "2022.10", - }, - "vector-point": { - newName: "vector-point-select", - removeIn: "2022.10", - }, -}; +const mdiDeprecatedIcons: DeprecatedIcon = {}; const chunks: Chunks = {}; diff --git a/src/components/ha-service-control.ts b/src/components/ha-service-control.ts index de71b6adac..295ff0aeef 100644 --- a/src/components/ha-service-control.ts +++ b/src/components/ha-service-control.ts @@ -136,6 +136,7 @@ export class HaServiceControl extends LitElement { if (oldValue?.service !== this.value?.service) { let updatedDefaultValue = false; if (this._value && serviceData) { + const loadDefaults = this.value && !("data" in this.value); // Set mandatory bools without a default value to false if (!this._value.data) { this._value.data = {}; @@ -152,6 +153,7 @@ export class HaServiceControl extends LitElement { this._value!.data![field.key] = false; } if ( + loadDefaults && field.selector && field.default !== undefined && this._value!.data![field.key] === undefined @@ -341,10 +343,10 @@ export class HaServiceControl extends LitElement { .selector=${dataField.selector} .key=${dataField.key} @value-changed=${this._serviceDataChanged} - .value=${this._value?.data && - this._value.data[dataField.key] !== undefined + .value=${this._value?.data ? this._value.data[dataField.key] - : dataField.default} + : undefined} + .placeholder=${dataField.default} > ` : ""; @@ -362,7 +364,7 @@ export class HaServiceControl extends LitElement { this._value?.service, this.hass.services )?.fields.find((field) => field.key === key)?.default; - if (defaultValue) { + if (defaultValue != null) { data = { ...this._value?.data, [key]: defaultValue, diff --git a/src/dialogs/more-info/components/lights/ha-more-info-view-light-color-picker.ts b/src/dialogs/more-info/components/lights/ha-more-info-view-light-color-picker.ts index 29f1158628..59828417c2 100644 --- a/src/dialogs/more-info/components/lights/ha-more-info-view-light-color-picker.ts +++ b/src/dialogs/more-info/components/lights/ha-more-info-view-light-color-picker.ts @@ -201,10 +201,11 @@ class MoreInfoViewLightColorPicker extends LitElement { this._brightnessAdjusted = undefined; if ( stateObj.attributes.color_mode === LightColorMode.RGB && + stateObj.attributes.rgb_color && !lightSupportsColorMode(stateObj, LightColorMode.RGBWW) && !lightSupportsColorMode(stateObj, LightColorMode.RGBW) ) { - const maxVal = Math.max(...stateObj.attributes.rgb_color!); + const maxVal = Math.max(...stateObj.attributes.rgb_color); if (maxVal < 255) { this._brightnessAdjusted = maxVal; @@ -216,16 +217,19 @@ class MoreInfoViewLightColorPicker extends LitElement { : undefined; this._wvSliderValue = - stateObj.attributes.color_mode === LightColorMode.RGBW - ? Math.round((stateObj.attributes.rgbw_color![3] * 100) / 255) + stateObj.attributes.color_mode === LightColorMode.RGBW && + stateObj.attributes.rgbw_color + ? Math.round((stateObj.attributes.rgbw_color[3] * 100) / 255) : undefined; this._cwSliderValue = - stateObj.attributes.color_mode === LightColorMode.RGBWW - ? Math.round((stateObj.attributes.rgbww_color![3] * 100) / 255) + stateObj.attributes.color_mode === LightColorMode.RGBWW && + stateObj.attributes.rgbww_color + ? Math.round((stateObj.attributes.rgbww_color[3] * 100) / 255) : undefined; this._wwSliderValue = - stateObj.attributes.color_mode === LightColorMode.RGBWW - ? Math.round((stateObj.attributes.rgbww_color![4] * 100) / 255) + stateObj.attributes.color_mode === LightColorMode.RGBWW && + stateObj.attributes.rgbww_color + ? Math.round((stateObj.attributes.rgbww_color[4] * 100) / 255) : undefined; const currentRgbColor = getLightCurrentModeRgbColor(stateObj); diff --git a/src/dialogs/more-info/controls/more-info-light.ts b/src/dialogs/more-info/controls/more-info-light.ts index e708e9b30f..cac953da44 100644 --- a/src/dialogs/more-info/controls/more-info-light.ts +++ b/src/dialogs/more-info/controls/more-info-light.ts @@ -148,7 +148,7 @@ class MoreInfoLight extends LitElement { ` : null} - ${supportsEffects + ${supportsEffects && this.stateObj.attributes.effect_list ? html` - ${this.stateObj.attributes.effect_list!.map( + ${this.stateObj.attributes.effect_list.map( (effect: string) => html` -
- - Hostname - The name your instance will have on your network - - - +
+

+ ${this.hass.localize( + "ui.panel.config.network.supervisor.hostname.description" + )} +

+ +
@@ -91,7 +92,7 @@ export class HassioHostname extends LitElement { } catch (err: any) { showAlertDialog(this, { title: this.hass.localize( - "ui.panel.config.network.hostname.failed_to_set_hostname" + "ui.panel.config.network.supervisor.hostname.failed_to_set_hostname" ), text: extractApiErrorMessage(err), }); @@ -110,8 +111,8 @@ export class HassioHostname extends LitElement { justify-content: space-between; align-items: center; } - ha-settings-row { - border-top: none; + .card-content > p { + padding-bottom: 1em; } `; } diff --git a/src/panels/lovelace/components/hui-action-editor.ts b/src/panels/lovelace/components/hui-action-editor.ts index 5bc031abc5..4077ae9a09 100644 --- a/src/panels/lovelace/components/hui-action-editor.ts +++ b/src/panels/lovelace/components/hui-action-editor.ts @@ -57,7 +57,9 @@ export class HuiActionEditor extends LitElement { private _serviceAction = memoizeOne( (config: CallServiceActionConfig): ServiceAction => ({ service: this._service, - data: config.data ?? config.service_data, + ...(config.data || config.service_data + ? { data: config.data ?? config.service_data } + : null), target: config.target, }) ); @@ -196,9 +198,12 @@ export class HuiActionEditor extends LitElement { const value = { ...this.config!, service: ev.detail.value.service || "", - data: ev.detail.value.data || {}, + data: ev.detail.value.data, target: ev.detail.value.target || {}, }; + if (!ev.detail.value.data) { + delete value.data; + } // "service_data" is allowed for backwards compatibility but replaced with "data" on write if ("service_data" in value) { delete value.service_data; diff --git a/src/panels/lovelace/editor/config-elements/hui-statistics-graph-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-statistics-graph-card-editor.ts index ae556b90e5..af616f0ff5 100644 --- a/src/panels/lovelace/editor/config-elements/hui-statistics-graph-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-statistics-graph-card-editor.ts @@ -300,18 +300,26 @@ export class HuiStatisticsGraphCardEditor } private async _entitiesChanged(ev: CustomEvent): Promise { - const config = { ...this._config!, entities: ev.detail.value }; + const newEntityIds = ev.detail.value; + + // Save the EntityConfig objects from being replaced with strings + const newEntities = newEntityIds.map((newEnt) => { + const matchEntity = this._config!.entities.find( + (oldEnt) => typeof oldEnt !== "string" && oldEnt.entity === newEnt + ); + return matchEntity ?? newEnt; + }); + + const config = { ...this._config!, entities: newEntities }; if ( - config.entities?.some((statistic_id) => - isExternalStatistic(statistic_id) - ) && + newEntityIds?.some((statistic_id) => isExternalStatistic(statistic_id)) && config.period === "5minute" ) { delete config.period; } const metadata = config.stat_types || config.unit - ? await getStatisticMetadata(this.hass!, config.entities) + ? await getStatisticMetadata(this.hass!, newEntityIds) : undefined; if (config.stat_types && config.entities.length) { config.stat_types = ensureArray(config.stat_types).filter((stat_type) => diff --git a/src/translations/en.json b/src/translations/en.json index 2650276563..019466e5c9 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -3778,7 +3778,12 @@ "gateway": "Gateway address", "dns_servers": "DNS Servers", "unsaved": "You have unsaved changes, these will get lost if you change tabs, do you want to continue?", - "failed_to_change": "Failed to change network settings" + "failed_to_change": "Failed to change network settings", + "hostname": { + "title": "Host Name", + "description": "The name your instance will have on your network", + "failed_to_set_hostname": "Setting hostname failed" + } } }, "storage": { diff --git a/yarn.lock b/yarn.lock index 36fccba1f5..1b4bdebc60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3793,7 +3793,26 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-babel@npm:5.3.1, @rollup/plugin-babel@npm:^5.2.0": +"@rollup/plugin-babel@npm:6.0.3": + version: 6.0.3 + resolution: "@rollup/plugin-babel@npm:6.0.3" + dependencies: + "@babel/helper-module-imports": ^7.18.6 + "@rollup/pluginutils": ^5.0.1 + peerDependencies: + "@babel/core": ^7.0.0 + "@types/babel__core": ^7.1.9 + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + "@types/babel__core": + optional: true + rollup: + optional: true + checksum: 412c1c3bb5dd029cbf0b37315ad54b51ef378b8d2fd91d1ec44d73cade723cec8718b5affa2ce8a8b06660710d11765056fac4068521f18737ce26142506a8b1 + languageName: node + linkType: hard + +"@rollup/plugin-babel@npm:^5.2.0": version: 5.3.1 resolution: "@rollup/plugin-babel@npm:5.3.1" dependencies: @@ -3810,46 +3829,55 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:11.1.0": - version: 11.1.0 - resolution: "@rollup/plugin-commonjs@npm:11.1.0" +"@rollup/plugin-commonjs@npm:24.0.1": + version: 24.0.1 + resolution: "@rollup/plugin-commonjs@npm:24.0.1" dependencies: - "@rollup/pluginutils": ^3.0.8 + "@rollup/pluginutils": ^5.0.1 commondir: ^1.0.1 - estree-walker: ^1.0.1 - glob: ^7.1.2 - is-reference: ^1.1.2 - magic-string: ^0.25.2 - resolve: ^1.11.0 + estree-walker: ^2.0.2 + glob: ^8.0.3 + is-reference: 1.2.1 + magic-string: ^0.27.0 peerDependencies: - rollup: ^1.20.0||^2.0.0 - checksum: 6349c946b2cbdaf2a47b56da3ac6f4f1105cf02520cd945da15d250a2b1c0d3501e9274bf52d0d419ab55dec9c89cd9d9b2fc9ffc0a57bf89a39eb741c298c72 + rollup: ^2.68.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: ff5b09f5c350640fe6836fcc97bf5c5612bf78b26eaaad01bf1aee955f0b136135d1a8950a02f680779aec1f16f2c6b6cf89d6080e84ed09be62737abb6b3a5f languageName: node linkType: hard -"@rollup/plugin-json@npm:4.1.0": - version: 4.1.0 - resolution: "@rollup/plugin-json@npm:4.1.0" +"@rollup/plugin-json@npm:6.0.0": + version: 6.0.0 + resolution: "@rollup/plugin-json@npm:6.0.0" dependencies: - "@rollup/pluginutils": ^3.0.8 + "@rollup/pluginutils": ^5.0.1 peerDependencies: - rollup: ^1.20.0 || ^2.0.0 - checksum: 867bc9339b4ccf0b9ff3b2617a95b3b8920115163f86c8e3b1f068a14ca25949472d3c05b09a5ac38ca0fe2185756e34617eaeb219d4a2b6e2307c501c7d4552 + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 77cfc941edaf77a5307977704ffaba706d83bea66f265b2b68f14be2a0af6d08b0fb1b04fdd773146c84cc70938ff64b00ae946808fd6ac057058af824d78128 languageName: node linkType: hard -"@rollup/plugin-node-resolve@npm:7.1.3": - version: 7.1.3 - resolution: "@rollup/plugin-node-resolve@npm:7.1.3" +"@rollup/plugin-node-resolve@npm:15.0.1": + version: 15.0.1 + resolution: "@rollup/plugin-node-resolve@npm:15.0.1" dependencies: - "@rollup/pluginutils": ^3.0.8 - "@types/resolve": 0.0.8 - builtin-modules: ^3.1.0 + "@rollup/pluginutils": ^5.0.1 + "@types/resolve": 1.20.2 + deepmerge: ^4.2.2 + is-builtin-module: ^3.2.0 is-module: ^1.0.0 - resolve: ^1.14.2 + resolve: ^1.22.1 peerDependencies: - rollup: ^1.20.0||^2.0.0 - checksum: e787c35f123652762d212b63f8cfaf577307434a935466397021c31b71d0d94357c6fa4e326b49bf44b959e22e41bc21f5648470eabec086566e7c36c5d041b1 + rollup: ^2.78.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 90e30b41626a15ebf02746a83d34b15f9fe9051ddc156a9bf785504f489947980b3bdeb7bf2f80828a9becfe472a03a96d0238328a3e3e2198a482fcac7eb3aa languageName: node linkType: hard @@ -3885,7 +3913,22 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-replace@npm:2.4.2, @rollup/plugin-replace@npm:^2.4.1": +"@rollup/plugin-replace@npm:5.0.2": + version: 5.0.2 + resolution: "@rollup/plugin-replace@npm:5.0.2" + dependencies: + "@rollup/pluginutils": ^5.0.1 + magic-string: ^0.27.0 + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 3a91b5fa2ce5acfe67c1faf8d479585da30f398f29499cf8a2d2153c899af0b2ef0363012db0e6edc2ebbb3d9fad6dd7ad591c9d977c1ae2ca3256b52e86d950 + languageName: node + linkType: hard + +"@rollup/plugin-replace@npm:^2.4.1": version: 2.4.2 resolution: "@rollup/plugin-replace@npm:2.4.2" dependencies: @@ -3897,7 +3940,7 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^3.0.8, @rollup/pluginutils@npm:^3.1.0": +"@rollup/pluginutils@npm:^3.1.0": version: 3.1.0 resolution: "@rollup/pluginutils@npm:3.1.0" dependencies: @@ -3910,6 +3953,22 @@ __metadata: languageName: node linkType: hard +"@rollup/pluginutils@npm:^5.0.1": + version: 5.0.2 + resolution: "@rollup/pluginutils@npm:5.0.2" + dependencies: + "@types/estree": ^1.0.0 + estree-walker: ^2.0.2 + picomatch: ^2.3.1 + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: edea15e543bebc7dcac3b0ac8bc7b8e8e6dbd46e2864dbe5dd28072de1fbd5b0e10d545a610c0edaa178e8a7ac432e2a2a52e547ece1308471412caba47db8ce + languageName: node + linkType: hard + "@sinonjs/commons@npm:^2.0.0": version: 2.0.0 resolution: "@sinonjs/commons@npm:2.0.0" @@ -4103,10 +4162,10 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^0.0.51": - version: 0.0.51 - resolution: "@types/estree@npm:0.0.51" - checksum: e56a3bcf759fd9185e992e7fdb3c6a5f81e8ff120e871641607581fb3728d16c811702a7d40fa5f869b7f7b4437ab6a87eb8d98ffafeee51e85bbe955932a189 +"@types/estree@npm:*, @types/estree@npm:^1.0.0": + version: 1.0.0 + resolution: "@types/estree@npm:1.0.0" + checksum: 910d97fb7092c6738d30a7430ae4786a38542023c6302b95d46f49420b797f21619cdde11fa92b338366268795884111c2eb10356e4bd2c8ad5b92941e9e6443 languageName: node linkType: hard @@ -4117,6 +4176,13 @@ __metadata: languageName: node linkType: hard +"@types/estree@npm:^0.0.51": + version: 0.0.51 + resolution: "@types/estree@npm:0.0.51" + checksum: e56a3bcf759fd9185e992e7fdb3c6a5f81e8ff120e871641607581fb3728d16c811702a7d40fa5f869b7f7b4437ab6a87eb8d98ffafeee51e85bbe955932a189 + languageName: node + linkType: hard + "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.31": version: 4.17.32 resolution: "@types/express-serve-static-core@npm:4.17.32" @@ -4392,15 +4458,6 @@ __metadata: languageName: node linkType: hard -"@types/resolve@npm:0.0.8": - version: 0.0.8 - resolution: "@types/resolve@npm:0.0.8" - dependencies: - "@types/node": "*" - checksum: f241bb773ab14b14500623ac3b57c52006ce32b20426b6d8bf2fe5fdc0344f42c77ac0f94ff57b443ae1d320a1a86c62b4e47239f0321699404402fbeb24bad6 - languageName: node - linkType: hard - "@types/resolve@npm:1.17.1": version: 1.17.1 resolution: "@types/resolve@npm:1.17.1" @@ -4410,6 +4467,13 @@ __metadata: languageName: node linkType: hard +"@types/resolve@npm:1.20.2": + version: 1.20.2 + resolution: "@types/resolve@npm:1.20.2" + checksum: 61c2cad2499ffc8eab36e3b773945d337d848d3ac6b7b0a87c805ba814bc838ef2f262fc0f109bfd8d2e0898ff8bd80ad1025f9ff64f1f71d3d4294c9f14e5f6 + languageName: node + linkType: hard + "@types/retry@npm:^0.12.0": version: 0.12.1 resolution: "@types/retry@npm:0.12.1" @@ -7784,14 +7848,14 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:8.6.0": - version: 8.6.0 - resolution: "eslint-config-prettier@npm:8.6.0" +"eslint-config-prettier@npm:8.7.0": + version: 8.7.0 + resolution: "eslint-config-prettier@npm:8.7.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: ff0d0dfc839a556355422293428637e8d35693de58dabf8638bf0b6529131a109d0b2ade77521aa6e54573bb842d7d9d322e465dd73dd61c7590fa3834c3fa81 + checksum: b05bc7f2296ce3e0925c14147849706544870e0382d38af2352d709a6cf8521bdaff2bd8e5021f1780e570775a8ffa1d2bac28b8065d90d43a3f1f98fd26ce52 languageName: node linkType: hard @@ -8113,6 +8177,13 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:^2.0.2": + version: 2.0.2 + resolution: "estree-walker@npm:2.0.2" + checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc + languageName: node + linkType: hard + "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -8985,7 +9056,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"glob@npm:7.2.0, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6": +"glob@npm:7.2.0, glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6": version: 7.2.0 resolution: "glob@npm:7.2.0" dependencies: @@ -8999,7 +9070,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"glob@npm:8.1.0": +"glob@npm:8.1.0, glob@npm:^8.0.3": version: 8.1.0 resolution: "glob@npm:8.1.0" dependencies: @@ -9462,11 +9533,11 @@ fsevents@~2.3.2: "@polymer/paper-toast": 3.0.1 "@polymer/paper-tooltip": 3.0.1 "@polymer/polymer": 3.4.1 - "@rollup/plugin-babel": 5.3.1 - "@rollup/plugin-commonjs": 11.1.0 - "@rollup/plugin-json": 4.1.0 - "@rollup/plugin-node-resolve": 7.1.3 - "@rollup/plugin-replace": 2.4.2 + "@rollup/plugin-babel": 6.0.3 + "@rollup/plugin-commonjs": 24.0.1 + "@rollup/plugin-json": 6.0.0 + "@rollup/plugin-node-resolve": 15.0.1 + "@rollup/plugin-replace": 5.0.2 "@thomasloven/round-slider": 0.6.0 "@types/chromecast-caf-receiver": 5.0.12 "@types/chromecast-caf-sender": 1.0.5 @@ -9510,7 +9581,7 @@ fsevents@~2.3.2: eslint: 8.35.0 eslint-config-airbnb-base: 15.0.0 eslint-config-airbnb-typescript: 17.0.0 - eslint-config-prettier: 8.6.0 + eslint-config-prettier: 8.7.0 eslint-import-resolver-webpack: 0.13.2 eslint-plugin-disable: 2.0.3 eslint-plugin-import: 2.27.5 @@ -10177,7 +10248,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"is-builtin-module@npm:^3.0.0, is-builtin-module@npm:^3.1.0": +"is-builtin-module@npm:^3.0.0, is-builtin-module@npm:^3.1.0, is-builtin-module@npm:^3.2.0": version: 3.2.1 resolution: "is-builtin-module@npm:3.2.1" dependencies: @@ -10475,12 +10546,12 @@ fsevents@~2.3.2: languageName: node linkType: hard -"is-reference@npm:^1.1.2": - version: 1.1.4 - resolution: "is-reference@npm:1.1.4" +"is-reference@npm:1.2.1": + version: 1.2.1 + resolution: "is-reference@npm:1.2.1" dependencies: - "@types/estree": 0.0.39 - checksum: 2514821e7d19acbfb9326e645a1a4e57a71c9caf29c0b32586109ac937af4ecf4c51d9d6a0a192a112b4d6020c85f70f7bab028f80a93850326ae5b3cc7ff65c + "@types/estree": "*" + checksum: e7b48149f8abda2c10849ea51965904d6a714193d68942ad74e30522231045acf06cbfae5a4be2702fede5d232e61bf50b3183acdc056e6e3afe07fcf4f4b2bc languageName: node linkType: hard @@ -11481,7 +11552,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"magic-string@npm:^0.25.0, magic-string@npm:^0.25.2, magic-string@npm:^0.25.7": +"magic-string@npm:^0.25.0, magic-string@npm:^0.25.7": version: 0.25.7 resolution: "magic-string@npm:0.25.7" dependencies: @@ -11490,6 +11561,15 @@ fsevents@~2.3.2: languageName: node linkType: hard +"magic-string@npm:^0.27.0": + version: 0.27.0 + resolution: "magic-string@npm:0.27.0" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.13 + checksum: 273faaa50baadb7a2df6e442eac34ad611304fc08fe16e24fe2e472fd944bfcb73ffb50d2dc972dc04e92784222002af46868cb9698b1be181c81830fd95a13e + languageName: node + linkType: hard + "make-dir@npm:^3.0.2": version: 3.1.0 resolution: "make-dir@npm:3.1.0" @@ -13703,7 +13783,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.4.0, resolve@npm:^1.22.1": +"resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.4.0, resolve@npm:^1.22.1": version: 1.22.1 resolution: "resolve@npm:1.22.1" dependencies: @@ -13716,7 +13796,7 @@ fsevents@~2.3.2: 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.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.4.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.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.4.0#~builtin": version: 1.22.1 resolution: "resolve@patch:resolve@npm%3A1.22.1#~builtin::version=1.22.1&hash=c3c19d" dependencies: