@weborigami/language 0.6.16 → 0.6.17
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weborigami/language",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.17",
|
|
4
4
|
"description": "Web Origami expression language compiler and runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./main.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"typescript": "5.9.3"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@weborigami/async-tree": "0.6.
|
|
14
|
+
"@weborigami/async-tree": "0.6.17",
|
|
15
15
|
"exif-parser": "0.1.12",
|
|
16
16
|
"watcher": "2.3.1",
|
|
17
17
|
"yaml": "2.8.2"
|
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
|
|
41
41
|
// Return a function that adds the given extension
|
|
42
42
|
function addExtension(resultExtension) {
|
|
43
|
-
|
|
43
|
+
const keyFn = (sourceValue, sourceKey) => {
|
|
44
44
|
if (sourceKey === undefined) {
|
|
45
45
|
return undefined;
|
|
46
46
|
}
|
|
@@ -51,4 +51,6 @@ function addExtension(resultExtension) {
|
|
|
51
51
|
: normalizedKey + resultExtension;
|
|
52
52
|
return resultKey;
|
|
53
53
|
};
|
|
54
|
+
keyFn.needsSourceValue = false;
|
|
55
|
+
return keyFn;
|
|
54
56
|
}
|