Skip to content

Commit

Permalink
Publish v4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
AjaniBilby committed Jul 19, 2023
1 parent a4b8353 commit bbe5037
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
12 changes: 12 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## Version 4.0.5

### Fixes:
- [x] Hexadecimal characters weren't encoding correctly (`\x6b` == `k`)
- [x] Reduced changes of wasm infinitely allocating to basically zero (as long as you don't try and parse an infinite string)
- [x] CLI doesn't crash when given an invalid starting path
- [x] Removed small chance matching could be attempted in the `0`-`7`byte gap after the input string and before the heap starts

### Changes:
- [x] CLI now has coloured outputs
- [x] Binaryen now validates modules after compilation to expose any potential errors in the build chain

## Version 4.0.4

### Fixes:
Expand Down
1 change: 0 additions & 1 deletion docs/source/static/dist/bnf-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,6 @@ function FlattenConstant(syntax) {
str += inner.value;
break;
case "byte":
console.log(inner.value[0].value, String.fromCharCode(parseInt(inner.value[0].value, 16)));
str += String.fromCharCode(parseInt(inner.value[0].value, 16));
break;
case "escape":
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bnf-parser",
"version": "4.0.4",
"version": "4.0.5",
"description": "Deterministic BNF compiler/parser",
"homepage": "https://bnf-parser.ajanibilby.com",
"main": "./bin/index.js",
Expand Down

0 comments on commit bbe5037

Please sign in to comment.