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

chickencurry

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chickencurry - npm Package Compare versions

Comparing version 1.4.0 to 2.1.0

.coveralls.yml

7

gulpfile.js

@@ -9,3 +9,4 @@ var gulp = require('gulp'),

coveralls = require('gulp-coveralls'),
to5 = require('gulp-babel');
to5 = require('gulp-babel'),
isTavis = require('is-travis');

@@ -16,3 +17,4 @@ gulp.task('babel', function() {

.pipe(to5({
experimental: true,
stage: 0,
auxiliaryCommentBefore: 'istanbul ignore next',
loose: 'all'

@@ -33,2 +35,3 @@ }))

.on('finish', function () {
if (isTavis) return true;
return gulp.src(['test.js'])

@@ -35,0 +38,0 @@ .pipe(mocha())

{
"name": "chickencurry",
"version": "1.4.0",
"version": "2.1.0",
"description": "Add some chicken curry to your functions",
"main": "index.js",
"scripts": {
"test": "gulp test"
"test": "gulp test",
"prepublish": "gulp test"
},

@@ -28,3 +29,3 @@ "repository": {

"gulp": "^3.8.11",
"gulp-babel": "^4.0.0",
"gulp-babel": "^5.1.0",
"gulp-coveralls": "^0.1.3",

@@ -37,2 +38,3 @@ "gulp-istanbul": "^0.6.0",

"gulp-watch": "^4.1.0",
"is-travis": "^1.0.0",
"mocha": "^2.1.0",

@@ -39,0 +41,0 @@ "mocha-lcov-reporter": "0.0.2",

@@ -32,2 +32,21 @@ :curry: Chickencurry

### curry with function bind syntax `::` (ES2015)
```js
var curry = require('./');
var add1 = function(a, b) {
return a + b;
}::curry(1);
add1(3); // => 4
add1(4); // => 5
var sub = function(a, b) {
return a - b;
}::curry();
sub(3)(1); // => 2
```
### Curry n arguments

@@ -39,3 +58,3 @@

function join() {
return Array.prototype.slice.call(arguments).join();
return Array.prototype.slice.call(arguments).join(',');
}

@@ -64,3 +83,3 @@

function join() {
return Array.prototype.slice.call(arguments).join();
return Array.prototype.slice.call(arguments).join(',');
}

@@ -67,0 +86,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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