greybel-interpreter 2.6.6 → 2.6.8
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/dist/context.js +2 -2
- package/package.json +3 -3
package/dist/context.js
CHANGED
|
@@ -149,7 +149,7 @@ class FunctionState {
|
|
|
149
149
|
exports.FunctionState = FunctionState;
|
|
150
150
|
class OperationContext {
|
|
151
151
|
constructor(options = {}) {
|
|
152
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
152
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
153
153
|
this.target = (_a = options.target) !== null && _a !== void 0 ? _a : 'unknown';
|
|
154
154
|
this.stackTrace = (_b = options.stackTrace) !== null && _b !== void 0 ? _b : [];
|
|
155
155
|
this.previous = (_c = options.previous) !== null && _c !== void 0 ? _c : null;
|
|
@@ -168,7 +168,7 @@ class OperationContext {
|
|
|
168
168
|
this.api = this.lookupApi();
|
|
169
169
|
this.globals = this.lookupGlobals();
|
|
170
170
|
this.locals = (_o = this.lookupLocals()) !== null && _o !== void 0 ? _o : this;
|
|
171
|
-
this.outer = options.ignoreOuter ? null : this.lookupOuter();
|
|
171
|
+
this.outer = (_p = (options.ignoreOuter ? null : this.lookupOuter())) !== null && _p !== void 0 ? _p : this.globals;
|
|
172
172
|
}
|
|
173
173
|
isIgnoredInDebugging(op) {
|
|
174
174
|
return op instanceof operation_1.OperationBlock || op instanceof noop_1.Noop;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "greybel-interpreter",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.8",
|
|
4
4
|
"description": "Interpreter",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"typescript": "^5.0.4"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"greybel-core": "^0.9.
|
|
52
|
-
"greyscript-core": "^0.9.
|
|
51
|
+
"greybel-core": "^0.9.15",
|
|
52
|
+
"greyscript-core": "^0.9.16",
|
|
53
53
|
"lru-cache": "^10.0.1"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|