code-wasm 1.8.6 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,7 +27,7 @@ import init, { run } from "code-wasm";
27
27
 
28
28
  await init();
29
29
 
30
- console.log(run("let a = 5\nassert a = 5\n"));
30
+ console.log(run("a = 5\nassert a = 5\n"));
31
31
  // "a = 5\n"
32
32
  ```
33
33
 
@@ -68,7 +68,7 @@ module — there is no bindings dump to return. There is no structured
68
68
  result type; parse the string yourself if you need one.
69
69
 
70
70
  ```js
71
- run('let a = 5\nassert a = 5\n');
71
+ run('a = 5\nassert a = 5\n');
72
72
  // ''
73
73
  ```
74
74
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-wasm",
3
- "version": "1.8.6",
3
+ "version": "2.0.1",
4
4
  "description": "Run Code — a language with no user-defined functions, particle emission for behavior, and browser-embeddable third-party modules — in any browser or JS host. A small WASM bridge around the language's real parser and interpreter.",
5
5
  "type": "module",
6
6
  "main": "dist/code_wasm.js",