Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "fxjs2", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Functional Extensions for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import baseSortBy from "./baseSortBy.js"; | ||
import curry from "./curry.js"; | ||
export default function sortBy(f, arr) { | ||
export default curry(function sortBy(f, arr) { | ||
return baseSortBy(-1, 1, f, arr); | ||
} | ||
}); |
import baseSortBy from "./baseSortBy.js"; | ||
import curry from "./curry.js"; | ||
export default function sortByDesc(f, arr) { | ||
export default curry(function sortByDesc(f, arr) { | ||
return baseSortBy(1, -1, f, arr); | ||
} | ||
}); |
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
40077
937
41