google-closure-compiler 20260803.0.0 → 20260809.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.
@@ -16909,6 +16909,58 @@ google.maps.maps3d.GestureHandling = {
16909
16909
  GREEDY: 'GREEDY',
16910
16910
  };
16911
16911
 
16912
+ /**
16913
+ * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16914
+ *
16915
+ * Represents a text label associated with a 3D marker on a map, allowing
16916
+ * independent configuration of properties such as collision behavior.
16917
+ *
16918
+ * Access by calling `const {Label3DElement} = await
16919
+ * google.maps.importLibrary("maps3d");`. See
16920
+ * https://developers.google.com/maps/documentation/javascript/libraries.
16921
+ * @param {!google.maps.maps3d.Label3DElementOptions=} options
16922
+ * @implements {google.maps.maps3d.Label3DElementOptions}
16923
+ * @extends {HTMLElement}
16924
+ * @constructor
16925
+ */
16926
+ google.maps.maps3d.Label3DElement = function(options) {};
16927
+
16928
+ /**
16929
+ * An enumeration specifying how the label of a Marker3DElement should behave
16930
+ * when it collides with another element.
16931
+ * @default {@link google.maps.CollisionBehavior.REQUIRED}
16932
+ * @type {!google.maps.CollisionBehavior|null|undefined}
16933
+ */
16934
+ google.maps.maps3d.Label3DElement.prototype.collisionBehavior;
16935
+
16936
+ /**
16937
+ * The Marker3DElement that this label is for.
16938
+ * @type {string|!HTMLElement|null|undefined}
16939
+ */
16940
+ google.maps.maps3d.Label3DElement.prototype.for;
16941
+
16942
+ /**
16943
+ * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16944
+ *
16945
+ * Label3DElementOptions object used to define the properties that can be set on
16946
+ * a Label3DElement.
16947
+ * @record
16948
+ */
16949
+ google.maps.maps3d.Label3DElementOptions = function() {};
16950
+
16951
+ /**
16952
+ * An enumeration specifying how the label of a Marker3DElement should behave
16953
+ * when it collides with another element.
16954
+ * @type {!google.maps.CollisionBehavior|null|undefined}
16955
+ */
16956
+ google.maps.maps3d.Label3DElementOptions.prototype.collisionBehavior;
16957
+
16958
+ /**
16959
+ * The Marker3DElement that this label is for.
16960
+ * @type {string|!HTMLElement|null|undefined}
16961
+ */
16962
+ google.maps.maps3d.Label3DElementOptions.prototype.for;
16963
+
16912
16964
  /**
16913
16965
  * This event is created from clicking a Map3DElement.
16914
16966
  *
@@ -27331,6 +27383,15 @@ google.maps.routes.Route3DElement.prototype.routes;
27331
27383
  */
27332
27384
  google.maps.routes.Route3DElement.prototype.routingPreference;
27333
27385
 
27386
+ /**
27387
+ * Whether to disable traffic-aware polylines. Traffic aware polylines are only
27388
+ * available when routingPreference is set to TRAFFIC_AWARE or
27389
+ * TRAFFIC_AWARE_OPTIMAL.
27390
+ * @default <code>false</code>
27391
+ * @type {boolean|null|undefined}
27392
+ */
27393
+ google.maps.routes.Route3DElement.prototype.trafficPolylinesDisabled;
27394
+
27334
27395
  /**
27335
27396
  * If provided, the polyline is based on the specified travel mode.
27336
27397
  * @type {!google.maps.TravelMode|null|undefined}
@@ -27380,6 +27441,14 @@ google.maps.routes.Route3DElementOptions.prototype.origin;
27380
27441
  */
27381
27442
  google.maps.routes.Route3DElementOptions.prototype.routingPreference;
27382
27443
 
27444
+ /**
27445
+ * Whether to disable traffic-aware polylines. Traffic aware polylines are only
27446
+ * available when routingPreference is set to TRAFFIC_AWARE or
27447
+ * TRAFFIC_AWARE_OPTIMAL.
27448
+ * @type {boolean|null|undefined}
27449
+ */
27450
+ google.maps.routes.Route3DElementOptions.prototype.trafficPolylinesDisabled;
27451
+
27383
27452
  /**
27384
27453
  * See {@link google.maps.routes.Route3DElement.travelMode}.
27385
27454
  * @type {!google.maps.TravelMode|null|undefined}
@@ -16909,6 +16909,58 @@ google.maps.maps3d.GestureHandling = {
16909
16909
  GREEDY: 'GREEDY',
16910
16910
  };
16911
16911
 
16912
+ /**
16913
+ * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16914
+ *
16915
+ * Represents a text label associated with a 3D marker on a map, allowing
16916
+ * independent configuration of properties such as collision behavior.
16917
+ *
16918
+ * Access by calling `const {Label3DElement} = await
16919
+ * google.maps.importLibrary("maps3d");`. See
16920
+ * https://developers.google.com/maps/documentation/javascript/libraries.
16921
+ * @param {!google.maps.maps3d.Label3DElementOptions=} options
16922
+ * @implements {google.maps.maps3d.Label3DElementOptions}
16923
+ * @extends {HTMLElement}
16924
+ * @constructor
16925
+ */
16926
+ google.maps.maps3d.Label3DElement = function(options) {};
16927
+
16928
+ /**
16929
+ * An enumeration specifying how the label of a Marker3DElement should behave
16930
+ * when it collides with another element.
16931
+ * @default {@link google.maps.CollisionBehavior.REQUIRED}
16932
+ * @type {!google.maps.CollisionBehavior|null|undefined}
16933
+ */
16934
+ google.maps.maps3d.Label3DElement.prototype.collisionBehavior;
16935
+
16936
+ /**
16937
+ * The Marker3DElement that this label is for.
16938
+ * @type {string|!HTMLElement|null|undefined}
16939
+ */
16940
+ google.maps.maps3d.Label3DElement.prototype.for;
16941
+
16942
+ /**
16943
+ * Available only in the v=alpha channel: https://goo.gle/js-alpha-channel.
16944
+ *
16945
+ * Label3DElementOptions object used to define the properties that can be set on
16946
+ * a Label3DElement.
16947
+ * @record
16948
+ */
16949
+ google.maps.maps3d.Label3DElementOptions = function() {};
16950
+
16951
+ /**
16952
+ * An enumeration specifying how the label of a Marker3DElement should behave
16953
+ * when it collides with another element.
16954
+ * @type {!google.maps.CollisionBehavior|null|undefined}
16955
+ */
16956
+ google.maps.maps3d.Label3DElementOptions.prototype.collisionBehavior;
16957
+
16958
+ /**
16959
+ * The Marker3DElement that this label is for.
16960
+ * @type {string|!HTMLElement|null|undefined}
16961
+ */
16962
+ google.maps.maps3d.Label3DElementOptions.prototype.for;
16963
+
16912
16964
  /**
16913
16965
  * This event is created from clicking a Map3DElement.
16914
16966
  *
@@ -27331,6 +27383,15 @@ google.maps.routes.Route3DElement.prototype.routes;
27331
27383
  */
27332
27384
  google.maps.routes.Route3DElement.prototype.routingPreference;
27333
27385
 
27386
+ /**
27387
+ * Whether to disable traffic-aware polylines. Traffic aware polylines are only
27388
+ * available when routingPreference is set to TRAFFIC_AWARE or
27389
+ * TRAFFIC_AWARE_OPTIMAL.
27390
+ * @default <code>false</code>
27391
+ * @type {boolean|null|undefined}
27392
+ */
27393
+ google.maps.routes.Route3DElement.prototype.trafficPolylinesDisabled;
27394
+
27334
27395
  /**
27335
27396
  * If provided, the polyline is based on the specified travel mode.
27336
27397
  * @type {!google.maps.TravelMode|null|undefined}
@@ -27380,6 +27441,14 @@ google.maps.routes.Route3DElementOptions.prototype.origin;
27380
27441
  */
27381
27442
  google.maps.routes.Route3DElementOptions.prototype.routingPreference;
27382
27443
 
27444
+ /**
27445
+ * Whether to disable traffic-aware polylines. Traffic aware polylines are only
27446
+ * available when routingPreference is set to TRAFFIC_AWARE or
27447
+ * TRAFFIC_AWARE_OPTIMAL.
27448
+ * @type {boolean|null|undefined}
27449
+ */
27450
+ google.maps.routes.Route3DElementOptions.prototype.trafficPolylinesDisabled;
27451
+
27383
27452
  /**
27384
27453
  * See {@link google.maps.routes.Route3DElement.travelMode}.
27385
27454
  * @type {!google.maps.TravelMode|null|undefined}
@@ -717,7 +717,7 @@ RTCEncodedVideoFrame.prototype.timestamp;
717
717
 
718
718
 
719
719
  /**
720
- * @const {string}
720
+ * @const {!EncodedVideoChunkType}
721
721
  */
722
722
  RTCEncodedVideoFrame.prototype.type;
723
723
 
@@ -802,7 +802,7 @@ RTCDTMFSender.prototype.toneBuffer;
802
802
  *
