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

@itrocks/sorted-array

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itrocks/sorted-array - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json

@@ -41,3 +41,3 @@ {

"types": "./sorted-array.d.ts",
"version": "0.0.8"
"version": "0.0.9"
}

@@ -155,3 +155,3 @@ [![view on npm](https://badgen.net/npm/v/@itrocks/sorted-array)](https://www.npmjs.org/package/@itrocks/sorted-array)

- If `compareBy` is a number, it specifies the index of each inner array's element that will be used for comparison.
Example:
*Example:*
```js

@@ -164,3 +164,3 @@ new SortedArrayBy(1, ['a', 'c', 'b'], ['r', 'd', 'a'])

- If `compareBy` is a number or a string, it specifies the property name by which object elements will be compared.
Example:
*Example:*
```js

@@ -167,0 +167,0 @@ new SortedArrayBy('name', { age: 30, name: 'Henry', age: 20, name: 'Johana' })

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