Socket
Socket
Sign inDemoInstall

ndjson-to-couchdb

Package Overview
Dependencies
83
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.0 to 5.1.1

9

lib/index.js

@@ -26,3 +26,3 @@ var async = require('async');

obj._id = obj._id || obj[ config.key ];
req_opts.uri = req_opts.uri + '/' + obj._id;
req_opts.uri = req_opts.uri + '/' + encodeURIComponent(obj._id);
}

@@ -59,3 +59,3 @@ var update = function(){

method: 'HEAD',
url: config.url + '/' + obj._id
url: config.url + '/' + encodeURIComponent(obj._id)
}

@@ -74,3 +74,3 @@ request(req_opts, function(err, resp){

json: true,
url: config.url + '/' + obj._id
url: config.url + '/' + encodeURIComponent(obj._id)
}

@@ -82,3 +82,3 @@ var fields = config.copy_fields_from_prev_rev;

couchr.get(config.url + '/' + obj._id, function(err, doc) {
couchr.get(config.url + '/' + encodeURIComponent(obj._id), function(err, doc) {
if (err) return cb(err);

@@ -93,2 +93,1 @@

}
{
"name": "ndjson-to-couchdb",
"version": "5.1.0",
"version": "5.1.1",
"description": "Stream ndjson to couchdb",

@@ -5,0 +5,0 @@ "bin": "bin/cli.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