google-closure-compiler 20261007.0.0 → 20261015.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 +20 -4
- package/contrib/externs/maps/google_maps_api_v3_exp.js +20 -4
- package/externs/browser/nonstandard_fileapi.js +11 -0
- package/externs/browser/wicg_file_handling.js +2 -1
- package/externs/browser/wicg_mediasession.js +162 -0
- package/package.json +6 -6
|
@@ -6833,7 +6833,7 @@ google.maps.Maps3DLibrary.prototype.FlattenerElement;
|
|
|
6833
6833
|
google.maps.Maps3DLibrary.prototype.GestureHandling;
|
|
6834
6834
|
|
|
6835
6835
|
/**
|
|
6836
|
-
* Available only in the v=
|
|
6836
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
6837
6837
|
* @type {typeof google.maps.maps3d.Label3DElement}
|
|
6838
6838
|
*/
|
|
6839
6839
|
google.maps.Maps3DLibrary.prototype.Label3DElement;
|
|
@@ -16987,7 +16987,7 @@ google.maps.maps3d.GestureHandling = {
|
|
|
16987
16987
|
};
|
|
16988
16988
|
|
|
16989
16989
|
/**
|
|
16990
|
-
* Available only in the v=
|
|
16990
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
16991
16991
|
*
|
|
16992
16992
|
* Represents a text label associated with a 3D marker on a map, allowing
|
|
16993
16993
|
* independent configuration of properties such as collision behavior.
|
|
@@ -17017,7 +17017,7 @@ google.maps.maps3d.Label3DElement.prototype.collisionBehavior;
|
|
|
17017
17017
|
google.maps.maps3d.Label3DElement.prototype.for;
|
|
17018
17018
|
|
|
17019
17019
|
/**
|
|
17020
|
-
* Available only in the v=
|
|
17020
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17021
17021
|
*
|
|
17022
17022
|
* Label3DElementOptions object used to define the properties that can be set on
|
|
17023
17023
|
* a Label3DElement.
|
|
@@ -17138,6 +17138,15 @@ google.maps.maps3d.Map3DElement.prototype.cameraPosition;
|
|
|
17138
17138
|
*/
|
|
17139
17139
|
google.maps.maps3d.Map3DElement.prototype.center;
|
|
17140
17140
|
|
|
17141
|
+
/**
|
|
17142
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17143
|
+
* Specifies the color scheme for the map. If not set, defaults to {@link
|
|
17144
|
+
* google.maps.ColorScheme.FOLLOW_SYSTEM}.
|
|
17145
|
+
* @default {@link google.maps.ColorScheme.FOLLOW_SYSTEM}
|
|
17146
|
+
* @type {!google.maps.ColorScheme|null|undefined}
|
|
17147
|
+
*/
|
|
17148
|
+
google.maps.maps3d.Map3DElement.prototype.colorScheme;
|
|
17149
|
+
|
|
17141
17150
|
/**
|
|
17142
17151
|
* When <code>true</code>, all default UI buttons are hidden.
|
|
17143
17152
|
* @default <code>false</code>
|
|
@@ -17402,6 +17411,13 @@ google.maps.maps3d.Map3DElementOptions.prototype.cameraPosition;
|
|
|
17402
17411
|
*/
|
|
17403
17412
|
google.maps.maps3d.Map3DElementOptions.prototype.center;
|
|
17404
17413
|
|
|
17414
|
+
/**
|
|
17415
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17416
|
+
* See {@link google.maps.maps3d.Map3DElement.colorScheme}.
|
|
17417
|
+
* @type {!google.maps.ColorScheme|null|undefined}
|
|
17418
|
+
*/
|
|
17419
|
+
google.maps.maps3d.Map3DElementOptions.prototype.colorScheme;
|
|
17420
|
+
|
|
17405
17421
|
/**
|
|
17406
17422
|
* See {@link google.maps.maps3d.Map3DElement.defaultUIHidden}.
|
|
17407
17423
|
* @type {boolean|null|undefined}
|
|
@@ -17554,7 +17570,7 @@ google.maps.maps3d.MapMode = {
|
|
|
17554
17570
|
*/
|
|
17555
17571
|
HYBRID: 'HYBRID',
|
|
17556
17572
|
/**
|
|
17557
|
-
* Available only in the v=
|
|
17573
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17558
17574
|
* This map mode displays a normal street map.
|
|
17559
17575
|
*/
|
|
17560
17576
|
ROADMAP: 'ROADMAP',
|
|
@@ -6833,7 +6833,7 @@ google.maps.Maps3DLibrary.prototype.FlattenerElement;
|
|
|
6833
6833
|
google.maps.Maps3DLibrary.prototype.GestureHandling;
|
|
6834
6834
|
|
|
6835
6835
|
/**
|
|
6836
|
-
* Available only in the v=
|
|
6836
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
6837
6837
|
* @type {typeof google.maps.maps3d.Label3DElement}
|
|
6838
6838
|
*/
|
|
6839
6839
|
google.maps.Maps3DLibrary.prototype.Label3DElement;
|
|
@@ -16987,7 +16987,7 @@ google.maps.maps3d.GestureHandling = {
|
|
|
16987
16987
|
};
|
|
16988
16988
|
|
|
16989
16989
|
/**
|
|
16990
|
-
* Available only in the v=
|
|
16990
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
16991
16991
|
*
|
|
16992
16992
|
* Represents a text label associated with a 3D marker on a map, allowing
|
|
16993
16993
|
* independent configuration of properties such as collision behavior.
|
|
@@ -17017,7 +17017,7 @@ google.maps.maps3d.Label3DElement.prototype.collisionBehavior;
|
|
|
17017
17017
|
google.maps.maps3d.Label3DElement.prototype.for;
|
|
17018
17018
|
|
|
17019
17019
|
/**
|
|
17020
|
-
* Available only in the v=
|
|
17020
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17021
17021
|
*
|
|
17022
17022
|
* Label3DElementOptions object used to define the properties that can be set on
|
|
17023
17023
|
* a Label3DElement.
|
|
@@ -17138,6 +17138,15 @@ google.maps.maps3d.Map3DElement.prototype.cameraPosition;
|
|
|
17138
17138
|
*/
|
|
17139
17139
|
google.maps.maps3d.Map3DElement.prototype.center;
|
|
17140
17140
|
|
|
17141
|
+
/**
|
|
17142
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17143
|
+
* Specifies the color scheme for the map. If not set, defaults to {@link
|
|
17144
|
+
* google.maps.ColorScheme.FOLLOW_SYSTEM}.
|
|
17145
|
+
* @default {@link google.maps.ColorScheme.FOLLOW_SYSTEM}
|
|
17146
|
+
* @type {!google.maps.ColorScheme|null|undefined}
|
|
17147
|
+
*/
|
|
17148
|
+
google.maps.maps3d.Map3DElement.prototype.colorScheme;
|
|
17149
|
+
|
|
17141
17150
|
/**
|
|
17142
17151
|
* When <code>true</code>, all default UI buttons are hidden.
|
|
17143
17152
|
* @default <code>false</code>
|
|
@@ -17402,6 +17411,13 @@ google.maps.maps3d.Map3DElementOptions.prototype.cameraPosition;
|
|
|
17402
17411
|
*/
|
|
17403
17412
|
google.maps.maps3d.Map3DElementOptions.prototype.center;
|
|
17404
17413
|
|
|
17414
|
+
/**
|
|
17415
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17416
|
+
* See {@link google.maps.maps3d.Map3DElement.colorScheme}.
|
|
17417
|
+
* @type {!google.maps.ColorScheme|null|undefined}
|
|
17418
|
+
*/
|
|
17419
|
+
google.maps.maps3d.Map3DElementOptions.prototype.colorScheme;
|
|
17420
|
+
|
|
17405
17421
|
/**
|
|
17406
17422
|
* See {@link google.maps.maps3d.Map3DElement.defaultUIHidden}.
|
|
17407
17423
|
* @type {boolean|null|undefined}
|
|
@@ -17554,7 +17570,7 @@ google.maps.maps3d.MapMode = {
|
|
|
17554
17570
|
*/
|
|
17555
17571
|
HYBRID: 'HYBRID',
|
|
17556
17572
|
/**
|
|
17557
|
-
* Available only in the v=
|
|
17573
|
+
* Available only in the v=beta channel: https://goo.gle/3oAthT3.
|
|
17558
17574
|
* This map mode displays a normal street map.
|
|
17559
17575
|
*/
|
|
17560
17576
|
ROADMAP: 'ROADMAP',
|
|
@@ -315,9 +315,20 @@ FileError.prototype.code;
|
|
|
315
315
|
/**
|
|
316
316
|
* @see http://www.w3.org/TR/file-writer-api/#idl-def-FileSaver
|
|
317
317
|
* @constructor
|
|
318
|
+
* @implements {EventTarget}
|
|
318
319
|
*/
|
|
319
320
|
function FileSaver() {};
|
|
320
321
|
|
|
322
|
+
/** @override */
|
|
323
|
+
FileSaver.prototype.addEventListener = function(type, listener, opt_options) {};
|
|
324
|
+
|
|
325
|
+
/** @override */
|
|
326
|
+
FileSaver.prototype.removeEventListener = function(
|
|
327
|
+
type, listener, opt_options) {};
|
|
328
|
+
|
|
329
|
+
/** @override */
|
|
330
|
+
FileSaver.prototype.dispatchEvent = function(evt) {};
|
|
331
|
+
|
|
321
332
|
/**
|
|
322
333
|
* @see http://www.w3.org/TR/file-writer-api/#widl-FileSaver-abort
|
|
323
334
|
* @return {undefined}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2022 The Closure Compiler Authors
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @fileoverview The current draft spec of MediaMetadata.
|
|
19
|
+
* @see https://wicg.github.io/mediasession/
|
|
20
|
+
* @externs
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @see https://wicg.github.io/mediasession/#the-mediaimage-dictionary
|
|
25
|
+
* @record
|
|
26
|
+
* @struct
|
|
27
|
+
*/
|
|
28
|
+
function MediaImage() {}
|
|
29
|
+
|
|
30
|
+
/** @type {string} */
|
|
31
|
+
MediaImage.prototype.src;
|
|
32
|
+
|
|
33
|
+
/** @type {(string|undefined)} */
|
|
34
|
+
MediaImage.prototype.sizes;
|
|
35
|
+
|
|
36
|
+
/** @type {(string|undefined)} */
|
|
37
|
+
MediaImage.prototype.type;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* A MediaMetadata object is a representation of the metadata associated with a
|
|
42
|
+
* MediaSession that can be used by user agents to provide customized user
|
|
43
|
+
* interface.
|
|
44
|
+
* @see https://wicg.github.io/mediasession/#the-mediametadata-interface
|
|
45
|
+
* @constructor
|
|
46
|
+
* @param {?MediaMetadataInit} init
|
|
47
|
+
*/
|
|
48
|
+
function MediaMetadata(init) {}
|
|
49
|
+
|
|
50
|
+
/** @type {string} */
|
|
51
|
+
MediaMetadata.prototype.album;
|
|
52
|
+
|
|
53
|
+
/** @type {string} */
|
|
54
|
+
MediaMetadata.prototype.artist;
|
|
55
|
+
|
|
56
|
+
/** @type {!Array<!MediaImage>} */
|
|
57
|
+
MediaMetadata.prototype.artwork;
|
|
58
|
+
|
|
59
|
+
/** @type {string} */
|
|
60
|
+
MediaMetadata.prototype.title;
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @see https://wicg.github.io/mediasession/#the-mediametadata-interface
|
|
65
|
+
* @record
|
|
66
|
+
* @struct
|
|
67
|
+
*/
|
|
68
|
+
function MediaMetadataInit() {}
|
|
69
|
+
|
|
70
|
+
/** @type {(string|undefined)} */
|
|
71
|
+
MediaMetadataInit.prototype.album;
|
|
72
|
+
|
|
73
|
+
/** @type {(string|undefined)} */
|
|
74
|
+
MediaMetadataInit.prototype.artist;
|
|
75
|
+
|
|
76
|
+
/** @type {(!Array<!MediaImage>|undefined)} */
|
|
77
|
+
MediaMetadataInit.prototype.artwork;
|
|
78
|
+
|
|
79
|
+
/** @type {(string|undefined)} */
|
|
80
|
+
MediaMetadataInit.prototype.title;
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* A MediaSession objects represents a media session for a given document and
|
|
85
|
+
* allows a document to communicate to the user agent some information about the
|
|
86
|
+
* playback and how to handle it.
|
|
87
|
+
* @see https://wicg.github.io/mediasession/#the-mediasession-interface
|
|
88
|
+
* @interface
|
|
89
|
+
* @struct
|
|
90
|
+
*/
|
|
91
|
+
function MediaSession() {}
|
|
92
|
+
|
|
93
|
+
/** @type {(null|!MediaMetadata)} */
|
|
94
|
+
MediaSession.prototype.metadata;
|
|
95
|
+
|
|
96
|
+
/** @type {string} */
|
|
97
|
+
MediaSession.prototype.playbackState;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @param {string} action
|
|
101
|
+
* @param {(null|function(?): void)|(null|function(!MediaSessionActionDetails): void)} listener
|
|
102
|
+
* @return {void}
|
|
103
|
+
*/
|
|
104
|
+
MediaSession.prototype.setActionHandler = function(action, listener) {};
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/** @type {function((undefined|!MediaPositionState)=): void} */
|
|
108
|
+
MediaSession.prototype.setPositionState;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @param {boolean} active
|
|
112
|
+
* @return {void}
|
|
113
|
+
*/
|
|
114
|
+
MediaSession.prototype.setCameraActive = function(active) {};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @param {boolean} active
|
|
118
|
+
* @return {void}
|
|
119
|
+
*/
|
|
120
|
+
MediaSession.prototype.setMicrophoneActive = function(active) {};
|
|
121
|
+
|
|
122
|
+
/** @type {?MediaSession} */
|
|
123
|
+
Navigator.prototype.mediaSession;
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
/** @typedef {string} */
|
|
127
|
+
var MediaSessionPlaybackState;
|
|
128
|
+
|
|
129
|
+
/** @typedef {string} */
|
|
130
|
+
var MediaSessionAction;
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @see https://w3c.github.io/mediasession/#the-mediapositionstate-dictionary
|
|
135
|
+
* @record
|
|
136
|
+
* @struct
|
|
137
|
+
*/
|
|
138
|
+
function MediaPositionState() {}
|
|
139
|
+
|
|
140
|
+
/** @type {(undefined|number)} */
|
|
141
|
+
MediaPositionState.prototype.duration;
|
|
142
|
+
/** @type {(undefined|number)} */
|
|
143
|
+
MediaPositionState.prototype.playbackRate;
|
|
144
|
+
/** @type {(undefined|number)} */
|
|
145
|
+
MediaPositionState.prototype.position;
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @see https://w3c.github.io/mediasession/#the-mediasessionactiondetails-dictionary
|
|
150
|
+
* @record
|
|
151
|
+
* @struct
|
|
152
|
+
*/
|
|
153
|
+
function MediaSessionActionDetails() {}
|
|
154
|
+
|
|
155
|
+
/** @type {string} */
|
|
156
|
+
MediaSessionActionDetails.prototype.action;
|
|
157
|
+
/** @type {(undefined|null|number)} */
|
|
158
|
+
MediaSessionActionDetails.prototype.seekOffset;
|
|
159
|
+
/** @type {(undefined|null|number)} */
|
|
160
|
+
MediaSessionActionDetails.prototype.seekTime;
|
|
161
|
+
/** @type {(undefined|null|boolean)} */
|
|
162
|
+
MediaSessionActionDetails.prototype.fastSeek;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20261015.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": "^20261015.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": "^20261015.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20261015.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20261015.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20261015.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|