google-closure-compiler 20261025.0.0 → 20261028.0.0
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/contrib/externs/maps/google_maps_api_v3_66.js +24 -17
- package/contrib/externs/maps/google_maps_api_v3_exp.js +24 -17
- package/externs/browser/html5.js +7 -0
- package/externs/browser/w3c_clipboard.js +8 -0
- package/externs/browser/w3c_netinfo.js +20 -5
- package/externs/browser/w3c_serviceworker.js +5 -2
- package/externs/browser/wicg_mediasession.js +63 -6
- package/package.json +6 -6
|
@@ -6858,7 +6858,6 @@ google.maps.Maps3DLibrary.prototype.FlattenerElement;
|
|
|
6858
6858
|
google.maps.Maps3DLibrary.prototype.GestureHandling;
|
|
6859
6859
|
|
|
6860
6860
|
/**
|
|
6861
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
6862
6861
|
* @type {typeof google.maps.maps3d.Label3DElement}
|
|
6863
6862
|
*/
|
|
6864
6863
|
google.maps.Maps3DLibrary.prototype.Label3DElement;
|
|
@@ -6944,7 +6943,6 @@ google.maps.Maps3DLibrary.prototype.Polyline3DInteractiveElement;
|
|
|
6944
6943
|
google.maps.Maps3DLibrary.prototype.PopoverElement;
|
|
6945
6944
|
|
|
6946
6945
|
/**
|
|
6947
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
6948
6946
|
* @type {typeof google.maps.maps3d.QualityMode}
|
|
6949
6947
|
*/
|
|
6950
6948
|
google.maps.Maps3DLibrary.prototype.QualityMode;
|
|
@@ -9916,6 +9914,19 @@ google.maps.ScaleControlStyle = {
|
|
|
9916
9914
|
*/
|
|
9917
9915
|
google.maps.Settings = function() {};
|
|
9918
9916
|
|
|
9917
|
+
/**
|
|
9918
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
9919
|
+
* A collection of unique content tokens generated by other services. The
|
|
9920
|
+
* returned value is a copy of the internal value that is stored in the
|
|
9921
|
+
* <code>Settings</code> instance. Operations on <code>.contentTokens</code>
|
|
9922
|
+
* will therefore only modify the copy and not the internal value.<br/><br/>To
|
|
9923
|
+
* update the internal value, use <code>addContentTokens()</code> on the
|
|
9924
|
+
* singleton instance (ex:
|
|
9925
|
+
* <code>Settings.getInstance().addContentTokens([token])</code>).
|
|
9926
|
+
* @type {!Iterable<string>}
|
|
9927
|
+
*/
|
|
9928
|
+
google.maps.Settings.prototype.contentTokens;
|
|
9929
|
+
|
|
9919
9930
|
/**
|
|
9920
9931
|
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
9921
9932
|
* A collection of unique experience IDs to which to attribute Maps JS API
|
|
@@ -9943,6 +9954,14 @@ google.maps.Settings.prototype.fetchAppCheckToken;
|
|
|
9943
9954
|
*/
|
|
9944
9955
|
google.maps.Settings.getInstance = function() {};
|
|
9945
9956
|
|
|
9957
|
+
/**
|
|
9958
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
9959
|
+
* Registers content tokens.
|
|
9960
|
+
* @param {!Iterable<string>|null|undefined} contentTokens
|
|
9961
|
+
* @return {void}
|
|
9962
|
+
*/
|
|
9963
|
+
google.maps.Settings.prototype.addContentTokens = function(contentTokens) {};
|
|
9964
|
+
|
|
9946
9965
|
/**
|
|
9947
9966
|
*
|
|
9948
9967
|
* Access by calling `const {Size} = await google.maps.importLibrary("core");`.
|
|
@@ -17027,8 +17046,6 @@ google.maps.maps3d.GestureHandling = {
|
|
|
17027
17046
|
};
|
|
17028
17047
|
|
|
17029
17048
|
/**
|
|
17030
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17031
|
-
*
|
|
17032
17049
|
* Represents a text label associated with a 3D marker on a map, allowing
|
|
17033
17050
|
* independent configuration of properties such as collision behavior.
|
|
17034
17051
|
*
|
|
@@ -17057,8 +17074,6 @@ google.maps.maps3d.Label3DElement.prototype.collisionBehavior;
|
|
|
17057
17074
|
google.maps.maps3d.Label3DElement.prototype.for;
|
|
17058
17075
|
|
|
17059
17076
|
/**
|
|
17060
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17061
|
-
*
|
|
17062
17077
|
* Label3DElementOptions object used to define the properties that can be set on
|
|
17063
17078
|
* a Label3DElement.
|
|
17064
17079
|
* @record
|
|
@@ -17179,7 +17194,6 @@ google.maps.maps3d.Map3DElement.prototype.cameraPosition;
|
|
|
17179
17194
|
google.maps.maps3d.Map3DElement.prototype.center;
|
|
17180
17195
|
|
|
17181
17196
|
/**
|
|
17182
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17183
17197
|
* Specifies the color scheme for the map. If not set, defaults to {@link
|
|
17184
17198
|
* google.maps.ColorScheme.FOLLOW_SYSTEM}.
|
|
17185
17199
|
* @default {@link google.maps.ColorScheme.FOLLOW_SYSTEM}
|
|
@@ -17274,7 +17288,6 @@ google.maps.maps3d.Map3DElement.prototype.maxAltitude;
|
|
|
17274
17288
|
google.maps.maps3d.Map3DElement.prototype.maxHeading;
|
|
17275
17289
|
|
|
17276
17290
|
/**
|
|
17277
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17278
17291
|
* The maximum amount of memory, in megabytes, the map may use for rendering.
|
|
17279
17292
|
* Lower values reduce memory usage at the cost of visual detail; higher values
|
|
17280
17293
|
* allow more detail to be kept in memory. Valid values range from 64 to 2048.
|
|
@@ -17321,14 +17334,14 @@ google.maps.maps3d.Map3DElement.prototype.minHeading;
|
|
|
17321
17334
|
google.maps.maps3d.Map3DElement.prototype.minTilt;
|
|
17322
17335
|
|
|
17323
17336
|
/**
|
|
17324
|
-
* Specifies a mode the map should be rendered in. If not set,
|
|
17325
|
-
*
|
|
17337
|
+
* Specifies a mode the map should be rendered in. If not set, defaults
|
|
17338
|
+
* to {@link google.maps.maps3d.MapMode.ROADMAP}.
|
|
17339
|
+
* @default {@link google.maps.maps3d.MapMode.ROADMAP}
|
|
17326
17340
|
* @type {!google.maps.maps3d.MapMode|null|undefined}
|
|
17327
17341
|
*/
|
|
17328
17342
|
google.maps.maps3d.Map3DElement.prototype.mode;
|
|
17329
17343
|
|
|
17330
17344
|
/**
|
|
17331
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17332
17345
|
* Specifies the rendering quality of the map. Set to {@link
|
|
17333
17346
|
* google.maps.maps3d.QualityMode.PERFORMANCE} to render with reduced visual
|
|
17334
17347
|
* detail, which lowers memory usage.
|
|
@@ -17452,7 +17465,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.cameraPosition;
|
|
|
17452
17465
|
google.maps.maps3d.Map3DElementOptions.prototype.center;
|
|
17453
17466
|
|
|
17454
17467
|
/**
|
|
17455
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17456
17468
|
* See {@link google.maps.maps3d.Map3DElement.colorScheme}.
|
|
17457
17469
|
* @type {!google.maps.ColorScheme|null|undefined}
|
|
17458
17470
|
*/
|
|
@@ -17519,7 +17531,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.maxAltitude;
|
|
|
17519
17531
|
google.maps.maps3d.Map3DElementOptions.prototype.maxHeading;
|
|
17520
17532
|
|
|
17521
17533
|
/**
|
|
17522
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17523
17534
|
* See {@link google.maps.maps3d.Map3DElement.maxMemoryMegabytes}.
|
|
17524
17535
|
* @type {number|null|undefined}
|
|
17525
17536
|
*/
|
|
@@ -17556,7 +17567,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.minTilt;
|
|
|
17556
17567
|
google.maps.maps3d.Map3DElementOptions.prototype.mode;
|
|
17557
17568
|
|
|
17558
17569
|
/**
|
|
17559
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17560
17570
|
* See {@link google.maps.maps3d.Map3DElement.qualityMode}.
|
|
17561
17571
|
* @type {!google.maps.maps3d.QualityMode|null|undefined}
|
|
17562
17572
|
*/
|
|
@@ -17610,7 +17620,6 @@ google.maps.maps3d.MapMode = {
|
|
|
17610
17620
|
*/
|
|
17611
17621
|
HYBRID: 'HYBRID',
|
|
17612
17622
|
/**
|
|
17613
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17614
17623
|
* This map mode displays a normal street map.
|
|
17615
17624
|
*/
|
|
17616
17625
|
ROADMAP: 'ROADMAP',
|
|
@@ -18693,8 +18702,6 @@ google.maps.maps3d.PopoverElementOptions.prototype.open;
|
|
|
18693
18702
|
google.maps.maps3d.PopoverElementOptions.prototype.positionAnchor;
|
|
18694
18703
|
|
|
18695
18704
|
/**
|
|
18696
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
18697
|
-
*
|
|
18698
18705
|
* Specifies the rendering quality of the 3D map.
|
|
18699
18706
|
*
|
|
18700
18707
|
* Access by calling `const {QualityMode} = await
|
|
@@ -6858,7 +6858,6 @@ google.maps.Maps3DLibrary.prototype.FlattenerElement;
|
|
|
6858
6858
|
google.maps.Maps3DLibrary.prototype.GestureHandling;
|
|
6859
6859
|
|
|
6860
6860
|
/**
|
|
6861
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
6862
6861
|
* @type {typeof google.maps.maps3d.Label3DElement}
|
|
6863
6862
|
*/
|
|
6864
6863
|
google.maps.Maps3DLibrary.prototype.Label3DElement;
|
|
@@ -6944,7 +6943,6 @@ google.maps.Maps3DLibrary.prototype.Polyline3DInteractiveElement;
|
|
|
6944
6943
|
google.maps.Maps3DLibrary.prototype.PopoverElement;
|
|
6945
6944
|
|
|
6946
6945
|
/**
|
|
6947
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
6948
6946
|
* @type {typeof google.maps.maps3d.QualityMode}
|
|
6949
6947
|
*/
|
|
6950
6948
|
google.maps.Maps3DLibrary.prototype.QualityMode;
|
|
@@ -9916,6 +9914,19 @@ google.maps.ScaleControlStyle = {
|
|
|
9916
9914
|
*/
|
|
9917
9915
|
google.maps.Settings = function() {};
|
|
9918
9916
|
|
|
9917
|
+
/**
|
|
9918
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
9919
|
+
* A collection of unique content tokens generated by other services. The
|
|
9920
|
+
* returned value is a copy of the internal value that is stored in the
|
|
9921
|
+
* <code>Settings</code> instance. Operations on <code>.contentTokens</code>
|
|
9922
|
+
* will therefore only modify the copy and not the internal value.<br/><br/>To
|
|
9923
|
+
* update the internal value, use <code>addContentTokens()</code> on the
|
|
9924
|
+
* singleton instance (ex:
|
|
9925
|
+
* <code>Settings.getInstance().addContentTokens([token])</code>).
|
|
9926
|
+
* @type {!Iterable<string>}
|
|
9927
|
+
*/
|
|
9928
|
+
google.maps.Settings.prototype.contentTokens;
|
|
9929
|
+
|
|
9919
9930
|
/**
|
|
9920
9931
|
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
9921
9932
|
* A collection of unique experience IDs to which to attribute Maps JS API
|
|
@@ -9943,6 +9954,14 @@ google.maps.Settings.prototype.fetchAppCheckToken;
|
|
|
9943
9954
|
*/
|
|
9944
9955
|
google.maps.Settings.getInstance = function() {};
|
|
9945
9956
|
|
|
9957
|
+
/**
|
|
9958
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
9959
|
+
* Registers content tokens.
|
|
9960
|
+
* @param {!Iterable<string>|null|undefined} contentTokens
|
|
9961
|
+
* @return {void}
|
|
9962
|
+
*/
|
|
9963
|
+
google.maps.Settings.prototype.addContentTokens = function(contentTokens) {};
|
|
9964
|
+
|
|
9946
9965
|
/**
|
|
9947
9966
|
*
|
|
9948
9967
|
* Access by calling `const {Size} = await google.maps.importLibrary("core");`.
|
|
@@ -17027,8 +17046,6 @@ google.maps.maps3d.GestureHandling = {
|
|
|
17027
17046
|
};
|
|
17028
17047
|
|
|
17029
17048
|
/**
|
|
17030
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17031
|
-
*
|
|
17032
17049
|
* Represents a text label associated with a 3D marker on a map, allowing
|
|
17033
17050
|
* independent configuration of properties such as collision behavior.
|
|
17034
17051
|
*
|
|
@@ -17057,8 +17074,6 @@ google.maps.maps3d.Label3DElement.prototype.collisionBehavior;
|
|
|
17057
17074
|
google.maps.maps3d.Label3DElement.prototype.for;
|
|
17058
17075
|
|
|
17059
17076
|
/**
|
|
17060
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17061
|
-
*
|
|
17062
17077
|
* Label3DElementOptions object used to define the properties that can be set on
|
|
17063
17078
|
* a Label3DElement.
|
|
17064
17079
|
* @record
|
|
@@ -17179,7 +17194,6 @@ google.maps.maps3d.Map3DElement.prototype.cameraPosition;
|
|
|
17179
17194
|
google.maps.maps3d.Map3DElement.prototype.center;
|
|
17180
17195
|
|
|
17181
17196
|
/**
|
|
17182
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17183
17197
|
* Specifies the color scheme for the map. If not set, defaults to {@link
|
|
17184
17198
|
* google.maps.ColorScheme.FOLLOW_SYSTEM}.
|
|
17185
17199
|
* @default {@link google.maps.ColorScheme.FOLLOW_SYSTEM}
|
|
@@ -17274,7 +17288,6 @@ google.maps.maps3d.Map3DElement.prototype.maxAltitude;
|
|
|
17274
17288
|
google.maps.maps3d.Map3DElement.prototype.maxHeading;
|
|
17275
17289
|
|
|
17276
17290
|
/**
|
|
17277
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17278
17291
|
* The maximum amount of memory, in megabytes, the map may use for rendering.
|
|
17279
17292
|
* Lower values reduce memory usage at the cost of visual detail; higher values
|
|
17280
17293
|
* allow more detail to be kept in memory. Valid values range from 64 to 2048.
|
|
@@ -17321,14 +17334,14 @@ google.maps.maps3d.Map3DElement.prototype.minHeading;
|
|
|
17321
17334
|
google.maps.maps3d.Map3DElement.prototype.minTilt;
|
|
17322
17335
|
|
|
17323
17336
|
/**
|
|
17324
|
-
* Specifies a mode the map should be rendered in. If not set,
|
|
17325
|
-
*
|
|
17337
|
+
* Specifies a mode the map should be rendered in. If not set, defaults
|
|
17338
|
+
* to {@link google.maps.maps3d.MapMode.ROADMAP}.
|
|
17339
|
+
* @default {@link google.maps.maps3d.MapMode.ROADMAP}
|
|
17326
17340
|
* @type {!google.maps.maps3d.MapMode|null|undefined}
|
|
17327
17341
|
*/
|
|
17328
17342
|
google.maps.maps3d.Map3DElement.prototype.mode;
|
|
17329
17343
|
|
|
17330
17344
|
/**
|
|
17331
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17332
17345
|
* Specifies the rendering quality of the map. Set to {@link
|
|
17333
17346
|
* google.maps.maps3d.QualityMode.PERFORMANCE} to render with reduced visual
|
|
17334
17347
|
* detail, which lowers memory usage.
|
|
@@ -17452,7 +17465,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.cameraPosition;
|
|
|
17452
17465
|
google.maps.maps3d.Map3DElementOptions.prototype.center;
|
|
17453
17466
|
|
|
17454
17467
|
/**
|
|
17455
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17456
17468
|
* See {@link google.maps.maps3d.Map3DElement.colorScheme}.
|
|
17457
17469
|
* @type {!google.maps.ColorScheme|null|undefined}
|
|
17458
17470
|
*/
|
|
@@ -17519,7 +17531,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.maxAltitude;
|
|
|
17519
17531
|
google.maps.maps3d.Map3DElementOptions.prototype.maxHeading;
|
|
17520
17532
|
|
|
17521
17533
|
/**
|
|
17522
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17523
17534
|
* See {@link google.maps.maps3d.Map3DElement.maxMemoryMegabytes}.
|
|
17524
17535
|
* @type {number|null|undefined}
|
|
17525
17536
|
*/
|
|
@@ -17556,7 +17567,6 @@ google.maps.maps3d.Map3DElementOptions.prototype.minTilt;
|
|
|
17556
17567
|
google.maps.maps3d.Map3DElementOptions.prototype.mode;
|
|
17557
17568
|
|
|
17558
17569
|
/**
|
|
17559
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17560
17570
|
* See {@link google.maps.maps3d.Map3DElement.qualityMode}.
|
|
17561
17571
|
* @type {!google.maps.maps3d.QualityMode|null|undefined}
|
|
17562
17572
|
*/
|
|
@@ -17610,7 +17620,6 @@ google.maps.maps3d.MapMode = {
|
|
|
17610
17620
|
*/
|
|
17611
17621
|
HYBRID: 'HYBRID',
|
|
17612
17622
|
/**
|
|
17613
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17614
17623
|
* This map mode displays a normal street map.
|
|
17615
17624
|
*/
|
|
17616
17625
|
ROADMAP: 'ROADMAP',
|
|
@@ -18693,8 +18702,6 @@ google.maps.maps3d.PopoverElementOptions.prototype.open;
|
|
|
18693
18702
|
google.maps.maps3d.PopoverElementOptions.prototype.positionAnchor;
|
|
18694
18703
|
|
|
18695
18704
|
/**
|
|
18696
|
-
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
18697
|
-
*
|
|
18698
18705
|
* Specifies the rendering quality of the 3D map.
|
|
18699
18706
|
*
|
|
18700
18707
|
* Access by calling `const {QualityMode} = await
|
package/externs/browser/html5.js
CHANGED
|
@@ -2622,6 +2622,13 @@ HTMLMediaElement.prototype.crossOrigin;
|
|
|
2622
2622
|
*/
|
|
2623
2623
|
HTMLMediaElement.prototype.currentTime;
|
|
2624
2624
|
|
|
2625
|
+
/**
|
|
2626
|
+
* @param {number} time
|
|
2627
|
+
* @return {undefined}
|
|
2628
|
+
* @see https://html.spec.whatwg.org/multipage/media.html#dom-media-fastseek-dev
|
|
2629
|
+
*/
|
|
2630
|
+
HTMLMediaElement.prototype.fastSeek = function(time) {};
|
|
2631
|
+
|
|
2625
2632
|
/**
|
|
2626
2633
|
* The absolute timeline offset.
|
|
2627
2634
|
* @return {!Date}
|
|
@@ -55,9 +55,17 @@ Navigator.prototype.clipboard;
|
|
|
55
55
|
* @param {!Object<string, (!string|!Blob|!Promise<!string>|!Promise<!Blob>)>}
|
|
56
56
|
* items
|
|
57
57
|
* @param {ClipboardItemOptions=} options
|
|
58
|
+
* @see https://w3c.github.io/clipboard-apis/#clipboard-item-interface
|
|
58
59
|
*/
|
|
59
60
|
function ClipboardItem(items, options) {}
|
|
60
61
|
|
|
62
|
+
/**
|
|
63
|
+
* @param {string} type
|
|
64
|
+
* @return {boolean}
|
|
65
|
+
* @see https://w3c.github.io/clipboard-apis/#dom-clipboarditem-supports
|
|
66
|
+
*/
|
|
67
|
+
ClipboardItem.supports = function(type) {};
|
|
68
|
+
|
|
61
69
|
/** @type {!Array<!string>} */
|
|
62
70
|
ClipboardItem.prototype.types;
|
|
63
71
|
|
|
@@ -16,12 +16,14 @@
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @fileoverview Externs for the Network Information API.
|
|
19
|
+
* @see https://wicg.github.io/netinfo/
|
|
19
20
|
* @externs
|
|
20
21
|
*/
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
|
-
* @see
|
|
24
|
-
* @
|
|
24
|
+
* @see https://wicg.github.io/netinfo/#networkinformation-interface
|
|
25
|
+
* @interface
|
|
26
|
+
* @extends {EventTarget}
|
|
25
27
|
*/
|
|
26
28
|
function NetworkInformation() {}
|
|
27
29
|
|
|
@@ -40,10 +42,13 @@ NetworkInformation.prototype.downlink;
|
|
|
40
42
|
/** @type {Millisecond} */
|
|
41
43
|
NetworkInformation.prototype.rtt;
|
|
42
44
|
|
|
43
|
-
/** @type {?function(Event)} */
|
|
45
|
+
/** @type {?function(!Event)} */
|
|
44
46
|
NetworkInformation.prototype.onchange;
|
|
45
47
|
|
|
46
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @see https://wicg.github.io/savedata/
|
|
51
|
+
*/
|
|
47
52
|
NetworkInformation.prototype.saveData;
|
|
48
53
|
|
|
49
54
|
/**
|
|
@@ -81,5 +86,15 @@ var ConnectionType;
|
|
|
81
86
|
*/
|
|
82
87
|
var EffectiveConnectionType;
|
|
83
88
|
|
|
84
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* @type {!NetworkInformation}
|
|
91
|
+
* @see https://wicg.github.io/netinfo/#connection-attribute
|
|
92
|
+
*/
|
|
85
93
|
Navigator.prototype.connection;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @type {!NetworkInformation}
|
|
97
|
+
* @see https://wicg.github.io/netinfo/#connection-attribute
|
|
98
|
+
*/
|
|
99
|
+
WorkerNavigator.prototype.connection;
|
|
100
|
+
|
|
@@ -422,11 +422,14 @@ ServiceWorkerClient.prototype.id;
|
|
|
422
422
|
ServiceWorkerClient.prototype.frameType;
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
|
+
* @see https://www.w3.org/TR/service-workers/#client-postmessage
|
|
425
426
|
* @param {*} message
|
|
426
|
-
* @param {(!Array<!Transferable
|
|
427
|
+
* @param {(!Array<!Transferable>|!StructuredSerializeOptions)=}
|
|
428
|
+
* opt_transferOrOptions
|
|
427
429
|
* @return {undefined}
|
|
428
430
|
*/
|
|
429
|
-
ServiceWorkerClient.prototype.postMessage = function(
|
|
431
|
+
ServiceWorkerClient.prototype.postMessage = function(
|
|
432
|
+
message, opt_transferOrOptions) {};
|
|
430
433
|
|
|
431
434
|
/** @return {!Promise} */
|
|
432
435
|
ServiceWorkerClient.prototype.focus = function() {};
|
|
@@ -37,13 +37,47 @@ MediaImage.prototype.sizes;
|
|
|
37
37
|
MediaImage.prototype.type;
|
|
38
38
|
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* @see https://wicg.github.io/mediasession/#the-chapterinformation-interface
|
|
42
|
+
* @interface
|
|
43
|
+
* @struct
|
|
44
|
+
*/
|
|
45
|
+
function ChapterInformation() {}
|
|
46
|
+
|
|
47
|
+
/** @const {string} */
|
|
48
|
+
ChapterInformation.prototype.title;
|
|
49
|
+
|
|
50
|
+
/** @const {number} */
|
|
51
|
+
ChapterInformation.prototype.startTime;
|
|
52
|
+
|
|
53
|
+
/** @const {!Array<!MediaImage>} */
|
|
54
|
+
ChapterInformation.prototype.artwork;
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @see https://wicg.github.io/mediasession/#dictdef-chapterinformationinit
|
|
59
|
+
* @record
|
|
60
|
+
* @struct
|
|
61
|
+
*/
|
|
62
|
+
function ChapterInformationInit() {}
|
|
63
|
+
|
|
64
|
+
/** @type {(string|undefined)} */
|
|
65
|
+
ChapterInformationInit.prototype.title;
|
|
66
|
+
|
|
67
|
+
/** @type {(number|undefined)} */
|
|
68
|
+
ChapterInformationInit.prototype.startTime;
|
|
69
|
+
|
|
70
|
+
/** @type {(!Array<!MediaImage>|undefined)} */
|
|
71
|
+
ChapterInformationInit.prototype.artwork;
|
|
72
|
+
|
|
73
|
+
|
|
40
74
|
/**
|
|
41
75
|
* A MediaMetadata object is a representation of the metadata associated with a
|
|
42
76
|
* MediaSession that can be used by user agents to provide customized user
|
|
43
77
|
* interface.
|
|
44
78
|
* @see https://wicg.github.io/mediasession/#the-mediametadata-interface
|
|
45
79
|
* @constructor
|
|
46
|
-
* @param {?MediaMetadataInit} init
|
|
80
|
+
* @param {?MediaMetadataInit=} init
|
|
47
81
|
*/
|
|
48
82
|
function MediaMetadata(init) {}
|
|
49
83
|
|
|
@@ -59,6 +93,9 @@ MediaMetadata.prototype.artwork;
|
|
|
59
93
|
/** @type {string} */
|
|
60
94
|
MediaMetadata.prototype.title;
|
|
61
95
|
|
|
96
|
+
/** @const {!Array<!ChapterInformation>} */
|
|
97
|
+
MediaMetadata.prototype.chapterInfo;
|
|
98
|
+
|
|
62
99
|
|
|
63
100
|
/**
|
|
64
101
|
* @see https://wicg.github.io/mediasession/#the-mediametadata-interface
|
|
@@ -79,6 +116,9 @@ MediaMetadataInit.prototype.artwork;
|
|
|
79
116
|
/** @type {(string|undefined)} */
|
|
80
117
|
MediaMetadataInit.prototype.title;
|
|
81
118
|
|
|
119
|
+
/** @type {(!Array<!ChapterInformationInit>|undefined)} */
|
|
120
|
+
MediaMetadataInit.prototype.chapterInfo;
|
|
121
|
+
|
|
82
122
|
|
|
83
123
|
/**
|
|
84
124
|
* A MediaSession objects represents a media session for a given document and
|
|
@@ -109,16 +149,23 @@ MediaSession.prototype.setPositionState;
|
|
|
109
149
|
|
|
110
150
|
/**
|
|
111
151
|
* @param {boolean} active
|
|
112
|
-
* @return {void}
|
|
152
|
+
* @return {!Promise<void>}
|
|
113
153
|
*/
|
|
114
154
|
MediaSession.prototype.setCameraActive = function(active) {};
|
|
115
155
|
|
|
116
156
|
/**
|
|
117
157
|
* @param {boolean} active
|
|
118
|
-
* @return {void}
|
|
158
|
+
* @return {!Promise<void>}
|
|
119
159
|
*/
|
|
120
160
|
MediaSession.prototype.setMicrophoneActive = function(active) {};
|
|
121
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @param {boolean} active
|
|
164
|
+
* @return {!Promise<void>}
|
|
165
|
+
* @see https://wicg.github.io/mediasession/#dom-mediasession-setscreenshareactive
|
|
166
|
+
*/
|
|
167
|
+
MediaSession.prototype.setScreenshareActive = function(active) {};
|
|
168
|
+
|
|
122
169
|
/** @type {?MediaSession} */
|
|
123
170
|
Navigator.prototype.mediaSession;
|
|
124
171
|
|
|
@@ -129,9 +176,15 @@ var MediaSessionPlaybackState;
|
|
|
129
176
|
/** @typedef {string} */
|
|
130
177
|
var MediaSessionAction;
|
|
131
178
|
|
|
179
|
+
/**
|
|
180
|
+
* @typedef {string}
|
|
181
|
+
* @see https://wicg.github.io/mediasession/#enumdef-mediasessionenterpictureinpicturereason
|
|
182
|
+
*/
|
|
183
|
+
var MediaSessionEnterPictureInPictureReason;
|
|
184
|
+
|
|
132
185
|
|
|
133
186
|
/**
|
|
134
|
-
* @see https://
|
|
187
|
+
* @see https://wicg.github.io/mediasession/#the-mediapositionstate-dictionary
|
|
135
188
|
* @record
|
|
136
189
|
* @struct
|
|
137
190
|
*/
|
|
@@ -146,7 +199,7 @@ MediaPositionState.prototype.position;
|
|
|
146
199
|
|
|
147
200
|
|
|
148
201
|
/**
|
|
149
|
-
* @see https://
|
|
202
|
+
* @see https://wicg.github.io/mediasession/#the-mediasessionactiondetails-dictionary
|
|
150
203
|
* @record
|
|
151
204
|
* @struct
|
|
152
205
|
*/
|
|
@@ -159,4 +212,8 @@ MediaSessionActionDetails.prototype.seekOffset;
|
|
|
159
212
|
/** @type {(undefined|null|number)} */
|
|
160
213
|
MediaSessionActionDetails.prototype.seekTime;
|
|
161
214
|
/** @type {(undefined|null|boolean)} */
|
|
162
|
-
MediaSessionActionDetails.prototype.fastSeek;
|
|
215
|
+
MediaSessionActionDetails.prototype.fastSeek;
|
|
216
|
+
/** @type {(undefined|null|boolean)} */
|
|
217
|
+
MediaSessionActionDetails.prototype.isActivating;
|
|
218
|
+
/** @type {(undefined|null|MediaSessionEnterPictureInPictureReason)} */
|
|
219
|
+
MediaSessionActionDetails.prototype.enterPictureInPictureReason;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20261028.0.0",
|
|
4
4
|
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"homepage": "https://developers.google.com/closure/compiler/",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"chalk": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 <5.6.1 || ^5.6.2 >5.6.1",
|
|
44
|
-
"google-closure-compiler-java": "^
|
|
44
|
+
"google-closure-compiler-java": "^20261028.0.0",
|
|
45
45
|
"minimist": "^1.0.0",
|
|
46
46
|
"vinyl": "^3.0.1",
|
|
47
47
|
"vinyl-sourcemaps-apply": "^0.2.0"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"google-closure-compiler-linux": "^
|
|
51
|
-
"google-closure-compiler-linux-arm64": "^
|
|
52
|
-
"google-closure-compiler-macos": "^
|
|
53
|
-
"google-closure-compiler-windows": "^
|
|
50
|
+
"google-closure-compiler-linux": "^20261028.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20261028.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20261028.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20261028.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|