diff --git a/package-lock.json b/package-lock.json index d49231d..d003334 100644 --- a/package-lock.json +++ b/package-lock.json @@ -413,68 +413,154 @@ "utp-native": "^2.1.3" } }, + "@sammacbeth/browserify": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@sammacbeth/browserify/-/browserify-16.5.1.tgz", + "integrity": "sha512-qbG8JsFoQBcwVhSbm2zbHF4H6vh8pA3cPi6ngXKVGNvKBVAhaM6AcJnasQudIEie7IQWCk+p3spDqNBeJTQHQg==", + "dev": true, + "requires": { + "JSONStream": "^1.0.3", + "assert": "^2.0.0", + "browser-pack": "^6.0.1", + "browser-resolve": "^1.11.0", + "browserify-zlib": "~0.2.0", + "buffer": "~5.2.1", + "cached-path-relative": "^1.0.0", + "concat-stream": "^1.6.0", + "console-browserify": "^1.1.0", + "constants-browserify": "~1.0.0", + "crypto-browserify": "^3.0.0", + "defined": "^1.0.0", + "deps-sort": "^2.0.0", + "domain-browser": "^1.2.0", + "duplexer2": "~0.1.2", + "events": "^3.0.0", + "glob": "^7.1.0", + "has": "^1.0.0", + "htmlescape": "^1.1.0", + "https-browserify": "^1.0.0", + "inherits": "~2.0.1", + "insert-module-globals": "^7.0.0", + "labeled-stream-splicer": "^2.0.0", + "mkdirp-classic": "^0.5.2", + "module-deps": "^6.0.0", + "os-browserify": "~0.3.0", + "parents": "^1.0.1", + "path-browserify": "^1.0.0", + "process": "~0.11.0", + "punycode": "^1.3.2", + "querystring-es3": "~0.2.0", + "read-only-stream": "^2.0.0", + "readable-stream": "^2.0.2", + "resolve": "^1.1.4", + "shasum": "^1.0.0", + "shell-quote": "^1.6.1", + "stream-browserify": "^2.0.0", + "stream-http": "^3.0.0", + "string_decoder": "^1.1.1", + "subarg": "^1.0.0", + "syntax-error": "^1.1.1", + "through2": "^2.0.0", + "timers-browserify": "^1.0.1", + "tty-browserify": "0.0.1", + "url": "~0.11.0", + "util": "~0.12.3", + "vm-browserify": "^1.0.0", + "xtend": "^4.0.0" + }, + "dependencies": { + "assert": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", + "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", + "dev": true, + "requires": { + "es6-object-assign": "^1.1.0", + "is-nan": "^1.2.1", + "object-is": "^1.0.1", + "util": "^0.12.0" + } + }, + "buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", + "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + } + } + }, "@sammacbeth/dat-api-core": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-api-core/-/dat-api-core-0.7.0.tgz", - "integrity": "sha512-L1HcriO9nopyBaK3Xgvbpb06JtkVvWcN+OnfyHG0y9X9fvHbCGkso9xnFg4Th7Nk456DoBgzmHyqlk2/2p5cTQ==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-api-core/-/dat-api-core-0.8.0.tgz", + "integrity": "sha512-yycKpiFZCipooTfhTve3NWgo9ligL7Vx7t7Cdv0A+pTU7nYbrGm0g2SHHgEwG41dT+99lLB1yNh8MnI3gnvF8A==", "requires": { - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-types": "^0.8.0", "hypercore-crypto": "^2.0.2", "random-access-memory": "^3.1.1", "strict-event-emitter-types": "^2.0.0" } }, "@sammacbeth/dat-api-v1": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-api-v1/-/dat-api-v1-0.7.0.tgz", - "integrity": "sha512-E/lDLmYTilryX6V3t2oraR3OEu6SUzUO17n2NCez5CISdcyYWNM6Jjrkr9ZhHo6MoqjLTYubV11+PXnwl/mI1w==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-api-v1/-/dat-api-v1-0.8.0.tgz", + "integrity": "sha512-dNs7BKZrYAs5+PuqmqI7etl/9XNmanF39Q1TWaJowOiX3YpNvrLADM5Cdpm2ymH06zi1Jxb9FbhZ7UffClZtIg==", "requires": { - "@sammacbeth/dat-api-core": "^0.7.0", - "@sammacbeth/dat-network-hyperdiscovery": "^0.7.0", - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-api-core": "^0.8.0", + "@sammacbeth/dat-network-hyperdiscovery": "^0.8.0", + "@sammacbeth/dat-types": "^0.8.0", "hyperdrive": "9.16.0" } }, "@sammacbeth/dat-api-v1wrtc": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-api-v1wrtc/-/dat-api-v1wrtc-0.7.0.tgz", - "integrity": "sha512-Lkr7eoZLK0WlEeIi9vA+xo4e15SXChaSHA7+t4N9zrGpSrDn7+F8u7f4Zvp6vV97SfdECDOPSX/kUYBrXG/cog==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-api-v1wrtc/-/dat-api-v1wrtc-0.8.0.tgz", + "integrity": "sha512-2te8IKv5Qhgc89cfr/XI5oxosapNCou8PfZ+9vFh3jQXVS2HOQQ82xcnfZtBJiOJVSTuA8HvErJZrpAUQEX+Sw==", "requires": { - "@sammacbeth/dat-api-core": "^0.7.0", - "@sammacbeth/dat-network-hyperdiscovery": "^0.7.0", - "@sammacbeth/dat-network-hyperwebrtc": "^0.7.0", - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-api-core": "^0.8.0", + "@sammacbeth/dat-network-hyperdiscovery": "^0.8.0", + "@sammacbeth/dat-network-hyperwebrtc": "^0.8.0", + "@sammacbeth/dat-types": "^0.8.0", "hyperdrive": "^9.16.0" } }, "@sammacbeth/dat-archive": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-archive/-/dat-archive-0.7.0.tgz", - "integrity": "sha512-XLwd10urM6cMwXgyPC0v3cbNCY0tzzei/C7UsBkFKfnefEh+m3aHiad1O26094/V73HZ9uKVMk/qGAab5KrihA==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-archive/-/dat-archive-0.8.0.tgz", + "integrity": "sha512-k0+8AkBQxOHvyz9+58or66yUVFQ2smEVLt/DGSOvpfbpOzqRIrEgmg76UFxVCtUm06vTo81PIQiQoHv/MRXJPA==", "requires": { - "@sammacbeth/dat-api-core": "^0.7.0", + "@sammacbeth/dat-api-core": "^0.8.0", "@sammacbeth/dat-node": "^1.0.4", - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-types": "^0.8.0", "pauls-dat-api": "^8.1.0" } }, "@sammacbeth/dat-network-hyperdiscovery": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-network-hyperdiscovery/-/dat-network-hyperdiscovery-0.7.0.tgz", - "integrity": "sha512-Uqu/jw/prJJyWtlyC+SiFd55/8JJyLqficb7/lXtgiYWTkF49Msv7sLKQ5GjrSsCHnlkop/S5v3ME+vcudYL8A==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-network-hyperdiscovery/-/dat-network-hyperdiscovery-0.8.0.tgz", + "integrity": "sha512-PLwEAu7mkR4n1c8Wf9H3PJVq3AwVyBxOohu7M/yNVwIoZZQqevW5lMSWyPOJvGhynlmw/Rr56uJlxNwFiDpt6Q==", "requires": { - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-types": "^0.8.0", "@sammacbeth/hyperdiscovery": "^10.2.3" } }, "@sammacbeth/dat-network-hyperwebrtc": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-network-hyperwebrtc/-/dat-network-hyperwebrtc-0.7.0.tgz", - "integrity": "sha512-3NNCEPsZRNka5BVsu0R8Fa25DV0UPm5GpWUXpnx5wNoDHSKOM4p7/XClseuS90cBf+ZEoQvCFtAjxglkF88ESg==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-network-hyperwebrtc/-/dat-network-hyperwebrtc-0.8.0.tgz", + "integrity": "sha512-N0xgdi4F/p66HBngsE9h18kz5xLovhYg0ffvm2ntTOXoPYwtchs020OonrRFJqsGOtxdQmdLacPIeO5YIv0mxA==", "requires": { "@geut/discovery-swarm-webrtc": "^2.2.4", - "@sammacbeth/dat-network-hyperdiscovery": "^0.7.0", - "@sammacbeth/dat-types": "^0.7.0" + "@sammacbeth/dat-network-hyperdiscovery": "^0.8.0", + "@sammacbeth/dat-types": "^0.8.0" } }, "@sammacbeth/dat-node": { @@ -494,34 +580,32 @@ } }, "@sammacbeth/dat-protocol-handler": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-protocol-handler/-/dat-protocol-handler-0.7.0.tgz", - "integrity": "sha512-S0mNlF7LNxzPR/7xdwrONNYsKv/3cPSTTGuqpic/lwPaL+PkyvX+akpL8tAsT9yawNNn8G5XZ3oGCsqjW8gFQg==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-protocol-handler/-/dat-protocol-handler-0.8.0.tgz", + "integrity": "sha512-Nq4w07vkPod6Gje92JYWMiU1afdVNS01snQlDAXkwvTos8LFABXtVNxXgZJSCr51q3OrugFSst1dPZaWuDwsuw==", "requires": { - "@sammacbeth/dat-api-core": "^0.7.0", - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-api-core": "^0.8.0", + "@sammacbeth/dat-types": "^0.8.0", "mime": "^2.4.4", "parse-dat-url": "^3.0.3", "pauls-dat-api": "^8.1.0" } }, "@sammacbeth/dat-types": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat-types/-/dat-types-0.7.0.tgz", - "integrity": "sha512-AtQ6smNE4ZsihEDmw3M4WXWi/hs77UCSCGrUVECsfkmKieu6jI41JUmmtXz4mKjI4dQphpgZkwvqkad/AqD+Iw==" + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat-types/-/dat-types-0.8.0.tgz", + "integrity": "sha512-h3FeB1T6z/IwBx25ktbcwbz8o+Tol6rUM0S9Tgb3RWd2mjG/ypo3+5iuXtal+k+e9g6ryg1sU6SFjx+TI0hsGg==" }, "@sammacbeth/dat2-api": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sammacbeth/dat2-api/-/dat2-api-0.7.0.tgz", - "integrity": "sha512-Mh/ZPtVSOjFhVCKvmdrvWT2FuGF6IG3Q853th8xhVsDtwhL/4xCQcGGOhPuREM1jM1HboGBkBVluJ76FacK7lA==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@sammacbeth/dat2-api/-/dat2-api-0.8.1.tgz", + "integrity": "sha512-LUYC0q19a6d30Uw1EsoW5cX9aiHLFtfvlknZTKGV3vguHvIdqTzVX80GpX8/Oo3dHUgeDlzvyTga4Xdfadpp9A==", "requires": { - "@sammacbeth/dat-api-core": "^0.7.0", - "@sammacbeth/dat-types": "^0.7.0", + "@sammacbeth/dat-api-core": "^0.8.0", + "@sammacbeth/dat-types": "^0.8.0", "corestore": "^5.3.2", - "hypercore-protocol": "^8.0.0", - "hyperdrive": "^10.10.3", - "hyperswarm": "^2.14.0", - "pump": "^3.0.0" + "corestore-swarm-networking": "^5.4.2", + "hyperdrive": "^10.10.3" }, "dependencies": { "hypercore-protocol": { @@ -1289,33 +1373,6 @@ "minimalistic-assert": "^1.0.0" } }, - "assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "dev": true, - "requires": { - "object-assign": "^4.1.1", - "util": "0.10.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "requires": { - "inherits": "2.0.1" - } - } - } - }, "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", @@ -1374,6 +1431,23 @@ "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", "dev": true }, + "available-typed-arrays": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz", + "integrity": "sha512-XWX3OX8Onv97LMk/ftVyBibpGwY5a8SmuxZPzeOxqmuEqUCOM9ZE+uIaD1VNJ5QnvU2UQusvmKbuM1FR8QWGfQ==", + "dev": true, + "requires": { + "array-filter": "^1.0.0" + }, + "dependencies": { + "array-filter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz", + "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=", + "dev": true + } + } + }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", @@ -1857,80 +1931,6 @@ } } }, - "browserify": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/browserify/-/browserify-16.5.1.tgz", - "integrity": "sha512-EQX0h59Pp+0GtSRb5rL6OTfrttlzv+uyaUVlK6GX3w11SQ0jKPKyjC/54RhPR2ib2KmfcELM06e8FxcI5XNU2A==", - "dev": true, - "requires": { - "JSONStream": "^1.0.3", - "assert": "^1.4.0", - "browser-pack": "^6.0.1", - "browser-resolve": "^1.11.0", - "browserify-zlib": "~0.2.0", - "buffer": "~5.2.1", - "cached-path-relative": "^1.0.0", - "concat-stream": "^1.6.0", - "console-browserify": "^1.1.0", - "constants-browserify": "~1.0.0", - "crypto-browserify": "^3.0.0", - "defined": "^1.0.0", - "deps-sort": "^2.0.0", - "domain-browser": "^1.2.0", - "duplexer2": "~0.1.2", - "events": "^2.0.0", - "glob": "^7.1.0", - "has": "^1.0.0", - "htmlescape": "^1.1.0", - "https-browserify": "^1.0.0", - "inherits": "~2.0.1", - "insert-module-globals": "^7.0.0", - "labeled-stream-splicer": "^2.0.0", - "mkdirp-classic": "^0.5.2", - "module-deps": "^6.0.0", - "os-browserify": "~0.3.0", - "parents": "^1.0.1", - "path-browserify": "~0.0.0", - "process": "~0.11.0", - "punycode": "^1.3.2", - "querystring-es3": "~0.2.0", - "read-only-stream": "^2.0.0", - "readable-stream": "^2.0.2", - "resolve": "^1.1.4", - "shasum": "^1.0.0", - "shell-quote": "^1.6.1", - "stream-browserify": "^2.0.0", - "stream-http": "^3.0.0", - "string_decoder": "^1.1.1", - "subarg": "^1.0.0", - "syntax-error": "^1.1.1", - "through2": "^2.0.0", - "timers-browserify": "^1.0.1", - "tty-browserify": "0.0.1", - "url": "~0.11.0", - "util": "~0.10.1", - "vm-browserify": "^1.0.0", - "xtend": "^4.0.0" - }, - "dependencies": { - "buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", - "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", - "dev": true, - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" - } - }, - "events": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/events/-/events-2.1.0.tgz", - "integrity": "sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==", - "dev": true - } - } - }, "browserify-aes": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", @@ -3117,9 +3117,9 @@ "integrity": "sha512-nSWYToViFEpZXOxhtMQ6IDs76TN9xKIkHOu1KCr/iFiBcgzKuY1AFPZktuXN8r82FbZ/TXP9fwITszLgcp3eQg==" }, "hypercore": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/hypercore/-/hypercore-9.0.1.tgz", - "integrity": "sha512-z3WLpLQOZKSCbgm016Dp6NW0jjImglX1FqjcW57ANoFoedthmHPYNUjcRbXcf79FmiL7ZIgkbnFVX7S6yWyBYQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/hypercore/-/hypercore-9.1.0.tgz", + "integrity": "sha512-fHVnmm1ox6TFqsHcf57JkTN6bSYd2MqtaS3Apzq1sqjhzhffvoocuzNHpwj14d+koS/XyFq+rJpiDjQGlXTgxw==", "requires": { "abstract-extension": "^3.0.1", "atomic-batcher": "^1.0.2", @@ -3185,6 +3185,37 @@ } } }, + "corestore-swarm-networking": { + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/corestore-swarm-networking/-/corestore-swarm-networking-5.4.3.tgz", + "integrity": "sha512-mWys5qYKDb8jLZ4+rtZLOS0YSb1j+I8uISxbZltHNY1B+/QEy51VguKsKymElxglTfpcnbVGfjkuiMUi0GctDQ==", + "requires": { + "dat-encoding": "^5.0.1", + "debug": "^4.1.1", + "end-of-stream": "^1.4.4", + "hypercore-protocol": "^8.0.0", + "hyperswarm": "^2.10.0", + "pump": "^3.0.0" + }, + "dependencies": { + "hypercore-protocol": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/hypercore-protocol/-/hypercore-protocol-8.0.0.tgz", + "integrity": "sha512-KvB20YOd1LhrTzDt6gvN0CjOwbjy23oUWbXRo7smWAxwd3P61y5cQQEbTbXRLDX847jR4uNiyfIDIhMT9QStgw==", + "requires": { + "abstract-extension": "^3.0.1", + "debug": "^4.1.1", + "hypercore-crypto": "^2.0.0", + "inspect-custom-symbol": "^1.1.0", + "nanoguard": "^1.2.1", + "pretty-hash": "^1.0.1", + "simple-hypercore-protocol": "^2.0.0", + "streamx": "^2.1.0", + "timeout-refresh": "^1.0.0" + } + } + } + }, "count-trailing-zeros": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/count-trailing-zeros/-/count-trailing-zeros-1.0.1.tgz", @@ -4173,6 +4204,12 @@ "event-emitter": "~0.3.5" } }, + "es6-object-assign": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", + "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=", + "dev": true + }, "es6-promise": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", @@ -6387,9 +6424,9 @@ } }, "hyperdrive-schemas": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/hyperdrive-schemas/-/hyperdrive-schemas-1.9.1.tgz", - "integrity": "sha512-64lsePdat9K37mhbtj/4p6N1NxpI0fWtjtZDMbmWzU0OWHW67OZmGkS7FVnFe86bWlKwDROOitJP8b6cq8ccMA==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/hyperdrive-schemas/-/hyperdrive-schemas-1.10.0.tgz", + "integrity": "sha512-4kA0YwDdWhdKJ1Gaqb4HxcsB2+K4zDlPuegSgjeJLMu5HBjkXLKD2zglVd5JvrSrTS5TZf45zrf6+Tgqv0RlFw==", "requires": { "protocol-buffers-encodings": "^1.1.0" } @@ -6432,9 +6469,9 @@ "integrity": "sha512-nSWYToViFEpZXOxhtMQ6IDs76TN9xKIkHOu1KCr/iFiBcgzKuY1AFPZktuXN8r82FbZ/TXP9fwITszLgcp3eQg==" }, "hypercore": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/hypercore/-/hypercore-9.0.1.tgz", - "integrity": "sha512-z3WLpLQOZKSCbgm016Dp6NW0jjImglX1FqjcW57ANoFoedthmHPYNUjcRbXcf79FmiL7ZIgkbnFVX7S6yWyBYQ==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/hypercore/-/hypercore-9.1.0.tgz", + "integrity": "sha512-fHVnmm1ox6TFqsHcf57JkTN6bSYd2MqtaS3Apzq1sqjhzhffvoocuzNHpwj14d+koS/XyFq+rJpiDjQGlXTgxw==", "requires": { "abstract-extension": "^3.0.1", "atomic-batcher": "^1.0.2", @@ -6833,6 +6870,12 @@ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true }, + "is-generator-function": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.7.tgz", + "integrity": "sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw==", + "dev": true + }, "is-glob": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", @@ -6876,6 +6919,15 @@ "xtend": "^4.0.0" } }, + "is-nan": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.0.tgz", + "integrity": "sha512-z7bbREymOqt2CCaZVly8aC4ML3Xhfi0ekuOnjO2L8vKdl+CttdVoGZQhd4adMFAsxQ5VeRVwORs4tU8RH+HFtQ==", + "dev": true, + "requires": { + "define-properties": "^1.1.3" + } + }, "is-npm": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", @@ -6993,6 +7045,45 @@ "has-symbols": "^1.0.1" } }, + "is-typed-array": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.3.tgz", + "integrity": "sha512-BSYUBOK/HJibQ30wWkWold5txYwMUXQct9YHAQJr8fSwvZoiglcqB0pd7vEN23+Tsi9IUEjztdOSzl4qLVYGTQ==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.0", + "es-abstract": "^1.17.4", + "foreach": "^2.0.5", + "has-symbols": "^1.0.1" + }, + "dependencies": { + "es-abstract": { + "version": "1.17.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", + "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.1.5", + "is-regex": "^1.0.5", + "object-inspect": "^1.7.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimleft": "^2.1.1", + "string.prototype.trimright": "^2.1.1" + } + }, + "is-callable": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", + "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "dev": true + } + } + }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -8778,12 +8869,6 @@ } } }, - "path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", - "dev": true - }, "path-dirname": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", @@ -11803,20 +11888,17 @@ } }, "util": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", - "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", + "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", "dev": true, "requires": { - "inherits": "2.0.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - } + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" } }, "util-deprecate": { @@ -12059,6 +12141,47 @@ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, + "which-typed-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.2.tgz", + "integrity": "sha512-KT6okrd1tE6JdZAy3o2VhMoYPh3+J6EMZLyrxBQsZflI1QCZIxMrIYLkosd8Twf+YfknVIHmYQPgJt238p8dnQ==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.2", + "es-abstract": "^1.17.5", + "foreach": "^2.0.5", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.1", + "is-typed-array": "^1.1.3" + }, + "dependencies": { + "es-abstract": { + "version": "1.17.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", + "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.1.5", + "is-regex": "^1.0.5", + "object-inspect": "^1.7.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimleft": "^2.1.1", + "string.prototype.trimright": "^2.1.1" + } + }, + "is-callable": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", + "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "dev": true + } + } + }, "widest-line": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", diff --git a/package.json b/package.json index e15e629..be0211e 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,13 @@ "dependencies": { "@cliqz-oss/dexie": "^2.0.4", "@geut/sodium-javascript-plus": "0.0.6", - "@sammacbeth/dat-api-core": "0.7.0", - "@sammacbeth/dat-api-v1": "0.7.0", - "@sammacbeth/dat-api-v1wrtc": "0.7.0", - "@sammacbeth/dat-archive": "0.7.0", - "@sammacbeth/dat-protocol-handler": "0.7.0", - "@sammacbeth/dat-types": "^0.7.0", - "@sammacbeth/dat2-api": "0.7.0", + "@sammacbeth/dat-api-core": "0.8.0", + "@sammacbeth/dat-api-v1": "0.8.0", + "@sammacbeth/dat-api-v1wrtc": "0.8.0", + "@sammacbeth/dat-archive": "0.8.0", + "@sammacbeth/dat-protocol-handler": "0.8.0", + "@sammacbeth/dat-types": "^0.8.0", + "@sammacbeth/dat2-api": "0.8.1", "@sammacbeth/libdweb": "0.0.13", "@sammacbeth/utp-wasm": "^1.1.5", "base64-js": "^1.3.1", @@ -40,12 +40,12 @@ }, "devDependencies": { "@babel/core": "^7.9.0", + "@sammacbeth/browserify": "^16.5.1", "@sammacbeth/libdwebify": "^1.0.2", "@sammacbeth/tape-ext": "0.5.1", "@types/node": "^13.13.5", "babel-plugin-module-resolver": "^4.0.0", "babelify": "^10.0.0", - "browserify": "^16.5.1", "cross-env": "^7.0.2", "patch-package": "^6.2.2", "tsify": "^4.0.1", diff --git a/patches/is-generator-function+1.0.7.patch b/patches/is-generator-function+1.0.7.patch new file mode 100644 index 0000000..d875fb8 --- /dev/null +++ b/patches/is-generator-function+1.0.7.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/is-generator-function/index.js b/node_modules/is-generator-function/index.js +index 306a299..cb03167 100644 +--- a/node_modules/is-generator-function/index.js ++++ b/node_modules/is-generator-function/index.js +@@ -10,7 +10,7 @@ var getGeneratorFunc = function () { // eslint-disable-line consistent-return + return false; + } + try { +- return Function('return function*() {}')(); ++ return function*() {}; + } catch (e) { + } + }; diff --git a/patches/mountable-hypertrie+2.4.14.patch b/patches/mountable-hypertrie+2.5.3.patch similarity index 92% rename from patches/mountable-hypertrie+2.4.14.patch rename to patches/mountable-hypertrie+2.5.3.patch index 18d6ae9..3873edf 100644 --- a/patches/mountable-hypertrie+2.4.14.patch +++ b/patches/mountable-hypertrie+2.5.3.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/mountable-hypertrie/index.js b/node_modules/mountable-hypertrie/index.js -index 7f1515b..aa3cfdb 100644 +index edc0a1c..9bb0e85 100644 --- a/node_modules/mountable-hypertrie/index.js +++ b/node_modules/mountable-hypertrie/index.js @@ -1,4 +1,4 @@