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

noflo-assembly-db

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noflo-assembly-db - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

13

components/Insert.js

@@ -18,2 +18,3 @@ const Component = require('noflo-assembly').default;

let sent = false;
msg.db(msg.query.table)

@@ -24,6 +25,12 @@ .insert(msg.query.data, returning)

msg.query = undefined;
output.sendDone(msg);
if (!sent) {
output.sendDone(msg);
sent = true;
}
}).catch((err) => {
err.message += ' [in assembly-db/Insert]';
output.sendDone(fail(msg, err));
if (!sent) {
err.message += ' [in assembly-db/Insert]';
output.sendDone(fail(msg, err));
sent = true;
}
});

@@ -30,0 +37,0 @@ }

{
"name": "noflo-assembly-db",
"version": "0.1.1",
"version": "0.1.2",
"description": "Reusable database components for NoFlo assembly lines",

@@ -5,0 +5,0 @@ "main": "index.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