upgrade to bun 1.3.0

This commit is contained in:
Dax Raad
2025-10-10 17:37:03 -04:00
parent 34ec6cc978
commit 9da95cb805
15 changed files with 32 additions and 23 deletions

View File

@@ -691,10 +691,10 @@ export namespace Config {
}
const data = parsed.data
if (data.plugin) {
for (let i = 0; i < data.plugin?.length; i++) {
for (let i = 0; i < data.plugin.length; i++) {
const plugin = data.plugin[i]
try {
data.plugin[i] = import.meta.resolve(plugin, configFilepath)
data.plugin[i] = import.meta.resolve!(plugin, configFilepath)
} catch (err) {}
}
}

View File

@@ -39,8 +39,8 @@ export namespace LSPClient {
l.info("starting client")
const connection = createMessageConnection(
new StreamMessageReader(input.server.process.stdout),
new StreamMessageWriter(input.server.process.stdin),
new StreamMessageReader(input.server.process.stdout as any),
new StreamMessageWriter(input.server.process.stdin as any),
)
const diagnostics = new Map<string, Diagnostic[]>()

View File

@@ -18,7 +18,7 @@ export namespace Context {
return result
},
provide<R>(value: T, fn: () => R) {
return storage.run<R>(value, fn)
return storage.run(value, fn)
},
}
}