@types/lodash 4.14.116 → 4.14.117
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/LICENSE +21 -21
- lodash/README.md +1 -1
- lodash/common/collection.d.ts +12 -12
- lodash/fp.d.ts +19 -19
- lodash/package.json +2 -2
lodash/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 09 Oct 2018 18:16:18 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: _
|
|
14
14
|
|
lodash/common/collection.d.ts
CHANGED
|
@@ -1658,7 +1658,7 @@ declare module "../index" {
|
|
|
1658
1658
|
orderBy<T>(
|
|
1659
1659
|
collection: List<T> | null | undefined,
|
|
1660
1660
|
iteratees?: Many<ListIterator<T, NotVoid>>,
|
|
1661
|
-
orders?: Many<boolean|
|
|
1661
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1662
1662
|
): T[];
|
|
1663
1663
|
|
|
1664
1664
|
/**
|
|
@@ -1667,7 +1667,7 @@ declare module "../index" {
|
|
|
1667
1667
|
orderBy<T>(
|
|
1668
1668
|
collection: List<T> | null | undefined,
|
|
1669
1669
|
iteratees?: Many<ListIteratee<T>>,
|
|
1670
|
-
orders?: Many<boolean|
|
|
1670
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1671
1671
|
): T[];
|
|
1672
1672
|
|
|
1673
1673
|
/**
|
|
@@ -1676,7 +1676,7 @@ declare module "../index" {
|
|
|
1676
1676
|
orderBy<T extends object>(
|
|
1677
1677
|
collection: T | null | undefined,
|
|
1678
1678
|
iteratees?: Many<ObjectIterator<T, NotVoid>>,
|
|
1679
|
-
orders?: Many<boolean|
|
|
1679
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1680
1680
|
): Array<T[keyof T]>;
|
|
1681
1681
|
|
|
1682
1682
|
/**
|
|
@@ -1685,7 +1685,7 @@ declare module "../index" {
|
|
|
1685
1685
|
orderBy<T extends object>(
|
|
1686
1686
|
collection: T | null | undefined,
|
|
1687
1687
|
iteratees?: Many<ObjectIteratee<T>>,
|
|
1688
|
-
orders?: Many<boolean|
|
|
1688
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1689
1689
|
): Array<T[keyof T]>;
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
@@ -1696,7 +1696,7 @@ declare module "../index" {
|
|
|
1696
1696
|
orderBy<T>(
|
|
1697
1697
|
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
1698
1698
|
iteratees?: Many<ListIterator<T, NotVoid>>,
|
|
1699
|
-
orders?: Many<boolean|
|
|
1699
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1700
1700
|
): LoDashImplicitWrapper<T[]>;
|
|
1701
1701
|
|
|
1702
1702
|
/**
|
|
@@ -1705,7 +1705,7 @@ declare module "../index" {
|
|
|
1705
1705
|
orderBy<T>(
|
|
1706
1706
|
this: LoDashImplicitWrapper<List<T> | null | undefined>,
|
|
1707
1707
|
iteratees?: Many<ListIteratee<T>>,
|
|
1708
|
-
orders?: Many<boolean|
|
|
1708
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1709
1709
|
): LoDashImplicitWrapper<T[]>;
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
@@ -1714,7 +1714,7 @@ declare module "../index" {
|
|
|
1714
1714
|
orderBy<T extends object>(
|
|
1715
1715
|
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
1716
1716
|
iteratees?: Many<ObjectIterator<T, NotVoid>>,
|
|
1717
|
-
orders?: Many<boolean|
|
|
1717
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1718
1718
|
): LoDashImplicitWrapper<Array<T[keyof T]>>;
|
|
1719
1719
|
|
|
1720
1720
|
/**
|
|
@@ -1723,7 +1723,7 @@ declare module "../index" {
|
|
|
1723
1723
|
orderBy<T extends object>(
|
|
1724
1724
|
this: LoDashImplicitWrapper<T | null | undefined>,
|
|
1725
1725
|
iteratees?: Many<ObjectIteratee<T>>,
|
|
1726
|
-
orders?: Many<boolean|
|
|
1726
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1727
1727
|
): LoDashImplicitWrapper<Array<T[keyof T]>>;
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
@@ -1734,7 +1734,7 @@ declare module "../index" {
|
|
|
1734
1734
|
orderBy<T>(
|
|
1735
1735
|
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
1736
1736
|
iteratees?: Many<ListIterator<T, NotVoid>>,
|
|
1737
|
-
orders?: Many<boolean|
|
|
1737
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1738
1738
|
): LoDashExplicitWrapper<T[]>;
|
|
1739
1739
|
|
|
1740
1740
|
/**
|
|
@@ -1743,7 +1743,7 @@ declare module "../index" {
|
|
|
1743
1743
|
orderBy<T>(
|
|
1744
1744
|
this: LoDashExplicitWrapper<List<T> | null | undefined>,
|
|
1745
1745
|
iteratees?: Many<ListIteratee<T>>,
|
|
1746
|
-
orders?: Many<boolean|
|
|
1746
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1747
1747
|
): LoDashExplicitWrapper<T[]>;
|
|
1748
1748
|
|
|
1749
1749
|
/**
|
|
@@ -1752,7 +1752,7 @@ declare module "../index" {
|
|
|
1752
1752
|
orderBy<T extends object>(
|
|
1753
1753
|
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
1754
1754
|
iteratees?: Many<ObjectIterator<T, NotVoid>>,
|
|
1755
|
-
orders?: Many<boolean|
|
|
1755
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1756
1756
|
): LoDashExplicitWrapper<Array<T[keyof T]>>;
|
|
1757
1757
|
|
|
1758
1758
|
/**
|
|
@@ -1761,7 +1761,7 @@ declare module "../index" {
|
|
|
1761
1761
|
orderBy<T extends object>(
|
|
1762
1762
|
this: LoDashExplicitWrapper<T | null | undefined>,
|
|
1763
1763
|
iteratees?: Many<ObjectIteratee<T>>,
|
|
1764
|
-
orders?: Many<boolean|
|
|
1764
|
+
orders?: Many<boolean|"asc"|"desc">
|
|
1765
1765
|
): LoDashExplicitWrapper<Array<T[keyof T]>>;
|
|
1766
1766
|
}
|
|
1767
1767
|
|
lodash/fp.d.ts
CHANGED
|
@@ -2312,25 +2312,25 @@ declare namespace _ {
|
|
|
2312
2312
|
type LodashOnce = <T extends (...args: any[]) => any>(func: T) => T;
|
|
2313
2313
|
interface LodashOrderBy {
|
|
2314
2314
|
<T>(iteratees: lodash.Many<(value: T) => lodash.NotVoid>): LodashOrderBy1x1<T>;
|
|
2315
|
-
(iteratees: lodash.__, orders: lodash.Many<boolean|
|
|
2316
|
-
<T>(iteratees: lodash.Many<(value: T) => lodash.NotVoid>, orders: lodash.Many<boolean|
|
|
2315
|
+
(iteratees: lodash.__, orders: lodash.Many<boolean|"asc"|"desc">): LodashOrderBy1x2;
|
|
2316
|
+
<T>(iteratees: lodash.Many<(value: T) => lodash.NotVoid>, orders: lodash.Many<boolean|"asc"|"desc">): LodashOrderBy1x3<T>;
|
|
2317
2317
|
<T>(iteratees: lodash.__, orders: lodash.__, collection: lodash.List<T> | null | undefined): LodashOrderBy1x4<T>;
|
|
2318
2318
|
<T>(iteratees: lodash.Many<(value: T) => lodash.NotVoid>, orders: lodash.__, collection: lodash.List<T> | null | undefined): LodashOrderBy1x5<T>;
|
|
2319
|
-
<T>(iteratees: lodash.__, orders: lodash.Many<boolean|
|
|
2320
|
-
<T>(iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.Many<boolean |
|
|
2319
|
+
<T>(iteratees: lodash.__, orders: lodash.Many<boolean|"asc"|"desc">, collection: lodash.List<T> | null | undefined): LodashOrderBy1x6<T>;
|
|
2320
|
+
<T>(iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.Many<boolean | "asc" | "desc">, collection: lodash.List<T> | null | undefined): T[];
|
|
2321
2321
|
<T>(iteratees: lodash.Many<lodash.ValueIteratee<T>>): LodashOrderBy2x1<T>;
|
|
2322
|
-
<T>(iteratees: lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.Many<boolean|
|
|
2322
|
+
<T>(iteratees: lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.Many<boolean|"asc"|"desc">): LodashOrderBy2x3<T>;
|
|
2323
2323
|
<T>(iteratees: lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.__, collection: lodash.List<T> | null | undefined): LodashOrderBy2x5<T>;
|
|
2324
2324
|
<T extends object>(iteratees: lodash.__, orders: lodash.__, collection: T | null | undefined): LodashOrderBy3x4<T>;
|
|
2325
2325
|
<T extends object>(iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid>, orders: lodash.__, collection: T | null | undefined): LodashOrderBy3x5<T>;
|
|
2326
|
-
<T extends object>(iteratees: lodash.__, orders: lodash.Many<boolean|
|
|
2327
|
-
<T extends object>(iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T[keyof T]>>, orders: lodash.Many<boolean |
|
|
2326
|
+
<T extends object>(iteratees: lodash.__, orders: lodash.Many<boolean|"asc"|"desc">, collection: T | null | undefined): LodashOrderBy3x6<T>;
|
|
2327
|
+
<T extends object>(iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T[keyof T]>>, orders: lodash.Many<boolean | "asc" | "desc">, collection: T | null | undefined): Array<T[keyof T]>;
|
|
2328
2328
|
<T extends object>(iteratees: lodash.Many<lodash.ValueIteratee<T[keyof T]>>, orders: lodash.__, collection: T | null | undefined): LodashOrderBy4x5<T>;
|
|
2329
2329
|
}
|
|
2330
2330
|
interface LodashOrderBy1x1<T> {
|
|
2331
|
-
(orders: lodash.Many<boolean |
|
|
2331
|
+
(orders: lodash.Many<boolean | "asc" | "desc">): LodashOrderBy1x3<T>;
|
|
2332
2332
|
(orders: lodash.__, collection: lodash.List<T> | null | undefined): LodashOrderBy1x5<T>;
|
|
2333
|
-
(orders: lodash.Many<boolean |
|
|
2333
|
+
(orders: lodash.Many<boolean | "asc" | "desc">, collection: lodash.List<T> | object | null | undefined): T[];
|
|
2334
2334
|
<T1 extends object>(orders: lodash.__, collection: T1 | null | undefined): LodashOrderBy3x5<T>;
|
|
2335
2335
|
}
|
|
2336
2336
|
interface LodashOrderBy1x2 {
|
|
@@ -2347,32 +2347,32 @@ declare namespace _ {
|
|
|
2347
2347
|
}
|
|
2348
2348
|
interface LodashOrderBy1x4<T> {
|
|
2349
2349
|
(iteratees: lodash.Many<(value: T) => lodash.NotVoid>): LodashOrderBy1x5<T>;
|
|
2350
|
-
(iteratees: lodash.__, orders: lodash.Many<boolean |
|
|
2351
|
-
(iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.Many<boolean |
|
|
2350
|
+
(iteratees: lodash.__, orders: lodash.Many<boolean | "asc" | "desc">): LodashOrderBy1x6<T>;
|
|
2351
|
+
(iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T>>, orders: lodash.Many<boolean | "asc" | "desc">): T[];
|
|
2352
2352
|
(iteratees: lodash.Many<lodash.ValueIteratee<T>>): LodashOrderBy2x5<T>;
|
|
2353
2353
|
}
|
|
2354
|
-
type LodashOrderBy1x5<T> = (orders: lodash.Many<boolean|
|
|
2354
|
+
type LodashOrderBy1x5<T> = (orders: lodash.Many<boolean|"asc"|"desc">) => T[];
|
|
2355
2355
|
type LodashOrderBy1x6<T> = (iteratees: lodash.Many<(value: T) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T>>) => T[];
|
|
2356
2356
|
interface LodashOrderBy2x1<T> {
|
|
2357
|
-
(orders: lodash.Many<boolean |
|
|
2357
|
+
(orders: lodash.Many<boolean | "asc" | "desc">): LodashOrderBy2x3<T>;
|
|
2358
2358
|
(orders: lodash.__, collection: lodash.List<T> | null | undefined): LodashOrderBy2x5<T>;
|
|
2359
|
-
(orders: lodash.Many<boolean |
|
|
2359
|
+
(orders: lodash.Many<boolean | "asc" | "desc">, collection: lodash.List<T> | object | null | undefined): T[];
|
|
2360
2360
|
<T1 extends object>(orders: lodash.__, collection: T1 | null | undefined): LodashOrderBy4x5<T>;
|
|
2361
2361
|
}
|
|
2362
2362
|
interface LodashOrderBy2x3<T> {
|
|
2363
2363
|
(collection: lodash.List<T> | null | undefined): T[];
|
|
2364
2364
|
(collection: object | null | undefined): object[];
|
|
2365
2365
|
}
|
|
2366
|
-
type LodashOrderBy2x5<T> = (orders: lodash.Many<boolean|
|
|
2366
|
+
type LodashOrderBy2x5<T> = (orders: lodash.Many<boolean|"asc"|"desc">) => T[];
|
|
2367
2367
|
interface LodashOrderBy3x4<T> {
|
|
2368
2368
|
(iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid>): LodashOrderBy3x5<T>;
|
|
2369
|
-
(iteratees: lodash.__, orders: lodash.Many<boolean |
|
|
2370
|
-
(iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T[keyof T]>>, orders: lodash.Many<boolean |
|
|
2369
|
+
(iteratees: lodash.__, orders: lodash.Many<boolean | "asc" | "desc">): LodashOrderBy3x6<T>;
|
|
2370
|
+
(iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T[keyof T]>>, orders: lodash.Many<boolean | "asc" | "desc">): Array<T[keyof T]>;
|
|
2371
2371
|
(iteratees: lodash.Many<lodash.ValueIteratee<T[keyof T]>>): LodashOrderBy4x5<T>;
|
|
2372
2372
|
}
|
|
2373
|
-
type LodashOrderBy3x5<T> = (orders: lodash.Many<boolean|
|
|
2373
|
+
type LodashOrderBy3x5<T> = (orders: lodash.Many<boolean|"asc"|"desc">) => Array<T[keyof T]>;
|
|
2374
2374
|
type LodashOrderBy3x6<T> = (iteratees: lodash.Many<(value: T[keyof T]) => lodash.NotVoid> | lodash.Many<lodash.ValueIteratee<T[keyof T]>>) => Array<T[keyof T]>;
|
|
2375
|
-
type LodashOrderBy4x5<T> = (orders: lodash.Many<boolean|
|
|
2375
|
+
type LodashOrderBy4x5<T> = (orders: lodash.Many<boolean|"asc"|"desc">) => Array<T[keyof T]>;
|
|
2376
2376
|
interface LodashOverArgs {
|
|
2377
2377
|
(func: (...args: any[]) => any): LodashOverArgs1x1;
|
|
2378
2378
|
(func: lodash.__, transforms: lodash.Many<(...args: any[]) => any>): LodashOverArgs1x2;
|
lodash/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.117",
|
|
4
4
|
"description": "TypeScript definitions for Lo-Dash",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
},
|
|
58
58
|
"scripts": {},
|
|
59
59
|
"dependencies": {},
|
|
60
|
-
"typesPublisherContentHash": "
|
|
60
|
+
"typesPublisherContentHash": "38f3ad6f654dbbc6177d1a48789d97a031c98906880fa6dd57620631b1ed58b2",
|
|
61
61
|
"typeScriptVersion": "2.6"
|
|
62
62
|
}
|