Skip to content

Commit 55c5a85

Browse files
authored
Merge pull request #4727 from jerch/fix_4720
remove inwasm burden
2 parents 40e51ab + d367eb4 commit 55c5a85

File tree

10 files changed

+4
-827
lines changed

10 files changed

+4
-827
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
./addons/xterm-addon-canvas/out-test/* \
3333
./addons/xterm-addon-fit/out/* \
3434
./addons/xterm-addon-fit/out-test/* \
35-
./addons/xterm-addon-image/inwasm-builds/out/* \
3635
./addons/xterm-addon-image/out/* \
3736
./addons/xterm-addon-image/out-test/* \
3837
./addons/xterm-addon-ligatures/out/* \

addons/xterm-addon-image/inwasm-builds/out/base64.wasm.js/decode/definition.json

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

addons/xterm-addon-image/inwasm-builds/out/base64.wasm.js/decode/final.wat

Lines changed: 0 additions & 210 deletions
This file was deleted.

addons/xterm-addon-image/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@
1717
"xterm.js"
1818
],
1919
"scripts": {
20-
"inwasm": "inwasm out/*.wasm.js",
21-
"prepackage": "../../node_modules/.bin/tsc -p . && inwasm -f out/*.wasm.js",
20+
"prepackage": "../../node_modules/.bin/tsc -p .",
2221
"package": "../../node_modules/.bin/webpack",
2322
"prepublishOnly": "npm run package"
2423
},
2524
"peerDependencies": {
2625
"xterm": "^5.2.0"
2726
},
2827
"devDependencies": {
29-
"inwasm": "^0.0.13",
30-
"sixel": "^0.16.0"
28+
"sixel": "^0.16.0",
29+
"xterm-wasm-parts": "^0.1.0"
3130
}
3231
}

addons/xterm-addon-image/src/IIPHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { IImageAddonOptions, IOscHandler, IResetHandler, ITerminalExt } from './Types';
66
import { ImageRenderer } from './ImageRenderer';
77
import { ImageStorage, CELL_SIZE_DEFAULT } from './ImageStorage';
8-
import { Base64Decoder } from './base64.wasm';
8+
import Base64Decoder from 'xterm-wasm-parts/lib/base64/Base64Decoder.wasm';
99
import { HeaderParser, IHeaderFields, HeaderState } from './IIPHeaderParser';
1010
import { imageType, UNSUPPORTED_TYPE } from './IIPMetrics';
1111

addons/xterm-addon-image/src/base64.benchmark.ts

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)