mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix tests
This commit is contained in:
parent
65b72e597d
commit
a54bcc1afb
421
client/package-lock.json
generated
421
client/package-lock.json
generated
@ -3480,6 +3480,11 @@
|
||||
"resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",
|
||||
"integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI="
|
||||
},
|
||||
"async-iterator-all": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/async-iterator-all/-/async-iterator-all-1.0.0.tgz",
|
||||
"integrity": "sha512-+vC2NFEmAuONF+A2MzM1tUS5pHovDH37/oQbmXW6FgnEns0S9BsR+MJGnzsFHzSN2iFQhbN7L8cFqV1W1F1kpQ=="
|
||||
},
|
||||
"async-iterator-to-pull-stream": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/async-iterator-to-pull-stream/-/async-iterator-to-pull-stream-1.3.0.tgz",
|
||||
@ -4964,8 +4969,7 @@
|
||||
"builtin-status-codes": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
|
||||
"integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=",
|
||||
"dev": true
|
||||
"integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug="
|
||||
},
|
||||
"bytes": {
|
||||
"version": "3.1.0",
|
||||
@ -5349,6 +5353,16 @@
|
||||
"multibase": "~0.6.0",
|
||||
"multicodec": "^1.0.0",
|
||||
"multihashes": "~0.4.15"
|
||||
},
|
||||
"dependencies": {
|
||||
"multicodec": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.0.tgz",
|
||||
"integrity": "sha512-CBiLdYcMnVnkN/2kL4AaUH3betYXQGKV5CCmN2CfgHUt5xROtsj91w780ltX6Wy7frgc6en8md3h2UQl6jDXAg==",
|
||||
"requires": {
|
||||
"varint": "^5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cipher-base": {
|
||||
@ -6635,6 +6649,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"delay": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/delay/-/delay-4.3.0.tgz",
|
||||
"integrity": "sha512-Lwaf3zVFDMBop1yDuFZ19F9WyGcZcGacsbdlZtWjQmM50tOcMntm1njF/Nb/Vjij3KaSvCF+sEYGKrrjObu2NA=="
|
||||
},
|
||||
"delayed-stream": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||
@ -6691,8 +6710,7 @@
|
||||
"detect-node": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz",
|
||||
"integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==",
|
||||
"dev": true
|
||||
"integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw=="
|
||||
},
|
||||
"detect-port-alt": {
|
||||
"version": "1.1.6",
|
||||
@ -8272,6 +8290,11 @@
|
||||
"strip-hex-prefix": "1.0.0"
|
||||
}
|
||||
},
|
||||
"event-iterator": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/event-iterator/-/event-iterator-1.2.0.tgz",
|
||||
"integrity": "sha512-Daq7YUl0Mv1i4QEgzGQlz0jrx7hUFNyLGbiF+Ap7NCMCjDLCCnolyj6s0TAc6HmrBziO5rNVHsPwGMp7KdRPvw=="
|
||||
},
|
||||
"event-target-shim": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
||||
@ -8873,6 +8896,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"flatmap": {
|
||||
"version": "0.0.3",
|
||||
"resolved": "https://registry.npmjs.org/flatmap/-/flatmap-0.0.3.tgz",
|
||||
"integrity": "sha1-Hxik2TgVLUlZZfnJWNkjqy3WabQ="
|
||||
},
|
||||
"flatted": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
|
||||
@ -10079,11 +10107,13 @@
|
||||
}
|
||||
},
|
||||
"ipfs-http-client": {
|
||||
"version": "41.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-41.0.1.tgz",
|
||||
"integrity": "sha512-oyH0hXoB+jfz4NqM+SZSpk6c9wR+9uvUO+/0eQFT6B9Ludz4zR8T5MHo7bnQoVerj9Qlv0x0wO1ckSoekaSPpw==",
|
||||
"version": "39.0.2",
|
||||
"resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-39.0.2.tgz",
|
||||
"integrity": "sha512-logfyeSMD2XJCqhKv8hVnSOb/NH2KDECoLeAkwIjWMYK9Yd7eqci0ZDLP4qed0wZ91GFJ09qgCO+6J8ApKrAaQ==",
|
||||
"requires": {
|
||||
"abort-controller": "^3.0.0",
|
||||
"async": "^2.6.1",
|
||||
"async-iterator-all": "^1.0.0",
|
||||
"async-iterator-to-pull-stream": "^1.3.0",
|
||||
"bignumber.js": "^9.0.0",
|
||||
"bl": "^4.0.0",
|
||||
@ -10091,33 +10121,58 @@
|
||||
"buffer": "^5.4.2",
|
||||
"callbackify": "^1.1.0",
|
||||
"cids": "~0.7.1",
|
||||
"concat-stream": "github:hugomrdias/concat-stream#feat/smaller",
|
||||
"debug": "^4.1.0",
|
||||
"delay": "^4.3.0",
|
||||
"detect-node": "^2.0.4",
|
||||
"end-of-stream": "^1.4.1",
|
||||
"err-code": "^2.0.0",
|
||||
"event-iterator": "^1.2.0",
|
||||
"explain-error": "^1.0.4",
|
||||
"form-data": "^3.0.0",
|
||||
"flatmap": "0.0.3",
|
||||
"form-data": "^2.5.1",
|
||||
"fs-extra": "^8.1.0",
|
||||
"glob": "^7.1.3",
|
||||
"ipfs-block": "~0.8.1",
|
||||
"ipfs-utils": "^0.4.2",
|
||||
"ipfs-utils": "^0.4.0",
|
||||
"ipld-dag-cbor": "~0.15.0",
|
||||
"ipld-dag-pb": "^0.18.1",
|
||||
"ipld-raw": "^4.0.0",
|
||||
"is-ipfs": "~0.6.1",
|
||||
"it-all": "^1.0.1",
|
||||
"it-glob": "0.0.7",
|
||||
"it-tar": "^1.1.1",
|
||||
"is-pull-stream": "0.0.0",
|
||||
"is-stream": "^2.0.0",
|
||||
"iso-stream-http": "~0.1.2",
|
||||
"iso-url": "~0.4.6",
|
||||
"it-glob": "0.0.6",
|
||||
"it-to-stream": "^0.1.1",
|
||||
"iterable-ndjson": "^1.1.0",
|
||||
"just-kebab-case": "^1.1.0",
|
||||
"just-map-keys": "^1.1.0",
|
||||
"kind-of": "^6.0.2",
|
||||
"ky": "^0.15.0",
|
||||
"ky-universal": "^0.3.0",
|
||||
"lru-cache": "^5.1.1",
|
||||
"merge-options": "^2.0.0",
|
||||
"multiaddr": "^6.0.6",
|
||||
"multiaddr-to-uri": "^5.0.0",
|
||||
"multibase": "~0.6.0",
|
||||
"multicodec": "^1.0.0",
|
||||
"multicodec": "~0.5.1",
|
||||
"multihashes": "~0.4.14",
|
||||
"parse-duration": "^0.1.1",
|
||||
"ndjson": "github:hugomrdias/ndjson#feat/readable-stream3",
|
||||
"once": "^1.4.0",
|
||||
"peer-id": "~0.12.3",
|
||||
"peer-info": "~0.15.1",
|
||||
"promise-nodeify": "^3.0.1"
|
||||
"promise-nodeify": "^3.0.1",
|
||||
"promisify-es6": "^1.0.3",
|
||||
"pull-defer": "~0.2.3",
|
||||
"pull-stream": "^3.6.9",
|
||||
"pull-stream-to-async-iterator": "^1.0.2",
|
||||
"pull-to-stream": "~0.1.1",
|
||||
"pump": "^3.0.0",
|
||||
"qs": "^6.5.2",
|
||||
"readable-stream": "^3.1.1",
|
||||
"stream-to-pull-stream": "^1.7.2",
|
||||
"tar-stream": "^2.0.1",
|
||||
"through2": "^3.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"bl": {
|
||||
@ -10128,6 +10183,14 @@
|
||||
"readable-stream": "^3.4.0"
|
||||
}
|
||||
},
|
||||
"concat-stream": {
|
||||
"version": "github:hugomrdias/concat-stream#057bc7b5d6d8df26c8cf00a3f151b6721a0a8034",
|
||||
"from": "github:hugomrdias/concat-stream#feat/smaller",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"readable-stream": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||
@ -10137,15 +10200,38 @@
|
||||
}
|
||||
},
|
||||
"form-data": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz",
|
||||
"integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==",
|
||||
"version": "2.5.1",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
|
||||
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
|
||||
"requires": {
|
||||
"asynckit": "^0.4.0",
|
||||
"combined-stream": "^1.0.8",
|
||||
"combined-stream": "^1.0.6",
|
||||
"mime-types": "^2.1.12"
|
||||
}
|
||||
},
|
||||
"fs-extra": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
|
||||
"integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
|
||||
"requires": {
|
||||
"graceful-fs": "^4.2.0",
|
||||
"jsonfile": "^4.0.0",
|
||||
"universalify": "^0.1.0"
|
||||
}
|
||||
},
|
||||
"is-stream": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
|
||||
"integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
|
||||
},
|
||||
"lru-cache": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
|
||||
"integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
|
||||
"requires": {
|
||||
"yallist": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
@ -10160,6 +10246,36 @@
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"tar-stream": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.0.tgz",
|
||||
"integrity": "sha512-+DAn4Nb4+gz6WZigRzKEZl1QuJVOLtAwwF+WUxy1fJ6X63CaGaUAxJRD2KEn1OMfcbCjySTYpNC6WmfQoIEOdw==",
|
||||
"requires": {
|
||||
"bl": "^3.0.0",
|
||||
"end-of-stream": "^1.4.1",
|
||||
"fs-constants": "^1.0.0",
|
||||
"inherits": "^2.0.3",
|
||||
"readable-stream": "^3.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"bl": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-3.0.0.tgz",
|
||||
"integrity": "sha512-EUAyP5UHU5hxF8BPT0LKW8gjYLhq1DQIcneOX/pL/m2Alo+OYDQAJlHq+yseMP50Os2nHXOSic6Ss3vSQeyf4A==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"through2": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz",
|
||||
"integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==",
|
||||
"requires": {
|
||||
"readable-stream": "2 || 3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -10196,6 +10312,15 @@
|
||||
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
|
||||
"integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
|
||||
},
|
||||
"it-glob": {
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/it-glob/-/it-glob-0.0.7.tgz",
|
||||
"integrity": "sha512-XfbziJs4fi0MfdEGTLkZXeqo2EorF2baFXxFn1E2dGbgYMhFTZlZ2Yn/mx5CkpuLWVJvO1DwtTOVW2mzRyVK8w==",
|
||||
"requires": {
|
||||
"fs-extra": "^8.1.0",
|
||||
"minimatch": "^3.0.4"
|
||||
}
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.5.0.tgz",
|
||||
@ -10218,6 +10343,16 @@
|
||||
"is-circular": "^1.0.2",
|
||||
"multicodec": "^1.0.0",
|
||||
"multihashing-async": "~0.8.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"multicodec": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.0.tgz",
|
||||
"integrity": "sha512-CBiLdYcMnVnkN/2kL4AaUH3betYXQGKV5CCmN2CfgHUt5xROtsj91w780ltX6Wy7frgc6en8md3h2UQl6jDXAg==",
|
||||
"requires": {
|
||||
"varint": "^5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipld-dag-pb": {
|
||||
@ -10231,6 +10366,16 @@
|
||||
"multihashing-async": "~0.8.0",
|
||||
"protons": "^1.0.1",
|
||||
"stable": "~0.1.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"multicodec": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.0.tgz",
|
||||
"integrity": "sha512-CBiLdYcMnVnkN/2kL4AaUH3betYXQGKV5CCmN2CfgHUt5xROtsj91w780ltX6Wy7frgc6en8md3h2UQl6jDXAg==",
|
||||
"requires": {
|
||||
"varint": "^5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ipld-raw": {
|
||||
@ -10241,6 +10386,16 @@
|
||||
"cids": "~0.7.0",
|
||||
"multicodec": "^1.0.0",
|
||||
"multihashing-async": "~0.8.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"multicodec": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.0.tgz",
|
||||
"integrity": "sha512-CBiLdYcMnVnkN/2kL4AaUH3betYXQGKV5CCmN2CfgHUt5xROtsj91w780ltX6Wy7frgc6en8md3h2UQl6jDXAg==",
|
||||
"requires": {
|
||||
"varint": "^5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is-absolute-url": {
|
||||
@ -10748,6 +10903,28 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"iso-stream-http": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/iso-stream-http/-/iso-stream-http-0.1.2.tgz",
|
||||
"integrity": "sha512-oHEDNOysIMTNypbg2f1SlydqRBvjl4ZbSE9+0awVxnkx3K2stGTFwB/kpVqnB6UEfF8QD36kAjDwZvqyXBLMnQ==",
|
||||
"requires": {
|
||||
"builtin-status-codes": "^3.0.0",
|
||||
"inherits": "^2.0.1",
|
||||
"readable-stream": "^3.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.5.0.tgz",
|
||||
"integrity": "sha512-gSz026xs2LfxBPudDuI41V1lka8cxg64E66SGe78zJlsUofOg/yqwezdIcdfwik6B4h8LFmWPA9ef9X3FiNFLA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"iso-url": {
|
||||
"version": "0.4.6",
|
||||
"resolved": "https://registry.npmjs.org/iso-url/-/iso-url-0.4.6.tgz",
|
||||
@ -10904,15 +11081,10 @@
|
||||
"is-object": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"it-all": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/it-all/-/it-all-1.0.1.tgz",
|
||||
"integrity": "sha512-DQ8MQXVfwCktZOja1xvKdsuka7E/OJHpLKLR3tMBmg6Kfo8Kob+XRE6pRfpbkXNsGyET4lMYrQ0y5T3XXF/Akw=="
|
||||
},
|
||||
"it-glob": {
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/it-glob/-/it-glob-0.0.7.tgz",
|
||||
"integrity": "sha512-XfbziJs4fi0MfdEGTLkZXeqo2EorF2baFXxFn1E2dGbgYMhFTZlZ2Yn/mx5CkpuLWVJvO1DwtTOVW2mzRyVK8w==",
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/it-glob/-/it-glob-0.0.6.tgz",
|
||||
"integrity": "sha512-B2FsVvjP/iDzHIph3g9oSeqwOwTfcxuuiKSC7U78/AIWKbBzM8tyVZAEIgOjMOQDNMqCBUD2MNedt0gSIOJU8w==",
|
||||
"requires": {
|
||||
"fs-extra": "^8.1.0",
|
||||
"minimatch": "^3.0.4"
|
||||
@ -10930,65 +11102,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"it-reader": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/it-reader/-/it-reader-2.1.0.tgz",
|
||||
"integrity": "sha512-hSysqWTO9Tlwc5EGjVf8JYZzw0D2FsxD/g+eNNWrez9zODxWt6QlN6JAMmycK72Mv4jHEKEXoyzUN4FYGmJaZw==",
|
||||
"requires": {
|
||||
"bl": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"bl": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.0.tgz",
|
||||
"integrity": "sha512-QwQvAZZA1Bw1FWnhNj2X5lu+sPxxB2ITH3mqEqYyahN6JZR13ONjk+XiTnBaGEzMPUrAgOkaD68pBH1rvPRPsw==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.4.0"
|
||||
}
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.5.0.tgz",
|
||||
"integrity": "sha512-gSz026xs2LfxBPudDuI41V1lka8cxg64E66SGe78zJlsUofOg/yqwezdIcdfwik6B4h8LFmWPA9ef9X3FiNFLA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"it-tar": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/it-tar/-/it-tar-1.1.1.tgz",
|
||||
"integrity": "sha512-bQyH1QRdKLcv338aVhKUs4Y//5TJpTdvLLEi70pdaWi8cDZM0MynzDRxSUo5eJH2rKCHyuS+7yNu/40FCOPVvA==",
|
||||
"requires": {
|
||||
"bl": "^4.0.0",
|
||||
"buffer": "^5.4.3",
|
||||
"it-reader": "^2.0.0",
|
||||
"p-defer": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"bl": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.0.tgz",
|
||||
"integrity": "sha512-QwQvAZZA1Bw1FWnhNj2X5lu+sPxxB2ITH3mqEqYyahN6JZR13ONjk+XiTnBaGEzMPUrAgOkaD68pBH1rvPRPsw==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.4.0"
|
||||
}
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.5.0.tgz",
|
||||
"integrity": "sha512-gSz026xs2LfxBPudDuI41V1lka8cxg64E66SGe78zJlsUofOg/yqwezdIcdfwik6B4h8LFmWPA9ef9X3FiNFLA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"it-to-stream": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/it-to-stream/-/it-to-stream-0.1.1.tgz",
|
||||
@ -13292,6 +13405,16 @@
|
||||
"object.assign": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"just-kebab-case": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/just-kebab-case/-/just-kebab-case-1.1.0.tgz",
|
||||
"integrity": "sha512-QkuwuBMQ9BQHMUEkAtIA4INLrkmnnveqlFB1oFi09gbU0wBdZo6tTnyxNWMR84zHxBuwK7GLAwqN8nrvVxOLTA=="
|
||||
},
|
||||
"just-map-keys": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/just-map-keys/-/just-map-keys-1.1.0.tgz",
|
||||
"integrity": "sha512-oNKi+4y7fr8lXnhKYpBbCkiwHRVkAnx0VDkCeTDtKKMzGr1Lz1Yym+RSieKUTKim68emC5Yxrb4YmiF9STDO+g=="
|
||||
},
|
||||
"keccak": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz",
|
||||
@ -13769,6 +13892,11 @@
|
||||
"integrity": "sha512-Sgr5lbboAUBo3eXCSPL4/KoVz3ROKquOjcctxmHIt+vol2DrqTQe3SwkKKuYhEiWB5kYa13YyopJ69deJ1irzQ==",
|
||||
"dev": true
|
||||
},
|
||||
"looper": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/looper/-/looper-3.0.0.tgz",
|
||||
"integrity": "sha1-LvpUw7HLq6m5Su4uWRSwvlf7t0k="
|
||||
},
|
||||
"loose-envify": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
||||
@ -14526,30 +14654,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"multiaddr-to-uri": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/multiaddr-to-uri/-/multiaddr-to-uri-5.1.0.tgz",
|
||||
"integrity": "sha512-rIlMLkw3yk3RJmf2hxYYzeqPXz4Vx7C4M/hg7BVWhmksDW0rDVNMEyoVb0H1A+sh3deHOh5EAFK87XcW+mFimA==",
|
||||
"requires": {
|
||||
"multiaddr": "^7.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"multiaddr": {
|
||||
"version": "7.2.1",
|
||||
"resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-7.2.1.tgz",
|
||||
"integrity": "sha512-iJ372ZXoyw1xmRh3Cawej5l17TTs72jGHDjUHCDl16s3UFkkPQkWj90BDF8hw8xnBIG/JB3RAyHhkWKiuNfM5g==",
|
||||
"requires": {
|
||||
"bs58": "^4.0.1",
|
||||
"cids": "~0.7.1",
|
||||
"class-is": "^1.1.0",
|
||||
"hi-base32": "~0.5.0",
|
||||
"ip": "^1.1.5",
|
||||
"is-ip": "^3.1.0",
|
||||
"varint": "^5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"multibase": {
|
||||
"version": "0.6.0",
|
||||
"resolved": "https://registry.npmjs.org/multibase/-/multibase-0.6.0.tgz",
|
||||
@ -14585,9 +14689,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"multicodec": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-1.0.0.tgz",
|
||||
"integrity": "sha512-CBiLdYcMnVnkN/2kL4AaUH3betYXQGKV5CCmN2CfgHUt5xROtsj91w780ltX6Wy7frgc6en8md3h2UQl6jDXAg==",
|
||||
"version": "0.5.7",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-0.5.7.tgz",
|
||||
"integrity": "sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA==",
|
||||
"requires": {
|
||||
"varint": "^5.0.0"
|
||||
}
|
||||
@ -14670,6 +14774,31 @@
|
||||
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
|
||||
"dev": true
|
||||
},
|
||||
"ndjson": {
|
||||
"version": "github:hugomrdias/ndjson#4db16da6b42e5b39bf300c3a7cde62abb3fa3a11",
|
||||
"from": "github:hugomrdias/ndjson#feat/readable-stream3",
|
||||
"requires": {
|
||||
"json-stringify-safe": "^5.0.1",
|
||||
"minimist": "^1.2.0",
|
||||
"split2": "^3.1.0",
|
||||
"through2": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"minimist": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
||||
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
|
||||
},
|
||||
"through2": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz",
|
||||
"integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==",
|
||||
"requires": {
|
||||
"readable-stream": "2 || 3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"negotiator": {
|
||||
"version": "0.6.2",
|
||||
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
|
||||
@ -15455,11 +15584,6 @@
|
||||
"safe-buffer": "^5.1.1"
|
||||
}
|
||||
},
|
||||
"parse-duration": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-0.1.2.tgz",
|
||||
"integrity": "sha512-0qfMZyjOUFBeEIvJ5EayfXJqaEXxQ+Oj2b7tWJM3hvEXvXsYCk05EDVI23oYnEw2NaFYUWdABEVPBvBMh8L/pA=="
|
||||
},
|
||||
"parse-entities": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.2.tgz",
|
||||
@ -17052,6 +17176,11 @@
|
||||
"set-immediate-shim": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"promisify-es6": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/promisify-es6/-/promisify-es6-1.0.3.tgz",
|
||||
"integrity": "sha512-N9iVG+CGJsI4b4ZGazjwLnxErD2d9Pe4DPvvXSxYA9tFNu8ymXME4Qs5HIQ0LMJpNM7zj+m0NlNnNeqFpKzqnA=="
|
||||
},
|
||||
"prompts": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.0.tgz",
|
||||
@ -17125,6 +17254,11 @@
|
||||
"safe-buffer": "^5.1.2"
|
||||
}
|
||||
},
|
||||
"pull-defer": {
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://registry.npmjs.org/pull-defer/-/pull-defer-0.2.3.tgz",
|
||||
"integrity": "sha512-/An3KE7mVjZCqNhZsr22k1Tx8MACnUnHZZNPSJ0S62td8JtYr/AiRG42Vz7Syu31SoTLUzVIe61jtT/pNdjVYA=="
|
||||
},
|
||||
"pull-stream": {
|
||||
"version": "3.6.14",
|
||||
"resolved": "https://registry.npmjs.org/pull-stream/-/pull-stream-3.6.14.tgz",
|
||||
@ -17138,6 +17272,26 @@
|
||||
"pull-stream": "^3.6.9"
|
||||
}
|
||||
},
|
||||
"pull-to-stream": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/pull-to-stream/-/pull-to-stream-0.1.1.tgz",
|
||||
"integrity": "sha512-thZkMv6F9PILt9zdvpI2gxs19mkDrlixYKX6cOBxAW16i1NZH+yLAmF4r8QfJ69zuQh27e01JZP9y27tsH021w==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.5.0.tgz",
|
||||
"integrity": "sha512-gSz026xs2LfxBPudDuI41V1lka8cxg64E66SGe78zJlsUofOg/yqwezdIcdfwik6B4h8LFmWPA9ef9X3FiNFLA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pump": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
|
||||
@ -19632,6 +19786,26 @@
|
||||
"extend-shallow": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.1.1.tgz",
|
||||
"integrity": "sha512-emNzr1s7ruq4N+1993yht631/JH+jaj0NYBosuKmLcq+JkGQ9MmTw1RB1fGaTCzUuseRIClrlSLHRNYGwWQ58Q==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.5.0.tgz",
|
||||
"integrity": "sha512-gSz026xs2LfxBPudDuI41V1lka8cxg64E66SGe78zJlsUofOg/yqwezdIcdfwik6B4h8LFmWPA9ef9X3FiNFLA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"sprintf-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
||||
@ -19776,6 +19950,15 @@
|
||||
"integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==",
|
||||
"dev": true
|
||||
},
|
||||
"stream-to-pull-stream": {
|
||||
"version": "1.7.3",
|
||||
"resolved": "https://registry.npmjs.org/stream-to-pull-stream/-/stream-to-pull-stream-1.7.3.tgz",
|
||||
"integrity": "sha512-6sNyqJpr5dIOQdgNy/xcDWwDuzAsAwVzhzrWlAPAQ7Lkjx/rv0wgvxEyKwTq6FmNd5rjTrELt/CLmaSw7crMGg==",
|
||||
"requires": {
|
||||
"looper": "^3.0.0",
|
||||
"pull-stream": "^3.2.3"
|
||||
}
|
||||
},
|
||||
"strict-uri-encode": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",
|
||||
|
@ -24,7 +24,7 @@
|
||||
"ethereum-blockies": "github:MyEtherWallet/blockies",
|
||||
"filesize": "^6.0.1",
|
||||
"history": "^4.10.1",
|
||||
"ipfs-http-client": "41.0.1",
|
||||
"ipfs-http-client": "39.0.2",
|
||||
"is-url-superb": "^3.0.0",
|
||||
"moment": "^2.24.0",
|
||||
"node-sass": "^4.13.1",
|
||||
|
@ -2,7 +2,7 @@ import React from 'react'
|
||||
import { render } from '@testing-library/react'
|
||||
import App from './App'
|
||||
import { User } from './context'
|
||||
import { userMock, userMockConnected } from '../__mocks__/user-mock'
|
||||
import { userMock, userMockConnected } from './__mocks__/user-mock'
|
||||
|
||||
describe('App', () => {
|
||||
it('should be able to run tests', () => {
|
||||
|
@ -3,7 +3,7 @@ import { BrowserRouter as Router } from 'react-router-dom'
|
||||
import { render } from '@testing-library/react'
|
||||
import Routes from './Routes'
|
||||
import { User } from './context'
|
||||
import { userMockConnected } from '../__mocks__/user-mock'
|
||||
import { userMockConnected } from './__mocks__/user-mock'
|
||||
|
||||
describe('Routes', () => {
|
||||
it('renders without crashing', () => {
|
||||
|
@ -3,7 +3,7 @@ import { render, fireEvent } from '@testing-library/react'
|
||||
import { toDataUrl } from 'ethereum-blockies'
|
||||
import Account from './Account'
|
||||
import { User } from '../../context'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
|
||||
describe('Account', () => {
|
||||
it('renders without crashing', () => {
|
||||
|
@ -1,8 +1,8 @@
|
||||
import React from 'react'
|
||||
import { render } from '@testing-library/react'
|
||||
import Popover from './Popover'
|
||||
import { userMock, userMockConnected } from '../../../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../../../__mocks__/market-mock'
|
||||
import { userMock, userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../../__mocks__/market-mock'
|
||||
import { User, Market } from '../../../context'
|
||||
|
||||
describe('Popover', () => {
|
||||
|
@ -5,7 +5,7 @@ import { StateMock } from '@react-mock/state'
|
||||
import VersionNumbers from '.'
|
||||
|
||||
import { User } from '../../../context'
|
||||
import { userMockConnected } from '../../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
|
||||
afterEach(() => {
|
||||
mockAxios.reset()
|
||||
|
@ -3,7 +3,7 @@ import { BrowserRouter } from 'react-router-dom'
|
||||
import { render } from '@testing-library/react'
|
||||
import AssetsLatest from './AssetsLatest'
|
||||
import { User } from '../../context'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
|
||||
describe('AssetsLatest', () => {
|
||||
it('renders without crashing', () => {
|
||||
|
@ -3,7 +3,7 @@ import { render } from '@testing-library/react'
|
||||
import ChannelTeaser from './ChannelTeaser'
|
||||
import { BrowserRouter } from 'react-router-dom'
|
||||
import { User } from '../../context'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
|
||||
describe('ChannelTeaser', () => {
|
||||
it('renders without crashing', () => {
|
||||
|
@ -3,8 +3,8 @@ import { render, fireEvent } from '@testing-library/react'
|
||||
import ReactModal from 'react-modal'
|
||||
import WalletSelector from './WalletSelector'
|
||||
import { User, Market } from '../../context'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../../__mocks__/market-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../__mocks__/market-mock'
|
||||
|
||||
describe('WalletSelector', () => {
|
||||
it('renders without crashing', () => {
|
||||
|
@ -2,8 +2,8 @@ import React from 'react'
|
||||
import { render } from '@testing-library/react'
|
||||
import Web3message from './Web3message'
|
||||
import { User, Market } from '../../context'
|
||||
import { userMock, userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../../__mocks__/market-mock'
|
||||
import { userMock, userMockConnected } from '../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../__mocks__/market-mock'
|
||||
|
||||
describe('Web3message', () => {
|
||||
it('renders with burner wallet message', () => {
|
||||
|
@ -7,8 +7,8 @@ import { StateMock } from '@react-mock/state'
|
||||
import ReactGA from 'react-ga'
|
||||
import { User, Market } from '../../../context'
|
||||
import AssetFile, { messages } from './AssetFile'
|
||||
import { userMockConnected } from '../../../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../../../__mocks__/market-mock'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { marketMock } from '../../../__mocks__/market-mock'
|
||||
|
||||
const file = {
|
||||
index: 0,
|
||||
|
@ -3,7 +3,7 @@ import { render } from '@testing-library/react'
|
||||
import Channel from './Channel'
|
||||
import { User } from '../../context'
|
||||
import { createMemoryHistory } from 'history'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
import { MemoryRouter } from 'react-router'
|
||||
|
||||
describe('Channel', () => {
|
||||
|
@ -2,7 +2,7 @@ import React from 'react'
|
||||
import { render } from '@testing-library/react'
|
||||
import MarketProvider from './MarketProvider'
|
||||
import { User, Market } from '../context'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../__mocks__/user-mock'
|
||||
|
||||
describe('MarketProvider', () => {
|
||||
it('renders without crashing', () => {
|
||||
|
@ -4,7 +4,7 @@ import { createMemoryHistory, createLocation } from 'history'
|
||||
import { render } from '@testing-library/react'
|
||||
import Channels from './Channels'
|
||||
import { User } from '../context'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../__mocks__/user-mock'
|
||||
|
||||
const history = createMemoryHistory()
|
||||
const location = createLocation('/channels')
|
||||
|
@ -4,7 +4,7 @@ import { MemoryRouter } from 'react-router'
|
||||
import { createMemoryHistory, createLocation } from 'history'
|
||||
import Faucet from '.'
|
||||
import { User, Market } from '../../context'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
|
||||
const history = createMemoryHistory()
|
||||
const location = createLocation('/faucet')
|
||||
|
@ -3,7 +3,7 @@ import { Router } from 'react-router'
|
||||
import { createMemoryHistory, createLocation } from 'history'
|
||||
import { render } from '@testing-library/react'
|
||||
import Home from '.'
|
||||
import { userMock } from '../../../__mocks__/user-mock'
|
||||
import { userMock } from '../../__mocks__/user-mock'
|
||||
import { User } from '../../context'
|
||||
|
||||
const history = createMemoryHistory()
|
||||
|
@ -97,6 +97,6 @@ describe('Files', () => {
|
||||
fireEvent.click(getByText('Add File'))
|
||||
|
||||
mockAxios.mockResponse(mockResponse)
|
||||
expect(mockAxios.get).toHaveBeenCalled()
|
||||
expect(mockAxios).toHaveBeenCalled()
|
||||
})
|
||||
})
|
||||
|
@ -4,7 +4,7 @@ import { render, fireEvent } from '@testing-library/react'
|
||||
import { createMemoryHistory, createLocation } from 'history'
|
||||
import Publish from '.'
|
||||
import { User } from '../../context'
|
||||
import { userMockConnected } from '../../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
|
||||
const history = createMemoryHistory()
|
||||
const location = createLocation('/publish')
|
||||
|
@ -4,7 +4,7 @@ import Search from './Search'
|
||||
import { User } from '../context'
|
||||
import { createMemoryHistory } from 'history'
|
||||
import { BrowserRouter as Router } from 'react-router-dom'
|
||||
import { userMockConnected } from '../../__mocks__/user-mock'
|
||||
import { userMockConnected } from '../__mocks__/user-mock'
|
||||
|
||||
const history = createMemoryHistory()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user