diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b923d296..f056c2006 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,12 @@ on: branches: - main - next + - bump-deps pull_request: + types: [opened, synchronize, reopened, ready_for_review] repository_dispatch: workflow_dispatch: + jobs: build: strategy: diff --git a/package-lock.json b/package-lock.json index befd1eaf3..cae2e2091 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,6 +36,7 @@ "fs-native-extensions": "^1.2.7", "hypercore-crypto": "^3.4.1", "hypercore-id-encoding": "^1.3.0", + "hyperdb": "^4.0.2", "hyperdrive": "^11.8.1", "hyperswarm": "^4.7.14", "iambus": "^1.0.3", @@ -75,6 +76,7 @@ "@hyperswarm/testnet": "^3.1.4", "brittle": "^3.5.2", "graceful-goodbye": "^1.3.0", + "hyperschema": "^1.0.3", "standard": "^17.0.0" } }, @@ -739,9 +741,9 @@ } }, "node_modules/bare-process": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bare-process/-/bare-process-3.0.0.tgz", - "integrity": "sha512-pqlIEP0pYxgxjWCIMZP5kKCnljOj5kRx7B9aP3KViILzMzOulIt8To7VrFY2hA2AhM/514ZttTfTV/1H4d2XQw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bare-process/-/bare-process-3.1.0.tgz", + "integrity": "sha512-xrgYzT4sE2SEwsblqOJACjUuuAfvcFVMGiBlc2i1vDu6qSkaC3eaWAwRe4TMalRXt1dYKGGYObpGSIsY7r+mzg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1267,6 +1269,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/drive-analyzer/-/drive-analyzer-1.0.0.tgz", "integrity": "sha512-+t/ouJNOSa1MF30XWiI/qaTc/QQYiHUuCo8vWiQZtaNzFZv3QcUB1Lzt9ZSiwKAGJHnkVBL0oxyLvjfZwQHfqA==", + "license": "Apache-2.0", "dependencies": { "bare-path": "^3.0.0", "dependency-stream": "^2.2.3", @@ -2193,6 +2196,21 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/generate-object-property": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-2.0.0.tgz", + "integrity": "sha512-KwuURPyqn2Mz8DdV29pJwQu0Y7tcsbkULr82eeOcY/ZllFK6I9Wm8dsRByIu7CKWlFi9BdW1b3mcXMp/kQBQsw==", + "license": "MIT", + "dependencies": { + "is-property": "^1.0.0" + } + }, + "node_modules/generate-string": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/generate-string/-/generate-string-1.0.1.tgz", + "integrity": "sha512-IfTY0dKZM43ACyGvXkbG7De7WY7MxTS5VO6Juhe8oJKpCmrYYXoqp/cJMskkpi0k9H8wuXq0H+eI898/BCqvXg==", + "license": "MIT" + }, "node_modules/get-intrinsic": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", @@ -2544,6 +2562,23 @@ "z32": "^1.0.0" } }, + "node_modules/hyperdb": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hyperdb/-/hyperdb-4.1.0.tgz", + "integrity": "sha512-MFmp3PEHDPe5G6JiPpMcF6Erq8/fCb3Z3UiO/gTXYx9iHG4ltzbq8FqTasXljsO6I23ndFPueW05nn2MMzHVKg==", + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.6.6", + "compact-encoding": "^2.15.0", + "generate-object-property": "^2.0.0", + "generate-string": "^1.0.1", + "hyperbee": "^2.20.4", + "hyperschema": "^1.0.0", + "index-encoder": "^3.2.0", + "rocksdb-native": "^2.3.1", + "streamx": "^2.20.0" + } + }, "node_modules/hyperdht": { "version": "6.20.0", "resolved": "https://registry.npmjs.org/hyperdht/-/hyperdht-6.20.0.tgz", @@ -2594,6 +2629,22 @@ "unix-path-resolve": "^1.0.2" } }, + "node_modules/hyperschema": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/hyperschema/-/hyperschema-1.0.3.tgz", + "integrity": "sha512-AGhzxTYCygNipS5VoekO7PXI9uaNQeHnuR/++/EKMhIiZeniRZELg6KToCVEOUdYK5823m5hjT1+Qkto4rgo2w==", + "license": "UNLICENSED", + "dependencies": { + "bare-fs": "^3.1.1", + "compact-encoding": "^2.15.0", + "generate-object-property": "^2.0.0", + "generate-string": "^1.0.1", + "same-object": "^1.0.2" + }, + "bin": { + "hyperschema": "bin.js" + } + }, "node_modules/hyperswarm": { "version": "4.8.4", "resolved": "https://registry.npmjs.org/hyperswarm/-/hyperswarm-4.8.4.tgz", @@ -2661,6 +2712,15 @@ "node": ">=0.8.19" } }, + "node_modules/index-encoder": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/index-encoder/-/index-encoder-3.3.1.tgz", + "integrity": "sha512-0G4EcETTa9cc3YcPiZPFJJhf1RhAYsZ82vQardLTmCQp7LS1FfE/L4Pf50315G/0fh2GZ9GwZeq0oRf3qkfm9w==", + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.6.4" + } + }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -2939,6 +2999,12 @@ "node": ">=8" } }, + "node_modules/is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==", + "license": "MIT" + }, "node_modules/is-regex": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", @@ -3789,9 +3855,9 @@ } }, "node_modules/pear-link": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/pear-link/-/pear-link-2.0.5.tgz", - "integrity": "sha512-bGpGiA26fMZ6gpu9O8R6JRuZoLo2yEiHDtl7JTGSwdNPgKOKVAMTICLPahbLTVZ00rQYFdyzosN0MQZ48GqG2A==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/pear-link/-/pear-link-2.0.6.tgz", + "integrity": "sha512-gTCsGgbJ1dW6iikY8sAM+TDnWMQyHZ39cIblfAd3oaE+iRZJOjzn+QkpdvGQkHi5R/VdrJWU7Fb+oekyD457Gg==", "license": "Apache-2.0", "dependencies": { "hypercore-id-encoding": "^1.2.0", @@ -4352,7 +4418,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/same-object/-/same-object-1.0.2.tgz", "integrity": "sha512-csHWhvUsLbIOHDM/nP+KHWM+BLPsIzWkFa8HbzaI0G7BqKXgx+7FJpKTGgLXyz5amfdY2OVBcmXTqYOMEk04og==", - "dev": true, "license": "MIT" }, "node_modules/script-linker": {