@aemforms/af-core 0.22.70 → 0.22.71
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/esm/afb-runtime.js +1 -2
- package/lib/Scriptable.js +1 -2
- package/package.json +2 -2
package/esm/afb-runtime.js
CHANGED
|
@@ -1163,8 +1163,7 @@ class Scriptable extends BaseNode {
|
|
|
1163
1163
|
if (prop === Symbol.toStringTag) {
|
|
1164
1164
|
return 'Object';
|
|
1165
1165
|
}
|
|
1166
|
-
prop
|
|
1167
|
-
if (prop.startsWith('$')) {
|
|
1166
|
+
if (typeof prop === 'string' && prop.startsWith('$')) {
|
|
1168
1167
|
const retValue = target.self[prop];
|
|
1169
1168
|
if (retValue instanceof BaseNode) {
|
|
1170
1169
|
return retValue.getRuleNode();
|
package/lib/Scriptable.js
CHANGED
|
@@ -92,8 +92,7 @@ class Scriptable extends BaseNode_1.BaseNode {
|
|
|
92
92
|
if (prop === Symbol.toStringTag) {
|
|
93
93
|
return 'Object';
|
|
94
94
|
}
|
|
95
|
-
prop
|
|
96
|
-
if (prop.startsWith('$')) {
|
|
95
|
+
if (typeof prop === 'string' && prop.startsWith('$')) {
|
|
97
96
|
const retValue = target.self[prop];
|
|
98
97
|
if (retValue instanceof BaseNode_1.BaseNode) {
|
|
99
98
|
return retValue.getRuleNode();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aemforms/af-core",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.71",
|
|
4
4
|
"description": "Core Module for Forms Runtime",
|
|
5
5
|
"author": "Adobe Systems",
|
|
6
6
|
"license": "Adobe Proprietary",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@adobe/json-formula": "0.1.50",
|
|
40
|
-
"@aemforms/af-formatters": "^0.22.
|
|
40
|
+
"@aemforms/af-formatters": "^0.22.71"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@babel/preset-env": "^7.20.2",
|