Socket
Socket
Sign inDemoInstall

deasync

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deasync - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

.github/FUNDING.yml

2

build.js

@@ -54,3 +54,3 @@ #!/usr/bin/env node

cp.execFile(process.execPath, ['quick-test.js'], function(err, stdout, stderr) {
if (err || stdout !== 'pass' || stderr) {
if (err || stderr) {
console.log('Problem with the binary; manual build incoming');

@@ -57,0 +57,0 @@ console.log('stdout=' + stdout);

{
"name": "deasync",
"version": "0.1.16",
"version": "0.1.17",
"description": "Turns async function into sync via JavaScript wrapper of Node event loop",

@@ -13,3 +13,3 @@ "main": "index.js",

"install": "node ./build.js",
"test": "node ./test.js && node ./quick-test.js"
"test": "node spec"
},

@@ -33,3 +33,6 @@ "dependencies": {

"node": ">=0.11.0"
},
"devDependencies": {
"require-directory": "^2.1.1"
}
}

@@ -1,7 +0,9 @@

var ret, deasync = require('./index.js');
setTimeout(function () {
ret = 'pass';
}, 100);
const assert = require('assert')
var ret,
deasync = require('./index.js')
setTimeout(function() {
ret = 'pass'
}, 100)
while(ret === undefined) deasync.sleep(10);
process.stdout.write(ret);
while (ret === undefined) deasync.sleep(10)
assert.strictEqual(ret, 'pass')

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

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

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

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

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