@types/web 0.0.60 → 0.0.63

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 -31
  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.60 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.60.
50
+ You can read what changed in version 0.0.63 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.63.
package/index.d.ts CHANGED
@@ -1496,12 +1496,12 @@ interface RTCTransportStats extends RTCStats {
1496
1496
  tlsVersion?: string;
1497
1497
  }
1498
1498
 
1499
- interface ReadableStreamDefaultReadDoneResult {
1499
+ interface ReadableStreamReadDoneResult {
1500
1500
  done: true;
1501
1501
  value?: undefined;
1502
1502
  }
1503
1503
 
1504
- interface ReadableStreamDefaultReadValueResult<T> {
1504
+ interface ReadableStreamReadValueResult<T> {
1505
1505
  done: false;
1506
1506
  value: T;
1507
1507
  }
@@ -2549,7 +2549,7 @@ declare var CSSAnimation: {
2549
2549
 
2550
2550
  /** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */
2551
2551
  interface CSSConditionRule extends CSSGroupingRule {
2552
- conditionText: string;
2552
+ readonly conditionText: string;
2553
2553
  }
2554
2554
 
2555
2555
  declare var CSSConditionRule: {
@@ -2835,7 +2835,6 @@ interface CSSStyleDeclaration {
2835
2835
  columns: string;
2836
2836
  contain: string;
2837
2837
  content: string;
2838
- contentVisibility: string;
2839
2838
  counterIncrement: string;
2840
2839
  counterReset: string;
2841
2840
  counterSet: string;
@@ -3209,6 +3208,8 @@ interface CSSStyleDeclaration {
3209
3208
  /** @deprecated This is a legacy alias of `perspectiveOrigin`. */
3210
3209
  webkitPerspectiveOrigin: string;
3211
3210
  webkitTextFillColor: string;
3211
+ /** @deprecated This is a legacy alias of `textSizeAdjust`. */
3212
+ webkitTextSizeAdjust: string;
3212
3213
  webkitTextStroke: string;
3213
3214
  webkitTextStrokeColor: string;
3214
3215
  webkitTextStrokeWidth: string;
@@ -6054,7 +6055,6 @@ declare var HTMLBaseElement: {
6054
6055
  };
6055
6056
 
6056
6057
  interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {
6057
- "orientationchange": Event;
6058
6058
  }
6059
6059
 
6060
6060
  /** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */
@@ -6068,8 +6068,6 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers {
6068
6068
  /** @deprecated */
6069
6069
  link: string;
6070
6070
  /** @deprecated */
6071
- onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;
6072
- /** @deprecated */
6073
6071
  text: string;
6074
6072
  /** @deprecated */
6075
6073
  vLink: string;
@@ -7848,6 +7846,8 @@ declare var HTMLSpanElement: {
7848
7846
 
7849
7847
  /** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */
7850
7848
  interface HTMLStyleElement extends HTMLElement, LinkStyle {
7849
+ /** Enables or disables the style sheet. */
7850
+ disabled: boolean;
7851
7851
  /** Sets or retrieves the media type. */
7852
7852
  media: string;
7853
7853
  /**
@@ -9905,7 +9905,7 @@ declare var NavigationPreloadManager: {
9905
9905
  };
9906
9906
 
9907
9907
  /** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */
9908
- interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorNetworkInformation, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
9908
+ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
9909
9909
  /** Available only in secure contexts. */
9910
9910
  readonly clipboard: Clipboard;
9911
9911
  /** Available only in secure contexts. */
@@ -9962,7 +9962,6 @@ interface NavigatorID {
9962
9962
  readonly appName: string;
9963
9963
  /** @deprecated */
9964
9964
  readonly appVersion: string;
9965
- /** @deprecated */
9966
9965
  readonly platform: string;
9967
9966
  /** @deprecated */
9968
9967
  readonly product: string;
@@ -9984,10 +9983,6 @@ interface NavigatorLocks {
9984
9983
  readonly locks: LockManager;
9985
9984
  }
9986
9985
 
9987
- interface NavigatorNetworkInformation {
9988
- readonly connection: NetworkInformation;
9989
- }
9990
-
9991
9986
  interface NavigatorOnLine {
9992
9987
  readonly onLine: boolean;
9993
9988
  }
@@ -10007,15 +10002,6 @@ interface NavigatorStorage {
10007
10002
  readonly storage: StorageManager;
10008
10003
  }
10009
10004
 
10010
- interface NetworkInformation extends EventTarget {
10011
- readonly type: ConnectionType;
10012
- }
10013
-
10014
- declare var NetworkInformation: {
10015
- prototype: NetworkInformation;
10016
- new(): NetworkInformation;
10017
- };
10018
-
10019
10005
  /** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */
10020
10006
  interface Node extends EventTarget {
10021
10007
  /** Returns node's node document's document base URL. */
@@ -11483,7 +11469,7 @@ declare var ReadableStreamDefaultController: {
11483
11469
  };
11484
11470
 
11485
11471
  interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
11486
- read(): Promise<ReadableStreamDefaultReadResult<R>>;
11472
+ read(): Promise<ReadableStreamReadResult<R>>;
11487
11473
  releaseLock(): void;
11488
11474
  }
11489
11475
 
@@ -17473,7 +17459,6 @@ interface HTMLElementTagNameMap {
17473
17459
  "details": HTMLDetailsElement;
17474
17460
  "dfn": HTMLElement;
17475
17461
  "dialog": HTMLDialogElement;
17476
- "dir": HTMLDirectoryElement;
17477
17462
  "div": HTMLDivElement;
17478
17463
  "dl": HTMLDListElement;
17479
17464
  "dt": HTMLElement;
@@ -17482,11 +17467,8 @@ interface HTMLElementTagNameMap {
17482
17467
  "fieldset": HTMLFieldSetElement;
17483
17468
  "figcaption": HTMLElement;
17484
17469
  "figure": HTMLElement;
17485
- "font": HTMLFontElement;
17486
17470
  "footer": HTMLElement;
17487
17471
  "form": HTMLFormElement;
17488
- "frame": HTMLFrameElement;
17489
- "frameset": HTMLFrameSetElement;
17490
17472
  "h1": HTMLHeadingElement;
17491
17473
  "h2": HTMLHeadingElement;
17492
17474
  "h3": HTMLHeadingElement;
@@ -17511,7 +17493,6 @@ interface HTMLElementTagNameMap {
17511
17493
  "main": HTMLElement;
17512
17494
  "map": HTMLMapElement;
17513
17495
  "mark": HTMLElement;
17514
- "marquee": HTMLMarqueeElement;
17515
17496
  "menu": HTMLMenuElement;
17516
17497
  "meta": HTMLMetaElement;
17517
17498
  "meter": HTMLMeterElement;
@@ -17565,7 +17546,12 @@ interface HTMLElementTagNameMap {
17565
17546
  }
17566
17547
 
17567
17548
  interface HTMLElementDeprecatedTagNameMap {
17549
+ "dir": HTMLDirectoryElement;
17550
+ "font": HTMLFontElement;
17551
+ "frame": HTMLFrameElement;
17552
+ "frameset": HTMLFrameSetElement;
17568
17553
  "listing": HTMLPreElement;
17554
+ "marquee": HTMLMarqueeElement;
17569
17555
  "xmp": HTMLPreElement;
17570
17556
  }
17571
17557
 
@@ -18132,7 +18118,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
18132
18118
  type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
18133
18119
  type PerformanceEntryList = PerformanceEntry[];
18134
18120
  type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
18135
- type ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;
18121
+ type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult;
18136
18122
  type ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;
18137
18123
  type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
18138
18124
  type RequestInfo = Request | string;
@@ -18176,11 +18162,10 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
18176
18162
  type ColorSpaceConversion = "default" | "none";
18177
18163
  type CompositeOperation = "accumulate" | "add" | "replace";
18178
18164
  type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
18179
- type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
18180
18165
  type CredentialMediationRequirement = "optional" | "required" | "silent";
18181
18166
  type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
18182
18167
  type DirectionSetting = "" | "lr" | "rl";
18183
- type DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";
18168
+ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
18184
18169
  type DistanceModelType = "exponential" | "inverse" | "linear";
18185
18170
  type DocumentReadyState = "complete" | "interactive" | "loading";
18186
18171
  type DocumentVisibilityState = "hidden" | "visible";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.60",
3
+ "version": "0.0.63",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "MIT",
6
6
  "contributors": [],