File tree Expand file tree Collapse file tree 5 files changed +4
-12
lines changed
Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 3838 "url" : " https://github.com/pouchdb/pouchdb.git"
3939 },
4040 "dependencies" : {
41- "abort-controller" : " 3.0.0" ,
4241 "clone-buffer" : " 1.0.0" ,
4342 "double-ended-queue" : " 2.1.0-0" ,
4443 "fetch-cookie" : " 2.2.0" ,
Original file line number Diff line number Diff line change 22
33import pool from './promise-pool' ;
44
5- import { fetch , Headers , AbortController } from 'pouchdb-fetch' ;
5+ import { fetch , Headers } from 'pouchdb-fetch' ;
66
77import {
88 createError ,
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- // AbortController was introduced quite a while after fetch and
4- // isnt required for PouchDB to function so polyfill if needed
5- var a = ( typeof AbortController !== 'undefined' )
6- ? AbortController
7- : function ( ) { return { abort : function ( ) { } } ; } ;
8-
93var f = fetch ;
104var h = Headers ;
115
12- export { f as fetch , h as Headers , a as AbortController } ;
6+ export { f as fetch , h as Headers } ;
Original file line number Diff line number Diff line change 22
33import nodeFetch , { Headers } from 'node-fetch' ;
44import fetchCookie from 'fetch-cookie' ;
5- import AbortController from 'abort-controller' ;
65
76var fetch = fetchCookie ( nodeFetch ) ;
87
9- export { fetch , Headers , AbortController } ;
8+ export { fetch , Headers } ;
Original file line number Diff line number Diff line change 1- export { fetch , Headers , AbortController } from './fetch' ;
1+ export { fetch , Headers } from './fetch' ;
You can’t perform that action at this time.
0 commit comments