google-closure-compiler 20260622.0.0 → 20260629.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.
|
@@ -389,6 +389,17 @@ Document.prototype.createCDATASection = function(data) {};
|
|
|
389
389
|
*/
|
|
390
390
|
Document.prototype.createDocumentFragment = function() {};
|
|
391
391
|
|
|
392
|
+
/**
|
|
393
|
+
* @record
|
|
394
|
+
*/
|
|
395
|
+
function ElementCreationOptions() {}
|
|
396
|
+
|
|
397
|
+
/** @type {CustomElementRegistry|null|undefined} */
|
|
398
|
+
ElementCreationOptions.prototype.customElementRegistry;
|
|
399
|
+
|
|
400
|
+
/** @type {string|undefined} */
|
|
401
|
+
ElementCreationOptions.prototype.is;
|
|
402
|
+
|
|
392
403
|
/**
|
|
393
404
|
* Create a DOM element.
|
|
394
405
|
*
|
|
@@ -396,7 +407,7 @@ Document.prototype.createDocumentFragment = function() {};
|
|
|
396
407
|
* tags (e.g. document.createElement('button', {is: 'fancy-button'})).
|
|
397
408
|
*
|
|
398
409
|
* @param {string} tagName
|
|
399
|
-
* @param {({is: string}|string)=} opt_typeExtension
|
|
410
|
+
* @param {({is: string}|string|!ElementCreationOptions)=} opt_typeExtension
|
|
400
411
|
* @return {!Element}
|
|
401
412
|
* @nosideeffects
|
|
402
413
|
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#method-createElement
|
|
@@ -974,6 +985,7 @@ var CSSMatrixComponentOptions;
|
|
|
974
985
|
* @constructor
|
|
975
986
|
* @extends {CSSStyleValue}
|
|
976
987
|
* @implements {IArrayLike<!CSSTransformComponent>}
|
|
988
|
+
* @implements {Iterable<!CSSTransformComponent>}
|
|
977
989
|
* @param {!Array<!CSSTransformComponent>} transforms
|
|
978
990
|
*/
|
|
979
991
|
function CSSTransformValue(transforms) {}
|
|
@@ -995,6 +1007,30 @@ CSSTransformValue.prototype.toMatrix = function() {};
|
|
|
995
1007
|
*/
|
|
996
1008
|
CSSTransformValue.prototype.forEach = function(callbackfn, thisArg) {};
|
|
997
1009
|
|
|
1010
|
+
/**
|
|
1011
|
+
* @override
|
|
1012
|
+
* @return {!IteratorIterable<!CSSTransformComponent>}
|
|
1013
|
+
*/
|
|
1014
|
+
CSSTransformValue.prototype[Symbol.iterator] = function() {};
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* @return {!IteratorIterable<!Array<number|!CSSTransformComponent>>}
|
|
1018
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSTransformValue/entries
|
|
1019
|
+
*/
|
|
1020
|
+
CSSTransformValue.prototype.entries = function() {};
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* @return {!IteratorIterable<number>}
|
|
1024
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSTransformValue/keys
|
|
1025
|
+
*/
|
|
1026
|
+
CSSTransformValue.prototype.keys = function() {};
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* @return {!IteratorIterable<!CSSTransformComponent>}
|
|
1030
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSTransformValue/values
|
|
1031
|
+
*/
|
|
1032
|
+
CSSTransformValue.prototype.values = function() {};
|
|
1033
|
+
|
|
998
1034
|
/**
|
|
999
1035
|
* @constructor
|
|
1000
1036
|
* @extends {CSSTransformComponent}
|
|
@@ -1028,6 +1064,7 @@ var CSSUnparsedSegment;
|
|
|
1028
1064
|
* @constructor
|
|
1029
1065
|
* @extends {CSSStyleValue}
|
|
1030
1066
|
* @implements {IArrayLike<!CSSUnparsedSegment>}
|
|
1067
|
+
* @implements {Iterable<!CSSUnparsedSegment>}
|
|
1031
1068
|
* @param {!Array<!CSSUnparsedSegment>} members
|
|
1032
1069
|
*/
|
|
1033
1070
|
function CSSUnparsedValue(members) {}
|
|
@@ -1043,9 +1080,34 @@ CSSUnparsedValue.prototype.length;
|
|
|
1043
1080
|
*/
|
|
1044
1081
|
CSSUnparsedValue.prototype.forEach = function(callbackfn, thisArg) {};
|
|
1045
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @override
|
|
1085
|
+
* @return {!IteratorIterable<!CSSUnparsedSegment>}
|
|
1086
|
+
*/
|
|
1087
|
+
CSSUnparsedValue.prototype[Symbol.iterator] = function() {};
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* @return {!IteratorIterable<!Array<number|!CSSUnparsedSegment>>}
|
|
1091
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/entries
|
|
1092
|
+
*/
|
|
1093
|
+
CSSUnparsedValue.prototype.entries = function() {};
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* @return {!IteratorIterable<number>}
|
|
1097
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/keys
|
|
1098
|
+
*/
|
|
1099
|
+
CSSUnparsedValue.prototype.keys = function() {};
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* @return {!IteratorIterable<!CSSUnparsedSegment>}
|
|
1103
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/values
|
|
1104
|
+
*/
|
|
1105
|
+
CSSUnparsedValue.prototype.values = function() {};
|
|
1106
|
+
|
|
1046
1107
|
/**
|
|
1047
1108
|
* @constructor
|
|
1048
1109
|
* @implements {IArrayLike<!CSSNumericValue>}
|
|
1110
|
+
* @implements {Iterable<!CSSNumericValue>}
|
|
1049
1111
|
*/
|
|
1050
1112
|
function CSSNumericArray() {}
|
|
1051
1113
|
|
|
@@ -1060,6 +1122,30 @@ CSSNumericArray.prototype.forEach = function(callbackfn, thisArg) {};
|
|
|
1060
1122
|
/** @type {number} */
|
|
1061
1123
|
CSSNumericArray.prototype.length;
|
|
1062
1124
|
|
|
1125
|
+
/**
|
|
1126
|
+
* @override
|
|
1127
|
+
* @return {!IteratorIterable<!CSSNumericValue>}
|
|
1128
|
+
*/
|
|
1129
|
+
CSSNumericArray.prototype[Symbol.iterator] = function() {};
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @return {!IteratorIterable<!Array<number|!CSSNumericValue>>}
|
|
1133
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSNumericArray/entries
|
|
1134
|
+
*/
|
|
1135
|
+
CSSNumericArray.prototype.entries = function() {};
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* @return {!IteratorIterable<number>}
|
|
1139
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSNumericArray/keys
|
|
1140
|
+
*/
|
|
1141
|
+
CSSNumericArray.prototype.keys = function() {};
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* @return {!IteratorIterable<!CSSNumericValue>}
|
|
1145
|
+
* @see https://developer.mozilla.org/docs/Web/API/CSSNumericArray/values
|
|
1146
|
+
*/
|
|
1147
|
+
CSSNumericArray.prototype.values = function() {};
|
|
1148
|
+
|
|
1063
1149
|
/**
|
|
1064
1150
|
* @constructor
|
|
1065
1151
|
* @extends {CSSMathValue}
|
|
@@ -1168,10 +1254,14 @@ function CSSSkewY(ay) {}
|
|
|
1168
1254
|
|
|
1169
1255
|
/**
|
|
1170
1256
|
* @constructor
|
|
1257
|
+
* @implements {Iterable<!Array<string|!Iterable<!CSSStyleValue>>>}
|
|
1171
1258
|
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly
|
|
1172
1259
|
*/
|
|
1173
1260
|
function StylePropertyMapReadOnly() {}
|
|
1174
1261
|
|
|
1262
|
+
/** @override */
|
|
1263
|
+
StylePropertyMapReadOnly.prototype[Symbol.iterator] = function() {};
|
|
1264
|
+
|
|
1175
1265
|
/**
|
|
1176
1266
|
* @const {number}
|
|
1177
1267
|
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size
|
|
@@ -1206,6 +1296,21 @@ StylePropertyMapReadOnly.prototype.has = function(property) {}
|
|
|
1206
1296
|
*/
|
|
1207
1297
|
StylePropertyMapReadOnly.prototype.forEach = function(callbackfn, opt_thisArg) {}
|
|
1208
1298
|
|
|
1299
|
+
/**
|
|
1300
|
+
* @return {!IteratorIterable<!Array<string|!Iterable<!CSSStyleValue>>>}
|
|
1301
|
+
*/
|
|
1302
|
+
StylePropertyMapReadOnly.prototype.entries = function() {};
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* @return {!IteratorIterable<string>}
|
|
1306
|
+
*/
|
|
1307
|
+
StylePropertyMapReadOnly.prototype.keys = function() {};
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* @return {!IteratorIterable<!Iterable<!CSSStyleValue>>}
|
|
1311
|
+
*/
|
|
1312
|
+
StylePropertyMapReadOnly.prototype.values = function() {};
|
|
1313
|
+
|
|
1209
1314
|
/**
|
|
1210
1315
|
* @typedef {{
|
|
1211
1316
|
* serializableShadowRoots: (boolean|undefined),
|
|
@@ -1228,6 +1333,12 @@ function Element() {}
|
|
|
1228
1333
|
*/
|
|
1229
1334
|
Element.prototype.part;
|
|
1230
1335
|
|
|
1336
|
+
/**
|
|
1337
|
+
* @type {?CustomElementRegistry}
|
|
1338
|
+
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry
|
|
1339
|
+
*/
|
|
1340
|
+
Element.prototype.customElementRegistry;
|
|
1341
|
+
|
|
1231
1342
|
/**
|
|
1232
1343
|
* @type {string}
|
|
1233
1344
|
* @implicitCast
|
|
@@ -1354,6 +1465,7 @@ Element.prototype.setAttributeNode = function(newAttr) {};
|
|
|
1354
1465
|
/** @type {?function (Event)} */ Element.prototype.onfocusin;
|
|
1355
1466
|
/** @type {?function (Event)} */ Element.prototype.onfocusout;
|
|
1356
1467
|
/** @type {?function (Event)} */ Element.prototype.oninput;
|
|
1468
|
+
/** @type {?function (Event)} */ Element.prototype.oncommand;
|
|
1357
1469
|
/** @type {?function (Event)} */ Element.prototype.onkeydown;
|
|
1358
1470
|
/** @type {?function (Event)} */ Element.prototype.onkeypress;
|
|
1359
1471
|
/** @type {?function (Event)} */ Element.prototype.onkeyup;
|
|
@@ -1507,6 +1619,8 @@ Window.prototype.onerror;
|
|
|
1507
1619
|
/** @type {?function (!Event)} */ Window.prototype.onpagereveal;
|
|
1508
1620
|
/** @type {?function (Event)} */ Window.prototype.onfocus;
|
|
1509
1621
|
/** @type {?function (Event)} */ Window.prototype.onhashchange;
|
|
1622
|
+
/** @type {?function (Event)} */ Window.prototype.oninput;
|
|
1623
|
+
/** @type {?function (Event)} */ Window.prototype.oncommand;
|
|
1510
1624
|
/** @type {?function (Event)} */ Window.prototype.onkeydown;
|
|
1511
1625
|
/** @type {?function (Event)} */ Window.prototype.onkeypress;
|
|
1512
1626
|
/** @type {?function (Event)} */ Window.prototype.onkeyup;
|
|
@@ -35,7 +35,7 @@ Document.prototype.getElementById = function(s) {};
|
|
|
35
35
|
/**
|
|
36
36
|
* @param {?string} namespaceURI
|
|
37
37
|
* @param {string} qualifiedName
|
|
38
|
-
* @param {string=} opt_typeExtension
|
|
38
|
+
* @param {(string|!ElementCreationOptions)=} opt_typeExtension
|
|
39
39
|
* @return {!Element}
|
|
40
40
|
* @see https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#ID-DocCrElNS
|
|
41
41
|
*/
|
|
@@ -489,6 +489,21 @@ HTMLElement.prototype.outerText;
|
|
|
489
489
|
*/
|
|
490
490
|
HTMLElement.prototype.popover;
|
|
491
491
|
|
|
492
|
+
/** @record */
|
|
493
|
+
function ShowPopoverOptions() {}
|
|
494
|
+
|
|
495
|
+
/** @type {!HTMLElement|undefined} */
|
|
496
|
+
ShowPopoverOptions.prototype.source;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @record
|
|
500
|
+
* @extends {ShowPopoverOptions}
|
|
501
|
+
*/
|
|
502
|
+
function TogglePopoverOptions() {}
|
|
503
|
+
|
|
504
|
+
/** @type {boolean|undefined} */
|
|
505
|
+
TogglePopoverOptions.prototype.force;
|
|
506
|
+
|
|
492
507
|
/**
|
|
493
508
|
* @return {undefined}
|
|
494
509
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidePopover
|
|
@@ -496,17 +511,19 @@ HTMLElement.prototype.popover;
|
|
|
496
511
|
HTMLElement.prototype.hidePopover = function() {};
|
|
497
512
|
|
|
498
513
|
/**
|
|
514
|
+
* @param {!ShowPopoverOptions=} opt_options
|
|
499
515
|
* @return {undefined}
|
|
500
516
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/showPopover
|
|
501
517
|
*/
|
|
502
|
-
HTMLElement.prototype.showPopover = function() {};
|
|
518
|
+
HTMLElement.prototype.showPopover = function(opt_options) {};
|
|
503
519
|
|
|
504
520
|
/**
|
|
505
|
-
* @param {boolean=}
|
|
521
|
+
* @param {(!TogglePopoverOptions|boolean)=} opt_options
|
|
506
522
|
* @return {boolean}
|
|
507
523
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/togglePopover
|
|
508
524
|
*/
|
|
509
|
-
HTMLElement.prototype.togglePopover = function(
|
|
525
|
+
HTMLElement.prototype.togglePopover = function(opt_options) {};
|
|
526
|
+
|
|
510
527
|
|
|
511
528
|
/**
|
|
512
529
|
* @type {number}
|
|
@@ -798,10 +815,18 @@ HTMLFormControlsCollection.prototype.namedItem = function(name) {};
|
|
|
798
815
|
/**
|
|
799
816
|
* @constructor
|
|
800
817
|
* @extends {HTMLElement}
|
|
818
|
+
* @implements {Iterable<!Element>}
|
|
801
819
|
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40002357
|
|
802
820
|
*/
|
|
803
821
|
function HTMLFormElement() {}
|
|
804
822
|
|
|
823
|
+
/**
|
|
824
|
+
* @return {!IteratorIterable<!Element>}
|
|
825
|
+
* @nosideeffects
|
|
826
|
+
* @override
|
|
827
|
+
*/
|
|
828
|
+
HTMLFormElement.prototype[Symbol.iterator] = function() {};
|
|
829
|
+
|
|
805
830
|
/**
|
|
806
831
|
* @type {!HTMLFormControlsCollection<!HTMLElement>}
|
|
807
832
|
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-76728479
|
|
@@ -866,10 +891,18 @@ HTMLFormElement.prototype.reset = function() {};
|
|
|
866
891
|
/**
|
|
867
892
|
* @constructor
|
|
868
893
|
* @extends {HTMLElement}
|
|
894
|
+
* @implements {Iterable<!HTMLOptionElement>}
|
|
869
895
|
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-94282980
|
|
870
896
|
*/
|
|
871
897
|
function HTMLSelectElement() {}
|
|
872
898
|
|
|
899
|
+
/**
|
|
900
|
+
* @return {!IteratorIterable<!HTMLOptionElement>}
|
|
901
|
+
* @nosideeffects
|
|
902
|
+
* @override
|
|
903
|
+
*/
|
|
904
|
+
HTMLSelectElement.prototype[Symbol.iterator] = function() {};
|
|
905
|
+
|
|
873
906
|
/**
|
|
874
907
|
* @type {string}
|
|
875
908
|
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-58783172
|
|
@@ -1826,9 +1859,13 @@ HTMLAnchorElement.prototype.attributionSrc;
|
|
|
1826
1859
|
/**
|
|
1827
1860
|
* @constructor
|
|
1828
1861
|
* @implements {IArrayLike<!Element>}
|
|
1862
|
+
* @implements {Iterable<!Element>}
|
|
1829
1863
|
*/
|
|
1830
1864
|
function HTMLAllCollection() {}
|
|
1831
1865
|
|
|
1866
|
+
/** @override */
|
|
1867
|
+
HTMLAllCollection.prototype[Symbol.iterator] = function() {};
|
|
1868
|
+
|
|
1832
1869
|
/** @type {number} */
|
|
1833
1870
|
HTMLAllCollection.prototype.length;
|
|
1834
1871
|
|
|
@@ -663,3 +663,31 @@ function BeforeUnloadEvent() {}
|
|
|
663
663
|
|
|
664
664
|
/** @type {?} */
|
|
665
665
|
BeforeUnloadEvent.prototype.returnValue;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @record
|
|
669
|
+
* @extends {EventInit}
|
|
670
|
+
*/
|
|
671
|
+
function CommandEventInit() {}
|
|
672
|
+
|
|
673
|
+
/** @type {string|undefined} */
|
|
674
|
+
CommandEventInit.prototype.command;
|
|
675
|
+
|
|
676
|
+
/** @type {Element|null|undefined} */
|
|
677
|
+
CommandEventInit.prototype.source;
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* @constructor
|
|
682
|
+
* @extends {Event}
|
|
683
|
+
* @param {string} type
|
|
684
|
+
* @param {CommandEventInit=} opt_eventInitDict
|
|
685
|
+
* @see https://developer.mozilla.org/docs/Web/API/CommandEvent
|
|
686
|
+
*/
|
|
687
|
+
function CommandEvent(type, opt_eventInitDict) {}
|
|
688
|
+
|
|
689
|
+
/** @type {string} */
|
|
690
|
+
CommandEvent.prototype.command;
|
|
691
|
+
|
|
692
|
+
/** @type {!Element|null} */
|
|
693
|
+
CommandEvent.prototype.source;
|
|
@@ -262,6 +262,7 @@ DOMQuad.prototype.getBounds = function() {};
|
|
|
262
262
|
/**
|
|
263
263
|
* @constructor
|
|
264
264
|
* @implements {IArrayLike<!DOMRect>}
|
|
265
|
+
* @implements {Iterable<!DOMRect>}
|
|
265
266
|
*/
|
|
266
267
|
function DOMRectList() {}
|
|
267
268
|
|
|
@@ -274,6 +275,12 @@ DOMRectList.prototype.length;
|
|
|
274
275
|
*/
|
|
275
276
|
DOMRectList.prototype.item = function(index) {};
|
|
276
277
|
|
|
278
|
+
/**
|
|
279
|
+
* @override
|
|
280
|
+
* @return {!IteratorIterable<!DOMRect>}
|
|
281
|
+
*/
|
|
282
|
+
DOMRectList.prototype[Symbol.iterator] = function() {};
|
|
283
|
+
|
|
277
284
|
/**
|
|
278
285
|
* @constructor
|
|
279
286
|
* @param {number=} x
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20260629.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": "^20260629.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": "^20260629.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20260629.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20260629.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20260629.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|