Socket
Socket
Sign inDemoInstall

nqm-common-import

Package Overview
Dependencies
52
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.4

8

lib/commands.js

@@ -114,4 +114,4 @@ /**

bulk.payload = data;
log("sending createMany [%d]",data.length);
request({ url: url, method: "post", headers: { authorization: "Bearer " + accessToken }, json: true, body: bulk }, function(err, response, content) {
log("sending createMany [%d - %d bytes]",data.length, JSON.stringify(data).length);
request({ url: url, timeout: 3600000, method: "post", headers: { authorization: "Bearer " + accessToken }, json: true, body: bulk }, function(err, response, content) {
if (err || response.statusCode !== 200 || response.body.error) {

@@ -142,4 +142,4 @@ err = err || new Error(response.body.error || "not found");

bulk.payload = data;
log("sending upsertMany [%d]",data.length);
request({ url: url, method: "post", headers: { authorization: "Bearer " + accessToken }, json: true, body: bulk }, function(err, response, content) {
log("sending upsertMany [%d - %d bytes]",data.length, JSON.stringify(data).length);
request({ url: url, timeout: 3600000, method: "post", headers: { authorization: "Bearer " + accessToken }, json: true, body: bulk }, function(err, response, content) {
if (err || response.statusCode !== 200 || response.body.error) {

@@ -146,0 +146,0 @@ err = err || new Error(response.body.error || "not found");

{
"name": "nqm-common-import",
"version": "0.0.2",
"version": "0.0.4",
"description": "",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc