Socket
Socket
Sign inDemoInstall

asyncy

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

asyncy - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

8

index.js

@@ -10,3 +10,3 @@ (function() {

return await asyncy.inline(me,f,...arguments);
}
};
},

@@ -30,3 +30,3 @@ type = typeof(functionOrObject);

return new Promise((resolve,reject) => {
let outerresult
let outerresult;
try {

@@ -53,3 +53,3 @@ outerresult = f.call(thisArg,...args,(err,...result) => {

if(outerresult!==UNDEFINED) {
if(outerresult instanceof Promise) { outerresult.then(result => resolve({result})); }
if(outerresult instanceof Promise) { outerresult.then((result) => resolve({result})); }
else if(outerresult instanceof Error) { resolve({err:outerresult}); }

@@ -64,3 +64,3 @@ else { resolve({result:outerresult}); }

});
}
};
if(typeof(module)!=="undefined") {

@@ -67,0 +67,0 @@ module.exports = asyncy;

{
"name": "asyncy",
"version": "0.0.4",
"version": "0.0.5",
"description": "A utility for creating aysnc functions",

@@ -5,0 +5,0 @@ "engines": {},

# asyncy
A utility for creating aysnc functions.
NOTE: There is now a company called Asyncy. They are doing pretty cool stuff with microservices. To avoid confusion and trademark issues, this GitHUb repository and the associated NPM packages are being moved over to their control.
# Usage

@@ -90,2 +92,4 @@

2018-06-23 v0.0.5 Transfering ownership to asyncy.com
2017-07-07 v0.0.4 Codacy driven style, error and security improvements.

@@ -92,0 +96,0 @@

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