Skip to content

Commit

Permalink
Fix Excalidraw (regression in 0.17.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Jan 13, 2024
1 parent 8ed7519 commit 0736f00
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ asciidoc:
diagramsnet-version: 16.2.4
ditaa-version: 1.0.3
erd-version: 0.2.1.0
excalidraw-version: 0.17.2
excalidraw-version: 0.17.1
graphviz-version: 9.0.0
mermaid-version: 10.6.1
nomnoml-version: 1.6.2
Expand Down
2 changes: 1 addition & 1 deletion excalidraw/assets/excalidraw/excalidraw.production.min.js

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions excalidraw/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion excalidraw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://github.com/yuzutech/kroki.git"
},
"dependencies": {
"@excalidraw/excalidraw": "0.17.2",
"@excalidraw/excalidraw": "0.17.1",
"micro": "10.0.1",
"pino": "8.17.2",
"pino-debug": "2.0.0",
Expand Down
5 changes: 2 additions & 3 deletions excalidraw/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Worker from './worker.js'
import Task from './task.js'
import { create } from './browser-instance.js'


(async () => {
// QUESTION: should we create a pool of Chrome instances ?
const browser = await create()
Expand All @@ -28,7 +27,7 @@ import { create } from './browser-instance.js'
error: {
message: `Unable to convert the diagram: ${err.message}`,
name: err.name || '',
stacktrace: err.stack || '',
stacktrace: err.stack || ''
}
})
}
Expand All @@ -37,7 +36,7 @@ import { create } from './browser-instance.js'
error: {
message: 'Body must not be empty.',
name: '',
stacktrace: '',
stacktrace: ''
}
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public SourceDecoder getSourceDecoder() {

@Override
public String getVersion() {
return "0.17.2";
return "0.17.1";
}

@Override
Expand Down

0 comments on commit 0736f00

Please sign in to comment.