google-closure-compiler 20261109.0.0 → 20261116.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.
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
/** @type {boolean} */ Event.prototype.ctrlKey;
|
|
36
36
|
/** @type {EventTarget} */ Event.prototype.explicitOriginalTarget;
|
|
37
37
|
/** @type {boolean} */ Event.prototype.isChar;
|
|
38
|
-
/** @type {boolean} */ Event.prototype.isTrusted;
|
|
39
38
|
/** @type {number} */ Event.prototype.keyCode;
|
|
40
39
|
/** @type {number} */ Event.prototype.layerX;
|
|
41
40
|
/** @type {number} */ Event.prototype.layerY;
|
package/externs/browser/intl.js
CHANGED
|
@@ -699,3 +699,387 @@ Intl.Locale.prototype.toString = function() {};
|
|
|
699
699
|
* @see https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales
|
|
700
700
|
*/
|
|
701
701
|
Intl.getCanonicalLocales = function(locale) {};
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @record
|
|
705
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#parameters
|
|
706
|
+
*/
|
|
707
|
+
Intl.DurationFormatOptions = function() {};
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* @type {string|undefined}
|
|
711
|
+
* Valid values: 'lookup', 'best fit'.
|
|
712
|
+
*/
|
|
713
|
+
Intl.DurationFormatOptions.prototype.localeMatcher;
|
|
714
|
+
|
|
715
|
+
/** @type {string|undefined} */
|
|
716
|
+
Intl.DurationFormatOptions.prototype.numberingSystem;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @type {string|undefined}
|
|
720
|
+
* Valid values: 'long', 'short', 'narrow', 'digital'.
|
|
721
|
+
*/
|
|
722
|
+
Intl.DurationFormatOptions.prototype.style;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @type {string|undefined}
|
|
726
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
727
|
+
*/
|
|
728
|
+
Intl.DurationFormatOptions.prototype.years;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* @type {string|undefined}
|
|
732
|
+
* Valid values: 'always', 'auto'.
|
|
733
|
+
*/
|
|
734
|
+
Intl.DurationFormatOptions.prototype.yearsDisplay;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* @type {string|undefined}
|
|
738
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
739
|
+
*/
|
|
740
|
+
Intl.DurationFormatOptions.prototype.months;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* @type {string|undefined}
|
|
744
|
+
* Valid values: 'always', 'auto'.
|
|
745
|
+
*/
|
|
746
|
+
Intl.DurationFormatOptions.prototype.monthsDisplay;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* @type {string|undefined}
|
|
750
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
751
|
+
*/
|
|
752
|
+
Intl.DurationFormatOptions.prototype.weeks;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* @type {string|undefined}
|
|
756
|
+
* Valid values: 'always', 'auto'.
|
|
757
|
+
*/
|
|
758
|
+
Intl.DurationFormatOptions.prototype.weeksDisplay;
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* @type {string|undefined}
|
|
762
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
763
|
+
*/
|
|
764
|
+
Intl.DurationFormatOptions.prototype.days;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* @type {string|undefined}
|
|
768
|
+
* Valid values: 'always', 'auto'.
|
|
769
|
+
*/
|
|
770
|
+
Intl.DurationFormatOptions.prototype.daysDisplay;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* @type {string|undefined}
|
|
774
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric', '2-digit'.
|
|
775
|
+
*/
|
|
776
|
+
Intl.DurationFormatOptions.prototype.hours;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* @type {string|undefined}
|
|
780
|
+
* Valid values: 'always', 'auto'.
|
|
781
|
+
*/
|
|
782
|
+
Intl.DurationFormatOptions.prototype.hoursDisplay;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* @type {string|undefined}
|
|
786
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric', '2-digit'.
|
|
787
|
+
*/
|
|
788
|
+
Intl.DurationFormatOptions.prototype.minutes;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @type {string|undefined}
|
|
792
|
+
* Valid values: 'always', 'auto'.
|
|
793
|
+
*/
|
|
794
|
+
Intl.DurationFormatOptions.prototype.minutesDisplay;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* @type {string|undefined}
|
|
798
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric', '2-digit'.
|
|
799
|
+
*/
|
|
800
|
+
Intl.DurationFormatOptions.prototype.seconds;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* @type {string|undefined}
|
|
804
|
+
* Valid values: 'always', 'auto'.
|
|
805
|
+
*/
|
|
806
|
+
Intl.DurationFormatOptions.prototype.secondsDisplay;
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* @type {string|undefined}
|
|
810
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric'.
|
|
811
|
+
*/
|
|
812
|
+
Intl.DurationFormatOptions.prototype.milliseconds;
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* @type {string|undefined}
|
|
816
|
+
* Valid values: 'always', 'auto'.
|
|
817
|
+
*/
|
|
818
|
+
Intl.DurationFormatOptions.prototype.millisecondsDisplay;
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* @type {string|undefined}
|
|
822
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric'.
|
|
823
|
+
*/
|
|
824
|
+
Intl.DurationFormatOptions.prototype.microseconds;
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* @type {string|undefined}
|
|
828
|
+
* Valid values: 'always', 'auto'.
|
|
829
|
+
*/
|
|
830
|
+
Intl.DurationFormatOptions.prototype.microsecondsDisplay;
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* @type {string|undefined}
|
|
834
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric'.
|
|
835
|
+
*/
|
|
836
|
+
Intl.DurationFormatOptions.prototype.nanoseconds;
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* @type {string|undefined}
|
|
840
|
+
* Valid values: 'always', 'auto'.
|
|
841
|
+
*/
|
|
842
|
+
Intl.DurationFormatOptions.prototype.nanosecondsDisplay;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @type {number|undefined}
|
|
846
|
+
* Valid values: integers from 0 to 9.
|
|
847
|
+
*/
|
|
848
|
+
Intl.DurationFormatOptions.prototype.fractionalDigits;
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* @record
|
|
852
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/resolvedOptions#return_value
|
|
853
|
+
*/
|
|
854
|
+
Intl.ResolvedDurationFormatOptions = function() {};
|
|
855
|
+
|
|
856
|
+
/** @type {!Intl.UnicodeBCP47LocaleIdentifier} */
|
|
857
|
+
Intl.ResolvedDurationFormatOptions.prototype.locale;
|
|
858
|
+
|
|
859
|
+
/** @type {string} */
|
|
860
|
+
Intl.ResolvedDurationFormatOptions.prototype.numberingSystem;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* @type {string}
|
|
864
|
+
* Valid values: 'long', 'short', 'narrow', 'digital'.
|
|
865
|
+
*/
|
|
866
|
+
Intl.ResolvedDurationFormatOptions.prototype.style;
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* @type {string}
|
|
870
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
871
|
+
*/
|
|
872
|
+
Intl.ResolvedDurationFormatOptions.prototype.years;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @type {string}
|
|
876
|
+
* Valid values: 'always', 'auto'.
|
|
877
|
+
*/
|
|
878
|
+
Intl.ResolvedDurationFormatOptions.prototype.yearsDisplay;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* @type {string}
|
|
882
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
883
|
+
*/
|
|
884
|
+
Intl.ResolvedDurationFormatOptions.prototype.months;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* @type {string}
|
|
888
|
+
* Valid values: 'always', 'auto'.
|
|
889
|
+
*/
|
|
890
|
+
Intl.ResolvedDurationFormatOptions.prototype.monthsDisplay;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* @type {string}
|
|
894
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
895
|
+
*/
|
|
896
|
+
Intl.ResolvedDurationFormatOptions.prototype.weeks;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @type {string}
|
|
900
|
+
* Valid values: 'always', 'auto'.
|
|
901
|
+
*/
|
|
902
|
+
Intl.ResolvedDurationFormatOptions.prototype.weeksDisplay;
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* @type {string}
|
|
906
|
+
* Valid values: 'long', 'short', 'narrow'.
|
|
907
|
+
*/
|
|
908
|
+
Intl.ResolvedDurationFormatOptions.prototype.days;
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* @type {string}
|
|
912
|
+
* Valid values: 'always', 'auto'.
|
|
913
|
+
*/
|
|
914
|
+
Intl.ResolvedDurationFormatOptions.prototype.daysDisplay;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @type {string}
|
|
918
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric', '2-digit'.
|
|
919
|
+
*/
|
|
920
|
+
Intl.ResolvedDurationFormatOptions.prototype.hours;
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* @type {string}
|
|
924
|
+
* Valid values: 'always', 'auto'.
|
|
925
|
+
*/
|
|
926
|
+
Intl.ResolvedDurationFormatOptions.prototype.hoursDisplay;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* @type {string}
|
|
930
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric', '2-digit'.
|
|
931
|
+
*/
|
|
932
|
+
Intl.ResolvedDurationFormatOptions.prototype.minutes;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* @type {string}
|
|
936
|
+
* Valid values: 'always', 'auto'.
|
|
937
|
+
*/
|
|
938
|
+
Intl.ResolvedDurationFormatOptions.prototype.minutesDisplay;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* @type {string}
|
|
942
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric', '2-digit'.
|
|
943
|
+
*/
|
|
944
|
+
Intl.ResolvedDurationFormatOptions.prototype.seconds;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* @type {string}
|
|
948
|
+
* Valid values: 'always', 'auto'.
|
|
949
|
+
*/
|
|
950
|
+
Intl.ResolvedDurationFormatOptions.prototype.secondsDisplay;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* @type {string}
|
|
954
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric'.
|
|
955
|
+
*/
|
|
956
|
+
Intl.ResolvedDurationFormatOptions.prototype.milliseconds;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* @type {string}
|
|
960
|
+
* Valid values: 'always', 'auto'.
|
|
961
|
+
*/
|
|
962
|
+
Intl.ResolvedDurationFormatOptions.prototype.millisecondsDisplay;
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* @type {string}
|
|
966
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric'.
|
|
967
|
+
*/
|
|
968
|
+
Intl.ResolvedDurationFormatOptions.prototype.microseconds;
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @type {string}
|
|
972
|
+
* Valid values: 'always', 'auto'.
|
|
973
|
+
*/
|
|
974
|
+
Intl.ResolvedDurationFormatOptions.prototype.microsecondsDisplay;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* @type {string}
|
|
978
|
+
* Valid values: 'long', 'short', 'narrow', 'numeric'.
|
|
979
|
+
*/
|
|
980
|
+
Intl.ResolvedDurationFormatOptions.prototype.nanoseconds;
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* @type {string}
|
|
984
|
+
* Valid values: 'always', 'auto'.
|
|
985
|
+
*/
|
|
986
|
+
Intl.ResolvedDurationFormatOptions.prototype.nanosecondsDisplay;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* @type {number|undefined}
|
|
990
|
+
* Valid values: integers from 0 to 9.
|
|
991
|
+
*/
|
|
992
|
+
Intl.ResolvedDurationFormatOptions.prototype.fractionalDigits;
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* The duration object accepted by `Intl.DurationFormat.prototype.format` and
|
|
996
|
+
* `Intl.DurationFormat.prototype.formatToParts`.
|
|
997
|
+
* @record
|
|
998
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration
|
|
999
|
+
*/
|
|
1000
|
+
Intl.DurationFormatDurationLike = function() {};
|
|
1001
|
+
|
|
1002
|
+
/** @type {number|undefined} */
|
|
1003
|
+
Intl.DurationFormatDurationLike.prototype.years;
|
|
1004
|
+
|
|
1005
|
+
/** @type {number|undefined} */
|
|
1006
|
+
Intl.DurationFormatDurationLike.prototype.months;
|
|
1007
|
+
|
|
1008
|
+
/** @type {number|undefined} */
|
|
1009
|
+
Intl.DurationFormatDurationLike.prototype.weeks;
|
|
1010
|
+
|
|
1011
|
+
/** @type {number|undefined} */
|
|
1012
|
+
Intl.DurationFormatDurationLike.prototype.days;
|
|
1013
|
+
|
|
1014
|
+
/** @type {number|undefined} */
|
|
1015
|
+
Intl.DurationFormatDurationLike.prototype.hours;
|
|
1016
|
+
|
|
1017
|
+
/** @type {number|undefined} */
|
|
1018
|
+
Intl.DurationFormatDurationLike.prototype.minutes;
|
|
1019
|
+
|
|
1020
|
+
/** @type {number|undefined} */
|
|
1021
|
+
Intl.DurationFormatDurationLike.prototype.seconds;
|
|
1022
|
+
|
|
1023
|
+
/** @type {number|undefined} */
|
|
1024
|
+
Intl.DurationFormatDurationLike.prototype.milliseconds;
|
|
1025
|
+
|
|
1026
|
+
/** @type {number|undefined} */
|
|
1027
|
+
Intl.DurationFormatDurationLike.prototype.microseconds;
|
|
1028
|
+
|
|
1029
|
+
/** @type {number|undefined} */
|
|
1030
|
+
Intl.DurationFormatDurationLike.prototype.nanoseconds;
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* @record
|
|
1034
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts#return_value
|
|
1035
|
+
*/
|
|
1036
|
+
Intl.DurationFormatPart = function() {};
|
|
1037
|
+
|
|
1038
|
+
/** @type {string} */
|
|
1039
|
+
Intl.DurationFormatPart.prototype.type;
|
|
1040
|
+
|
|
1041
|
+
/** @type {string} */
|
|
1042
|
+
Intl.DurationFormatPart.prototype.value;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* @type {string|undefined}
|
|
1046
|
+
* Valid values: 'year', 'month', 'week', 'day', 'hour', 'minute', 'second',
|
|
1047
|
+
* 'millisecond', 'microsecond', 'nanosecond'. Absent on some 'literal' parts.
|
|
1048
|
+
*/
|
|
1049
|
+
Intl.DurationFormatPart.prototype.unit;
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* @constructor
|
|
1053
|
+
* @param {(string|!Array<string>)=} locales
|
|
1054
|
+
* @param {!Intl.DurationFormatOptions=} options
|
|
1055
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat
|
|
1056
|
+
*/
|
|
1057
|
+
Intl.DurationFormat = function(locales, options) {};
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* @param {(string|!Array<string>)=} locales
|
|
1061
|
+
* @param {{localeMatcher: (string|undefined)}=} options
|
|
1062
|
+
* @return {!Array<!Intl.UnicodeBCP47LocaleIdentifier>}
|
|
1063
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/supportedLocalesOf
|
|
1064
|
+
*/
|
|
1065
|
+
Intl.DurationFormat.supportedLocalesOf = function(locales, options) {};
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* @param {!Intl.DurationFormatDurationLike} duration
|
|
1069
|
+
* @return {string}
|
|
1070
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format
|
|
1071
|
+
*/
|
|
1072
|
+
Intl.DurationFormat.prototype.format = function(duration) {};
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* @param {!Intl.DurationFormatDurationLike} duration
|
|
1076
|
+
* @return {!Array<!Intl.DurationFormatPart>}
|
|
1077
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts
|
|
1078
|
+
*/
|
|
1079
|
+
Intl.DurationFormat.prototype.formatToParts = function(duration) {};
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @return {!Intl.ResolvedDurationFormatOptions}
|
|
1083
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/resolvedOptions
|
|
1084
|
+
*/
|
|
1085
|
+
Intl.DurationFormat.prototype.resolvedOptions = function() {};
|
|
@@ -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}
|
|
@@ -155,6 +155,13 @@ Event.prototype.path;
|
|
|
155
155
|
*/
|
|
156
156
|
Event.prototype.deepPath;
|
|
157
157
|
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @type {boolean}
|
|
161
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted
|
|
162
|
+
*/
|
|
163
|
+
Event.prototype.isTrusted;
|
|
164
|
+
|
|
158
165
|
/**
|
|
159
166
|
* @return {undefined}
|
|
160
167
|
*/
|
|
@@ -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
|
@@ -570,6 +570,13 @@ String.prototype.includes = function(searchString, opt_position) {};
|
|
|
570
570
|
*/
|
|
571
571
|
String.prototype.isWellFormed = function() {};
|
|
572
572
|
|
|
573
|
+
/**
|
|
574
|
+
* @return {string}
|
|
575
|
+
* @nosideeffects
|
|
576
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toWellFormed
|
|
577
|
+
*/
|
|
578
|
+
String.prototype.toWellFormed = function() {};
|
|
579
|
+
|
|
573
580
|
/**
|
|
574
581
|
* @this {String|string}
|
|
575
582
|
* @return {string}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20261116.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": "^20261116.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": "^20261116.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20261116.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20261116.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20261116.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|