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

pouchdb-adapter-http

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-adapter-http - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

lib/index.es.js

6

lib/index.js

@@ -5,4 +5,4 @@ 'use strict';

var Promise = _interopDefault(require('pouchdb-promise'));
var pouchdbUtils = require('pouchdb-utils');
var Promise = _interopDefault(require('pouchdb-promise'));
var ajaxCore = _interopDefault(require('pouchdb-ajax'));

@@ -17,2 +17,3 @@ var getArguments = _interopDefault(require('argsarray'));

function pool(promiseFactories, limit) {

@@ -209,2 +210,5 @@ return new Promise(function (resolve, reject) {

var reqOpts = pouchdbUtils.assign(pouchdbUtils.clone(ajaxOpts), reqAjax, options);
var defaultHeaders = pouchdbUtils.clone(ajaxOpts.headers || {});
reqOpts.headers = pouchdbUtils.assign(defaultHeaders, reqAjax.headers,
options.headers || {});
log(reqOpts.method + ' ' + reqOpts.url);

@@ -211,0 +215,0 @@ return api._ajax(reqOpts, callback);

25

package.json
{
"name": "pouchdb-adapter-http",
"version": "6.1.1",
"version": "6.1.2",
"description": "PouchDB adapter using HTTP (e.g. a remote CouchDB) as its data store.",

@@ -10,16 +10,17 @@ "main": "./lib/index.js",

"repository": "https://github.com/pouchdb/pouchdb",
"jsnext:main": "./src/index.js",
"files": [
"lib",
"src"
],
"jsnext:main": "./lib/index.es.js",
"dependencies": {
"argsarray": "0.0.1",
"debug": "2.6.0",
"pouchdb-ajax": "6.1.1",
"pouchdb-binary-utils": "6.1.1",
"pouchdb-errors": "6.1.1",
"pouchdb-promise": "6.1.1",
"pouchdb-utils": "6.1.1"
}
"pouchdb-ajax": "6.1.2",
"pouchdb-binary-utils": "6.1.2",
"pouchdb-errors": "6.1.2",
"pouchdb-promise": "6.1.2",
"pouchdb-utils": "6.1.2"
},
"files": [
"lib",
"dist",
"tonic-example.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