@types/web 0.0.263 → 0.0.265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.263 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.263.
50
+ You can read what changed in version 0.0.265 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.265.
package/index.d.ts CHANGED
@@ -6854,6 +6854,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6854
6854
  textAlignLast: string;
6855
6855
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
6856
6856
  textAnchor: string;
6857
+ textAutospace: string;
6857
6858
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
6858
6859
  textBox: string;
6859
6860
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */
@@ -10695,7 +10696,7 @@ declare var Document: {
10695
10696
  prototype: Document;
10696
10697
  new(): Document;
10697
10698
  /**
10698
- * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10699
+ * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10699
10700
  *
10700
10701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
10701
10702
  */
@@ -11369,7 +11370,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11369
11370
  */
11370
11371
  setAttributeNodeNS(attr: Attr): Attr | null;
11371
11372
  /**
11372
- * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11373
+ * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11373
11374
  *
11374
11375
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
11375
11376
  */
@@ -12408,6 +12409,12 @@ interface FontFace {
12408
12409
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
12409
12410
  */
12410
12411
  unicodeRange: string;
12412
+ /**
12413
+ * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
12414
+ *
12415
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
12416
+ */
12417
+ variationSettings: string;
12411
12418
  /**
12412
12419
  * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
12413
12420
  *
@@ -13578,7 +13585,7 @@ declare var HTMLBodyElement: {
13578
13585
  *
13579
13586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
13580
13587
  */
13581
- interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
13588
+ interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13582
13589
  /**
13583
13590
  * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
13584
13591
  *
@@ -15029,7 +15036,7 @@ declare var HTMLImageElement: {
15029
15036
  *
15030
15037
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
15031
15038
  */
15032
- interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15039
+ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
15033
15040
  /**
15034
15041
  * The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `<input>` of type `file`.
15035
15042
  *
@@ -15293,7 +15300,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15293
15300
  */
15294
15301
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
15295
15302
  /**
15296
- * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements should let the user select directories instead of files.
15303
+ * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements can only select directories instead of files.
15297
15304
  *
15298
15305
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
15299
15306
  */
@@ -18155,7 +18162,7 @@ declare var Headers: {
18155
18162
  */
18156
18163
  interface Highlight {
18157
18164
  /**
18158
- * It is possible to create Range objects that overlap in a document.
18165
+ * The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts.
18159
18166
  *
18160
18167
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority)
18161
18168
  */
@@ -19601,7 +19608,11 @@ interface LargestContentfulPaint extends PerformanceEntry {
19601
19608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime)
19602
19609
  */
19603
19610
  readonly loadTime: DOMHighResTimeStamp;
19604
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
19611
+ /**
19612
+ * The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen.
19613
+ *
19614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime)
19615
+ */
19605
19616
  readonly renderTime: DOMHighResTimeStamp;
19606
19617
  /**
19607
19618
  * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint.
@@ -19769,8 +19780,8 @@ interface LockManager {
19769
19780
  *
19770
19781
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
19771
19782
  */
19772
- request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
19773
- request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
19783
+ request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19784
+ request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19774
19785
  }
19775
19786
 
19776
19787
  declare var LockManager: {
@@ -21891,55 +21902,23 @@ interface NavigatorCookies {
21891
21902
  }
21892
21903
 
21893
21904
  interface NavigatorID {
21894
- /**
21895
- * @deprecated
21896
- *
21897
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
21898
- */
21905
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
21899
21906
  readonly appCodeName: string;
21900
- /**
21901
- * @deprecated
21902
- *
21903
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
21904
- */
21907
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
21905
21908
  readonly appName: string;
21906
- /**
21907
- * @deprecated
21908
- *
21909
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
21910
- */
21909
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
21911
21910
  readonly appVersion: string;
21912
- /**
21913
- * @deprecated
21914
- *
21915
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
21916
- */
21911
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
21917
21912
  readonly platform: string;
21918
- /**
21919
- * @deprecated
21920
- *
21921
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
21922
- */
21913
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
21923
21914
  readonly product: string;
21924
- /**
21925
- * @deprecated
21926
- *
21927
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub)
21928
- */
21915
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */
21929
21916
  readonly productSub: string;
21930
21917
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
21931
21918
  readonly userAgent: string;
21932
- /**
21933
- * @deprecated
21934
- *
21935
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor)
21936
- */
21919
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */
21937
21920
  readonly vendor: string;
21938
- /**
21939
- * @deprecated
21940
- *
21941
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub)
21942
- */
21921
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */
21943
21922
  readonly vendorSub: string;
21944
21923
  }
21945
21924
 
@@ -21982,25 +21961,13 @@ interface NavigatorOnLine {
21982
21961
  }
21983
21962
 
21984
21963
  interface NavigatorPlugins {
21985
- /**
21986
- * @deprecated
21987
- *
21988
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)
21989
- */
21964
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */
21990
21965
  readonly mimeTypes: MimeTypeArray;
21991
21966
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */
21992
21967
  readonly pdfViewerEnabled: boolean;
21993
- /**
21994
- * @deprecated
21995
- *
21996
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins)
21997
- */
21968
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */
21998
21969
  readonly plugins: PluginArray;
21999
- /**
22000
- * @deprecated
22001
- *
22002
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled)
22003
- */
21970
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */
22004
21971
  javaEnabled(): boolean;
22005
21972
  }
22006
21973
 
@@ -24502,7 +24469,7 @@ declare var PopStateEvent: {
24502
24469
  new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
24503
24470
  };
24504
24471
 
24505
- interface PopoverInvokerElement {
24472
+ interface PopoverTargetAttributes {
24506
24473
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
24507
24474
  popoverTargetAction: string;
24508
24475
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
@@ -25619,7 +25586,7 @@ declare var RTCPeerConnectionIceEvent: {
25619
25586
  */
25620
25587
  interface RTCRtpReceiver {
25621
25588
  /**
25622
- * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out.
25589
+ * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out.
25623
25590
  *
25624
25591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget)
25625
25592
  */
@@ -26159,7 +26126,7 @@ interface ReadableByteStreamController {
26159
26126
  */
26160
26127
  close(): void;
26161
26128
  /**
26162
- * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).
26129
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
26163
26130
  *
26164
26131
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
26165
26132
  */
@@ -31169,7 +31136,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
31169
31136
  */
31170
31137
  getHTML(options?: GetHTMLOptions): string;
31171
31138
  /**
31172
- * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
31139
+ * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
31173
31140
  *
31174
31141
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
31175
31142
  */
@@ -33330,7 +33297,7 @@ interface URLPattern {
33330
33297
  */
33331
33298
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
33332
33299
  /**
33333
- * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33300
+ * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33334
33301
  *
33335
33302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
33336
33303
  */
@@ -36716,7 +36683,7 @@ interface WebSocket extends EventTarget {
36716
36683
  *
36717
36684
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
36718
36685
  */
36719
- readonly readyState: number;
36686
+ readonly readyState: 0 | 1 | 2 | 3;
36720
36687
  /**
36721
36688
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
36722
36689
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.263",
3
+ "version": "0.0.265",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -6847,6 +6847,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6847
6847
  textAlignLast: string;
6848
6848
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
6849
6849
  textAnchor: string;
6850
+ textAutospace: string;
6850
6851
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
6851
6852
  textBox: string;
6852
6853
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */
@@ -10687,7 +10688,7 @@ declare var Document: {
10687
10688
  prototype: Document;
10688
10689
  new(): Document;
10689
10690
  /**
10690
- * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10691
+ * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10691
10692
  *
10692
10693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
10693
10694
  */
@@ -11359,7 +11360,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11359
11360
  */
11360
11361
  setAttributeNodeNS(attr: Attr): Attr | null;
11361
11362
  /**
11362
- * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11363
+ * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11363
11364
  *
11364
11365
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
11365
11366
  */
@@ -12397,6 +12398,12 @@ interface FontFace {
12397
12398
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
12398
12399
  */
12399
12400
  unicodeRange: string;
12401
+ /**
12402
+ * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
12403
+ *
12404
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
12405
+ */
12406
+ variationSettings: string;
12400
12407
  /**
12401
12408
  * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
12402
12409
  *
@@ -13565,7 +13572,7 @@ declare var HTMLBodyElement: {
13565
13572
  *
13566
13573
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
13567
13574
  */
13568
- interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
13575
+ interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13569
13576
  /**
13570
13577
  * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
13571
13578
  *
@@ -15014,7 +15021,7 @@ declare var HTMLImageElement: {
15014
15021
  *
15015
15022
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
15016
15023
  */
15017
- interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15024
+ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
15018
15025
  /**
15019
15026
  * The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `<input>` of type `file`.
15020
15027
  *
@@ -15278,7 +15285,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15278
15285
  */
15279
15286
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
15280
15287
  /**
15281
- * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements should let the user select directories instead of files.
15288
+ * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements can only select directories instead of files.
15282
15289
  *
15283
15290
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
15284
15291
  */
@@ -18134,7 +18141,7 @@ declare var Headers: {
18134
18141
  */
18135
18142
  interface Highlight {
18136
18143
  /**
18137
- * It is possible to create Range objects that overlap in a document.
18144
+ * The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts.
18138
18145
  *
18139
18146
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority)
18140
18147
  */
@@ -19580,7 +19587,11 @@ interface LargestContentfulPaint extends PerformanceEntry {
19580
19587
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime)
19581
19588
  */
19582
19589
  readonly loadTime: DOMHighResTimeStamp;
19583
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
19590
+ /**
19591
+ * The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen.
19592
+ *
19593
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime)
19594
+ */
19584
19595
  readonly renderTime: DOMHighResTimeStamp;
19585
19596
  /**
19586
19597
  * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint.
@@ -19748,8 +19759,8 @@ interface LockManager {
19748
19759
  *
19749
19760
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
19750
19761
  */
19751
- request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
19752
- request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
19762
+ request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19763
+ request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19753
19764
  }
19754
19765
 
19755
19766
  declare var LockManager: {
@@ -21870,55 +21881,23 @@ interface NavigatorCookies {
21870
21881
  }
21871
21882
 
21872
21883
  interface NavigatorID {
21873
- /**
21874
- * @deprecated
21875
- *
21876
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
21877
- */
21884
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
21878
21885
  readonly appCodeName: string;
21879
- /**
21880
- * @deprecated
21881
- *
21882
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
21883
- */
21886
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
21884
21887
  readonly appName: string;
21885
- /**
21886
- * @deprecated
21887
- *
21888
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
21889
- */
21888
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
21890
21889
  readonly appVersion: string;
21891
- /**
21892
- * @deprecated
21893
- *
21894
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
21895
- */
21890
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
21896
21891
  readonly platform: string;
21897
- /**
21898
- * @deprecated
21899
- *
21900
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
21901
- */
21892
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
21902
21893
  readonly product: string;
21903
- /**
21904
- * @deprecated
21905
- *
21906
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub)
21907
- */
21894
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */
21908
21895
  readonly productSub: string;
21909
21896
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
21910
21897
  readonly userAgent: string;
21911
- /**
21912
- * @deprecated
21913
- *
21914
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor)
21915
- */
21898
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */
21916
21899
  readonly vendor: string;
21917
- /**
21918
- * @deprecated
21919
- *
21920
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub)
21921
- */
21900
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */
21922
21901
  readonly vendorSub: string;
21923
21902
  }
21924
21903
 
@@ -21961,25 +21940,13 @@ interface NavigatorOnLine {
21961
21940
  }
21962
21941
 
21963
21942
  interface NavigatorPlugins {
21964
- /**
21965
- * @deprecated
21966
- *
21967
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)
21968
- */
21943
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */
21969
21944
  readonly mimeTypes: MimeTypeArray;
21970
21945
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */
21971
21946
  readonly pdfViewerEnabled: boolean;
21972
- /**
21973
- * @deprecated
21974
- *
21975
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins)
21976
- */
21947
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */
21977
21948
  readonly plugins: PluginArray;
21978
- /**
21979
- * @deprecated
21980
- *
21981
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled)
21982
- */
21949
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */
21983
21950
  javaEnabled(): boolean;
21984
21951
  }
21985
21952
 
@@ -24481,7 +24448,7 @@ declare var PopStateEvent: {
24481
24448
  new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
24482
24449
  };
24483
24450
 
24484
- interface PopoverInvokerElement {
24451
+ interface PopoverTargetAttributes {
24485
24452
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
24486
24453
  popoverTargetAction: string;
24487
24454
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
@@ -25598,7 +25565,7 @@ declare var RTCPeerConnectionIceEvent: {
25598
25565
  */
25599
25566
  interface RTCRtpReceiver {
25600
25567
  /**
25601
- * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out.
25568
+ * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out.
25602
25569
  *
25603
25570
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget)
25604
25571
  */
@@ -26138,7 +26105,7 @@ interface ReadableByteStreamController {
26138
26105
  */
26139
26106
  close(): void;
26140
26107
  /**
26141
- * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).
26108
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
26142
26109
  *
26143
26110
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
26144
26111
  */
@@ -31147,7 +31114,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
31147
31114
  */
31148
31115
  getHTML(options?: GetHTMLOptions): string;
31149
31116
  /**
31150
- * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
31117
+ * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
31151
31118
  *
31152
31119
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
31153
31120
  */
@@ -33307,7 +33274,7 @@ interface URLPattern {
33307
33274
  */
33308
33275
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
33309
33276
  /**
33310
- * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33277
+ * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33311
33278
  *
33312
33279
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
33313
33280
  */
@@ -36693,7 +36660,7 @@ interface WebSocket extends EventTarget {
36693
36660
  *
36694
36661
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
36695
36662
  */
36696
- readonly readyState: number;
36663
+ readonly readyState: 0 | 1 | 2 | 3;
36697
36664
  /**
36698
36665
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
36699
36666
  *
package/ts5.6/index.d.ts CHANGED
@@ -6854,6 +6854,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
6854
6854
  textAlignLast: string;
6855
6855
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
6856
6856
  textAnchor: string;
6857
+ textAutospace: string;
6857
6858
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
6858
6859
  textBox: string;
6859
6860
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */
@@ -10695,7 +10696,7 @@ declare var Document: {
10695
10696
  prototype: Document;
10696
10697
  new(): Document;
10697
10698
  /**
10698
- * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10699
+ * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
10699
10700
  *
10700
10701
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
10701
10702
  */
@@ -11369,7 +11370,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
11369
11370
  */
11370
11371
  setAttributeNodeNS(attr: Attr): Attr | null;
11371
11372
  /**
11372
- * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11373
+ * The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
11373
11374
  *
11374
11375
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
11375
11376
  */
@@ -12408,6 +12409,12 @@ interface FontFace {
12408
12409
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
12409
12410
  */
12410
12411
  unicodeRange: string;
12412
+ /**
12413
+ * The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
12414
+ *
12415
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
12416
+ */
12417
+ variationSettings: string;
12411
12418
  /**
12412
12419
  * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
12413
12420
  *
@@ -13578,7 +13585,7 @@ declare var HTMLBodyElement: {
13578
13585
  *
13579
13586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
13580
13587
  */
13581
- interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
13588
+ interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13582
13589
  /**
13583
13590
  * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
13584
13591
  *
@@ -15029,7 +15036,7 @@ declare var HTMLImageElement: {
15029
15036
  *
15030
15037
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
15031
15038
  */
15032
- interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15039
+ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
15033
15040
  /**
15034
15041
  * The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `<input>` of type `file`.
15035
15042
  *
@@ -15293,7 +15300,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
15293
15300
  */
15294
15301
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
15295
15302
  /**
15296
- * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements should let the user select directories instead of files.
15303
+ * The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements can only select directories instead of files.
15297
15304
  *
15298
15305
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
15299
15306
  */
@@ -18155,7 +18162,7 @@ declare var Headers: {
18155
18162
  */
18156
18163
  interface Highlight {
18157
18164
  /**
18158
- * It is possible to create Range objects that overlap in a document.
18165
+ * The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts.
18159
18166
  *
18160
18167
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority)
18161
18168
  */
@@ -19601,7 +19608,11 @@ interface LargestContentfulPaint extends PerformanceEntry {
19601
19608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime)
19602
19609
  */
19603
19610
  readonly loadTime: DOMHighResTimeStamp;
19604
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
19611
+ /**
19612
+ * The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen.
19613
+ *
19614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime)
19615
+ */
19605
19616
  readonly renderTime: DOMHighResTimeStamp;
19606
19617
  /**
19607
19618
  * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint.
@@ -19769,8 +19780,8 @@ interface LockManager {
19769
19780
  *
19770
19781
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
19771
19782
  */
19772
- request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
19773
- request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
19783
+ request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19784
+ request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
19774
19785
  }
19775
19786
 
19776
19787
  declare var LockManager: {
@@ -21891,55 +21902,23 @@ interface NavigatorCookies {
21891
21902
  }
21892
21903
 
21893
21904
  interface NavigatorID {
21894
- /**
21895
- * @deprecated
21896
- *
21897
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
21898
- */
21905
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
21899
21906
  readonly appCodeName: string;
21900
- /**
21901
- * @deprecated
21902
- *
21903
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
21904
- */
21907
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
21905
21908
  readonly appName: string;
21906
- /**
21907
- * @deprecated
21908
- *
21909
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
21910
- */
21909
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
21911
21910
  readonly appVersion: string;
21912
- /**
21913
- * @deprecated
21914
- *
21915
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
21916
- */
21911
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
21917
21912
  readonly platform: string;
21918
- /**
21919
- * @deprecated
21920
- *
21921
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
21922
- */
21913
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
21923
21914
  readonly product: string;
21924
- /**
21925
- * @deprecated
21926
- *
21927
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub)
21928
- */
21915
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */
21929
21916
  readonly productSub: string;
21930
21917
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
21931
21918
  readonly userAgent: string;
21932
- /**
21933
- * @deprecated
21934
- *
21935
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor)
21936
- */
21919
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */
21937
21920
  readonly vendor: string;
21938
- /**
21939
- * @deprecated
21940
- *
21941
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub)
21942
- */
21921
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */
21943
21922
  readonly vendorSub: string;
21944
21923
  }
21945
21924
 
@@ -21982,25 +21961,13 @@ interface NavigatorOnLine {
21982
21961
  }
21983
21962
 
21984
21963
  interface NavigatorPlugins {
21985
- /**
21986
- * @deprecated
21987
- *
21988
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)
21989
- */
21964
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */
21990
21965
  readonly mimeTypes: MimeTypeArray;
21991
21966
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */
21992
21967
  readonly pdfViewerEnabled: boolean;
21993
- /**
21994
- * @deprecated
21995
- *
21996
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins)
21997
- */
21968
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */
21998
21969
  readonly plugins: PluginArray;
21999
- /**
22000
- * @deprecated
22001
- *
22002
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled)
22003
- */
21970
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */
22004
21971
  javaEnabled(): boolean;
22005
21972
  }
22006
21973
 
@@ -24502,7 +24469,7 @@ declare var PopStateEvent: {
24502
24469
  new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
24503
24470
  };
24504
24471
 
24505
- interface PopoverInvokerElement {
24472
+ interface PopoverTargetAttributes {
24506
24473
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
24507
24474
  popoverTargetAction: string;
24508
24475
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
@@ -25619,7 +25586,7 @@ declare var RTCPeerConnectionIceEvent: {
25619
25586
  */
25620
25587
  interface RTCRtpReceiver {
25621
25588
  /**
25622
- * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out.
25589
+ * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out.
25623
25590
  *
25624
25591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget)
25625
25592
  */
@@ -26159,7 +26126,7 @@ interface ReadableByteStreamController {
26159
26126
  */
26160
26127
  close(): void;
26161
26128
  /**
26162
- * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).
26129
+ * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
26163
26130
  *
26164
26131
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
26165
26132
  */
@@ -31169,7 +31136,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
31169
31136
  */
31170
31137
  getHTML(options?: GetHTMLOptions): string;
31171
31138
  /**
31172
- * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
31139
+ * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
31173
31140
  *
31174
31141
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
31175
31142
  */
@@ -33330,7 +33297,7 @@ interface URLPattern {
33330
33297
  */
33331
33298
  exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
33332
33299
  /**
33333
- * The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33300
+ * The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
33334
33301
  *
33335
33302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
33336
33303
  */
@@ -36716,7 +36683,7 @@ interface WebSocket extends EventTarget {
36716
36683
  *
36717
36684
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
36718
36685
  */
36719
- readonly readyState: number;
36686
+ readonly readyState: 0 | 1 | 2 | 3;
36720
36687
  /**
36721
36688
  * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
36722
36689
  *