Selaa lähdekoodia

Bump prettier from 3.0.2 to 3.1.0 (#433)

* Bump prettier from 3.0.2 to 3.1.0

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.2...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* prettier --write

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
dependabot[bot] 1 vuosi sitten
vanhempi
commit
01119fee0c
2 muutettua tiedostoa jossa 10 lisäystä ja 10 poistoa
  1. 6 6
      package-lock.json
  2. 4 4
      src/install-dialog.ts

+ 6 - 6
package-lock.json

@@ -2568,9 +2568,9 @@
       }
     },
     "node_modules/prettier": {
-      "version": "3.0.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
-      "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
+      "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
       "dev": true,
       "bin": {
         "prettier": "bin/prettier.cjs"
@@ -5059,9 +5059,9 @@
       "dev": true
     },
     "prettier": {
-      "version": "3.0.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
-      "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
+      "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
       "dev": true
     },
     "punycode": {

+ 4 - 4
src/install-dialog.ts

@@ -844,8 +844,8 @@ export class EwtInstallDialog extends LitElement {
       const timeout = !justInstalled
         ? 1000
         : this._manifest.new_install_improv_wait_time !== undefined
-        ? this._manifest.new_install_improv_wait_time * 1000
-        : 10000;
+          ? this._manifest.new_install_improv_wait_time * 1000
+          : 10000;
       this._info = await client.initialize(timeout);
       this._client = client;
       client.addEventListener("disconnect", this._handleDisconnect);
@@ -951,8 +951,8 @@ export class EwtInstallDialog extends LitElement {
     return !this._info
       ? false
       : this.overrides?.checkSameFirmware
-      ? this.overrides.checkSameFirmware(this._manifest, this._info)
-      : this._info.firmware === this._manifest.name;
+        ? this.overrides.checkSameFirmware(this._manifest, this._info)
+        : this._info.firmware === this._manifest.name;
   }
 
   /**