@types/lodash 4.14.146 → 4.14.150
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 +5 -5
- lodash/common/lang.d.ts +1 -1
- lodash/common/util.d.ts +8 -0
- lodash/package.json +2 -2
- lodash/ts3.1/common/object.d.ts +7 -0
- lodash/ts3.1/common/util.d.ts +8 -0
lodash/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
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.
|
|
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
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
This package contains type definitions for Lo-Dash (https://lodash.com).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash.
|
|
9
9
|
|
|
10
|
-
Additional Details
|
|
11
|
-
* Last updated: Fri,
|
|
10
|
+
### Additional Details
|
|
11
|
+
* Last updated: Fri, 17 Apr 2020 23:11:06 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: _
|
|
13
|
+
* Global values: `_`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Brian Zengel
|
|
16
|
+
These definitions were written by [Brian Zengel](https://github.com/bczengel), [Ilya Mochalov](https://github.com/chrootsu), [Stepan Mikhaylyuk](https://github.com/stepancar), [AJ Richardson](https://github.com/aj-r), [e-cloud](https://github.com/e-cloud), [Georgii Dolzhykov](https://github.com/thorn0), [Jack Moore](https://github.com/jtmthf), [Dominique Rau](https://github.com/DomiR), and [William Chelman](https://github.com/WilliamChelman).
|
lodash/common/lang.d.ts
CHANGED
|
@@ -1020,7 +1020,7 @@ declare module "../index" {
|
|
|
1020
1020
|
|
|
1021
1021
|
// isMatchWith
|
|
1022
1022
|
|
|
1023
|
-
type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName, object: object, source: object) => boolean;
|
|
1023
|
+
type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName, object: object, source: object) => boolean | undefined;
|
|
1024
1024
|
|
|
1025
1025
|
interface LoDashStatic {
|
|
1026
1026
|
/**
|
lodash/common/util.d.ts
CHANGED
|
@@ -968,6 +968,10 @@ declare module "../index" {
|
|
|
968
968
|
* @param predicates The predicates to check.
|
|
969
969
|
* @return Returns the new function.
|
|
970
970
|
*/
|
|
971
|
+
overEvery<T, Result1 extends T, Result2 extends T>(
|
|
972
|
+
a: (arg: T) => arg is Result1,
|
|
973
|
+
b: (arg: T) => arg is Result2
|
|
974
|
+
): (arg: T) => arg is Result1 & Result2;
|
|
971
975
|
overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
|
|
972
976
|
}
|
|
973
977
|
|
|
@@ -995,6 +999,10 @@ declare module "../index" {
|
|
|
995
999
|
* @param predicates The predicates to check.
|
|
996
1000
|
* @return Returns the new function.
|
|
997
1001
|
*/
|
|
1002
|
+
overSome<T, Result1 extends T, Result2 extends T>(
|
|
1003
|
+
a: (arg: T) => arg is Result1,
|
|
1004
|
+
b: (arg: T) => arg is Result2
|
|
1005
|
+
): (arg: T) => arg is Result1 | Result2;
|
|
998
1006
|
overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
|
|
999
1007
|
}
|
|
1000
1008
|
|
lodash/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/lodash",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.150",
|
|
4
4
|
"description": "TypeScript definitions for Lo-Dash",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
},
|
|
67
67
|
"scripts": {},
|
|
68
68
|
"dependencies": {},
|
|
69
|
-
"typesPublisherContentHash": "
|
|
69
|
+
"typesPublisherContentHash": "68b01f5f9bcc1dcc9bddb823eb263ec03434e7836363ccc4c55a6e433fef28a4",
|
|
70
70
|
"typeScriptVersion": "2.8"
|
|
71
71
|
}
|
lodash/ts3.1/common/object.d.ts
CHANGED
|
@@ -1889,6 +1889,13 @@ declare module "../index" {
|
|
|
1889
1889
|
* _.omit(object, ['a', 'c']);
|
|
1890
1890
|
* // => { 'b': '2' }
|
|
1891
1891
|
*/
|
|
1892
|
+
omit<T extends object, K extends PropertyName[]>(
|
|
1893
|
+
object: T | null | undefined,
|
|
1894
|
+
...paths: K
|
|
1895
|
+
): Pick<T, Exclude<keyof T, K[number]>>;
|
|
1896
|
+
/**
|
|
1897
|
+
* @see _.omit
|
|
1898
|
+
*/
|
|
1892
1899
|
omit<T extends object, K extends keyof T>(object: T | null | undefined, ...paths: Array<Many<K>>): Omit<T, K>;
|
|
1893
1900
|
/**
|
|
1894
1901
|
* @see _.omit
|
lodash/ts3.1/common/util.d.ts
CHANGED
|
@@ -752,6 +752,10 @@ declare module "../index" {
|
|
|
752
752
|
* @param predicates The predicates to check.
|
|
753
753
|
* @return Returns the new function.
|
|
754
754
|
*/
|
|
755
|
+
overEvery<T, Result1 extends T, Result2 extends T>(...predicates: [
|
|
756
|
+
(arg: T) => arg is Result1,
|
|
757
|
+
(arg: T) => arg is Result2
|
|
758
|
+
]): (arg: T) => arg is Result1 & Result2;
|
|
755
759
|
overEvery<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
|
|
756
760
|
}
|
|
757
761
|
interface Collection<T> {
|
|
@@ -787,6 +791,10 @@ declare module "../index" {
|
|
|
787
791
|
* @param predicates The predicates to check.
|
|
788
792
|
* @return Returns the new function.
|
|
789
793
|
*/
|
|
794
|
+
overSome<T, Result1 extends T, Result2 extends T>(...predicates: [
|
|
795
|
+
(arg: T) => arg is Result1,
|
|
796
|
+
(arg: T) => arg is Result2
|
|
797
|
+
]): (arg: T) => arg is Result1 | Result2;
|
|
790
798
|
overSome<T>(...predicates: Array<Many<(...args: T[]) => boolean>>): (...args: T[]) => boolean;
|
|
791
799
|
}
|
|
792
800
|
interface Collection<T> {
|