@types/lodash 4.14.51 → 4.14.52

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.
lodash/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Lo-Dash (http://lodash.com/).
8
8
  Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/lodash
9
9
 
10
10
  Additional Details
11
- * Last updated: Fri, 27 Jan 2017 21:43:19 GMT
11
+ * Last updated: Mon, 30 Jan 2017 18:31:48 GMT
12
12
  * Dependencies: none
13
13
  * Global values: _
14
14
 
lodash/index.d.ts CHANGED
@@ -69,7 +69,7 @@ added 23 array methods:
69
69
  - [x] _.xorBy
70
70
  - [x] _.xorWith
71
71
 
72
- added 18 lang methods:
72
+ added 20 lang methods:
73
73
  - [x] _.cloneDeepWith
74
74
  - [x] _.cloneWith
75
75
  - [x] _.eq
@@ -88,6 +88,8 @@ added 18 lang methods:
88
88
  - [x] _.toNumber
89
89
  - [x] _.toSafeInteger
90
90
  - [x] _.toString
91
+ - [X] _.conforms
92
+ - [X] _.conformsTo
91
93
 
92
94
  added 13 object methods:
93
95
  - [x] _.assignIn
@@ -226,7 +228,6 @@ Methods:
226
228
  - [ ] _.split
227
229
 
228
230
  - [ ] _.cond
229
- - [ ] _.conforms
230
231
  - [ ] _.nthArg
231
232
  - [ ] _.over
232
233
  - [ ] _.overEvery
@@ -11436,6 +11437,33 @@ declare namespace _ {
11436
11437
  ): LoDashExplicitObjectWrapper<TResult>;
11437
11438
  }
11438
11439
 
11440
+ /**
11441
+ * An object containing predicate functions for each property of T
11442
+ */
11443
+ type ConformsPredicateObject<T> = {
11444
+ [P in keyof T]: (val: T[P]) => boolean;
11445
+ };
11446
+
11447
+ //_.conforms
11448
+ interface LoDashStatic {
11449
+ /**
11450
+ * Creates a function that invokes the predicate properties of `source` with the corresponding
11451
+ * property values of a given object, returning true if all predicates return truthy, else false.
11452
+ */
11453
+ conforms<T>(source: ConformsPredicateObject<T>): (Target: T) => boolean;
11454
+ }
11455
+
11456
+ //_.conformsTo
11457
+ interface LoDashStatic {
11458
+ /**
11459
+ * Checks if object conforms to source by invoking the predicate properties of source with the
11460
+ * corresponding property values of object.
11461
+ *
11462
+ * Note: This method is equivalent to _.conforms when source is partially applied.
11463
+ */
11464
+ conformsTo<T>(object: T, source: ConformsPredicateObject<T>): boolean;
11465
+ }
11466
+
11439
11467
  //_.eq
