pouchdb-fetch
Advanced tools
@@ -1,10 +0,4 @@ | ||
| // AbortController was introduced quite a while after fetch and | ||
| // isnt required for PouchDB to function so polyfill if needed | ||
| var a = (typeof AbortController !== 'undefined') | ||
| ? AbortController | ||
| : function () { return {abort: function () {}}; }; | ||
| var f = fetch; | ||
| var h = Headers; | ||
| export { f as fetch, h as Headers, a as AbortController }; | ||
| export { f as fetch, h as Headers }; |
@@ -5,8 +5,2 @@ 'use strict'; | ||
| // AbortController was introduced quite a while after fetch and | ||
| // isnt required for PouchDB to function so polyfill if needed | ||
| var a = (typeof AbortController !== 'undefined') | ||
| ? AbortController | ||
| : function () { return {abort: function () {}}; }; | ||
| var f = fetch; | ||
@@ -17,2 +11,1 @@ var h = Headers; | ||
| exports.Headers = h; | ||
| exports.AbortController = a; |
+0
-1
| import nodeFetch from 'node-fetch'; | ||
| export { Headers } from 'node-fetch'; | ||
| import fetchCookie from 'fetch-cookie'; | ||
| export { default as AbortController } from 'abort-controller'; | ||
@@ -6,0 +5,0 @@ var fetch = fetchCookie(nodeFetch); |
+0
-2
@@ -10,3 +10,2 @@ 'use strict'; | ||
| var fetchCookie = _interopDefault(require('fetch-cookie')); | ||
| var abortController = _interopDefault(require('abort-controller')); | ||
@@ -16,3 +15,2 @@ var fetch = fetchCookie(nodeFetch__default); | ||
| exports.Headers = nodeFetch.Headers; | ||
| exports.AbortController = abortController; | ||
| exports.fetch = fetch; |
+5
-8
| { | ||
| "name": "pouchdb-fetch", | ||
| "version": "8.0.1", | ||
| "version": "9.0.0", | ||
| "description": "PouchDB's fetch() method.", | ||
@@ -14,3 +14,3 @@ "main": "./lib/index.js", | ||
| }, | ||
| "jsnext:main": "./lib/index.es.js", | ||
| "module": "./lib/index.es.js", | ||
| "browser": { | ||
@@ -21,12 +21,9 @@ "./lib/index.js": "./lib/index-browser.js", | ||
| "dependencies": { | ||
| "abort-controller": "3.0.0", | ||
| "fetch-cookie": "0.11.0", | ||
| "node-fetch": "2.6.7" | ||
| "fetch-cookie": "2.2.0", | ||
| "node-fetch": "2.6.9" | ||
| }, | ||
| "module": "./lib/index.es.js", | ||
| "files": [ | ||
| "lib", | ||
| "dist", | ||
| "tonic-example.js" | ||
| "dist" | ||
| ] | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
2
-33.33%14
-12.5%13597
-5.75%23
-37.84%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated