From f03586047c100c5e5171afc2f71a74492309c8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 23 May 2018 15:56:17 +0200 Subject: [PATCH] Scope abortcontroller to polyfill only --- package.json | 2 +- test/test.html | 2 +- test/worker.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8416e3dd..5153a7f4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "repository": "github/fetch", "license": "MIT", "devDependencies": { - "abortcontroller-polyfill": "1.1.2", + "abortcontroller-polyfill": "^1.1.9", "chai": "1.10.0", "eslint": "^4.19.1", "eslint-plugin-github": "^1.0.0", diff --git a/test/test.html b/test/test.html index 1d4f0c59..eea0df32 100644 --- a/test/test.html +++ b/test/test.html @@ -33,7 +33,7 @@ - + diff --git a/test/worker.js b/test/worker.js index 5cd1a36e..5bc87c41 100644 --- a/test/worker.js +++ b/test/worker.js @@ -5,7 +5,7 @@ mocha.setup('tdd') self.assert = chai.assert importScripts('/node_modules/promise-polyfill/promise.js') -importScripts('/node_modules/abortcontroller-polyfill/dist/abortcontroller.js') +importScripts('/node_modules/abortcontroller-polyfill/dist/abortcontroller-polyfill-only.js') importScripts('/dist/fetch.umd.js') importScripts('/test/test.js')