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

wrapped

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrapped - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

History.md
1.0.1 / 2016-02-16
==================
* move generator check above to prevent generators for being mistaken as async functions
* remove unused function
0.1.4 / 2015-01-21

@@ -3,0 +9,0 @@ ==================

26

index.js

@@ -38,2 +38,7 @@ /**

// generator
if (generator(fn)) {
return co(fn).apply(ctx, args.concat(done));
}
// async

@@ -49,7 +54,2 @@ if (fn.length > args.length) {

// generator
if (generator(fn)) {
return co(fn).apply(ctx, args.concat(done));
}
// sync

@@ -115,17 +115,1 @@ return sync(fn, done).apply(ctx, args);

}
/**
* Determi
*/
/**
* Once
*/
function once(fn) {
return function() {
var ret = fn.apply(this, arguments);
fn = noop;
return ret;
};
}
{
"name": "wrapped",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -26,2 +26,2 @@ "description": "consistent interface for ",

]
}
}
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