@types/web 0.0.129 → 0.0.131

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +16 -9
  3. package/package.json +1 -1
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.129 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.129.
50
+ You can read what changed in version 0.0.131 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.131.
package/index.d.ts CHANGED
@@ -3368,6 +3368,8 @@ interface CSSImportRule extends CSSRule {
3368
3368
  readonly media: MediaList;
3369
3369
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
3370
3370
  readonly styleSheet: CSSStyleSheet | null;
3371
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
3372
+ readonly supportsText: string | null;
3371
3373
  }
3372
3374
 
3373
3375
  declare var CSSImportRule: {
@@ -8983,7 +8985,7 @@ interface GlobalEventHandlers {
8983
8985
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
8984
8986
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
8985
8987
  onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
8986
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
8988
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
8987
8989
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
8988
8990
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
8989
8991
  onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -9124,7 +9126,7 @@ interface GlobalEventHandlers {
9124
9126
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
9125
9127
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
9126
9128
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
9127
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/input_event) */
9129
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
9128
9130
  oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9129
9131
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
9130
9132
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -9178,7 +9180,7 @@ interface GlobalEventHandlers {
9178
9180
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
9179
9181
  */
9180
9182
  onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
9181
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lostpointercapture_event) */
9183
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */
9182
9184
  onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
9183
9185
  /**
9184
9186
  * Fires when the user clicks the object with either mouse button.
@@ -14477,7 +14479,11 @@ interface KeyboardEvent extends UIEvent {
14477
14479
  readonly shiftKey: boolean;
14478
14480
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/getModifierState) */
14479
14481
  getModifierState(keyArg: string): boolean;
14480
- /** @deprecated */
14482
+ /**
14483
+ * @deprecated
14484
+ *
14485
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/initKeyboardEvent)
14486
+ */
14481
14487
  initKeyboardEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, keyArg?: string, locationArg?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): void;
14482
14488
  readonly DOM_KEY_LOCATION_STANDARD: 0x00;
14483
14489
  readonly DOM_KEY_LOCATION_LEFT: 0x01;
@@ -23307,7 +23313,6 @@ declare var WebGL2RenderingContext: {
23307
23313
  readonly STENCIL: 0x1802;
23308
23314
  readonly RED: 0x1903;
23309
23315
  readonly RGB8: 0x8051;
23310
- readonly RGBA8: 0x8058;
23311
23316
  readonly RGB10_A2: 0x8059;
23312
23317
  readonly TEXTURE_BINDING_3D: 0x806A;
23313
23318
  readonly UNPACK_SKIP_IMAGES: 0x806D;
@@ -23818,6 +23823,7 @@ declare var WebGL2RenderingContext: {
23818
23823
  readonly RENDERBUFFER: 0x8D41;
23819
23824
  readonly RGBA4: 0x8056;
23820
23825
  readonly RGB5_A1: 0x8057;
23826
+ readonly RGBA8: 0x8058;
23821
23827
  readonly RGB565: 0x8D62;
23822
23828
  readonly DEPTH_COMPONENT16: 0x81A5;
23823
23829
  readonly STENCIL_INDEX8: 0x8D48;
@@ -24052,7 +24058,6 @@ interface WebGL2RenderingContextBase {
24052
24058
  readonly STENCIL: 0x1802;
24053
24059
  readonly RED: 0x1903;
24054
24060
  readonly RGB8: 0x8051;
24055
- readonly RGBA8: 0x8058;
24056
24061
  readonly RGB10_A2: 0x8059;
24057
24062
  readonly TEXTURE_BINDING_3D: 0x806A;
24058
24063
  readonly UNPACK_SKIP_IMAGES: 0x806D;
@@ -24725,6 +24730,7 @@ declare var WebGLRenderingContext: {
24725
24730
  readonly RENDERBUFFER: 0x8D41;
24726
24731
  readonly RGBA4: 0x8056;
24727
24732
  readonly RGB5_A1: 0x8057;
24733
+ readonly RGBA8: 0x8058;
24728
24734
  readonly RGB565: 0x8D62;
24729
24735
  readonly DEPTH_COMPONENT16: 0x81A5;
24730
24736
  readonly STENCIL_INDEX8: 0x8D48;
@@ -25300,6 +25306,7 @@ interface WebGLRenderingContextBase {
25300
25306
  readonly RENDERBUFFER: 0x8D41;
25301
25307
  readonly RGBA4: 0x8056;
25302
25308
  readonly RGB5_A1: 0x8057;
25309
+ readonly RGBA8: 0x8058;
25303
25310
  readonly RGB565: 0x8D62;
25304
25311
  readonly DEPTH_COMPONENT16: 0x81A5;
25305
25312
  readonly STENCIL_INDEX8: 0x8D48;
@@ -27615,7 +27622,7 @@ declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) |
27615
27622
  declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
27616
27623
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
27617
27624
  declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
27618
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
27625
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
27619
27626
  declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
27620
27627
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
27621
27628
  declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
@@ -27756,7 +27763,7 @@ declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;
27756
27763
  declare var onformdata: ((this: Window, ev: FormDataEvent) => any) | null;
27757
27764
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
27758
27765
  declare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
27759
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/input_event) */
27766
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
27760
27767
  declare var oninput: ((this: Window, ev: Event) => any) | null;
27761
27768
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
27762
27769
  declare var oninvalid: ((this: Window, ev: Event) => any) | null;
@@ -27810,7 +27817,7 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;
27810
27817
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
27811
27818
  */
27812
27819
  declare var onloadstart: ((this: Window, ev: Event) => any) | null;
27813
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lostpointercapture_event) */
27820
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */
27814
27821
  declare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
27815
27822
  /**
27816
27823
  * Fires when the user clicks the object with either mouse button.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.129",
3
+ "version": "0.0.131",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],