@feathersjs/commons
Advanced tools
Comparing version 1.4.3 to 1.4.4
# Change Log | ||
## [v1.4.3](https://github.com/feathersjs/commons/tree/v1.4.3) (2018-07-25) | ||
[Full Changelog](https://github.com/feathersjs/commons/compare/v1.4.2...v1.4.3) | ||
**Merged pull requests:** | ||
- Revert breaking change from 78d780de91ae8333f3843be153beb5deea55c792 [\#78](https://github.com/feathersjs/commons/pull/78) ([daffl](https://github.com/daffl)) | ||
## [v1.4.2](https://github.com/feathersjs/commons/tree/v1.4.2) (2018-07-25) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs/commons/compare/v1.4.1...v1.4.2) |
@@ -142,3 +142,3 @@ // Removes all leading and trailing slashes from a path | ||
exports.compareArrays = function compareArrays (a, b) { | ||
exports.compareArrays = function (a, b) { | ||
var i, comp; | ||
@@ -156,3 +156,3 @@ | ||
exports.compare = function compare (a, b, compareStrings = exports.compareNSB) { | ||
exports.compare = function (a, b, compareStrings = exports.compareNSB) { | ||
const { compareNSB, compare, compareArrays } = exports; | ||
@@ -204,3 +204,3 @@ | ||
// $sort special query parameter | ||
exports.sorter = function sorter ($sort) { | ||
exports.sorter = function ($sort) { | ||
const criteria = Object.keys($sort).map(key => { | ||
@@ -207,0 +207,0 @@ const direction = $sort[key]; |
{ | ||
"name": "@feathersjs/commons", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "Shared Feathers utility functions", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/feathersjs/commons", |
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
42588