revert to bun 1.0.4

This commit is contained in:
Ruben Fiszel
2023-10-12 00:39:33 +02:00
parent ec02f9b140
commit 3ef7e279b4
3 changed files with 4 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ RUN chmod 755 /usr/bin/deno
COPY --from=nsjail /nsjail/nsjail /bin/nsjail
COPY --from=oven/bun:1.0.5 /usr/local/bin/bun /usr/bin/bun
COPY --from=oven/bun:1.0.4 /usr/local/bin/bun /usr/bin/bun
# add the docker client to call docker from a worker if enabled
COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/

View File

@@ -84,6 +84,7 @@
export let folding = false
export let args: Record<string, any> | undefined = undefined
export let useWebsockets: boolean = true
export let listenEmptyChanges = false
languages.typescript.typescriptDefaults.setModeConfiguration({
completionItems: false,
@@ -920,7 +921,7 @@
timeoutModel && clearTimeout(timeoutModel)
timeoutModel = setTimeout(() => {
let ncode = getCode()
if (ncode != '') {
if (ncode != '' || listenEmptyChanges) {
code = ncode
dispatch('change', code)
}

View File

@@ -271,6 +271,7 @@
deno={false}
useWebsockets={false}
fixedOverflowWidgets={false}
listenEmptyChanges
code={config?.init_bash ?? ''}
on:change={(e) => {
if (config) {
@@ -294,7 +295,6 @@
{#if dirty}
<div class="text-red-600 text-xs whitespace-nowrap">Non applied changes</div>
{/if}
<Button
variant="contained"
color="dark"