diff --git a/package.json b/package.json index b154948c..2f1383b2 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "rusty-store-kv": "^1.3.1", "semver": "^7.6.3", "simple-git": "^3.27.0", - "surrealdb.js": "^0.11.1", + "surrealdb.js": "^1.0.0", "testcontainers": "^10.13.1", "typescript": "^5.6.2", "vitest": "^2.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c1d5cbc..e46af80b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -102,8 +102,8 @@ importers: specifier: ^3.27.0 version: 3.27.0 surrealdb.js: - specifier: ^0.11.1 - version: 0.11.1 + specifier: ^1.0.0 + version: 1.0.0 testcontainers: specifier: ^10.13.1 version: 10.13.1 @@ -206,6 +206,12 @@ packages: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} + '@deno/shim-deno-test@0.4.0': + resolution: {integrity: sha512-oYWcD7CpERZy/TXMTM9Tgh1HD/POHlbY9WpzmAk+5H8DohcxG415Qws8yLGlim3EaKBT2v3lJv01x4G0BosnaQ==} + + '@deno/shim-deno@0.16.1': + resolution: {integrity: sha512-s9v0kzF5bm/o9TgdwvsraHx6QNllYrXXmKzgOG2lh4LFXnVMr2gpjK/c/ve6EflQn1MqImcWmVD8HAv5ahuuZQ==} + '@elastic/elasticsearch@8.13.1': resolution: {integrity: sha512-2G4Vu6OHw4+XTrp7AGIcOEezpPEoVrWg2JTK1v/exEKSLYquZkUdd+m4yOL3/UZ6bTj7hmXwrmYzW76BnLCkJQ==} engines: {node: '>=18'} @@ -387,6 +393,9 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} deprecated: Use @eslint/object-schema instead + '@icholy/duration@5.1.0': + resolution: {integrity: sha512-I/zdjC6qYdwWJ2H1/PZbI3g58pPIiI/eOe5XDTtQ/v36d0ogcvAylqwOIWj/teY1rBnIMzUyWfX7PMm9I67WWg==} + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -926,6 +935,10 @@ packages: buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} + bufferutil@4.0.8: + resolution: {integrity: sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==} + engines: {node: '>=6.14.2'} + buildcheck@0.0.6: resolution: {integrity: sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A==} engines: {node: '>=10.0.0'} @@ -957,6 +970,9 @@ packages: resolution: {integrity: sha512-gwl1DeYvL8Wy3i1GDMzFtpUg5G473fU7EnHFZj7BUtdLB7loAfgZgB3zBhROc9fbaDSUDs6YwOPPojS5E1kbSA==} engines: {node: '>=16'} + cbor-redux@1.0.0: + resolution: {integrity: sha512-nqCD/Yu2FON0XgZYdUNsMx1Tc08MOY3noh9bO2MvkjlyLZyqIVWjuz6A0mDrPJncdOfacokFUtF7zlzzP5oK5A==} + chai@5.1.1: resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} engines: {node: '>=12'} @@ -1060,6 +1076,9 @@ packages: supports-color: optional: true + decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + deep-eql@5.0.2: resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} @@ -1721,6 +1740,11 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + isows@1.0.6: + resolution: {integrity: sha512-lPHCayd40oW98/I0uvgaHKWCSvkzY27LjWLbtzOm64yQ+G3Q5npjjbdppU65iZXkK1Zt+kH9pfegli0AYfwYYw==} + peerDependencies: + ws: '*' + jackspeak@3.4.0: resolution: {integrity: sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==} engines: {node: '>=14'} @@ -1960,6 +1984,10 @@ packages: node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} + node-gyp-build@4.8.2: + resolution: {integrity: sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==} + hasBin: true + normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -2524,8 +2552,9 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - surrealdb.js@0.11.1: - resolution: {integrity: sha512-VgIO8uym/+VR7pBvLDSZYXV51CKYIN8eUj9kM44rDLGg3lMlmhnQrFPgi1wD+OZ/c85cLwO2zicVvmA8C0MmIg==} + surrealdb.js@1.0.0: + resolution: {integrity: sha512-yxjRa2LrMx8SYll2OQV9B1/10vZ0GsuQdlHELrWw/3Ar5bUs2Pn4uyjUyvCY7QH/GGUsUHgN7DR51n5B0xNtPw==} + engines: {node: '>=18.0.0'} deprecated: Please visit https://www.npmjs.com/package/surrealdb for the updated SurrealDB SDK. tapable@2.2.1: @@ -2655,15 +2684,13 @@ packages: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} - unws@0.2.4: - resolution: {integrity: sha512-/N1ajiqrSp0A/26/LBg7r10fOcPtGXCqJRJ61sijUFoGZMr6ESWGYn7i0cwr7fR7eEECY5HsitqtjGHDZLAu2w==} - engines: {node: '>=16.14.0'} - peerDependencies: - ws: '*' - uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + utf-8-validate@6.0.4: + resolution: {integrity: sha512-xu9GQDeFp+eZ6LnCywXN/zBancWvOpUMzgjLPSjy4BRHSmTelvn2E0DG0o1sTiw5hkCKBHo8rwSKncfRfv2EEQ==} + engines: {node: '>=6.14.2'} + util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -2671,6 +2698,10 @@ packages: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true + uuidv7@0.6.3: + resolution: {integrity: sha512-zV3eW2NlXTsun/aJ7AixxZjH/byQcH/r3J99MI0dDEkU2cJIBJxhEWUHDTpOaLPRNhebPZoeHuykYREkI9HafA==} + hasBin: true + vite-node@2.0.5: resolution: {integrity: sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==} engines: {node: ^18.0.0 || >=20.0.0} @@ -2951,6 +2982,13 @@ snapshots: '@colors/colors@1.5.0': optional: true + '@deno/shim-deno-test@0.4.0': {} + + '@deno/shim-deno@0.16.1': + dependencies: + '@deno/shim-deno-test': 0.4.0 + which: 2.0.2 + '@elastic/elasticsearch@8.13.1': dependencies: '@elastic/transport': 8.4.1 @@ -3075,6 +3113,8 @@ snapshots: '@humanwhocodes/object-schema@2.0.3': {} + '@icholy/duration@5.1.0': {} + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -3680,6 +3720,11 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 + bufferutil@4.0.8: + dependencies: + node-gyp-build: 4.8.2 + optional: true + buildcheck@0.0.6: optional: true @@ -3710,6 +3755,10 @@ snapshots: adm-zip: 0.5.12 long: 5.2.3 + cbor-redux@1.0.0: + dependencies: + '@deno/shim-deno': 0.16.1 + chai@5.1.1: dependencies: assertion-error: 2.0.1 @@ -3810,6 +3859,8 @@ snapshots: dependencies: ms: 2.1.2 + decimal.js@10.4.3: {} + deep-eql@5.0.2: {} deep-is@0.1.4: {} @@ -4597,6 +4648,10 @@ snapshots: isexe@2.0.0: {} + isows@1.0.6(ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.4)): + dependencies: + ws: 8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.4) + jackspeak@3.4.0: dependencies: '@isaacs/cliui': 8.0.2 @@ -4821,6 +4876,9 @@ snapshots: node-abort-controller@3.1.1: {} + node-gyp-build@4.8.2: + optional: true + normalize-path@3.0.0: {} npm-run-path@5.3.0: @@ -5390,14 +5448,19 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - surrealdb.js@0.11.1: + surrealdb.js@1.0.0: dependencies: - unws: 0.2.4(ws@8.17.1) - ws: 8.17.1 + '@icholy/duration': 5.1.0 + cbor-redux: 1.0.0 + decimal.js: 10.4.3 + isows: 1.0.6(ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + semver: 7.6.3 + uuidv7: 0.6.3 + ws: 8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.4) zod: 3.23.8 - transitivePeerDependencies: - - bufferutil - - utf-8-validate + optionalDependencies: + bufferutil: 4.0.8 + utf-8-validate: 6.0.4 tapable@2.2.1: {} @@ -5569,18 +5632,21 @@ snapshots: universalify@2.0.1: {} - unws@0.2.4(ws@8.17.1): - dependencies: - ws: 8.17.1 - uri-js@4.4.1: dependencies: punycode: 2.3.1 + utf-8-validate@6.0.4: + dependencies: + node-gyp-build: 4.8.2 + optional: true + util-deprecate@1.0.2: {} uuid@8.3.2: {} + uuidv7@0.6.3: {} + vite-node@2.0.5(@types/node@22.7.4)(terser@5.31.0): dependencies: cac: 6.7.14 @@ -5690,7 +5756,10 @@ snapshots: wrappy@1.0.2: {} - ws@8.17.1: {} + ws@8.17.1(bufferutil@4.0.8)(utf-8-validate@6.0.4): + optionalDependencies: + bufferutil: 4.0.8 + utf-8-validate: 6.0.4 wtfnode@0.9.3: {}