Skip to content

Commit

Permalink
fix: sync version for Node.js v10 and v8
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Feb 17, 2021
1 parent 34c8286 commit febf3d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

### _unreleased_

- Fix `TextDecoder is not defined` in `@aduh95/viz.js/sync` on older version of
Node.js.

### @aduh95/Viz.js v3.3.1 (2021-02-17)

- Fix image support in `@aduh95/viz.js/sync`
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ build/render.o: src/viz.cpp | build
$(CC) $(CC_FLAGS) -o $@ $< $(CC_INCLUDES)

build/asm.js build/asm: USE_CLOSURE:=0
build/asm.js: LINK_FLAGS+= -s WASM=0 -s WASM_ASYNC_COMPILATION=0 --memory-init-file 0
build/asm.js: LINK_FLAGS+= -s WASM=0 -s WASM_ASYNC_COMPILATION=0 -s TEXTDECODER=1 --memory-init-file 0
build/browser/render.mjs: | build/browser
build/node/render.mjs: | build/node
build/asm.js build/node/render.mjs: ENVIRONMENT:=node
Expand Down

0 comments on commit febf3d6

Please sign in to comment.