@weborigami/language 0.0.65 → 0.0.66-beta.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/package.json +3 -3
- package/src/runtime/ops.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weborigami/language",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66-beta.1",
|
|
4
4
|
"description": "Web Origami expression language compiler and runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./main.js",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"typescript": "5.5.4"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@weborigami/async-tree": "0.0.
|
|
15
|
-
"@weborigami/types": "0.0.
|
|
14
|
+
"@weborigami/async-tree": "0.0.66-beta.1",
|
|
15
|
+
"@weborigami/types": "0.0.66-beta.1",
|
|
16
16
|
"watcher": "2.3.1"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
package/src/runtime/ops.js
CHANGED
|
@@ -222,7 +222,7 @@ export function lambda(parameters, code) {
|
|
|
222
222
|
// We set the `length` property on the function so that Tree.traverseOrThrow()
|
|
223
223
|
// will correctly identify how many parameters it wants. This is unorthodox
|
|
224
224
|
// but doesn't appear to affect other behavior.
|
|
225
|
-
const fnLength =
|
|
225
|
+
const fnLength = parameters.length;
|
|
226
226
|
Object.defineProperty(invoke, "length", {
|
|
227
227
|
value: fnLength,
|
|
228
228
|
});
|