Skip to content

Commit b5dc31a

Browse files
TypeScript Botsaschanaz
andauthored
🤖 Update core dependencies (#1204)
Co-authored-by: saschanaz <[email protected]>
1 parent 2fadc93 commit b5dc31a

File tree

5 files changed

+281
-84
lines changed

5 files changed

+281
-84
lines changed

baselines/dom.generated.d.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,18 @@ interface FileSystemFlags {
467467
exclusive?: boolean;
468468
}
469469

470+
interface FileSystemGetDirectoryOptions {
471+
create?: boolean;
472+
}
473+
474+
interface FileSystemGetFileOptions {
475+
create?: boolean;
476+
}
477+
478+
interface FileSystemRemoveOptions {
479+
recursive?: boolean;
480+
}
481+
470482
interface FocusEventInit extends UIEventInit {
471483
relatedTarget?: EventTarget | null;
472484
}
@@ -5076,6 +5088,19 @@ declare var FileSystemDirectoryEntry: {
50765088
new(): FileSystemDirectoryEntry;
50775089
};
50785090

5091+
/** Available only in secure contexts. */
5092+
interface FileSystemDirectoryHandle extends FileSystemHandle {
5093+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
5094+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
5095+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
5096+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
5097+
}
5098+
5099+
declare var FileSystemDirectoryHandle: {
5100+
prototype: FileSystemDirectoryHandle;
5101+
new(): FileSystemDirectoryHandle;
5102+
};
5103+
50795104
interface FileSystemDirectoryReader {
50805105
readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;
50815106
}
@@ -5108,6 +5133,28 @@ declare var FileSystemFileEntry: {
51085133
new(): FileSystemFileEntry;
51095134
};
51105135

5136+
/** Available only in secure contexts. */
5137+
interface FileSystemFileHandle extends FileSystemHandle {
5138+
getFile(): Promise<File>;
5139+
}
5140+
5141+
declare var FileSystemFileHandle: {
5142+
prototype: FileSystemFileHandle;
5143+
new(): FileSystemFileHandle;
5144+
};
5145+
5146+
/** Available only in secure contexts. */
5147+
interface FileSystemHandle {
5148+
readonly kind: FileSystemHandleKind;
5149+
readonly name: string;
5150+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
5151+
}
5152+
5153+
declare var FileSystemHandle: {
5154+
prototype: FileSystemHandle;
5155+
new(): FileSystemHandle;
5156+
};
5157+
51115158
/** Focus-related events like focus, blur, focusin, or focusout. */
51125159
interface FocusEvent extends UIEvent {
51135160
readonly relatedTarget: EventTarget | null;
@@ -7083,6 +7130,7 @@ interface HTMLMetaElement extends HTMLElement {
70837130
content: string;
70847131
/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */
70857132
httpEquiv: string;
7133+
media: string;
70867134
/** Sets or retrieves the value specified in the content attribute of the meta object. */
70877135
name: string;
70887136
/**
@@ -13375,6 +13423,7 @@ declare var StorageEvent: {
1337513423
/** Available only in secure contexts. */
1337613424
interface StorageManager {
1337713425
estimate(): Promise<StorageEstimate>;
13426+
getDirectory(): Promise<FileSystemDirectoryHandle>;
1337813427
persist(): Promise<boolean>;
1337913428
persisted(): Promise<boolean>;
1338013429
}
@@ -17701,6 +17750,7 @@ type DocumentReadyState = "complete" | "interactive" | "loading";
1770117750
type DocumentVisibilityState = "hidden" | "visible";
1770217751
type EndOfStreamError = "decode" | "network";
1770317752
type EndingType = "native" | "transparent";
17753+
type FileSystemHandleKind = "directory" | "file";
1770417754
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
1770517755
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
1770617756
type FontFaceSetLoadStatus = "loaded" | "loading";

baselines/serviceworker.generated.d.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,18 @@ interface FilePropertyBag extends BlobPropertyBag {
190190
lastModified?: number;
191191
}
192192

193+
interface FileSystemGetDirectoryOptions {
194+
create?: boolean;
195+
}
196+
197+
interface FileSystemGetFileOptions {
198+
create?: boolean;
199+
}
200+
201+
interface FileSystemRemoveOptions {
202+
recursive?: boolean;
203+
}
204+
193205
interface FontFaceDescriptors {
194206
display?: string;
195207
featureSettings?: string;
@@ -1450,6 +1462,41 @@ declare var FileReader: {
14501462
readonly LOADING: number;
14511463
};
14521464

1465+
/** Available only in secure contexts. */
1466+
interface FileSystemDirectoryHandle extends FileSystemHandle {
1467+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
1468+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
1469+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
1470+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
1471+
}
1472+
1473+
declare var FileSystemDirectoryHandle: {
1474+
prototype: FileSystemDirectoryHandle;
1475+
new(): FileSystemDirectoryHandle;
1476+
};
1477+
1478+
/** Available only in secure contexts. */
1479+
interface FileSystemFileHandle extends FileSystemHandle {
1480+
getFile(): Promise<File>;
1481+
}
1482+
1483+
declare var FileSystemFileHandle: {
1484+
prototype: FileSystemFileHandle;
1485+
new(): FileSystemFileHandle;
1486+
};
1487+
1488+
/** Available only in secure contexts. */
1489+
interface FileSystemHandle {
1490+
readonly kind: FileSystemHandleKind;
1491+
readonly name: string;
1492+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
1493+
}
1494+
1495+
declare var FileSystemHandle: {
1496+
prototype: FileSystemHandle;
1497+
new(): FileSystemHandle;
1498+
};
1499+
14531500
interface FontFace {
14541501
ascentOverride: string;
14551502
descentOverride: string;
@@ -2710,6 +2757,7 @@ declare var ServiceWorkerRegistration: {
27102757
/** Available only in secure contexts. */
27112758
interface StorageManager {
27122759
estimate(): Promise<StorageEstimate>;
2760+
getDirectory(): Promise<FileSystemDirectoryHandle>;
27132761
persisted(): Promise<boolean>;
27142762
}
27152763

@@ -5442,6 +5490,7 @@ type ColorSpaceConversion = "default" | "none";
54425490
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
54435491
type DocumentVisibilityState = "hidden" | "visible";
54445492
type EndingType = "native" | "transparent";
5493+
type FileSystemHandleKind = "directory" | "file";
54455494
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
54465495
type FontFaceSetLoadStatus = "loaded" | "loading";
54475496
type FrameType = "auxiliary" | "nested" | "none" | "top-level";

baselines/sharedworker.generated.d.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,18 @@ interface FilePropertyBag extends BlobPropertyBag {
165165
lastModified?: number;
166166
}
167167

168+
interface FileSystemGetDirectoryOptions {
169+
create?: boolean;
170+
}
171+
172+
interface FileSystemGetFileOptions {
173+
create?: boolean;
174+
}
175+
176+
interface FileSystemRemoveOptions {
177+
recursive?: boolean;
178+
}
179+
168180
interface FontFaceDescriptors {
169181
display?: string;
170182
featureSettings?: string;
@@ -1370,6 +1382,41 @@ declare var FileReaderSync: {
13701382
new(): FileReaderSync;
13711383
};
13721384

1385+
/** Available only in secure contexts. */
1386+
interface FileSystemDirectoryHandle extends FileSystemHandle {
1387+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
1388+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
1389+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
1390+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
1391+
}
1392+
1393+
declare var FileSystemDirectoryHandle: {
1394+
prototype: FileSystemDirectoryHandle;
1395+
new(): FileSystemDirectoryHandle;
1396+
};
1397+
1398+
/** Available only in secure contexts. */
1399+
interface FileSystemFileHandle extends FileSystemHandle {
1400+
getFile(): Promise<File>;
1401+
}
1402+
1403+
declare var FileSystemFileHandle: {
1404+
prototype: FileSystemFileHandle;
1405+
new(): FileSystemFileHandle;
1406+
};
1407+
1408+
/** Available only in secure contexts. */
1409+
interface FileSystemHandle {
1410+
readonly kind: FileSystemHandleKind;
1411+
readonly name: string;
1412+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
1413+
}
1414+
1415+
declare var FileSystemHandle: {
1416+
prototype: FileSystemHandle;
1417+
new(): FileSystemHandle;
1418+
};
1419+
13731420
interface FontFace {
13741421
ascentOverride: string;
13751422
descentOverride: string;
@@ -2576,6 +2623,7 @@ declare var SharedWorkerGlobalScope: {
25762623
/** Available only in secure contexts. */
25772624
interface StorageManager {
25782625
estimate(): Promise<StorageEstimate>;
2626+
getDirectory(): Promise<FileSystemDirectoryHandle>;
25792627
persisted(): Promise<boolean>;
25802628
}
25812629

@@ -5457,6 +5505,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
54575505
type ColorSpaceConversion = "default" | "none";
54585506
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
54595507
type EndingType = "native" | "transparent";
5508+
type FileSystemHandleKind = "directory" | "file";
54605509
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
54615510
type FontFaceSetLoadStatus = "loaded" | "loading";
54625511
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";

baselines/webworker.generated.d.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,18 @@ interface FilePropertyBag extends BlobPropertyBag {
190190
lastModified?: number;
191191
}
192192

193+
interface FileSystemGetDirectoryOptions {
194+
create?: boolean;
195+
}
196+
197+
interface FileSystemGetFileOptions {
198+
create?: boolean;
199+
}
200+
201+
interface FileSystemRemoveOptions {
202+
recursive?: boolean;
203+
}
204+
193205
interface FontFaceDescriptors {
194206
display?: string;
195207
featureSettings?: string;
@@ -1502,6 +1514,41 @@ declare var FileReaderSync: {
15021514
new(): FileReaderSync;
15031515
};
15041516

1517+
/** Available only in secure contexts. */
1518+
interface FileSystemDirectoryHandle extends FileSystemHandle {
1519+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
1520+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
1521+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
1522+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
1523+
}
1524+
1525+
declare var FileSystemDirectoryHandle: {
1526+
prototype: FileSystemDirectoryHandle;
1527+
new(): FileSystemDirectoryHandle;
1528+
};
1529+
1530+
/** Available only in secure contexts. */
1531+
interface FileSystemFileHandle extends FileSystemHandle {
1532+
getFile(): Promise<File>;
1533+
}
1534+
1535+
declare var FileSystemFileHandle: {
1536+
prototype: FileSystemFileHandle;
1537+
new(): FileSystemFileHandle;
1538+
};
1539+
1540+
/** Available only in secure contexts. */
1541+
interface FileSystemHandle {
1542+
readonly kind: FileSystemHandleKind;
1543+
readonly name: string;
1544+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
1545+
}
1546+
1547+
declare var FileSystemHandle: {
1548+
prototype: FileSystemHandle;
1549+
new(): FileSystemHandle;
1550+
};
1551+
15051552
interface FontFace {
15061553
ascentOverride: string;
15071554
descentOverride: string;
@@ -2783,6 +2830,7 @@ declare var SharedWorkerGlobalScope: {
27832830
/** Available only in secure contexts. */
27842831
interface StorageManager {
27852832
estimate(): Promise<StorageEstimate>;
2833+
getDirectory(): Promise<FileSystemDirectoryHandle>;
27862834
persisted(): Promise<boolean>;
27872835
}
27882836

@@ -5689,6 +5737,7 @@ type ColorSpaceConversion = "default" | "none";
56895737
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
56905738
type DocumentVisibilityState = "hidden" | "visible";
56915739
type EndingType = "native" | "transparent";
5740+
type FileSystemHandleKind = "directory" | "file";
56925741
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
56935742
type FontFaceSetLoadStatus = "loaded" | "loading";
56945743
type FrameType = "auxiliary" | "nested" | "none" | "top-level";

0 commit comments

Comments
 (0)