google-closure-compiler 20180910.1.0 → 20181008.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/compiler.jar +0 -0
- package/contrib/externs/angular-material-1.1.js +12 -0
- package/contrib/externs/chai-3.5.js +123 -75
- package/contrib/externs/chrome_extensions.js +202 -175
- package/contrib/externs/geojson.js +217 -0
- package/contrib/externs/jquery-3.3.js +10 -2
- package/contrib/externs/polymer-1.0.js +4 -1
- package/contrib/externs/sinon-chai-2.7.js +15 -15
- package/jscomp.js +7731 -7642
- package/package.json +4 -3
package/compiler.jar
CHANGED
|
Binary file
|
|
@@ -1298,3 +1298,15 @@ md.$panel.MdPanelAnimation.prototype.closeTo = function(closeTo) {};
|
|
|
1298
1298
|
* @return {!md.$panel.MdPanelAnimation}
|
|
1299
1299
|
*/
|
|
1300
1300
|
md.$panel.MdPanelAnimation.prototype.withAnimation = function(cssClass) {};
|
|
1301
|
+
|
|
1302
|
+
/******************************************************************************
|
|
1303
|
+
* DatePickerCtrl
|
|
1304
|
+
*****************************************************************************/
|
|
1305
|
+
|
|
1306
|
+
/** @interface */
|
|
1307
|
+
md.DatePickerCtrl = function() {};
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* @param {Date=} opt_date
|
|
1311
|
+
*/
|
|
1312
|
+
md.DatePickerCtrl.prototype.updateErrorState = function(opt_date) {};
|
|
@@ -26,242 +26,249 @@
|
|
|
26
26
|
* @see http://chaijs.com/
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
|
+
/** @const */
|
|
30
|
+
var chai = {};
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @constructor
|
|
34
|
+
* @param {*} obj
|
|
35
|
+
* @param {string=} msg
|
|
36
|
+
* @param {!Function=} ssfi
|
|
37
|
+
* @param {boolean=} lockSsfi
|
|
38
|
+
*/
|
|
39
|
+
chai.Assertion = function(obj, msg, ssfi, lockSsfi) {};
|
|
40
|
+
|
|
29
41
|
// Below are the externs for the BDD expect API: http://chaijs.com/api/bdd/
|
|
30
42
|
|
|
31
43
|
/**
|
|
32
44
|
* @param {*} subject
|
|
33
45
|
* @param {string=} opt_description
|
|
34
|
-
* @return {!
|
|
46
|
+
* @return {!chai.Assertion}
|
|
35
47
|
*/
|
|
36
48
|
var expect = function(subject, opt_description) {};
|
|
37
49
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/** @type {!
|
|
46
|
-
/** @type {!
|
|
47
|
-
/** @type {!
|
|
48
|
-
/** @type {!
|
|
49
|
-
/** @type {!
|
|
50
|
-
/** @type {!
|
|
51
|
-
/** @type {!
|
|
52
|
-
/** @type {!
|
|
53
|
-
/** @type {!
|
|
54
|
-
/** @type {!
|
|
55
|
-
/** @type {!
|
|
56
|
-
/** @type {!
|
|
57
|
-
/** @type {!
|
|
58
|
-
/** @type {!
|
|
59
|
-
/** @type {!
|
|
60
|
-
/** @type {!
|
|
61
|
-
/** @type {!
|
|
62
|
-
/** @type {!
|
|
63
|
-
/** @type {!
|
|
64
|
-
/** @type {!
|
|
65
|
-
/** @type {!
|
|
66
|
-
/** @type {!
|
|
67
|
-
/** @type {!
|
|
68
|
-
/** @type {!
|
|
69
|
-
/** @type {!
|
|
70
|
-
/** @type {!ExpectChain} */ ExpectChain.prototype.exist;
|
|
71
|
-
/** @type {!ExpectChain} */ ExpectChain.prototype.empty;
|
|
72
|
-
/** @type {!ExpectChain} */ ExpectChain.prototype.arguments;
|
|
73
|
-
/** @type {!ExpectChain} */ ExpectChain.prototype.extensible;
|
|
74
|
-
/** @type {!ExpectChain} */ ExpectChain.prototype.sealed;
|
|
75
|
-
/** @type {!ExpectChain} */ ExpectChain.prototype.frozen;
|
|
50
|
+
|
|
51
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.to;
|
|
52
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.be;
|
|
53
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.been;
|
|
54
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.is;
|
|
55
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.that;
|
|
56
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.which;
|
|
57
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.and;
|
|
58
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.has;
|
|
59
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.have;
|
|
60
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.with;
|
|
61
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.at;
|
|
62
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.of;
|
|
63
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.same;
|
|
64
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.not;
|
|
65
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.deep;
|
|
66
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.any;
|
|
67
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.all;
|
|
68
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.length;
|
|
69
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.itself;
|
|
70
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.ok;
|
|
71
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.true;
|
|
72
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.false;
|
|
73
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.null;
|
|
74
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.undefined;
|
|
75
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.NaN;
|
|
76
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.exist;
|
|
77
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.empty;
|
|
78
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.arguments;
|
|
79
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.extensible;
|
|
80
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.sealed;
|
|
81
|
+
/** @type {!chai.Assertion} */ chai.Assertion.prototype.frozen;
|
|
76
82
|
|
|
77
83
|
|
|
78
84
|
/**
|
|
79
85
|
* @param {string} type
|
|
80
86
|
* @param {string=} opt_message
|
|
81
|
-
* @return {!
|
|
87
|
+
* @return {!chai.Assertion}
|
|
82
88
|
*/
|
|
83
|
-
|
|
89
|
+
chai.Assertion.prototype.a = function(type, opt_message) {};
|
|
84
90
|
|
|
85
91
|
/**
|
|
86
92
|
* @param {string} type
|
|
87
93
|
* @param {string=} opt_message
|
|
88
94
|
*/
|
|
89
|
-
|
|
95
|
+
chai.Assertion.prototype.an = function(type, opt_message) {}
|
|
90
96
|
|
|
91
|
-
/**
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
/**
|
|
98
|
+
* @param {*} value
|
|
99
|
+
* @param {string=} opt_message
|
|
100
|
+
*/
|
|
101
|
+
chai.Assertion.prototype.include = function(
|
|
102
|
+
value, opt_message) {};
|
|
96
103
|
|
|
97
104
|
/**
|
|
98
105
|
* @param {*} value
|
|
99
106
|
* @param {string=} opt_message
|
|
100
107
|
*/
|
|
101
|
-
|
|
108
|
+
chai.Assertion.prototype.includes = function(value, opt_message) {};
|
|
102
109
|
|
|
103
110
|
/**
|
|
104
111
|
* @param {*} value
|
|
105
112
|
* @param {string=} opt_message
|
|
106
113
|
*/
|
|
107
|
-
|
|
114
|
+
chai.Assertion.prototype.contain = function(value, opt_message) {};
|
|
108
115
|
|
|
109
116
|
/**
|
|
110
117
|
* @param {*} value
|
|
111
118
|
* @param {string=} opt_message
|
|
112
119
|
*/
|
|
113
|
-
|
|
120
|
+
chai.Assertion.prototype.contains = function(value, opt_message) {};
|
|
114
121
|
|
|
115
122
|
/**
|
|
116
123
|
* @param {*} value
|
|
117
124
|
* @param {string=} opt_message
|
|
118
125
|
*/
|
|
119
|
-
|
|
126
|
+
chai.Assertion.prototype.equal = function(value, opt_message) {};
|
|
120
127
|
|
|
121
128
|
/**
|
|
122
129
|
* @param {*} value
|
|
123
130
|
* @param {string=} opt_message
|
|
124
131
|
*/
|
|
125
|
-
|
|
132
|
+
chai.Assertion.prototype.eql = function(value, opt_message) {};
|
|
126
133
|
|
|
127
134
|
/**
|
|
128
135
|
* @param {number} value
|
|
129
136
|
* @param {string=} opt_message
|
|
130
137
|
*/
|
|
131
|
-
|
|
138
|
+
chai.Assertion.prototype.above = function(value, opt_message) {};
|
|
132
139
|
|
|
133
140
|
/**
|
|
134
141
|
* @param {number} value
|
|
135
142
|
* @param {string=} opt_message
|
|
136
143
|
*/
|
|
137
|
-
|
|
144
|
+
chai.Assertion.prototype.least = function(value, opt_message) {};
|
|
138
145
|
|
|
139
146
|
/**
|
|
140
147
|
* @param {number} value
|
|
141
148
|
* @param {string=} opt_message
|
|
142
149
|
*/
|
|
143
|
-
|
|
150
|
+
chai.Assertion.prototype.below = function(value, opt_message) {};
|
|
144
151
|
|
|
145
152
|
/**
|
|
146
153
|
* @param {number} value
|
|
147
154
|
* @param {string=} opt_message
|
|
148
155
|
*/
|
|
149
|
-
|
|
156
|
+
chai.Assertion.prototype.most = function(value, opt_message) {};
|
|
150
157
|
|
|
151
158
|
/**
|
|
152
159
|
* @param {number} start
|
|
153
160
|
* @param {number} finish
|
|
154
161
|
* @param {string=} opt_message
|
|
155
162
|
*/
|
|
156
|
-
|
|
163
|
+
chai.Assertion.prototype.within = function(start, finish, opt_message) {};
|
|
157
164
|
|
|
158
165
|
/**
|
|
159
166
|
* @param {function(new: Object)} constructor
|
|
160
167
|
* @param {string=} opt_message
|
|
161
168
|
*/
|
|
162
|
-
|
|
169
|
+
chai.Assertion.prototype.instanceof = function(constructor, opt_message) {};
|
|
163
170
|
|
|
164
171
|
/**
|
|
165
172
|
* @param {function(new: Object)} constructor
|
|
166
173
|
* @param {string=} opt_message
|
|
167
174
|
*/
|
|
168
|
-
|
|
175
|
+
chai.Assertion.prototype.an.instanceof = function(constructor, opt_message) {};
|
|
169
176
|
|
|
170
177
|
/**
|
|
171
178
|
* @param {string} name
|
|
172
179
|
* @param {*=} opt_value
|
|
173
180
|
* @param {string=} opt_message
|
|
174
181
|
*/
|
|
175
|
-
|
|
182
|
+
chai.Assertion.prototype.property = function(name, opt_value, opt_message) {};
|
|
176
183
|
|
|
177
184
|
/**
|
|
178
185
|
* @param {string} name
|
|
179
186
|
* @param {string=} opt_message
|
|
180
187
|
*/
|
|
181
|
-
|
|
188
|
+
chai.Assertion.prototype.ownProperty = function(name, opt_message) {};
|
|
182
189
|
|
|
183
190
|
/**
|
|
184
191
|
* @param {string} name
|
|
185
192
|
* @param {!Object=} opt_descriptor
|
|
186
193
|
* @param {string=} opt_message
|
|
187
194
|
*/
|
|
188
|
-
|
|
189
|
-
|
|
195
|
+
chai.Assertion.prototype.ownPropertyDescriptor = function(
|
|
196
|
+
name, opt_descriptor, opt_message) {};
|
|
190
197
|
|
|
191
198
|
/**
|
|
192
199
|
* @param {number} value
|
|
193
200
|
* @param {string=} opt_message
|
|
194
201
|
*/
|
|
195
|
-
|
|
202
|
+
chai.Assertion.prototype.lengthOf = function(value, opt_message) {};
|
|
196
203
|
|
|
197
204
|
/**
|
|
198
205
|
* @param {!RegExp} re
|
|
199
206
|
* @param {string=} opt_message
|
|
200
207
|
*/
|
|
201
|
-
|
|
208
|
+
chai.Assertion.prototype.match = function(re, opt_message) {};
|
|
202
209
|
|
|
203
210
|
/**
|
|
204
211
|
* @param {string} value
|
|
205
212
|
* @param {string=} opt_message
|
|
206
213
|
*/
|
|
207
|
-
|
|
214
|
+
chai.Assertion.prototype.string = function(value, opt_message) {};
|
|
208
215
|
|
|
209
216
|
/**
|
|
210
217
|
* @param {*} value
|
|
211
218
|
* @param {string=} opt_message
|
|
212
219
|
*/
|
|
213
|
-
|
|
220
|
+
chai.Assertion.prototype.keys = function(value, opt_message) {};
|
|
214
221
|
|
|
215
222
|
/**
|
|
216
223
|
* Note: incomplete definition because it is tricky.
|
|
217
224
|
* @param {...*} var_args
|
|
218
225
|
*/
|
|
219
|
-
|
|
226
|
+
chai.Assertion.prototype.throw = function(var_args) {};
|
|
220
227
|
|
|
221
228
|
/**
|
|
222
229
|
* @param {string} method
|
|
223
230
|
* @param {string=} opt_message
|
|
224
231
|
*/
|
|
225
|
-
|
|
232
|
+
chai.Assertion.prototype.respondTo = function(method, opt_message) {};
|
|
226
233
|
|
|
227
234
|
/**
|
|
228
235
|
* @param {function(*): boolean} matcher
|
|
229
236
|
* @param {string=} opt_message
|
|
230
237
|
*/
|
|
231
|
-
|
|
238
|
+
chai.Assertion.prototype.satisfy = function(matcher, opt_message) {};
|
|
232
239
|
|
|
233
240
|
/**
|
|
234
241
|
* @param {!Array<*>} value
|
|
235
242
|
* @param {string=} opt_message
|
|
236
243
|
*/
|
|
237
|
-
|
|
244
|
+
chai.Assertion.prototype.members = function(value, opt_message) {};
|
|
238
245
|
|
|
239
246
|
/**
|
|
240
247
|
* @param {!Array<*>} value
|
|
241
248
|
* @param {string=} opt_message
|
|
242
249
|
*/
|
|
243
|
-
|
|
250
|
+
chai.Assertion.prototype.oneOf = function(value, opt_message) {};
|
|
244
251
|
|
|
245
252
|
/**
|
|
246
253
|
* @param {*} value
|
|
247
254
|
* @param {string} name
|
|
248
255
|
* @param {string=} opt_message
|
|
249
256
|
*/
|
|
250
|
-
|
|
257
|
+
chai.Assertion.prototype.change = function(value, name, opt_message) {};
|
|
251
258
|
|
|
252
259
|
/**
|
|
253
260
|
* @param {*} value
|
|
254
261
|
* @param {string} name
|
|
255
262
|
* @param {string=} opt_message
|
|
256
263
|
*/
|
|
257
|
-
|
|
264
|
+
chai.Assertion.prototype.increase = function(value, name, opt_message) {};
|
|
258
265
|
|
|
259
266
|
/**
|
|
260
267
|
* @param {*} value
|
|
261
268
|
* @param {string} name
|
|
262
269
|
* @param {string=} opt_message
|
|
263
270
|
*/
|
|
264
|
-
|
|
271
|
+
chai.Assertion.prototype.decrease = function(value, name, opt_message) {};
|
|
265
272
|
|
|
266
273
|
// Below are the externs for the TDD expect API: http://chaijs.com/api/assert/
|
|
267
274
|
|
|
@@ -385,6 +392,18 @@ assert.isNotNull = function(value, message) {}
|
|
|
385
392
|
*/
|
|
386
393
|
assert.isNull = function(value, opt_message) {};
|
|
387
394
|
|
|
395
|
+
/**
|
|
396
|
+
* @param {*} value
|
|
397
|
+
* @param {string=} opt_message
|
|
398
|
+
*/
|
|
399
|
+
assert.exists = function(value, opt_message) {};
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @param {*} value
|
|
403
|
+
* @param {string=} opt_message
|
|
404
|
+
*/
|
|
405
|
+
assert.notExists = function(value, opt_message) {};
|
|
406
|
+
|
|
388
407
|
/**
|
|
389
408
|
* @param {*} object
|
|
390
409
|
* @param {function(new: Object)} constructor
|
|
@@ -456,3 +475,32 @@ assert.sameMembers = function(set1, set2, opt_message) {};
|
|
|
456
475
|
* @param {string=} opt_message
|
|
457
476
|
*/
|
|
458
477
|
assert.sameDeepMembers = function(set1, set2, opt_message) {};
|
|
478
|
+
|
|
479
|
+
// Below are the externs for the APIs to build custom assertions:
|
|
480
|
+
// http://www.chaijs.com/api/plugins/
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* @param {string} name
|
|
484
|
+
* @param {!Function} getter
|
|
485
|
+
*/
|
|
486
|
+
chai.Assertion.addMethod = function(name, getter) {};
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @param {string} name
|
|
490
|
+
* @param {function()} getter
|
|
491
|
+
*/
|
|
492
|
+
chai.Assertion.addProperty = function(name, getter) {};
|
|
493
|
+
|
|
494
|
+
/** @type {*} */
|
|
495
|
+
chai.Assertion.prototype._obj;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @param {boolean} expr
|
|
499
|
+
* @param {string} msg
|
|
500
|
+
* @param {string} negateMsg
|
|
501
|
+
* @param {*} expected
|
|
502
|
+
* @param {*=} actual
|
|
503
|
+
* @param {boolean=} showDiff
|
|
504
|
+
*/
|
|
505
|
+
chai.Assertion.prototype.assert = function(
|
|
506
|
+
expr, msg, negateMsg, expected, actual, showDiff) {}
|