803
803
  * @see https://www.w3.org/TR/webrtc/#dom-rtcrtpcodeccapability
804
804
  */
805
- var RTCRtpCodecCapability;
805
+ var RTCRtpCodec;
806
806
 
807
807
 
808
808
  /**
@@ -817,7 +817,7 @@ var RTCRtpHeaderExtensionCapability;
817
817
 
818
818
  /**
819
819
  * @typedef {{
820
- * codecs: !Array<!RTCRtpCodecCapability>,
820
+ * codecs: !Array<!RTCRtpCodec>,
821
821
  * headerExtensions: !Array<!RTCRtpHeaderExtensionCapability>,
822
822
  * }}
823
823
  *
@@ -939,6 +939,11 @@ function RTCRtpReceiveParameters() {}
939
939
  */
940
940
  function RTCRtpScriptTransform(worker, options, transfer) {}
941
941
 
942
+ /** @typedef {!RTCRtpScriptTransform} */
943
+ var RTCRtpReceiverTransform;
944
+
945
+ /** @typedef {!RTCRtpScriptTransform} */
946
+ var RTCRtpSenderTransform;
942
947
  /**
943
948
  * @constructor
944
949
  * @see https://www.w3.org/TR/webrtc/#rtcrtpsender-interface
@@ -961,7 +966,7 @@ RTCRtpSender.prototype.track;
961
966
  RTCRtpSender.prototype.transport;
962
967
 
963
968
  /**
964
- * @const {?RTCRtpScriptTransform}
969
+ * @const {?RTCRtpSenderTransform}
965
970
  */
966
971
  RTCRtpSender.prototype.transform;
967
972
 
@@ -1065,7 +1070,7 @@ RTCRtpReceiver.prototype.track;
1065
1070
  */
1066
1071
  RTCRtpReceiver.prototype.transport;
1067
1072
 
1068
- /** @type {?RTCRtpScriptTransform} */
1073
+ /** @type {?RTCRtpReceiverTransform} */
1069
1074
  RTCRtpReceiver.prototype.transform;
1070
1075
 
1071
1076
  /**
@@ -1240,7 +1245,8 @@ RTCRtpTransceiver.prototype.sender;
1240
1245
  RTCRtpTransceiver.prototype.receiver;
1241
1246
 
1242
1247
  /**
1243
- * @param {!Array<!RTCRtpCodecCapability>} codecs
1248
+ * @param {!Array<!RTCRtpCodec>|!Iterable<!RTCRtpCodec>}
1249
+ * codecs
1244
1250
  */
1245
1251
  RTCRtpTransceiver.prototype.setCodecPreferences = function(codecs) {};
1246
1252
 
@@ -1309,6 +1315,17 @@ ConstrainDOMStringParameters.prototype.exact;
1309
1315
  */
1310
1316
  ConstrainDOMStringParameters.prototype.ideal;
1311
1317
 
1318
+ /**
1319
+ * @record
1320
+ */
1321
+ function ConstrainBooleanOrDOMStringParameters() {}
1322
+
1323
+ /** @type {boolean|string|undefined} */
1324
+ ConstrainBooleanOrDOMStringParameters.prototype.exact;
1325
+
1326
+ /** @type {boolean|string|undefined} */
1327
+ ConstrainBooleanOrDOMStringParameters.prototype.ideal;
1328
+
1312
1329
  /**
1313
1330
  * @see https://w3c.github.io/mediacapture-main/getusermedia.html#dom-constraindoublerange
1314
1331
  * @record
@@ -1356,6 +1373,11 @@ var ConstrainBoolean;
1356
1373
  */
1357
1374
  var ConstrainDOMString;
1358
1375
 
1376
+ /**
1377
+ * @typedef {boolean|string|!ConstrainBooleanOrDOMStringParameters}
1378
+ */
1379
+ var ConstrainBooleanOrDOMString;
1380
+
1359
1381
  /**
1360
1382
  * @see https://w3c.github.io/mediacapture-main/getusermedia.html#dom-constraindouble
1361
1383
  * @typedef {number|ConstrainDoubleRange}
@@ -1398,7 +1420,7 @@ MediaTrackConstraintSet.prototype.channelCount;
1398
1420
  MediaTrackConstraintSet.prototype.deviceId;
1399
1421
 
1400
1422
  /**
1401
- * @type {ConstrainBoolean|undefined}
1423
+ * @type {ConstrainBooleanOrDOMString|undefined}
1402
1424
  */
1403
1425
  MediaTrackConstraintSet.prototype.echoCancellation;
