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

chainjs

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chainjs - npm Package Compare versions

Comparing version 0.0.3-1 to 0.0.3-2

test/performance.js

21

chain.js

@@ -117,2 +117,3 @@ /*

}
return chain;

@@ -183,3 +184,3 @@ }

else {
return _data;
return util.extend(_data);
}

@@ -316,2 +317,14 @@ },

/**
* Object extend api
**/
extend: function (obj, extObj) {
this.each(extObj, function (value, key) {
if (extObj.hasOwnProperty(key)) {
obj[key] = value;
}
});
return obj;
},
/**
* function call simple encapsulation

@@ -322,3 +335,7 @@ */

args = args.pop();
handler.apply(context, args);
try {
handler.apply(context, args);
} catch (e) {
}
}

@@ -325,0 +342,0 @@ }

## ChangeLog for: chainjs
## Version 0.0.3 - 2014/11/11
## Version 0.0.3-2 - 2014/1/17
- [Fix bug]: data() api using extend to export chain data instead of return private data variable
## Version 0.0.3 - 2014/1/1
- [Feature]: Add Chain.sham api, for calling chain step-handler normally

@@ -6,0 +10,0 @@

2

package.json
{
"name": "chainjs",
"version": "0.0.3-1",
"version": "0.0.3-2",
"description": "Chainjs call each async function step by step, let async function callback fairily.",

@@ -5,0 +5,0 @@ "main": "chain.js",

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