New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@daeinc/array

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daeinc/array - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

6

dist/index.d.ts

@@ -87,5 +87,5 @@ /**

*/
export declare const unwrapArrayOfObjects: (arr: {
[key: string]: any;
}[], objKey: string) => any[];
export declare const unwrapArrayOfObjects: <T>(arr: {
[key: string]: T;
}[], objKey: string) => T[];
//# sourceMappingURL=index.d.ts.map
{
"name": "@daeinc/array",
"version": "0.4.0",
"version": "0.4.1",
"description": "Array utilities",

@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts",

@@ -113,11 +113,13 @@ # @daeinc/array

This function can be useful when converting objects with `{x, y}` to `[x, y]`, for example.
### unwrapArrayOfObjects
```ts
const unwrapArrayOfObjects: (
const unwrapArrayOfObjects: <T>(
arr: {
[key: string]: any;
[key: string]: T;
}[],
objKey: string
) => any[];
) => T[];
```

@@ -124,0 +126,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc