Socket
Socket
Sign inDemoInstall

fxjs2

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fxjs2 - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

2

package.json
{
"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);
}
});
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