New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rest-on-couch-client

Package Overview
Dependencies
Maintainers
6
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-on-couch-client - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

5

lib-es6/real/Roc.js

@@ -30,2 +30,5 @@ import axios from 'axios';

this.url = config.url;
if (!this.url.endsWith('/')) {
this.url += '/';
}
if (this.url.startsWith('/') && typeof window === 'object') {

@@ -35,3 +38,3 @@ this.url = `${window.location.origin}${this.url}`;

this.request = createAxios(this.url);
this.dbUrl = new URL(`db/${config.database}/`, this.url).href;
this.dbUrl = new URL(`db/${config.database}`, this.url).href;
this.dbRequest = createAxios(this.dbUrl);

@@ -38,0 +41,0 @@ }

@@ -32,2 +32,5 @@ "use strict";

this.url = config.url;
if (!this.url.endsWith('/')) {
this.url += '/';
}
if (this.url.startsWith('/') && typeof window === 'object') {

@@ -37,3 +40,3 @@ this.url = `${window.location.origin}${this.url}`;

this.request = createAxios(this.url);
this.dbUrl = new URL(`db/${config.database}/`, this.url).href;
this.dbUrl = new URL(`db/${config.database}`, this.url).href;
this.dbRequest = createAxios(this.dbUrl);

@@ -40,0 +43,0 @@ }

2

package.json
{
"name": "rest-on-couch-client",
"version": "2.2.1",
"version": "2.2.2",
"description": "A nodejs / browser client for rest-on-couch backend",

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