1404
1426
 
@@ -3178,7 +3200,7 @@ RTCCertificateStats.prototype.issuerCertificateId;
3178
3200
 
3179
3201
  /**
3180
3202
  * @interface
3181
- * @extends {Iterable<!Array<string|!RTCStats>>}
3203
+ * @extends {ReadonlyMap<string, *>}
3182
3204
  * @see https://w3c.github.io/webrtc-pc/#rtcstatsreport-object
3183
3205
  */
3184
3206
  function RTCStatsReport() {}
@@ -3221,50 +3243,6 @@ RTCStatsReport.prototype.type;
3221
3243
  */
3222
3244
  RTCStatsReport.prototype.id;
3223
3245
 
3224
- // Note: Below are Map like methods supported by WebRTC statistics
3225
- // specification-compliant RTCStatsReport. Currently only implemented by
3226
- // Mozilla.
3227
- // See https://www.w3.org/TR/webrtc/#rtcstatsreport-object for definition.
3228
- /**
3229
- * @param {function(this:SCOPE, !RTCStats, string, MAP)} callback
3230
- * @param {SCOPE=} opt_thisObj The value of "this" inside callback function.
3231
- * @this {MAP}
3232
- * @template MAP,SCOPE
3233
- */
3234
- RTCStatsReport.prototype.forEach = function(callback, opt_thisObj) {};
3235
-
3236
- /**
3237
- * @param {string} key
3238
- * @return {!IteratorIterable<!Array<string|!RTCStats>>}
3239
- */
3240
- RTCStatsReport.prototype.entries = function(key) {};
3241
-
3242
- /**
3243
- * @param {string} key
3244
- * @return {!RTCStats}
3245
- */
3246
- RTCStatsReport.prototype.get = function(key) {};
3247
-
3248
- /**
3249
- * @return {!IteratorIterable<string>}
3250
- */
3251
- RTCStatsReport.prototype.keys = function() {};
3252
-
3253
- /**
3254
- * @return {!IteratorIterable<!RTCStats>}
3255
- */
3256
- RTCStatsReport.prototype.values = function() {};
3257
-
3258
- /**
3259
- * @param {string} key
3260
- * @return {boolean}
3261
- */
3262
- RTCStatsReport.prototype.has = function(key) {};
3263
-
3264
- /**
3265
- * @const {number}
3266
- */
3267
- RTCStatsReport.prototype.size;
3268
3246
 
