sort-array
Advanced tools
Comparing version 4.1.4 to 4.1.5
@@ -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 @@ | ||
© 2015-21 Lloyd Brookes \<75pound@gmail.com\>. | ||
© 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43212