@types/web 0.0.138 → 0.0.139

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.138 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.138.
50
+ You can read what changed in version 0.0.139 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.139.
package/index.d.ts CHANGED
@@ -2326,6 +2326,8 @@ declare var AbortSignal: {
2326
2326
  new(): AbortSignal;
2327
2327
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
2328
2328
  // abort(reason?: any): AbortSignal; - To be re-added in the future
2329
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
2330
+ any(signals: AbortSignal[]): AbortSignal;
2329
2331
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
2330
2332
  timeout(milliseconds: number): AbortSignal;
2331
2333
  };
@@ -3775,6 +3777,16 @@ declare var CSSScale: {
3775
3777
  new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
3776
3778
  };
3777
3779
 
3780
+ interface CSSScopeRule extends CSSGroupingRule {
3781
+ readonly end: string | null;
3782
+ readonly start: string | null;
3783
+ }
3784
+
3785
+ declare var CSSScopeRule: {
3786
+ prototype: CSSScopeRule;
3787
+ new(): CSSScopeRule;
3788
+ };
3789
+
3778
3790
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */
3779
3791
  interface CSSSkew extends CSSTransformComponent {
3780
3792
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */
@@ -4035,6 +4047,7 @@ interface CSSStyleDeclaration {
4035
4047
  clipRule: string;
4036
4048
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */
4037
4049
  color: string;
4050
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */
4038
4051
  colorInterpolation: string;
4039
4052
  colorInterpolationFilters: string;
4040
4053
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */
@@ -4594,6 +4607,8 @@ interface CSSStyleDeclaration {
4594
4607
  transformStyle: string;
4595
4608
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */
4596
4609
  transition: string;
4610
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) */
4611
+ transitionBehavior: string;
4597
4612
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) */
4598
4613
  transitionDelay: string;
4599
4614
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-duration) */
@@ -5015,6 +5030,8 @@ interface CSSStyleDeclaration {
5015
5030
  webkitUserSelect: string;
5016
5031
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */
5017
5032
  whiteSpace: string;
5033
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) */
5034
+ whiteSpaceCollapse: string;
5018
5035
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */
5019
5036
  widows: string;
5020
5037
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */
@@ -7408,6 +7425,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7408
7425
  declare var Document: {
7409
7426
  prototype: Document;
7410
7427
  new(): Document;
7428
+ parseHTMLUnsafe(html: string): Document;
7411
7429
  };
7412
7430
 
7413
7431
  /**
@@ -7858,6 +7876,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
7858
7876
  setAttributeNode(attr: Attr): Attr | null;
7859
7877
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */
7860
7878
  setAttributeNodeNS(attr: Attr): Attr | null;
7879
+ setHTMLUnsafe(html: string): void;
7861
7880
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) */
7862
7881
  setPointerCapture(pointerId: number): void;
7863
7882
  /**
@@ -11115,7 +11134,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11115
11134
  src: string;
11116
11135
  /** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */
11117
11136
  step: string;
11118
- /** Returns the content type of the object. */
11137
+ /**
11138
+ * Returns the content type of the object.
11139
+ *
11140
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type)
11141
+ */
11119
11142
  type: string;
11120
11143
  /**
11121
11144
  * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
@@ -11930,6 +11953,7 @@ interface HTMLObjectElement extends HTMLElement {
11930
11953
  type: string;
11931
11954
  /**
11932
11955
  * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
11956
+ * @deprecated
11933
11957
  *
11934
11958
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap)
11935
11959
  */
@@ -13260,7 +13284,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13260
13284
  selectionStart: number;
13261
13285
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
13262
13286
  readonly textLength: number;
13263
- /** Retrieves the type of control. */
13287
+ /**
13288
+ * Retrieves the type of control.
13289
+ *
13290
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13291
+ */
13264
13292
  readonly type: string;
13265
13293
  /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
13266
13294
  readonly validationMessage: string;
@@ -21440,6 +21468,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
21440
21468
  onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
21441
21469
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */
21442
21470
  readonly slotAssignment: SlotAssignmentMode;
21471
+ setHTMLUnsafe(html: string): void;
21443
21472
  /** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
21444
21473
  addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
21445
21474
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
package/iterable.d.ts CHANGED
@@ -2,6 +2,11 @@
2
2
  /// Window Iterable APIs
3
3
  /////////////////////////////
4
4
 
5
+ interface AbortSignal {
6
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7
+ any(signals: Iterable<AbortSignal>): AbortSignal;
8
+ }
9
+
5
10
  interface AudioParam {
6
11
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
7
12
  setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.138",
3
+ "version": "0.0.139",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],