3269
3247
  /**
3270
3248
  * @return {!IteratorIterable<!Array<string|!RTCStats>>}
@@ -0,0 +1,157 @@
1
+ /*
2
+ * Copyright 2026 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 Externs for the HTML Sanitizer API.
19
+ * @see https://wicg.github.io/sanitizer-api/
20
+ * @externs
21
+ */
22
+
23
+ /**
24
+ * @record
25
+ * @see https://wicg.github.io/sanitizer-api/#dictdef-sanitizerattributenamespace
26
+ */
27
+ function SanitizerAttributeNamespace() {}
28
+ /** @type {string} */
29
+ SanitizerAttributeNamespace.prototype.name;
30
+ /** @type {string|null|undefined} */
31
+ SanitizerAttributeNamespace.prototype.namespace;
32
+
33
+ /**
34
+ * @record
35
+ * @see https://wicg.github.io/sanitizer-api/#dictdef-sanitizerconfig
36
+ */
37
+ function SanitizerConfig() {}
38
+ /** @type {!Array<!SanitizerAttribute>|undefined} */
39
+ SanitizerConfig.prototype.attributes;
40
+ /** @type {boolean|undefined} */
41
+ SanitizerConfig.prototype.comments;
42
+ /** @type {boolean|undefined} */
43
+ SanitizerConfig.prototype.dataAttributes;
44
+ /** @type {!Array<!SanitizerElementWithAttributes>|undefined} */
45
+ SanitizerConfig.prototype.elements;
46
+ /** @type {!Array<!SanitizerAttribute>|undefined} */
47
+ SanitizerConfig.prototype.removeAttributes;
48
+ /** @type {!Array<!SanitizerElement>|undefined} */
49
+ SanitizerConfig.prototype.removeElements;
50
+ /** @type {!Array<!SanitizerElement>|undefined} */
51
+ SanitizerConfig.prototype.replaceWithChildrenElements;
52
+
53
+ /**
54
+ * @record
55
+ * @see https://wicg.github.io/sanitizer-api/#dictdef-sanitizerelementnamespace
56
+ */
57
+ function SanitizerElementNamespace() {}
58
+ /** @type {string} */
59
+ SanitizerElementNamespace.prototype.name;
60
+ /** @type {string|null|undefined} */
61
+ SanitizerElementNamespace.prototype.namespace;
62
+
63
+
64
+ /**
65
+ * @record
66
+ * @extends {SanitizerElementNamespace}
67
+ * @see https://wicg.github.io/sanitizer-api/#dictdef-sanitizerelementnamespacewithattributes
68
+ */
69
+ function SanitizerElementNamespaceWithAttributes() {}
70
+ /** @type {!Array<!SanitizerAttribute>|undefined} */
71
+ SanitizerElementNamespaceWithAttributes.prototype.attributes;
72
+ /** @type {!Array<!SanitizerAttribute>|undefined} */
73
+ SanitizerElementNamespaceWithAttributes.prototype.removeAttributes;
74
+
75
+ /**
76
+ * @constructor
77
+ * @param {!SanitizerConfig|!SanitizerPresets=} opt_configuration
78
+ * @see https://wicg.github.io/sanitizer-api/#sanitizer
79
+ */
80
+ function Sanitizer(opt_configuration) {}
81
+
82
+ /**
83
+ * @param {!SanitizerAttribute} attribute
84
+ * @return {boolean}
85
+ */
86
+ Sanitizer.prototype.allowAttribute = function(attribute) {};
87
+
88
+ /**
89
+ * @param {!SanitizerElementWithAttributes} element
90
+ * @return {boolean}
91
+ */
92
+ Sanitizer.prototype.allowElement = function(element) {};
93
+
94
+ /**
95
+ * @return {!SanitizerConfig}
96
+ */
97
+ Sanitizer.prototype.get = function() {};
98
+
99
+ /**
100
+ * @param {!SanitizerAttribute} attribute
101
+ * @return {boolean}
102
+ */
103
+ Sanitizer.prototype.removeAttribute = function(attribute) {};
104
+
105
+ /**
106
+ * @param {!SanitizerElement} element
107
+ * @return {boolean}
108
+ */
109
+ Sanitizer.prototype.removeElement = function(element) {};
110
+
111
+ /**
112
+ * @return {boolean}
113
+ */
114
+ Sanitizer.prototype.removeUnsafe = function() {};
115
+
116
+ /**
117
+ * @param {!SanitizerElement} element
118
+ * @return {boolean}
119
+ */
120
+ Sanitizer.prototype.replaceElementWithChildren = function(element) {};
121
+
122
+ /**
123
+ * @param {boolean} allow
124
+ * @return {boolean}
125
+ */
126
+ Sanitizer.prototype.setComments = function(allow) {};
127
+
128
+ /**
129
+ * @param {boolean} allow
130
+ * @return {boolean}
131
+ */
132
+ Sanitizer.prototype.setDataAttributes = function(allow) {};
133
+
134
+ /**
135
+ * @typedef {string|!SanitizerAttributeNamespace}
136
+ * @see https://wicg.github.io/sanitizer-api/#typedefdef-sanitizerattribute
137
+ */
138
+ var SanitizerAttribute;
139
+
140
+ /**
141
+ * @typedef {string|!SanitizerElementNamespace}
142
+ * @see https://wicg.github.io/sanitizer-api/#typedefdef-sanitizerelement
143
+ */
144
+ var SanitizerElement;
145
+
146
+ /**
147
+ * @typedef {string|!SanitizerElementNamespaceWithAttributes}
148
+ * @see https://wicg.github.io/sanitizer-api/#typedefdef-sanitizerelementwithattributes
149
+ */
150
+ var SanitizerElementWithAttributes;
151
+
152
+ /**
153
+ * @typedef {string}
154
+ * Valid values: 'default'.
155
+ * @see https://wicg.github.io/sanitizer-api/#enumdef-sanitizerpresets
156
+ */
157
+ var SanitizerPresets;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-closure-compiler",
3
- "version": "20260803.0.0",
3
+ "version": "20260809.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": "^20260803.0.0",
44
+ "google-closure-compiler-java": "^20260809.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": "^20260803.0.0",
51
- "google-closure-compiler-linux-arm64": "^20260803.0.0",
52
- "google-closure-compiler-macos": "^20260803.0.0",
53
- "google-closure-compiler-windows": "^20260803.0.0"
50
+ "google-closure-compiler-linux": "^20260809.0.0",
51
+ "google-closure-compiler-linux-arm64": "^20260809.0.0",
52
+ "google-closure-compiler-macos": "^20260809.0.0",
53
+ "google-closure-compiler-windows": "^20260809.0.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "gulp": "^5.0.1",