From 2ccdafd2a56b2db293301cd5245dcb6d70e5a7e3 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Fri, 8 Aug 2025 16:40:19 +0400 Subject: [PATCH] update sync engine wrapper --- packages/turso-sync-js/index.js | 92 ++++++++++---------- packages/turso-sync-js/package.json | 7 +- packages/turso-sync-js/sync_engine.ts | 27 ++++-- packages/turso-sync-js/yarn.lock | 116 ++++++++++++-------------- 4 files changed, 123 insertions(+), 119 deletions(-) diff --git a/packages/turso-sync-js/index.js b/packages/turso-sync-js/index.js index a9a91d3c4..bec3bf26f 100644 --- a/packages/turso-sync-js/index.js +++ b/packages/turso-sync-js/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-android-arm64') const bindingPackageVersion = require('@tursodatabase/sync-android-arm64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-android-arm-eabi') const bindingPackageVersion = require('@tursodatabase/sync-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-win32-x64-msvc') const bindingPackageVersion = require('@tursodatabase/sync-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-win32-ia32-msvc') const bindingPackageVersion = require('@tursodatabase/sync-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-win32-arm64-msvc') const bindingPackageVersion = require('@tursodatabase/sync-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-darwin-universal') const bindingPackageVersion = require('@tursodatabase/sync-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-darwin-x64') const bindingPackageVersion = require('@tursodatabase/sync-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-darwin-arm64') const bindingPackageVersion = require('@tursodatabase/sync-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-freebsd-x64') const bindingPackageVersion = require('@tursodatabase/sync-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-freebsd-arm64') const bindingPackageVersion = require('@tursodatabase/sync-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-x64-musl') const bindingPackageVersion = require('@tursodatabase/sync-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-x64-gnu') const bindingPackageVersion = require('@tursodatabase/sync-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-arm64-musl') const bindingPackageVersion = require('@tursodatabase/sync-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-arm64-gnu') const bindingPackageVersion = require('@tursodatabase/sync-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-arm-musleabihf') const bindingPackageVersion = require('@tursodatabase/sync-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-arm-gnueabihf') const bindingPackageVersion = require('@tursodatabase/sync-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-riscv64-musl') const bindingPackageVersion = require('@tursodatabase/sync-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-riscv64-gnu') const bindingPackageVersion = require('@tursodatabase/sync-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -392,8 +392,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-ppc64-gnu') const bindingPackageVersion = require('@tursodatabase/sync-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -408,8 +408,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-linux-s390x-gnu') const bindingPackageVersion = require('@tursodatabase/sync-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -428,8 +428,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-openharmony-arm64') const bindingPackageVersion = require('@tursodatabase/sync-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -444,8 +444,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-openharmony-x64') const bindingPackageVersion = require('@tursodatabase/sync-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -460,8 +460,8 @@ function requireNative() { try { const binding = require('@tursodatabase/sync-openharmony-arm') const bindingPackageVersion = require('@tursodatabase/sync-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.1.4-pre.2') { - throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.1.4-pre.5') { + throw new Error(`Native binding package version mismatch, expected 0.1.4-pre.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/packages/turso-sync-js/package.json b/packages/turso-sync-js/package.json index 5c858a30b..259ad119c 100644 --- a/packages/turso-sync-js/package.json +++ b/packages/turso-sync-js/package.json @@ -1,6 +1,6 @@ { "name": "@tursodatabase/sync", - "version": "0.1.4-pre.2", + "version": "0.1.4-pre.5", "repository": { "type": "git", "url": "https://github.com/tursodatabase/turso" @@ -31,7 +31,6 @@ "@napi-rs/wasm-runtime": "^1.0.1", "@types/node": "^24.2.0", "ava": "^6.0.1", - "tsc": "^2.0.4", "typescript": "^5.9.2" }, "ava": { @@ -44,7 +43,7 @@ "artifacts": "napi artifacts", "build": "npm exec tsc && napi build --platform --release --esm", "build:debug": "npm exec tsc && napi build --platform", - "prepublishOnly": "napi prepublish -t npm", + "prepublishOnly": "npm exec tsc && napi prepublish -t npm", "test": "true", "universal": "napi universalize", "version": "napi version" @@ -58,6 +57,6 @@ } }, "dependencies": { - "@tursodatabase/turso": "^0.1.3" + "@tursodatabase/database": "~0.1.4-pre.5" } } diff --git a/packages/turso-sync-js/sync_engine.ts b/packages/turso-sync-js/sync_engine.ts index ad44c96e1..4a001dfae 100644 --- a/packages/turso-sync-js/sync_engine.ts +++ b/packages/turso-sync-js/sync_engine.ts @@ -1,11 +1,21 @@ "use strict"; import { SyncEngine } from '#entry-point'; -import { Database } from '@tursodatabase/turso'; +import { Database } from '@tursodatabase/database'; const GENERATOR_RESUME_IO = 0; const GENERATOR_RESUME_DONE = 1; +function trackPromise(p: Promise): { promise: Promise, finished: boolean } { + let status = { promise: null, finished: false }; + status.promise = p.finally(() => status.finished = true); + return status; +} + +function timeoutMs(ms: number): Promise { + return new Promise(resolve => setTimeout(resolve, ms,)) +} + async function read(opts, path: string): Promise { if (opts.isMemory) { return opts.value; @@ -91,13 +101,17 @@ async function process(opts, request) { } } -async function run(httpOpts, engine, generator) { +async function run(opts, engine, generator) { + let tasks = []; while (generator.resume(null) !== GENERATOR_RESUME_DONE) { - const tasks = [engine.ioLoopAsync()]; for (let request = engine.protocolIo(); request != null; request = engine.protocolIo()) { - tasks.push(process(httpOpts, request)); + tasks.push(trackPromise(process(opts, request))); } - await Promise.all(tasks); + + const tasksRace = tasks.length == 0 ? Promise.resolve() : Promise.race([timeoutMs(opts.preemptionMs), ...tasks.map(t => t.promise)]); + await Promise.all([engine.ioLoopAsync(), tasksRace]); + + tasks = tasks.filter(t => !t.finished); } } @@ -123,7 +137,8 @@ export async function connect(opts: ConnectOpts): Database & Sync { ...(opts.authToken != null && { "Authorization": `Bearer ${opts.authToken}` }), ...(opts.encryptionKey != null && { "x-turso-encryption-key": opts.encryptionKey }) }, - metadata: opts.path == ':memory:' ? { isMemory: true, value: null } : { isMemory: false } + metadata: opts.path == ':memory:' ? { isMemory: true, value: null } : { isMemory: false }, + preemptionMs: 1, }; await run(httpOpts, engine, engine.init()); const nativeDb = engine.open(); diff --git a/packages/turso-sync-js/yarn.lock b/packages/turso-sync-js/yarn.lock index d2e3803ff..714ccf71c 100644 --- a/packages/turso-sync-js/yarn.lock +++ b/packages/turso-sync-js/yarn.lock @@ -713,7 +713,7 @@ __metadata: languageName: node linkType: hard -"@napi-rs/wasm-runtime@npm:^1.0.1": +"@napi-rs/wasm-runtime@npm:^1.0.1, @napi-rs/wasm-runtime@npm:^1.0.2": version: 1.0.2 resolution: "@napi-rs/wasm-runtime@npm:1.0.2" dependencies: @@ -1046,71 +1046,70 @@ __metadata: languageName: node linkType: hard +"@tursodatabase/database-darwin-universal@npm:0.1.4-pre.5": + version: 0.1.4-pre.5 + resolution: "@tursodatabase/database-darwin-universal@npm:0.1.4-pre.5" + conditions: os=darwin + languageName: node + linkType: hard + +"@tursodatabase/database-linux-x64-gnu@npm:0.1.4-pre.5": + version: 0.1.4-pre.5 + resolution: "@tursodatabase/database-linux-x64-gnu@npm:0.1.4-pre.5" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@tursodatabase/database-wasm32-wasi@npm:0.1.4-pre.5": + version: 0.1.4-pre.5 + resolution: "@tursodatabase/database-wasm32-wasi@npm:0.1.4-pre.5" + dependencies: + "@napi-rs/wasm-runtime": "npm:^1.0.2" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@tursodatabase/database-win32-x64-msvc@npm:0.1.4-pre.5": + version: 0.1.4-pre.5 + resolution: "@tursodatabase/database-win32-x64-msvc@npm:0.1.4-pre.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@tursodatabase/database@npm:~0.1.4-pre.5": + version: 0.1.4-pre.5 + resolution: "@tursodatabase/database@npm:0.1.4-pre.5" + dependencies: + "@tursodatabase/database-darwin-universal": "npm:0.1.4-pre.5" + "@tursodatabase/database-linux-x64-gnu": "npm:0.1.4-pre.5" + "@tursodatabase/database-wasm32-wasi": "npm:0.1.4-pre.5" + "@tursodatabase/database-win32-x64-msvc": "npm:0.1.4-pre.5" + dependenciesMeta: + "@tursodatabase/database-darwin-universal": + optional: true + "@tursodatabase/database-linux-x64-gnu": + optional: true + "@tursodatabase/database-wasm32-wasi": + optional: true + "@tursodatabase/database-win32-x64-msvc": + optional: true + checksum: 10c0/6d7d31e630f170c3185cad8cef8f810e045e43cda7869eb27008ba8eb172b07699d9c004f79c02e22d94a3e543e82e4a56d59c3c8b4fc14adc253478cbbb1f8c + languageName: node + linkType: hard + "@tursodatabase/sync@workspace:.": version: 0.0.0-use.local resolution: "@tursodatabase/sync@workspace:." dependencies: "@napi-rs/cli": "npm:^3.0.4" "@napi-rs/wasm-runtime": "npm:^1.0.1" - "@tursodatabase/turso": "npm:^0.1.3" + "@tursodatabase/database": "npm:~0.1.4-pre.5" "@types/node": "npm:^24.2.0" ava: "npm:^6.0.1" - tsc: "npm:^2.0.4" typescript: "npm:^5.9.2" languageName: unknown linkType: soft -"@tursodatabase/turso-darwin-universal@npm:0.1.3": - version: 0.1.3 - resolution: "@tursodatabase/turso-darwin-universal@npm:0.1.3" - conditions: os=darwin - languageName: node - linkType: hard - -"@tursodatabase/turso-linux-x64-gnu@npm:0.1.3": - version: 0.1.3 - resolution: "@tursodatabase/turso-linux-x64-gnu@npm:0.1.3" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@tursodatabase/turso-wasm32-wasi@npm:0.1.3": - version: 0.1.3 - resolution: "@tursodatabase/turso-wasm32-wasi@npm:0.1.3" - dependencies: - "@napi-rs/wasm-runtime": "npm:^1.0.1" - conditions: cpu=wasm32 - languageName: node - linkType: hard - -"@tursodatabase/turso-win32-x64-msvc@npm:0.1.3": - version: 0.1.3 - resolution: "@tursodatabase/turso-win32-x64-msvc@npm:0.1.3" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@tursodatabase/turso@npm:^0.1.3": - version: 0.1.3 - resolution: "@tursodatabase/turso@npm:0.1.3" - dependencies: - "@tursodatabase/turso-darwin-universal": "npm:0.1.3" - "@tursodatabase/turso-linux-x64-gnu": "npm:0.1.3" - "@tursodatabase/turso-wasm32-wasi": "npm:0.1.3" - "@tursodatabase/turso-win32-x64-msvc": "npm:0.1.3" - dependenciesMeta: - "@tursodatabase/turso-darwin-universal": - optional: true - "@tursodatabase/turso-linux-x64-gnu": - optional: true - "@tursodatabase/turso-wasm32-wasi": - optional: true - "@tursodatabase/turso-win32-x64-msvc": - optional: true - checksum: 10c0/95f9cfd8defbde9fc58ed3c46298b8f7bdf96731f633466457becf98d85eeb0f68dd9fadc260508a9610932ed9c0bcf4d56e1b62a9bcb049310107ed640561fe - languageName: node - linkType: hard - "@tybys/wasm-util@npm:^0.10.0": version: 0.10.0 resolution: "@tybys/wasm-util@npm:0.10.0" @@ -2554,15 +2553,6 @@ __metadata: languageName: node linkType: hard -"tsc@npm:^2.0.4": - version: 2.0.4 - resolution: "tsc@npm:2.0.4" - bin: - tsc: bin/tsc - checksum: 10c0/4651d344891d995e62ab7ca64ce0a8597bbdc2d392886c9956d15caab4dc9bfe86e759d3385b3f97c49fb5294194a161d6812673e3f51e46357c82482f32c3ab - languageName: node - linkType: hard - "tslib@npm:^2.4.0": version: 2.8.1 resolution: "tslib@npm:2.8.1"