Update AbortController library (#56661)

* Update abort controller library

* Bootstrap

* Fix bad merge conflict

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Lukas Olson 2020-02-05 14:23:06 -07:00 committed by GitHub
parent 12de6a8459
commit 7d3021ed5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 11 deletions

View file

@ -144,7 +144,7 @@
"@types/react-grid-layout": "^0.16.7",
"@types/recompose": "^0.30.5",
"JSONStream": "1.3.5",
"abortcontroller-polyfill": "^1.3.0",
"abort-controller": "^3.0.0",
"angular": "^1.7.9",
"angular-aria": "^1.7.8",
"angular-elastic": "^2.5.1",

View file

@ -9,12 +9,12 @@
"kbn:watch": "node scripts/build --watch"
},
"devDependencies": {
"abort-controller": "^3.0.0",
"@elastic/eui": "18.3.0",
"@elastic/charts": "^16.1.0",
"@kbn/dev-utils": "1.0.0",
"@kbn/i18n": "1.0.0",
"@yarnpkg/lockfile": "^1.1.0",
"abortcontroller-polyfill": "^1.3.0",
"angular": "^1.7.9",
"core-js": "^3.2.1",
"css-loader": "^2.1.1",
@ -24,13 +24,13 @@
"mini-css-extract-plugin": "0.8.0",
"moment": "^2.24.0",
"moment-timezone": "^0.5.27",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-intl": "^2.8.0",
"react": "^16.12.0",
"read-pkg": "^5.2.0",
"regenerator-runtime": "^0.13.3",
"symbol-observable": "^1.2.0",
"webpack": "4.41.0",
"whatwg-fetch": "^3.0.0"
}
}
}

View file

@ -21,6 +21,6 @@ require('core-js/stable');
require('regenerator-runtime/runtime');
require('custom-event-polyfill');
require('whatwg-fetch');
require('abortcontroller-polyfill/dist/polyfill-patch-fetch');
require('abort-controller/polyfill');
require('./vendor/childnode_remove_polyfill');
require('symbol-observable');

View file

@ -17,7 +17,7 @@
* under the License.
*/
import { AbortController } from 'abortcontroller-polyfill/dist/cjs-ponyfill';
import { AbortController } from 'abort-controller';
/*
* A simple utility for generating a handler that provides a signal to the handler that signals when

View file

@ -17,7 +17,7 @@
* under the License.
*/
import { AbortSignal } from 'abortcontroller-polyfill/dist/cjs-ponyfill';
import { AbortSignal } from 'abort-controller';
import { abortableRequestHandler } from './abortable_request_handler';
describe('abortableRequestHandler', () => {

View file

@ -5655,10 +5655,12 @@ abort-controller@^2.0.3:
dependencies:
event-target-shim "^5.0.0"
abortcontroller-polyfill@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.3.0.tgz#de69af32ae926c210b7efbcc29bf644ee4838b00"
integrity sha512-lbWQgf+eRvku3va8poBlDBO12FigTQr9Zb7NIjXrePrhxWVKdCP2wbDl1tLDaYa18PWTom3UEWwdH13S46I+yA==
abort-controller@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==
dependencies:
event-target-shim "^5.0.0"
accept@3.x.x:
version "3.0.2"