1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

downgrade node-abort-controller to v2.0.0 (#999)

This commit is contained in:
Matthias Kretschmann 2021-08-31 12:57:29 +02:00 committed by GitHub
parent dd62e5422e
commit 1a79a72527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

18
package-lock.json generated
View File

@ -16,11 +16,11 @@
"decimal.js": "^10.2.1",
"fs": "0.0.1-security",
"lzma": "^2.3.2",
"node-abort-controller": "^3.0.0",
"node-abort-controller": "^2.0.0",
"save-file": "^2.3.1",
"uuid": "^8.3.2",
"web3": "^1.4.0",
"web3-eth-contract": "^1.4.0"
"web3": "^1.5.2",
"web3-eth-contract": "^1.5.2"
},
"devDependencies": {
"@truffle/hdwallet-provider": "^1.4.1",
@ -24352,9 +24352,9 @@
}
},
"node_modules/node-abort-controller": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.0.0.tgz",
"integrity": "sha512-IqMCPbihDpbHV4bNws015hU0svIBGyzPjJearwXMGJyungWdblbBcboNojTz9bWOrrJD3zIwmcr5w5c+NH+2+A=="
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-2.0.0.tgz",
"integrity": "sha512-L8RfEgjBTHAISTuagw51PprVAqNZoG6KSB6LQ6H1bskMVkFs5E71IyjauLBv3XbuomJlguWF/VnRHdJ1gqiAqA=="
},
"node_modules/node-addon-api": {
"version": "2.0.2",
@ -57714,9 +57714,9 @@
}
},
"node-abort-controller": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.0.0.tgz",
"integrity": "sha512-IqMCPbihDpbHV4bNws015hU0svIBGyzPjJearwXMGJyungWdblbBcboNojTz9bWOrrJD3zIwmcr5w5c+NH+2+A=="
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-2.0.0.tgz",
"integrity": "sha512-L8RfEgjBTHAISTuagw51PprVAqNZoG6KSB6LQ6H1bskMVkFs5E71IyjauLBv3XbuomJlguWF/VnRHdJ1gqiAqA=="
},
"node-addon-api": {
"version": "2.0.2"

View File

@ -52,11 +52,11 @@
"decimal.js": "^10.2.1",
"fs": "0.0.1-security",
"lzma": "^2.3.2",
"node-abort-controller": "^3.0.0",
"node-abort-controller": "^2.0.0",
"save-file": "^2.3.1",
"uuid": "^8.3.2",
"web3": "^1.4.0",
"web3-eth-contract": "^1.4.0"
"web3": "^1.5.2",
"web3-eth-contract": "^1.5.2"
},
"devDependencies": {
"@truffle/hdwallet-provider": "^1.4.1",

View File

@ -1,4 +1,4 @@
import { AbortController } from 'node-abort-controller'
import AbortController from 'node-abort-controller'
export default function timeoutSignal(timeout: number) {
if (!Number.isInteger(timeout)) {