Comparing version 4.0.9 to 4.0.10
@@ -5,2 +5,3 @@ /// <reference types="lodash" /> | ||
readonly ary: (func: (...args: any[]) => any, n?: number | undefined) => (...args: any[]) => any; | ||
readonly castArray: <T>(value?: T | T[] | undefined) => T[]; | ||
readonly compact: <T>(array: ArrayLike<false | "" | 0 | T | null | undefined> | null | undefined) => T[]; | ||
@@ -20,2 +21,5 @@ readonly flatMap: { | ||
<TObject extends object, TKey extends keyof TObject, TDefault>(object: TObject | null | undefined, path: TKey | [TKey], defaultValue: TDefault): TDefault | TObject[TKey]; | ||
<T>(object: lodash.NumericDictionary<T>, path: number): T; | ||
<T>(object: lodash.NumericDictionary<T> | null | undefined, path: number): T | undefined; | ||
<T, TDefault>(object: lodash.NumericDictionary<T> | null | undefined, path: number, defaultValue: TDefault): T | TDefault; | ||
<TDefault>(object: null | undefined, path: lodash.Many<PropertyKey>, defaultValue: TDefault): TDefault; | ||
@@ -22,0 +26,0 @@ (object: null | undefined, path: lodash.Many<PropertyKey>): undefined; |
@@ -5,2 +5,3 @@ "use strict"; | ||
get ary() { return fetch('lodash/ary'); }, | ||
get castArray() { return fetch('lodash/castArray'); }, | ||
get compact() { return fetch('lodash/compact'); }, | ||
@@ -7,0 +8,0 @@ get flatMap() { return fetch('lodash/flatMap'); }, |
{ | ||
"name": "ts-lodash", | ||
"description": "lazy-loading lodash for typescript", | ||
"version": "4.0.9", | ||
"version": "4.0.10", | ||
"author": "Jeff Dickey", | ||
@@ -10,5 +10,5 @@ "dependencies": { | ||
"devDependencies": { | ||
"@cli-engine/util": "^1.0.12", | ||
"@types/lodash": "^4.14.91", | ||
"@types/node": "^8.5.2", | ||
"@cli-engine/util": "^1.1.2", | ||
"@types/lodash": "^4.14.92", | ||
"@types/node": "^8.5.7", | ||
"typescript": "^2.6.2" | ||
@@ -15,0 +15,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
9087
4
121
1
18
23