@dartech/arsenal-ui 1.4.18 → 1.4.19

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1499,7 +1499,7 @@ const formatTableRowValue = ({
1499
1499
  const digitsOnly = new RegExp('^[-+]?[0-9]+$');
1500
1500
  const floatsOnly = new RegExp(/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/);
1501
1501
  const isExpression = (value, useRecursion) => {
1502
- if (typeof value === 'string') return /\$(?:S?JS)?\(/g.test(value);
1502
+ if (typeof value === 'string') return /\$(?:S?JS)?(?:\{|\()/g.test(value);
1503
1503
  if (useRecursion) {
1504
1504
  if (Array.isArray(value)) {
1505
1505
  for (const item of value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.18",
3
+ "version": "1.4.19",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"