Comparing version 0.2.0 to 0.2.1
{ | ||
"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 [](https://badge.fury.io/js/yank-down) [](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'] | ||
``` |
7908
0
126
12
0
- Removedbabel-preset-stage-0@^6.22.0
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedbabel-code-frame@6.26.0(transitive)
- Removedbabel-helper-bindify-decorators@6.24.1(transitive)
- Removedbabel-helper-builder-binary-assignment-operator-visitor@6.24.1(transitive)
- Removedbabel-helper-explode-assignable-expression@6.24.1(transitive)
- Removedbabel-helper-explode-class@6.24.1(transitive)
- Removedbabel-helper-function-name@6.24.1(transitive)
- Removedbabel-helper-get-function-arity@6.24.1(transitive)
- Removedbabel-helper-remap-async-to-generator@6.24.1(transitive)
- Removedbabel-messages@6.23.0(transitive)
- Removedbabel-plugin-syntax-async-functions@6.13.0(transitive)
- Removedbabel-plugin-syntax-async-generators@6.13.0(transitive)
- Removedbabel-plugin-syntax-class-constructor-call@6.18.0(transitive)
- Removedbabel-plugin-syntax-class-properties@6.13.0(transitive)
- Removedbabel-plugin-syntax-decorators@6.13.0(transitive)
- Removedbabel-plugin-syntax-do-expressions@6.13.0(transitive)
- Removedbabel-plugin-syntax-dynamic-import@6.18.0(transitive)
- Removedbabel-plugin-syntax-exponentiation-operator@6.13.0(transitive)
- Removedbabel-plugin-syntax-export-extensions@6.13.0(transitive)
- Removedbabel-plugin-syntax-function-bind@6.13.0(transitive)
- Removedbabel-plugin-syntax-object-rest-spread@6.13.0(transitive)
- Removedbabel-plugin-syntax-trailing-function-commas@6.22.0(transitive)
- Removedbabel-plugin-transform-async-generator-functions@6.24.1(transitive)
- Removedbabel-plugin-transform-async-to-generator@6.24.1(transitive)
- Removedbabel-plugin-transform-class-constructor-call@6.24.1(transitive)
- Removedbabel-plugin-transform-class-properties@6.24.1(transitive)
- Removedbabel-plugin-transform-decorators@6.24.1(transitive)
- Removedbabel-plugin-transform-do-expressions@6.22.0(transitive)
- Removedbabel-plugin-transform-exponentiation-operator@6.24.1(transitive)
- Removedbabel-plugin-transform-export-extensions@6.22.0(transitive)
- Removedbabel-plugin-transform-function-bind@6.22.0(transitive)
- Removedbabel-plugin-transform-object-rest-spread@6.26.0(transitive)
- Removedbabel-preset-stage-0@6.24.1(transitive)
- Removedbabel-preset-stage-1@6.24.1(transitive)
- Removedbabel-preset-stage-2@6.24.1(transitive)
- Removedbabel-preset-stage-3@6.24.1(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbabel-template@6.26.0(transitive)
- Removedbabel-traverse@6.26.0(transitive)
- Removedbabel-types@6.26.0(transitive)
- Removedbabylon@6.18.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedcore-js@2.6.12(transitive)
- Removeddebug@2.6.9(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedesutils@2.0.3(transitive)
- Removedglobals@9.18.0(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedjs-tokens@3.0.2(transitive)
- Removedlodash@4.17.21(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedms@2.0.0(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedto-fast-properties@1.0.3(transitive)