@types/lodash 4.17.25 → 4.17.27

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 lodash (https://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: Sat, 01 Aug 2026 03:43:12 GMT
11
+ * Last updated: Wed, 21 Oct 2026 15:38:39 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
lodash/common/common.d.ts CHANGED
@@ -15,13 +15,17 @@ declare module "../index" {
15
15
  T extends object | null | undefined ? Object<T> :
16
16
  Primitive<T>;
17
17
  type ExpChain<T> =
18
+ [T] extends [never] ? never :
19
+ [Exclude<T, null | undefined>] extends [never] ? PrimitiveChain<T> :
20
+ DistributedExpChain<T, 0 extends 1 & T ? never : Extract<T, null | undefined>>;
21
+ type DistributedExpChain<T, TNullish> =
18
22
  T extends { __trapAny: any } ? CollectionChain<any> & FunctionChain<any> & ObjectChain<any> & PrimitiveChain<any> & StringChain :
19
23
  T extends null | undefined ? never :
20
- T extends string ? StringChain<T> :
21
- T extends (...args: any) => any ? FunctionChain<T> :
22
- T extends List<infer U> | null | undefined ? CollectionChain<U> :
23
- T extends object | null | undefined ? ObjectChain<T> :
24
- PrimitiveChain<T>;
24
+ T extends string ? ([TNullish] extends [never] ? StringChain<T> : StringNullableChain) :
25
+ T extends (...args: any) => any ? ([TNullish] extends [never] ? FunctionChain<T> : ObjectChain<T | TNullish>) :
26
+ T extends List<infer U> ? CollectionChain<U> :
27
+ T extends object ? ObjectChain<T | TNullish> :
28
+ PrimitiveChain<T | TNullish>;
25
29
  interface LoDashStatic {
26
30
  /**
27
31
  * Creates a lodash object which wraps value to enable implicit method chain sequences.
@@ -537,8 +537,8 @@ declare module "../index" {
537
537
  /**
538
538
  * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for
539
539
  * storing the result based on the arguments provided to the memoized function. By default, the first argument
540
- * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with
541
- * the this binding of the memoized function.
540
+ * provided to the memoized function is used as the map cache key. The func is invoked with the this binding of
541
+ * the memoized function.
542
542
  *
543
543
  * @param func The function to have its output memoized.
544
544
  * @param resolver The function to resolve the cache key.
lodash/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/lodash",
3
- "version": "4.17.25",
3
+ "version": "4.17.27",
4
4
  "description": "TypeScript definitions for lodash",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash",
6
6
  "license": "MIT",
@@ -51,6 +51,6 @@
51
51
  "scripts": {},
52
52
  "dependencies": {},
53
53
  "peerDependencies": {},
54
- "typesPublisherContentHash": "5b89763740a3523d5295cc411a286fab1b0799800b598f81ec76d2f90a1ffce3",
54
+ "typesPublisherContentHash": "6eaaed9342b9e6d6eb113fda86357b6033dbb99baae76552027cf91b3d66a5b5",
55
55
  "typeScriptVersion": "5.6"
56
56
  }