11440
11468
  interface LoDashStatic {
11441
11469
  /**
lodash/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/lodash",
3
- "version": "4.14.51",
3
+ "version": "4.14.52",
4
4
  "description": "TypeScript definitions for Lo-Dash",
5
5
  "license": "MIT",
6
6
  "author": "Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>",
@@ -12,6 +12,6 @@
12
12
  "scripts": {},
13
13
  "dependencies": {},
14
14
  "peerDependencies": {},
15
- "typesPublisherContentHash": "0708eeb5919ac0b04e866fd374575087d864bdcecce13527f4e93fed0804e05e",
15
+ "typesPublisherContentHash": "1232780a04f9133ed4be974a68ebfddcd83178d62c5da8e7141b0c12a7129c6f",
16
16
  "typeScriptVersion": "2.1"
17
17
  }
@@ -18,292 +18,292 @@
18
18
  ],
19
19
  "declaredModules": [
20
20
  "lodash/add",
21
- "lodash/.",
22
21
  "lodash/assign",
23
22
  "lodash/ary",
24
23
  "lodash/assignInWith",
25
24
  "lodash/after",
25
+ "lodash/.",
26
26
  "lodash/assignWith",
27
+ "lodash/at",
27
28
  "lodash/assignIn",
28
29
  "lodash/attempt",
30
+ "lodash/bindAll",
29
31
  "lodash/before",
30
- "lodash/at",
31
- "lodash/bind",
32
32
  "lodash/bindKey",
33
- "lodash/capitalize",
34
- "lodash/bindAll",
35
- "lodash/camelCase",
33
+ "lodash/bind",
36
34
  "lodash/castArray",
37
35
  "lodash/ceil",
36
+ "lodash/capitalize",
38
37
  "lodash/chunk",
39
- "lodash/chain",
38
+ "lodash/camelCase",
40
39
  "lodash/clamp",
40
+ "lodash/chain",
41
41
  "lodash/clone",
42
- "lodash/cloneDeep",
43
42
  "lodash/cloneWith",
44
- "lodash/cloneDeepWith",
45
43
  "lodash/compact",
46
- "lodash/constant",
47
- "lodash/concat",
44
+ "lodash/cloneDeepWith",
45
+ "lodash/cloneDeep",
48
46
  "lodash/countBy",
49
- "lodash/curry",
50
- "lodash/curryRight",
47
+ "lodash/concat",
48
+ "lodash/constant",
49
+ "lodash/deburr",
51
50
  "lodash/create",
51
+ "lodash/curry",
52
52
  "lodash/debounce",
53
+ "lodash/defaultsDeep",
54
+ "lodash/curryRight",
55
+ "lodash/difference",
53
56
  "lodash/defaults",
54
- "lodash/deburr",
55
57
  "lodash/defer",
56
58
  "lodash/delay",
57
- "lodash/difference",
58
- "lodash/differenceWith",
59
- "lodash/differenceBy",
60
59
  "lodash/dropWhile",
61
60
  "lodash/drop",
62
- "lodash/each",
61
+ "lodash/differenceWith",
63
62
  "lodash/dropRightWhile",
63
+ "lodash/dropRight",
64
64
  "lodash/eachRight",
65
+ "lodash/each",
66
+ "lodash/differenceBy",
65
67
  "lodash/endsWith",
66
- "lodash/eq",
67
- "lodash/dropRight",
68
68
  "lodash/escape",
69
- "lodash/escapeRegExp",
70
- "lodash/fb",
69
+ "lodash/eq",
71
70
  "lodash/every",
71
+ "lodash/escapeRegExp",
72
72
  "lodash/extendWith",
73
+ "lodash/extend",
74
+ "lodash/fb",
73
75
  "lodash/fill",
74
- "lodash/find",
75
- "lodash/filter",
76
- "lodash/findIndex",
77
76
  "lodash/findKey",
78
- "lodash/findLastIndex",
77
+ "lodash/filter",
79
78
  "lodash/findLast",
80
- "lodash/extend",
81
- "lodash/flatMap",
82
- "lodash/flatten",
79
+ "lodash/findLastIndex",
80
+ "lodash/find",
81
+ "lodash/first",
83
82
  "lodash/findLastKey",
83
+ "lodash/flatMap",
84
+ "lodash/flattenDeep",
84
85
  "lodash/flip",
85
86
  "lodash/flattenDepth",
86
- "lodash/flattenDeep",
87
- "lodash/first",
88
87
  "lodash/floor",
89
- "lodash/flow",
88
+ "lodash/flatten",
90
89
  "lodash/flowRight",
90
+ "lodash/flow",
91
91
  "lodash/forEachRight",
92
- "lodash/forEach",
93
92
  "lodash/forInRight",
94
- "lodash/forOwn",
95
93
  "lodash/forIn",
96
- "lodash/fromPairs",
94
+ "lodash/forEach",
97
95
  "lodash/forOwnRight",
98
- "lodash/get",
96
+ "lodash/forOwn",
97
+ "lodash/fromPairs",
99
98
  "lodash/functionsIn",
100
99
  "lodash/functions",
100
+ "lodash/findIndex",
101
+ "lodash/gt",
102
+ "lodash/groupBy",
103
+ "lodash/get",
101
104
  "lodash/gte",
102
105
  "lodash/has",
103
- "lodash/hasIn",
104
- "lodash/groupBy",
105
- "lodash/gt",
106
- "lodash/identity",
107
- "lodash/includes",
108
106
  "lodash/initial",
107
+ "lodash/includes",
108
+ "lodash/identity",
109
109
  "lodash/indexOf",
110
- "lodash/head",
110
+ "lodash/hasIn",
111
111
  "lodash/intersection",
112
112
  "lodash/inRange",
113
- "lodash/intersectionWith",
114
113
  "lodash/intersectionBy",
115
- "lodash/invoke",
116
- "lodash/invokeMap",
114
+ "lodash/intersectionWith",
117
115
  "lodash/invertBy",
118
116
  "lodash/invert",
117
+ "lodash/invoke",
118
+ "lodash/isArray",
119
+ "lodash/invokeMap",
120
+ "lodash/isArrayLike",
119
121
  "lodash/isArrayBuffer",
120
122
  "lodash/isArguments",
121
- "lodash/isArrayLike",
122
123
  "lodash/isBoolean",
124
+ "lodash/isBuffer",
123
125
  "lodash/isArrayLikeObject",
124
- "lodash/isArray",
125
126
  "lodash/isDate",
127
+ "lodash/head",
126
128
  "lodash/isEmpty",
127
- "lodash/isEqual",
128
129
  "lodash/isEqualWith",
129
130
  "lodash/isFinite",
130
131
  "lodash/isError",
131
- "lodash/isFunction",
132
- "lodash/isInteger",
132
+ "lodash/isEqual",
133
133
  "lodash/isElement",
134
- "lodash/isLength",
134
+ "lodash/isInteger",
135
+ "lodash/isFunction",
135
136
  "lodash/isMap",
136
- "lodash/isMatchWith",
137
+ "lodash/isLength",
137
138
  "lodash/isMatch",
138
- "lodash/isNaN",
139
139
  "lodash/isNil",
140
- "lodash/isNative",
140
+ "lodash/isNaN",
141
+ "lodash/isMatchWith",
141
142
  "lodash/isNull",
142
- "lodash/isNumber",
143
- "lodash/isObject",
144
143
  "lodash/isObjectLike",
145
- "lodash/isPlainObject",
146
- "lodash/isSet",
144
+ "lodash/isObject",
147
145
  "lodash/isRegExp",
146
+ "lodash/isNumber",
147
+ "lodash/isNative",
148
148
  "lodash/isSafeInteger",
149
- "lodash/isTypedArray",
150
149
  "lodash/isString",
150
+ "lodash/isPlainObject",
151
151
  "lodash/isSymbol",
152
+ "lodash/isSet",
152
153
  "lodash/isUndefined",
154
+ "lodash/isTypedArray",
153
155
  "lodash/iteratee",
154
- "lodash/kebabCase",
155
- "lodash/isWeakSet",
156
156
  "lodash/isWeakMap",
157
157
  "lodash/join",
158
+ "lodash/keyBy",
159
+ "lodash/isWeakSet",
160
+ "lodash/kebabCase",
158
161
  "lodash/keysIn",
159
- "lodash/keys",
160
- "lodash/lowerCase",
161
162
  "lodash/last",
162
- "lodash/keyBy",
163
- "lodash/lowerFirst",
163
+ "lodash/keys",
164
164
  "lodash/lastIndexOf",
165
- "lodash/lte",
166
- "lodash/mapKeys",
165
+ "lodash/lowerFirst",
167
166
  "lodash/map",
168
- "lodash/lt",
167
+ "lodash/lowerCase",
169
168
  "lodash/mapValues",
169
+ "lodash/lte",
170
+ "lodash/lt",
171
+ "lodash/mapKeys",
172
+ "lodash/matchesProperty",
170
173
  "lodash/max",
171
- "lodash/isBuffer",
174
+ "lodash/maxBy",
175
+ "lodash/mergeWith",
172
176
  "lodash/mean",
173
177
  "lodash/matches",
174
178
  "lodash/meanBy",
175
- "lodash/maxBy",
176
- "lodash/memoize",
177
179
  "lodash/merge",
178
- "lodash/method",
179
- "lodash/mergeWith",
180
180
  "lodash/methodOf",
181
- "lodash/minBy",
181
+ "lodash/method",
182
+ "lodash/memoize",
182
183
  "lodash/min",
183
- "lodash/negate",
184
- "lodash/now",
184
+ "lodash/minBy",
185
185
  "lodash/mixin",
186
186
  "lodash/noConflict",
187
- "lodash/nthArg",
187
+ "lodash/negate",
188
188
  "lodash/noop",
189
- "lodash/omit",
189
+ "lodash/nthArg",
190
+ "lodash/now",
191
+ "lodash/omitBy",
190
192
  "lodash/once",
191
193
  "lodash/over",
192
- "lodash/omitBy",
193
- "lodash/overArgs",
194
- "lodash/overSome",
195
194
  "lodash/orderBy",
196
- "lodash/pad",
197
195
  "lodash/overEvery",
196
+ "lodash/overArgs",
197
+ "lodash/pad",
198
+ "lodash/overSome",
198
199
  "lodash/padStart",
199
200
  "lodash/padEnd",
200
- "lodash/partial",
201
- "lodash/pick",
201
+ "lodash/parseInt",
202
+ "lodash/omit",
202
203
  "lodash/partialRight",
203
- "lodash/pickBy",
204
+ "lodash/pull",
204
205
  "lodash/partition",
205
- "lodash/propertyOf",
206
+ "lodash/pick",
207
+ "lodash/partial",
208
+ "lodash/pickBy",
206
209
  "lodash/property",
207
- "lodash/pullAllBy",
210
+ "lodash/propertyOf",
208
211
  "lodash/pullAll",
209
- "lodash/pull",
210
- "lodash/random",
211
- "lodash/range",
212
212
  "lodash/pullAt",
213
- "lodash/rangeRight",
214
- "lodash/reduce",
215
- "lodash/reject",
216
- "lodash/rearg",
213
+ "lodash/pullAllBy",
214
+ "lodash/range",
215
+ "lodash/random",
217
216
  "lodash/reduceRight",
217
+ "lodash/rearg",
218
+ "lodash/reduce",
218
219
  "lodash/repeat",
219
220
  "lodash/remove",
220
221
  "lodash/replace",
222
+ "lodash/round",
221
223
  "lodash/result",
222
224
  "lodash/rest",
225
+ "lodash/reject",
223
226
  "lodash/reverse",
224
- "lodash/sample",
225
- "lodash/sampleSize",
226
- "lodash/round",
227
227
  "lodash/runInContext",
228
- "lodash/setWith",
229
- "lodash/shuffle",
230
228
  "lodash/set",
231
- "lodash/snakeCase",
229
+ "lodash/sampleSize",
230
+ "lodash/setWith",
231
+ "lodash/sample",
232
232
  "lodash/slice",
233
233
  "lodash/size",
234
+ "lodash/shuffle",
235
+ "lodash/snakeCase",
234
236
  "lodash/some",
235
237
  "lodash/sortedIndex",
236
- "lodash/sortBy",
237
238
  "lodash/sortedIndexBy",
238
- "lodash/sortedLastIndexBy",
239
+ "lodash/sortBy",
239
240
  "lodash/sortedIndexOf",
240
241
  "lodash/sortedLastIndex",
242
+ "lodash/sortedLastIndexBy",
243
+ "lodash/spread",
241
244
  "lodash/sortedUniq",
242
- "lodash/sortedLastIndexOf",
243
245
  "lodash/sortedUniqBy",
244
- "lodash/matchesProperty",
245
- "lodash/spread",
246
+ "lodash/startCase",
247
+ "lodash/sortedLastIndexOf",
246
248
  "lodash/split",
249
+ "lodash/rangeRight",
247
250
  "lodash/subtract",
248
- "lodash/startCase",
249
- "lodash/sum",
250
251
  "lodash/startsWith",
251
- "lodash/take",
252
- "lodash/sumBy",
253
252
  "lodash/tail",
253
+ "lodash/sum",
254
254
  "lodash/takeRightWhile",
255
- "lodash/defaultsDeep",
256
- "lodash/takeRight",
257
255
  "lodash/takeWhile",
256
+ "lodash/sumBy",
257
+ "lodash/takeRight",
258
+ "lodash/take",
259
+ "lodash/tap",
258
260
  "lodash/throttle",
259
- "lodash/toArray",
260
261
  "lodash/template",
261
262
  "lodash/thru",
262
- "lodash/tap",
263
+ "lodash/toLength",
263
264
  "lodash/toInteger",
264
265
  "lodash/times",
265
- "lodash/toLower",
266
- "lodash/toLength",
267
- "lodash/toPairs",
268
266
  "lodash/toPairsIn",
267
+ "lodash/toLower",
269
268
  "lodash/toNumber",
270
- "lodash/toPlainObject",
269
+ "lodash/toArray",
270
+ "lodash/toPairs",
271
271
  "lodash/toPath",
272
272
  "lodash/toSafeInteger",
273
273
  "lodash/toUpper",
274
- "lodash/transform",
275
- "lodash/trim",
274
+ "lodash/toPlainObject",
276
275
  "lodash/toString",
277
276
  "lodash/trimEnd",
277
+ "lodash/trim",
278
+ "lodash/transform",
278
279
  "lodash/trimStart",
279
280
  "lodash/truncate",
280
- "lodash/unescape",
281
281
  "lodash/unary",
282
- "lodash/unionBy",
282
+ "lodash/unescape",
283
283
  "lodash/uniq",
284
- "lodash/union",
285
- "lodash/uniqueId",
286
284
  "lodash/unionWith",
285
+ "lodash/unionBy",
287
286
  "lodash/uniqBy",
288
287
  "lodash/uniqWith",
289
- "lodash/unzip",
288
+ "lodash/union",
290
289
  "lodash/unset",
290
+ "lodash/uniqueId",
291
+ "lodash/unzip",
291
292
  "lodash/update",
292
- "lodash/unzipWith",
293
293
  "lodash/upperCase",
294
- "lodash/upperFirst",
294
+ "lodash/unzipWith",
295
295
  "lodash/without",
296
296
  "lodash/values",
297
- "lodash/words",
297
+ "lodash/valuesIn",
298
298
  "lodash/wrap",
299
- "lodash/xor",
299
+ "lodash/upperFirst",
300
300
  "lodash/xorBy",
301
- "lodash/xorWith",
302
301
  "lodash/zip",
303
- "lodash/zipObject",
302
+ "lodash/words",
303
+ "lodash/xorWith",
304
304
  "lodash/zipWith",
305
- "lodash/valuesIn",
306
- "lodash/parseInt"
305
+ "lodash/zipObject",
306
+ "lodash/xor"
307
307
  ],
308
308
  "files": [
309
309
  "add/index.d.ts",
@@ -595,7 +595,7 @@
595
595
  "zipWith/index.d.ts"
596
596
  ],
597
597
  "hasPackageJson": false,
598
- "contentHash": "0708eeb5919ac0b04e866fd374575087d864bdcecce13527f4e93fed0804e05e"
598
+ "contentHash": "1232780a04f9133ed4be974a68ebfddcd83178d62c5da8e7141b0c12a7129c6f"
599
599
  },
600
600
  "isLatest": true
601
601
  }