Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unlimited-curry

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unlimited-curry - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "unlimited-curry",
"version": "1.1.2",
"version": "1.1.3",
"description": "Unlimited curry",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -79,1 +79,31 @@ <!--- destination qa rewrite begin -->

```
## split call example
This few lines also comes from the test suite, but you will get how you can use it in real life.
```javascript 1.8
async function () {
const getMyCurry = () => unlimitedCurry(
(e, parameters) => {
},
parameters=>parameters.data.returnArray[0]
+ parameters.data.returnArray[1]
+ parameters.data.returnArray[2]
)
let fn = getMyCurry()
fn('a')
let returnValue = await fn('b', 'c')()
expect(returnValue).to.be.equal('abc')
fn = getMyCurry()
fn('a', 'b')
returnValue = await fn('c')()
expect(returnValue).to.be.equal('abc')
fn = getMyCurry()
fn('a')
fn('b')
returnValue = await fn('c')()
expect(returnValue).to.be.equal('abc')
}
```
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