Skip to content

Commit

Permalink
release: v0.9.13
Browse files Browse the repository at this point in the history
  • Loading branch information
JairusSW committed Jul 11, 2024
1 parent 67445c4 commit 81fc97d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ v0.9.9a - Remove extraneous logs from transform
v0.9.10 - Fix transform type checks. switch to nodekind checks
v0.9.11 - Remove MpZ--implement custom serializers and deserializers in the works
v0.9.12 - Add compat with aspect
v0.9.13 - Fix empty strings not indexing correctly

[UNRELEASED] v1.0.0
- Allow nullable primitives
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
__| || __|| || | | ___ | _ || __|
| | ||__ || | || | | ||___|| ||__ |
|_____||_____||_____||_|___| |__|__||_____|
v0.9.11
v0.9.13
</pre>
</h5>

Expand Down
2 changes: 1 addition & 1 deletion assembly/serialize/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { _intTo16, intTo16 } from "../custom/util";
@inline export function serializeString(data: string): string {
const len = data.length << 1;
if (len === 0) {
bs.write_16(2228258); /* {} */
bs.write_32(2228258); /* "" */
return bs.out<string>();
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-as",
"version": "0.9.12",
"version": "0.9.13",
"description": "The only JSON library you'll need for AssemblyScript. SIMD enabled",
"types": "assembly/index.ts",
"author": "Jairus Tanaka",
Expand All @@ -15,7 +15,7 @@
],
"license": "MIT",
"scripts": {
"test": "ast test",
"test": "ast test && rm -rf ./build/",
"pretest": "rm -rf ./build/ && ast build",
"build:test": "rm -rf ./build/ && JSON_DEBUG=true asc assembly/test.ts --transform ./transform -o ./build/test.wasm",
"build:bench": "asc bench/benchmark.ts -o bench/benchmark.wasm --transform ./transform --optimizeLevel 3 --shrinkLevel 0 --converge --noAssert --uncheckedBehavior always --runtime stub --enable simd",
Expand Down
2 changes: 1 addition & 1 deletion transform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@json-as/transform",
"version": "0.9.12",
"version": "0.9.13",
"description": "The only JSON library you'll need for AssemblyScript. SIMD enabled",
"main": "./lib/index.js",
"author": "Jairus Tanaka",
Expand Down

0 comments on commit 81fc97d

Please sign in to comment.