@cilix/lightjs 0.0.3 → 0.0.4

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/core.js +2 -2
  2. package/package.json +1 -1
package/core.js CHANGED
@@ -1802,9 +1802,9 @@ module.exports = (config) => {
1802
1802
  const val = evaluate(node.data[1]);
1803
1803
  const t = getType(val);
1804
1804
  if (t === 'object' || t === 'null' || t === 'array') {
1805
- return JSON.stringify(val);
1805
+ stack.push(JSON.stringify(val));
1806
1806
  } else {
1807
- return e.toString();
1807
+ stack.push(e.toString());
1808
1808
  }
1809
1809
  } break;
1810
1810
  case 'join': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cilix/lightjs",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "A new kind of JavaScript framework",
5
5
  "main": "index.js",
6
6
  "scripts": {