@dartech/arsenal-ui 1.4.67 → 1.4.68
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2086,7 +2086,7 @@ const formatTableRowValue = ({
|
|
2086
2086
|
const digitsOnly = new RegExp('^[-+]?[0-9]+$');
|
2087
2087
|
const floatsOnly = new RegExp(/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/);
|
2088
2088
|
const isExpression = (value, useRecursion) => {
|
2089
|
-
if (typeof value === 'string') return
|
2089
|
+
if (typeof value === 'string') return /[$%#{<]{1}(?:S?JS)?(?:[{(%#>]|\()/g.test(value);
|
2090
2090
|
if (useRecursion) {
|
2091
2091
|
if (Array.isArray(value)) {
|
2092
2092
|
for (const item of value) {
|