google-closure-compiler 20261108.0.0 → 20261112.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.
|
@@ -3743,8 +3743,16 @@ Window.prototype.pageYOffset;
|
|
|
3743
3743
|
|
|
3744
3744
|
/**
|
|
3745
3745
|
* @typedef {{
|
|
3746
|
-
*
|
|
3746
|
+
* behavior: (string|undefined)
|
|
3747
|
+
* }}
|
|
3748
|
+
* @see https://www.w3.org/TR/cssom-view/#dictdef-scrolloptions
|
|
3749
|
+
*/
|
|
3750
|
+
var ScrollOptions;
|
|
3751
|
+
|
|
3752
|
+
/**
|
|
3753
|
+
* @typedef {{
|
|
3747
3754
|
* top: (number|undefined),
|
|
3755
|
+
* left: (number|undefined),
|
|
3748
3756
|
* behavior: (string|undefined)
|
|
3749
3757
|
* }}
|
|
3750
3758
|
* @see https://www.w3.org/TR/cssom-view/#dictdef-scrolltooptions
|
|
@@ -3767,28 +3775,28 @@ ScrollIntoViewOptions.prototype.block;
|
|
|
3767
3775
|
ScrollIntoViewOptions.prototype.inline;
|
|
3768
3776
|
|
|
3769
3777
|
/**
|
|
3770
|
-
* @param {number|!ScrollToOptions}
|
|
3778
|
+
* @param {(number|!ScrollToOptions)=} opt_xOrOptions
|
|
3771
3779
|
* @param {number=} opt_y
|
|
3772
3780
|
* @see http://www.w3.org/TR/cssom-view/#dom-window-scroll
|
|
3773
3781
|
* @return {undefined}
|
|
3774
3782
|
*/
|
|
3775
|
-
Window.prototype.scroll = function(
|
|
3783
|
+
Window.prototype.scroll = function(opt_xOrOptions, opt_y) {};
|
|
3776
3784
|
|
|
3777
3785
|
/**
|
|
3778
|
-
* @param {number|!ScrollToOptions}
|
|
3786
|
+
* @param {(number|!ScrollToOptions)=} opt_xOrOptions
|
|
3779
3787
|
* @param {number=} opt_y
|
|
3780
3788
|
* @see http://www.w3.org/TR/cssom-view/#dom-window-scrollto
|
|
3781
3789
|
* @return {undefined}
|
|
3782
3790
|
*/
|
|
3783
|
-
Window.prototype.scrollTo = function(
|
|
3791
|
+
Window.prototype.scrollTo = function(opt_xOrOptions, opt_y) {};
|
|
3784
3792
|
|
|
3785
3793
|
/**
|
|
3786
|
-
* @param {number|!ScrollToOptions}
|
|
3794
|
+
* @param {(number|!ScrollToOptions)=} opt_xOrOptions
|
|
3787
3795
|
* @param {number=} opt_y
|
|
3788
3796
|
* @see http://www.w3.org/TR/cssom-view/#dom-window-scrollby
|
|
3789
3797
|
* @return {undefined}
|
|
3790
3798
|
*/
|
|
3791
|
-
Window.prototype.scrollBy = function(
|
|
3799
|
+
Window.prototype.scrollBy = function(opt_xOrOptions, opt_y) {};
|
|
3792
3800
|
|
|
3793
3801
|
/**
|
|
3794
3802
|
* @type {number}
|
|
@@ -4047,12 +4055,28 @@ Element.prototype.getBoundingClientRect = function() {};
|
|
|
4047
4055
|
Element.prototype.scrollIntoView = function(top) {};
|
|
4048
4056
|
|
|
4049
4057
|
/**
|
|
4050
|
-
* @param {number|!ScrollToOptions}
|
|
4058
|
+
* @param {(number|!ScrollToOptions)=} opt_xOrOptions
|
|
4059
|
+
* @param {number=} opt_y
|
|
4060
|
+
* @see https://www.w3.org/TR/cssom-view/#extension-to-the-element-interface
|
|
4061
|
+
* @return {undefined}
|
|
4062
|
+
*/
|
|
4063
|
+
Element.prototype.scroll = function(opt_xOrOptions, opt_y) {};
|
|
4064
|
+
|
|
4065
|
+
/**
|
|
4066
|
+
* @param {(number|!ScrollToOptions)=} opt_xOrOptions
|
|
4067
|
+
* @param {number=} opt_y
|
|
4068
|
+
* @see https://www.w3.org/TR/cssom-view/#extension-to-the-element-interface
|
|
4069
|
+
* @return {undefined}
|
|
4070
|
+
*/
|
|
4071
|
+
Element.prototype.scrollTo = function(opt_xOrOptions, opt_y) {};
|
|
4072
|
+
|
|
4073
|
+
/**
|
|
4074
|
+
* @param {(number|!ScrollToOptions)=} opt_xOrOptions
|
|
4051
4075
|
* @param {number=} opt_y
|
|
4052
4076
|
* @see https://www.w3.org/TR/cssom-view/#extension-to-the-element-interface
|
|
4053
4077
|
* @return {undefined}
|
|
4054
4078
|
*/
|
|
4055
|
-
Element.prototype.
|
|
4079
|
+
Element.prototype.scrollBy = function(opt_xOrOptions, opt_y) {};
|
|
4056
4080
|
|
|
4057
4081
|
/**
|
|
4058
4082
|
* @type {number}
|
|
@@ -76,6 +76,9 @@ WebTransport.prototype.incomingBidirectionalStreams;
|
|
|
76
76
|
/** @type {!ReadableStream} */
|
|
77
77
|
WebTransport.prototype.incomingUnidirectionalStreams;
|
|
78
78
|
|
|
79
|
+
/** @type {string} */
|
|
80
|
+
WebTransport.prototype.protocol;
|
|
81
|
+
|
|
79
82
|
/** @type {!Promise<undefined>} */
|
|
80
83
|
WebTransport.prototype.ready;
|
|
81
84
|
|
package/externs/es6.js
CHANGED
|
@@ -615,15 +615,44 @@ function Transferable() {}
|
|
|
615
615
|
|
|
616
616
|
/**
|
|
617
617
|
* @param {number} length The length in bytes
|
|
618
|
+
* @param {{maxByteLength: (number|undefined)}=} options
|
|
618
619
|
* @constructor
|
|
619
620
|
* @throws {Error}
|
|
620
621
|
* @implements {Transferable}
|
|
622
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
|
|
621
623
|
*/
|
|
622
|
-
function ArrayBuffer(length) {}
|
|
624
|
+
function ArrayBuffer(length, options) {}
|
|
623
625
|
|
|
624
626
|
/** @type {number} */
|
|
625
627
|
ArrayBuffer.prototype.byteLength;
|
|
626
628
|
|
|
629
|
+
/** @type {number} */
|
|
630
|
+
ArrayBuffer.prototype.maxByteLength;
|
|
631
|
+
|
|
632
|
+
/** @type {boolean} */
|
|
633
|
+
ArrayBuffer.prototype.resizable;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @param {number=} newByteLength
|
|
637
|
+
* @return {undefined}
|
|
638
|
+
*/
|
|
639
|
+
ArrayBuffer.prototype.resize = function(newByteLength) {};
|
|
640
|
+
|
|
641
|
+
/** @type {boolean} */
|
|
642
|
+
ArrayBuffer.prototype.detached;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* @param {number=} newByteLength
|
|
646
|
+
* @return {!ArrayBuffer}
|
|
647
|
+
*/
|
|
648
|
+
ArrayBuffer.prototype.transfer = function(newByteLength) {};
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @param {number=} newByteLength
|
|
652
|
+
* @return {!ArrayBuffer}
|
|
653
|
+
*/
|
|
654
|
+
ArrayBuffer.prototype.transferToFixedLength = function(newByteLength) {};
|
|
655
|
+
|
|
627
656
|
/**
|
|
628
657
|
* @param {number} begin
|
|
629
658
|
* @param {number=} opt_end
|
|
@@ -665,15 +694,28 @@ ArrayBufferView.prototype.byteLength;
|
|
|
665
694
|
|
|
666
695
|
/**
|
|
667
696
|
* @param {number} length The length in bytes
|
|
697
|
+
* @param {{maxByteLength: (number|undefined)}=} options
|
|
668
698
|
* @constructor
|
|
669
699
|
* @throws {Error}
|
|
670
700
|
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
|
|
671
701
|
*/
|
|
672
|
-
function SharedArrayBuffer(length) {}
|
|
702
|
+
function SharedArrayBuffer(length, options) {}
|
|
673
703
|
|
|
674
704
|
/** @type {number} */
|
|
675
705
|
SharedArrayBuffer.prototype.byteLength;
|
|
676
706
|
|
|
707
|
+
/** @type {boolean} */
|
|
708
|
+
SharedArrayBuffer.prototype.growable;
|
|
709
|
+
|
|
710
|
+
/** @type {number} */
|
|
711
|
+
SharedArrayBuffer.prototype.maxByteLength;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @param {number=} newByteLength
|
|
715
|
+
* @return {undefined}
|
|
716
|
+
*/
|
|
717
|
+
SharedArrayBuffer.prototype.grow = function(newByteLength) {};
|
|
718
|
+
|
|
677
719
|
/**
|
|
678
720
|
* @param {number=} begin
|
|
679
721
|
* @param {number=} end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20261112.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": "^20261112.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": "^20261112.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20261112.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20261112.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20261112.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|