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

couchdb_utilities

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb_utilities - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

14

index.js

@@ -8,3 +8,3 @@

var couchDBURL = couchURL + "/" + databaseName;
return this.returnObjfromURL(couchDBURL);
return this.returnObjfromURL(couchDBURL);
};

@@ -15,7 +15,17 @@

var returnObj = {}
var syncRequest = require('sync-request');
returnObj.startTime = (new Date).getTime();
var response = syncRequest('get', URL );
returnObj.endTime = (new Date).getTime();
returnObj.duration = returnObj.endTime - returnObj.startTime;
returnObj.duration = returnObj.duration + " milliseconds"
var responseString = response.getBody('utf8');
return JSON.parse(responseString);
returnObj.responseCode = statusCode;
returnObj.responseString = responseString;
};

2

package.json
{
"name": "couchdb_utilities",
"version": "v1.0.4",
"version": "v1.0.5",
"description": "This package will help you sync the design documents from one couchdb to another",

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

Sorry, the diff of this file is not supported yet

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