File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ import React from 'react';
33
44import { 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 ;
Original file line number Diff line number Diff line change 1212
1313const 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 ( / ^ 1 2 7 (?: \. (?: 2 5 [ 0 - 5 ] | 2 [ 0 - 4 ] [ 0 - 9 ] | [ 0 1 ] ? [ 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 ( / ^ 1 2 7 (?: \. (?: 2 5 [ 0 - 5 ] | 2 [ 0 - 4 ] [ 0 - 9 ] | [ 0 1 ] ? [ 0 - 9 ] [ 0 - 9 ] ? ) ) { 3 } $ / )
1919) ;
2020
2121type Config = {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments