Socket
Socket
Sign inDemoInstall

@cloudant/couchbackup

Package Overview
Dependencies
Maintainers
4
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudant/couchbackup - npm Package Compare versions

Comparing version 2.3.2-SNAPSHOT.3 to 2.3.2-SNAPSHOT.4

4

app.js

@@ -98,3 +98,3 @@ // Copyright © 2017, 2018 IBM Corp. All rights reserved.

try {
const urlObject = legacyUrl.parse(url);
const urlObject = new legacyUrl.URL(url);
// We require a protocol, host and path (for db), fail if any is missing.

@@ -109,3 +109,3 @@ if (urlObject.protocol !== 'https:' && urlObject.protocol !== 'http:') {

}
if (!urlObject.path) {
if (!urlObject.pathname) {
cb(new error.BackupError('InvalidOption', 'Invalid URL, missing path element (no database).'));

@@ -112,0 +112,0 @@ return;

@@ -5,3 +5,5 @@ # 2.4.0

as CLI option `--request-timeout`, or programmatically via
`options.requestTimeout`
`options.requestTimeout`.
- [IMPROVED] Replaced usages of Node.js legacy URL API. Note this changes some
URL validation error messages.

@@ -8,0 +10,0 @@ # 2.3.1 (2018-06-15)

@@ -40,3 +40,3 @@ // Copyright © 2017 IBM Corp. All rights reserved.

}
return url.resolve(root, encodeURIComponent(databaseName));
return new url.URL(encodeURIComponent(databaseName), root).toString();
},

@@ -43,0 +43,0 @@

{
"name": "@cloudant/couchbackup",
"version": "2.3.2-SNAPSHOT.3",
"version": "2.3.2-SNAPSHOT.4",
"description": "CouchBackup - command-line backup utility for Cloudant/CouchDB",

@@ -37,3 +37,3 @@ "homepage": "https://github.com/cloudant/couchbackup",

"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.0",

@@ -40,0 +40,0 @@ "eslint-plugin-standard": "^4.0.0",

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