Socket
Socket
Sign inDemoInstall

sort-array

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-array - npm Package Compare versions

Comparing version 4.1.4 to 4.1.5

2

dist/index.js

@@ -422,3 +422,3 @@ (function (global, factory) {

}
if (result === 0 && by[byIndex + 1]) {
if (result === 0 && t.isDefined(by[byIndex + 1])) {
result = compareFunc(xIn, yIn, byIndex + 1);

@@ -425,0 +425,0 @@ }

@@ -7,3 +7,3 @@ {

],
"version": "4.1.4",
"version": "4.1.5",
"description": "Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order",

@@ -28,3 +28,4 @@ "repository": "https://github.com/75lb/sort-array",

"scripts": {
"test": "npm run dist && npm run test:esm && web-runner test/*.mjs",
"test": "npm run dist && npm run test:ci",
"test:ci": "npm run test:esm && web-runner test/*.mjs",
"test:esm": "esm-runner test/*.mjs --view.hide-skips",

@@ -31,0 +32,0 @@ "docs": "jsdoc2md -c jsdoc.conf -t README.hbs index.mjs -d 3 > README.md",

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

[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/sort-array)](https://github.com/75lb/sort-array/network/dependents?dependent_type=PACKAGE)
[![Build Status](https://travis-ci.org/75lb/sort-array.svg?branch=master)](https://travis-ci.org/75lb/sort-array)
[![Node.js CI](https://github.com/75lb/sort-array/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/sort-array/actions/workflows/node.js.yml)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

@@ -229,4 +229,4 @@

&copy; 2015-21 Lloyd Brookes \<75pound@gmail.com\>.
&copy; 2015-22 Lloyd Brookes \<75pound@gmail.com\>.
Isomorphic test suite by [test-runner](https://github.com/test-runner-js/test-runner) and [web-runner](https://github.com/test-runner-js/web-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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