New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@jnode/db

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jnode/db - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+1
-1
package.json
{
"name": "@jnode/db",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple database package for Node.js.",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

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

this.types = Object.assign({}, defaultDBLETypes, options.types);
this._task = Promise.resolve();
}

@@ -248,6 +249,5 @@

if (skipQueue) return func();
return this._task = (async () => {
try { await this._task; } catch { }
return await func();
})();
const task = this._task.then(() => func());
this._task = task.catch(() => null);
return task;
}

@@ -254,0 +254,0 @@