@plumeria/utils 18.5.1 → 18.5.2

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/dist/parser.js +3 -0
  2. package/package.json +1 -1
package/dist/parser.js CHANGED
@@ -355,6 +355,9 @@ function collectLocalConsts(ast) {
355
355
  exports.t.isBooleanLiteral(init)) {
356
356
  result = init.value;
357
357
  }
358
+ else if (exports.t.isIdentifier(init)) {
359
+ result = resolveValue(init.value);
360
+ }
358
361
  else if (exports.t.isObjectExpression(init)) {
359
362
  result = objectExpressionToObject(init, localConsts, {}, {}, {}, {}, {}, {}, {}, {}, resolveValue);
360
363
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/utils",
3
- "version": "18.5.1",
3
+ "version": "18.5.2",
4
4
  "description": "Plumeria Utils",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",