You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@thi.ng/arrays

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/arrays - npm Package Compare versions

Comparing version

to
2.13.3

10

CHANGELOG.md
# Change Log
- **Last updated**: 2025-07-10T14:20:23Z
- **Last updated**: 2025-07-15T09:30:47Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -14,2 +14,10 @@

### [2.13.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/arrays@2.13.3) (2025-07-15)
#### ♻️ Refactoring
- add optional generics ([ba81685](https://github.com/thi-ng/umbrella/commit/ba81685))
- update `ensureArray()`/`ensureArrayLike()`
- update `ensureIterable()`
## [2.13.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/arrays@2.13.0) (2025-06-18)

@@ -16,0 +24,0 @@

4

ensure-array.d.ts

@@ -12,3 +12,3 @@ /**

*/
export declare const ensureArray: (x: any) => any[];
export declare const ensureArray: <T = any>(x: any) => T[];
/**

@@ -21,3 +21,3 @@ * Similar to {@link ensureArray}, but for `ArrayLike` types.

*/
export declare const ensureArrayLike: (x: any) => ArrayLike<any>;
export declare const ensureArrayLike: <T = any>(x: any) => ArrayLike<T>;
//# sourceMappingURL=ensure-array.d.ts.map

@@ -7,3 +7,3 @@ /**

*/
export declare const ensureIterable: (x: any) => Iterable<any>;
export declare const ensureIterable: <T = any>(x: any) => Iterable<T>;
//# sourceMappingURL=ensure-iterable.d.ts.map
{
"name": "@thi.ng/arrays",
"version": "2.13.2",
"version": "2.13.3",
"description": "Array / Arraylike utilities",

@@ -190,3 +190,3 @@ "type": "module",

},
"gitHead": "56d8f088389b22192a06e9a395b5eecebf47697a\n"
"gitHead": "9ec4a5584ed6e59f2b74f4ca9726daef7e766974\n"
}
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.