New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yank-down

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yank-down - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

7

package.json
{
"name": "yank-down",
"version": "0.2.0",
"version": "0.2.1",
"description": "Rearrange curried arguments",

@@ -28,2 +28,3 @@ "main": "index.js",

"babel-preset-env": "^1.3.2",
"babel-preset-stage-0": "^6.22.0",
"babel-register": "^6.24.0",

@@ -38,5 +39,3 @@ "chai": "^3.5.0",

},
"dependencies": {
"babel-preset-stage-0": "^6.22.0"
}
"dependencies": {}
}

@@ -1,2 +0,2 @@

# Yank Down
# Yank Down [![npm version](https://badge.fury.io/js/yank-down.svg)](https://badge.fury.io/js/yank-down) [![devpendencies](https://david-dm.org/Alex-Aralis/yank-down.svg)](https://david-dm.org/Alex-Aralis/yank-down)

@@ -42,2 +42,3 @@ Have you ever been unsure what value to pass first?

{ ...objProps, factoryConfig, type: factoryName }
;

@@ -100,7 +101,7 @@ const flippedFF = yankDown(factoryFactory)(1); // yankDown properly flips calls

expect(thunk(1)(2)(3)).to.deep.equal([[1], [2], [3]])
expect(thunk(1)(2)(3)).to.deep.equal([[1], [2], [3]]);
const cbThunk = collect(4, console.log);
cbThunk('a', 'e')('b')('c')('d') // prints [['a', 'e'], ['b'], ['c'], ['d']]
cbThunk('a', 'e')('b')('c')('d'); // prints [['a', 'e'], ['b'], ['c'], ['d']]
```

@@ -122,6 +123,6 @@

apply(makeArray)([['one'], ['two'], ['three']]) // returns ['one', 'two', 'three']
apply(makeArray)([['one'], ['two'], ['three']]); // returns ['one', 'two', 'three']
// apply can also use bind syntax to get its functions
makeArray::apply([['such'], ['cool']])('amaze') // returns ['such', 'cool', 'amaze']
makeArray::apply([['such'], ['cool']])('amaze'); // returns ['such', 'cool', 'amaze']
```
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