@types/web 0.0.61 → 0.0.62

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 +9 -26
  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.61 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.61.
50
+ You can read what changed in version 0.0.62 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.62.
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;
@@ -9907,7 +9905,7 @@ declare var NavigationPreloadManager: {
9907
9905
  };
9908
9906
 
9909
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. */
9910
- 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 {
9911
9909
  /** Available only in secure contexts. */
9912
9910
  readonly clipboard: Clipboard;
9913
9911
  /** Available only in secure contexts. */
@@ -9964,7 +9962,6 @@ interface NavigatorID {
9964
9962
  readonly appName: string;
9965
9963
  /** @deprecated */
9966
9964
  readonly appVersion: string;
9967
- /** @deprecated */
9968
9965
  readonly platform: string;
9969
9966
  /** @deprecated */
9970
9967
  readonly product: string;
@@ -9986,10 +9983,6 @@ interface NavigatorLocks {
9986
9983
  readonly locks: LockManager;
9987
9984
  }
9988
9985
 
9989
- interface NavigatorNetworkInformation {
9990
- readonly connection: NetworkInformation;
9991
- }
9992
-
9993
9986
  interface NavigatorOnLine {
9994
9987
  readonly onLine: boolean;
9995
9988
  }
@@ -10009,15 +10002,6 @@ interface NavigatorStorage {
10009
10002
  readonly storage: StorageManager;
10010
10003
  }
10011
10004
 
10012
- interface NetworkInformation extends EventTarget {
10013
- readonly type: ConnectionType;
10014
- }
10015
-
10016
- declare var NetworkInformation: {
10017
- prototype: NetworkInformation;
10018
- new(): NetworkInformation;
10019
- };
10020
-
10021
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. */
10022
10006
  interface Node extends EventTarget {
10023
10007
  /** Returns node's node document's document base URL. */
@@ -11485,7 +11469,7 @@ declare var ReadableStreamDefaultController: {
11485
11469
  };
11486
11470
 
11487
11471
  interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
11488
- read(): Promise<ReadableStreamDefaultReadResult<R>>;
11472
+ read(): Promise<ReadableStreamReadResult<R>>;
11489
11473
  releaseLock(): void;
11490
11474
  }
11491
11475
 
@@ -18134,7 +18118,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
18134
18118
  type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
18135
18119
  type PerformanceEntryList = PerformanceEntry[];
18136
18120
  type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
18137
- type ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;
18121
+ type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult;
18138
18122
  type ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;
18139
18123
  type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
18140
18124
  type RequestInfo = Request | string;
@@ -18178,11 +18162,10 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
18178
18162
  type ColorSpaceConversion = "default" | "none";
18179
18163
  type CompositeOperation = "accumulate" | "add" | "replace";
18180
18164
  type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
18181
- type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
18182
18165
  type CredentialMediationRequirement = "optional" | "required" | "silent";
18183
18166
  type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
18184
18167
  type DirectionSetting = "" | "lr" | "rl";
18185
- type DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";
18168
+ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
18186
18169
  type DistanceModelType = "exponential" | "inverse" | "linear";
18187
18170
  type DocumentReadyState = "complete" | "interactive" | "loading";
18188
18171
  type DocumentVisibilityState = "hidden" | "visible";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "MIT",
6
6
  "contributors": [],