pouchdb-fetch
Advanced tools
Comparing version 7.0.0 to 7.1.0
import nodeFetch from 'node-fetch'; | ||
export { Headers } from 'node-fetch'; | ||
import fetchCookie from 'fetch-cookie'; | ||
@@ -12,4 +13,2 @@ | ||
var Headers = nodeFetch.Headers; | ||
export { fetch, Headers, AbortController }; | ||
export { fetch, AbortController }; |
@@ -7,6 +7,7 @@ 'use strict'; | ||
var nodeFetch = _interopDefault(require('node-fetch')); | ||
var nodeFetch = require('node-fetch'); | ||
var nodeFetch__default = _interopDefault(nodeFetch); | ||
var fetchCookie = _interopDefault(require('fetch-cookie')); | ||
var fetch = fetchCookie(nodeFetch); | ||
var fetch = fetchCookie(nodeFetch__default); | ||
@@ -19,6 +20,4 @@ /* We can fake the abort, the http adapter keeps track | ||
var Headers = nodeFetch.Headers; | ||
exports.Headers = nodeFetch.Headers; | ||
exports.fetch = fetch; | ||
exports.Headers = Headers; | ||
exports.AbortController = AbortController; |
{ | ||
"name": "pouchdb-fetch", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"description": "PouchDB's fetch() method.", | ||
@@ -17,3 +17,3 @@ "main": "./lib/index.js", | ||
"fetch-cookie": "0.7.0", | ||
"node-fetch": "^2.0.0" | ||
"node-fetch": "2.4.1" | ||
}, | ||
@@ -20,0 +20,0 @@ "module": "./lib/index.es.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14482
4
+ Addednode-fetch@2.4.1(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatednode-fetch@2.4.1