From 17cd9bf12c6491e602a997423ba4a6d602c7c877 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Fri, 8 Oct 2021 00:51:51 -0400 Subject: [PATCH] Update node-abort-controller --- jest.setup.js | 2 +- package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jest.setup.js b/jest.setup.js index 92ad180..0ea1f0d 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -5,7 +5,7 @@ */ import { enableFetchMocks } from 'jest-fetch-mock'; -import AbortController from 'node-abort-controller'; +import { AbortController } from 'node-abort-controller'; global.AbortController = AbortController; diff --git a/package-lock.json b/package-lock.json index 32d685b..b25b095 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17528,9 +17528,9 @@ "integrity": "sha512-0L9FvHG3nfnnmaEQPjT9xhfN4ISk0A8/2j4M37Np4mcDesJjHgEUfgPhdCyZuFI954tjokaIj/A3NdpFNdEh4Q==" }, "node-abort-controller": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-1.2.1.tgz", - "integrity": "sha512-79PYeJuj6S9+yOHirR0JBLFOgjB6sQCir10uN6xRx25iD+ZD4ULqgRn3MwWBRaQGB0vEgReJzWwJo42T1R6YbQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.0.1.tgz", + "integrity": "sha512-/ujIVxthRs+7q6hsdjHMaj8hRG9NuWmwrz+JdRwZ14jdFoKSkm+vDsCbF9PLpnSqjaWQJuTmVtcWHNLr+vrOFw==", "dev": true }, "node-fetch": { diff --git a/package.json b/package.json index c2c9494..968eaaf 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "expo-cli": "^4.12.1", "jest-expo": "^42.0.0", "jest-fetch-mock": "^3.0.3", - "node-abort-controller": "^1.1.0", + "node-abort-controller": "^3.0.1", "typescript": "~4.0.0" }, "private": true,