@weborigami/language 0.0.47 → 0.0.49

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/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@weborigami/language",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "Web Origami expression language compiler and runtime",
5
5
  "type": "module",
6
6
  "main": "./main.js",
7
7
  "types": "./index.ts",
8
8
  "devDependencies": {
9
- "@types/node": "20.11.7",
10
- "typescript": "5.3.3"
9
+ "@types/node": "20.12.8",
10
+ "typescript": "5.4.5"
11
11
  },
12
12
  "dependencies": {
13
- "@weborigami/async-tree": "0.0.47",
14
- "@weborigami/types": "0.0.47",
13
+ "@weborigami/async-tree": "0.0.49",
14
+ "@weborigami/types": "0.0.49",
15
15
  "peggy": "4.0.2",
16
- "watcher": "2.3.0"
16
+ "watcher": "2.3.1"
17
17
  },
18
18
  "scripts": {
19
19
  "build": "peggy --allowed-start-rules=\"*\" --format es src/compiler/origami.pegjs --output src/compiler/parse.js",
@@ -47,7 +47,7 @@ async function getText(value, scope) {
47
47
  text = textDecoder.decode(value);
48
48
  } else if (
49
49
  !(value instanceof Array) &&
50
- value.toString !== getRealmObjectPrototype(value).toString
50
+ value.toString !== getRealmObjectPrototype(value)?.toString
51
51
  ) {
52
52
  text = value.toString();
53
53
  } else {