google-closure-compiler 20261004.0.0 → 20261006.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/externs/es3.js +10 -0
- package/externs/es6.js +21 -11
- package/package.json +6 -6
package/externs/es3.js
CHANGED
|
@@ -188,6 +188,16 @@ function IteratorLike() {}
|
|
|
188
188
|
*/
|
|
189
189
|
IteratorLike.prototype.next = function(opt_value) {};
|
|
190
190
|
|
|
191
|
+
/**
|
|
192
|
+
* @type {((function(T=): !IIterableResult<T>)|undefined)}
|
|
193
|
+
*/
|
|
194
|
+
IteratorLike.prototype.return;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @type {((function(?=): !IIterableResult<T>)|undefined)}
|
|
198
|
+
*/
|
|
199
|
+
IteratorLike.prototype.throw;
|
|
200
|
+
|
|
191
201
|
|
|
192
202
|
|
|
193
203
|
/**
|
package/externs/es6.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* The modern
|
|
33
|
+
* The modern ES2025 global Iterator class.
|
|
34
34
|
* All built-in iterators and helper-equipped iterators inherit from this.
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
function Iterator() {}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* @param {
|
|
44
|
+
* @param {string|!Iterable<T>|!IteratorLike<T>} iterable
|
|
45
45
|
* @return {!Iterator<T>}
|
|
46
46
|
* @template T
|
|
47
47
|
*/
|
|
@@ -54,6 +54,16 @@ Iterator.from = function(iterable) {};
|
|
|
54
54
|
*/
|
|
55
55
|
Iterator.prototype.next = function(opt_value) {};
|
|
56
56
|
|
|
57
|
+
/**
|
|
58
|
+
* @type {((function(T=): !IIterableResult<T>)|undefined)}
|
|
59
|
+
*/
|
|
60
|
+
Iterator.prototype.return;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @type {((function(?=): !IIterableResult<T>)|undefined)}
|
|
64
|
+
*/
|
|
65
|
+
Iterator.prototype.throw;
|
|
66
|
+
|
|
57
67
|
/**
|
|
58
68
|
* @template U
|
|
59
69
|
* @param {function(T, number): U} mapperFn
|
|
@@ -62,7 +72,7 @@ Iterator.prototype.next = function(opt_value) {};
|
|
|
62
72
|
Iterator.prototype.map = function(mapperFn) {};
|
|
63
73
|
|
|
64
74
|
/**
|
|
65
|
-
* @param {function(T, number):
|
|
75
|
+
* @param {function(T, number): *} filtererFn
|
|
66
76
|
* @return {!Iterator<T>}
|
|
67
77
|
*/
|
|
68
78
|
Iterator.prototype.filter = function(filtererFn) {};
|
|
@@ -101,25 +111,25 @@ Iterator.prototype.reduce = function(reducerFn, initialValue) {};
|
|
|
101
111
|
Iterator.prototype.toArray = function() {};
|
|
102
112
|
|
|
103
113
|
/**
|
|
104
|
-
* @param {function(T, number):
|
|
114
|
+
* @param {function(T, number): *} callbackFn
|
|
105
115
|
* @return {void}
|
|
106
116
|
*/
|
|
107
117
|
Iterator.prototype.forEach = function(callbackFn) {};
|
|
108
118
|
|
|
109
119
|
/**
|
|
110
|
-
* @param {function(T, number):
|
|
120
|
+
* @param {function(T, number): *} predicate
|
|
111
121
|
* @return {boolean}
|
|
112
122
|
*/
|
|
113
123
|
Iterator.prototype.some = function(predicate) {};
|
|
114
124
|
|
|
115
125
|
/**
|
|
116
|
-
* @param {function(T, number):
|
|
126
|
+
* @param {function(T, number): *} predicate
|
|
117
127
|
* @return {boolean}
|
|
118
128
|
*/
|
|
119
129
|
Iterator.prototype.every = function(predicate) {};
|
|
120
130
|
|
|
121
131
|
/**
|
|
122
|
-
* @param {function(T, number):
|
|
132
|
+
* @param {function(T, number): *} predicate
|
|
123
133
|
* @return {T|undefined}
|
|
124
134
|
*/
|
|
125
135
|
Iterator.prototype.find = function(predicate) {};
|
|
@@ -163,16 +173,16 @@ function Generator() {}
|
|
|
163
173
|
Generator.prototype.next = function(opt_value) {};
|
|
164
174
|
|
|
165
175
|
/**
|
|
166
|
-
* @param {T}
|
|
176
|
+
* @param {T=} opt_value
|
|
167
177
|
* @return {!IIterableResult<T>}
|
|
168
178
|
*/
|
|
169
|
-
Generator.prototype.return = function(
|
|
179
|
+
Generator.prototype.return = function(opt_value) {};
|
|
170
180
|
|
|
171
181
|
/**
|
|
172
|
-
* @param {
|
|
182
|
+
* @param {?=} opt_exception
|
|
173
183
|
* @return {!IIterableResult<T>}
|
|
174
184
|
*/
|
|
175
|
-
Generator.prototype.throw = function(
|
|
185
|
+
Generator.prototype.throw = function(opt_exception) {};
|
|
176
186
|
|
|
177
187
|
|
|
178
188
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20261006.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": "^20261006.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": "^20261006.0.0",
|
|
51
|
+
"google-closure-compiler-linux-arm64": "^20261006.0.0",
|
|
52
|
+
"google-closure-compiler-macos": "^20261006.0.0",
|
|
53
|
+
"google-closure-compiler-windows": "^20261006.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"gulp": "^5.0.1",
|