greyscript-interpreter 2.5.2 → 2.5.3

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.
@@ -28,6 +28,9 @@ class BytecodeStatementGenerator extends greybel_interpreter_1.BytecodeStatement
28
28
  }
29
29
  processImportCodeExpression(node) {
30
30
  return __awaiter(this, void 0, void 0, function* () {
31
+ if (!node.eval) {
32
+ return;
33
+ }
31
34
  const currentTarget = this.context.target.peek();
32
35
  const importTarget = yield this.context.handler.resourceHandler.getTargetRelativeTo(currentTarget, node.directory);
33
36
  if (this.context.evaluatedImportCodes.has(importTarget)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greyscript-interpreter",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "Interpreter",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",
@@ -48,7 +48,7 @@
48
48
  "typescript": "^5.0.4"
49
49
  },
50
50
  "dependencies": {
51
- "greyscript-core": "~2.5.2",
51
+ "greyscript-core": "~2.5.5",
52
52
  "greybel-interpreter": "~5.5.2"
53
53
  },
54
54
  "keywords": [