diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2e2b55..41c9985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5eab369..dcddeaa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 cache: 'npm' registry-url: 'https://registry.npmjs.org' diff --git a/README.md b/README.md index 8fd8a5c..9f79773 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ This means it's very crucial to respect to select the proper version and respect | Queue Version | Realm Version | React Native | Hermes Support | |---------------|---------------|--------------|----------------| +| 2.3.0 | 12.6.1 | => 0.71.4 | Yes | | 2.2.0 | 11.10.1 | => 0.71.4 | Yes | | 2.1.1 | 11.5.2 | => 0.71.4 | Yes | | 2.1.0 | 11.5.1 | => 0.71.0 | Yes | diff --git a/package-lock.json b/package-lock.json index 9ca27eb..ab7a05a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "promise-reflect": "^1.1.0", "react-native-uuid": "^2.0.1", - "realm": "^12.5.0" + "realm": "^12.6.1" }, "devDependencies": { "@babel/core": "^7.17.9", @@ -5964,6 +5964,14 @@ "react-native": "*" } }, + "node_modules/@realm/fetch": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@realm/fetch/-/fetch-0.1.1.tgz", + "integrity": "sha512-hkTprw79RXGv54Je0DrjpQPLaz4QID2dO3FmthAQQWAkqwyrqMzrCGzJzLlmTKWZFsgLrN8KQyNewod27P+nJg==", + "engines": { + "node": ">=18" + } + }, "node_modules/@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", @@ -14711,6 +14719,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "peer": true, "dependencies": { "whatwg-url": "^5.0.0" }, @@ -15756,17 +15765,20 @@ "peer": true }, "node_modules/realm": { - "version": "12.5.0", - "resolved": "https://registry.npmjs.org/realm/-/realm-12.5.0.tgz", - "integrity": "sha512-WcDrg6kYXOFHOuDrXv5xOFXg/TX+xrSyAxJyWiAAFb7GkJjtKdlKHgCnoWee5caJ1LIezjs7xw84YNRdzeVt9A==", + "version": "12.6.1", + "resolved": "https://registry.npmjs.org/realm/-/realm-12.6.1.tgz", + "integrity": "sha512-LOwDU01qDPH57TLLb9jtAgdmRI1kz98tQVptvOYPAGogFLHAQtXcSzUCQtr0ga2YznJwm9YHEepqXHa5EOrKNQ==", "hasInstallScript": true, "dependencies": { + "@realm/fetch": "^0.1.1", "bson": "^4.7.2", "debug": "^4.3.4", - "node-fetch": "^2.6.9", "node-machine-id": "^1.1.12", "prebuild-install": "^7.1.1" }, + "engines": { + "node": ">=18" + }, "peerDependencies": { "react-native": ">=0.71.0" }, @@ -16664,7 +16676,8 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "peer": true }, "node_modules/trim-right": { "version": "1.0.1", @@ -16882,7 +16895,8 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "peer": true }, "node_modules/whatwg-fetch": { "version": "3.6.20", @@ -16894,6 +16908,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0= sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "peer": true, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -21565,6 +21580,11 @@ "nullthrows": "^1.1.1" } }, + "@realm/fetch": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@realm/fetch/-/fetch-0.1.1.tgz", + "integrity": "sha512-hkTprw79RXGv54Je0DrjpQPLaz4QID2dO3FmthAQQWAkqwyrqMzrCGzJzLlmTKWZFsgLrN8KQyNewod27P+nJg==" + }, "@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", @@ -28347,6 +28367,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "peer": true, "requires": { "whatwg-url": "^5.0.0" } @@ -29122,13 +29143,13 @@ "peer": true }, "realm": { - "version": "12.5.0", - "resolved": "https://registry.npmjs.org/realm/-/realm-12.5.0.tgz", - "integrity": "sha512-WcDrg6kYXOFHOuDrXv5xOFXg/TX+xrSyAxJyWiAAFb7GkJjtKdlKHgCnoWee5caJ1LIezjs7xw84YNRdzeVt9A==", + "version": "12.6.1", + "resolved": "https://registry.npmjs.org/realm/-/realm-12.6.1.tgz", + "integrity": "sha512-LOwDU01qDPH57TLLb9jtAgdmRI1kz98tQVptvOYPAGogFLHAQtXcSzUCQtr0ga2YznJwm9YHEepqXHa5EOrKNQ==", "requires": { + "@realm/fetch": "^0.1.1", "bson": "^4.7.2", "debug": "^4.3.4", - "node-fetch": "^2.6.9", "node-machine-id": "^1.1.12", "prebuild-install": "^7.1.1" } @@ -29826,7 +29847,8 @@ "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "peer": true }, "trim-right": { "version": "1.0.1", @@ -29984,7 +30006,8 @@ "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "peer": true }, "whatwg-fetch": { "version": "3.6.20", @@ -29996,6 +30019,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0= sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "peer": true, "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" diff --git a/package.json b/package.json index df90b92..304fffd 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "dependencies": { "promise-reflect": "^1.1.0", "react-native-uuid": "^2.0.1", - "realm": "^12.5.0" + "realm": "^12.6.1" }, "devDependencies": { "@babel/core": "^7.17.9",