Skip to content

Commit fa25f8f

Browse files
chore(deps): update dependency prettier to v3.7.3 (#3463)
* chore(deps): update dependency prettier to v3.7.3 * Fix format --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Richard Dominick <[email protected]>
1 parent 7bad56b commit fa25f8f

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

src/commons/dialogs/PromptDialog.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ import React from 'react';
33

44
import { ConfirmDialog, ConfirmDialogProps } from './ConfirmDialog';
55

6-
export interface PromptDialogProps<T>
7-
extends Omit<ConfirmDialogProps<T>, 'onResponse' | 'choices'> {
6+
export interface PromptDialogProps<T> extends Omit<
7+
ConfirmDialogProps<T>,
8+
'onResponse' | 'choices'
9+
> {
810
defaultValue?: string;
911
enterResponse?: T;
1012
onResponse: (buttonResponse: T, value: string) => void;

src/commons/utils/RegisterServiceWorker.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
const isLocalhost = Boolean(
1414
window.location.hostname === 'localhost' ||
15-
// [::1] is the IPv6 localhost address.
16-
window.location.hostname === '[::1]' ||
17-
// 127.0.0.0/8 are considered localhost for IPv4.
18-
window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)
15+
// [::1] is the IPv6 localhost address.
16+
window.location.hostname === '[::1]' ||
17+
// 127.0.0.0/8 are considered localhost for IPv4.
18+
window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)
1919
);
2020

2121
type Config = {

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11011,11 +11011,11 @@ __metadata:
1101111011
linkType: hard
1101211012

1101311013
"prettier@npm:^3.3.3":
11014-
version: 3.6.2
11015-
resolution: "prettier@npm:3.6.2"
11014+
version: 3.7.4
11015+
resolution: "prettier@npm:3.7.4"
1101611016
bin:
1101711017
prettier: bin/prettier.cjs
11018-
checksum: 10c0/488cb2f2b99ec13da1e50074912870217c11edaddedeadc649b1244c749d15ba94e846423d062e2c4c9ae683e2d65f754de28889ba06e697ac4f988d44f45812
11018+
checksum: 10c0/9675d2cd08eacb1faf1d1a2dbfe24bfab6a912b059fc9defdb380a408893d88213e794a40a2700bd29b140eb3172e0b07c852853f6e22f16f3374659a1a13389
1101911019
languageName: node
1102011020
linkType: hard
1102111021

0 commit comments

Comments
 (0)