🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

async-compat

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-compat - npm Package Compare versions

Comparing version

to
1.6.0

8

package.json
{
"name": "async-compat",
"version": "1.5.8",
"version": "1.6.0",
"description": "Compatibility functions for writing libraries that support synchronous, callback and promise signatures",

@@ -36,4 +36,2 @@ "keywords": [

"build": "tsds build",
"deploy": "tsds deploy",
"docs": "tsds docs",
"format": "biome check --write --unsafe src/ test/",

@@ -52,5 +50,3 @@ "test": "tsds test:node --no-timeouts",

"@types/node": "^22.10.5",
"mocha-compat": "^3.6.2",
"pinkie-promise": "^2.0.1",
"ts-swc-loaders": "^1.10.3"
"pinkie-promise": "^2.0.1"
},

@@ -57,0 +53,0 @@ "engines": {

@@ -20,3 +20,2 @@ ## async-compat

compat.asyncFunction(fn, false /* no callbacks */, 1, function (err, result) {
assert.ok(!err, err ? err.message : '');
assert.equal(result, 4);

@@ -43,3 +42,2 @@ });

compat.asyncFunction(callbackFn, true /* no callbacks */, 1, function (err, result) {
assert.ok(!err, err ? err.message : '');
assert.equal(result, 4);

@@ -66,3 +64,2 @@ });

compat.asyncFunction(promiseFn, false /* no callbacks */, 1, function (err, result) {
assert.ok(!err, err ? err.message : '');
assert.equal(result, 4);

@@ -69,0 +66,0 @@ });

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