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

curry2

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curry2 - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

5

changelog.md
# Change Log
All notable changes to this project will be documented in this file (keepachangelog.com).
## 1.0.0 - 2016-01-21
### Added
- Add `Function.prototype.bind` polyfill.
- When 0 arguments applied, return function.
## 0.1.0 - 2015-05-15
### Added
- Initial Version.

12

index.js
'use strict'
/*!
* imports.
*/
if (!Function.prototype.bind) Function.bind = require('fast-bind')
/*!
* exports.

@@ -24,5 +30,7 @@ */

var out = function () {
if (arguments.length === 0) return out
return arguments.length > 1
? fn.call(self, arguments[0], arguments[1])
: fn.bind(self, arguments[0])
? fn.apply(self, arguments)
: fn.bind(self, arguments[0])
}

@@ -29,0 +37,0 @@

12

package.json
{
"name": "curry2",
"description": "Curry a binary function.",
"version": "0.1.0",
"version": "1.0.0",
"author": "Wil Moore III <wil.moore@wilmoore.com>",

@@ -9,4 +9,8 @@ "bugs": {

},
"dependencies": {},
"dependencies": {
"fast-bind": "^1.0.0"
},
"devDependencies": {
"dependency-check": "^2.4.0",
"fixpack": "^2.2.0",
"istanbul": "^0.3.13",

@@ -31,3 +35,5 @@ "nodemon": "^1.3.7",

"cover": "istanbul cover test.js",
"dependency-check": "dependency-check ./package.json && dependency-check ./package.json --unused --no-dev",
"dev": "nodemon -x 'npm run test --silent' -e 'js json'",
"fixpack": "fixpack",
"release-major": "npm version major && git push --follow-tags && npm publish",

@@ -37,4 +43,4 @@ "release-minor": "npm version minor && git push --follow-tags && npm publish",

"standard": "standard",
"test": "npm run standard --silent && node test.js | tap-spec"
"test": "npm run dependency-check && npm run standard --silent && node test.js | tap-spec"
}
}
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