Comparing version 1.1.1 to 1.1.2
@@ -53,3 +53,3 @@ import { MessageItem } from "./messages"; | ||
protected execEndTime: number; | ||
static readonly version = "1.1.1"; | ||
static readonly version = "1.1.2"; | ||
static readonly eval: symbol; | ||
@@ -56,0 +56,0 @@ static readonly Function: symbol; |
@@ -171,16 +171,36 @@ import _construct from "@babel/runtime/helpers/construct"; | ||
} //ES6 Object | ||
// if (typeof Promise !== "undefined") { | ||
// data.Promise = Promise; | ||
// } | ||
// if (typeof Set !== "undefined") { | ||
// data.Set = Set; | ||
// } | ||
// if (typeof Map !== "undefined") { | ||
// data.Map = Map; | ||
// } | ||
// if (typeof Symbol !== "undefined") { | ||
// data.Symbol = Symbol; | ||
// } | ||
if (typeof Promise !== "undefined") { | ||
data.Promise = Promise; | ||
} | ||
if (typeof Set !== "undefined") { | ||
data.Set = Set; | ||
} | ||
if (typeof Map !== "undefined") { | ||
data.Map = Map; | ||
} | ||
if (typeof Symbol !== "undefined") { | ||
data.Symbol = Symbol; | ||
} | ||
if (typeof Proxy !== "undefined") { | ||
data.Proxy = Proxy; | ||
} | ||
if (typeof WeakMap !== "undefined") { | ||
data.WeakMap = WeakMap; | ||
} | ||
if (typeof WeakSet !== "undefined") { | ||
data.WeakSet = WeakSet; | ||
} | ||
if (typeof Reflect !== "undefined") { | ||
data.Reflect = Reflect; | ||
} | ||
return new Scope(data, null, "root"); | ||
@@ -1853,3 +1873,3 @@ }; | ||
}(); | ||
Interpreter.version = "1.1.1"; | ||
Interpreter.version = "1.1.2"; | ||
Interpreter.eval = IEval; | ||
@@ -1856,0 +1876,0 @@ Interpreter.Function = IFunction; // alert.call(rootContext, 1); |
@@ -53,3 +53,3 @@ import { MessageItem } from "./messages"; | ||
protected execEndTime: number; | ||
static readonly version = "1.1.1"; | ||
static readonly version = "1.1.2"; | ||
static readonly eval: symbol; | ||
@@ -56,0 +56,0 @@ static readonly Function: symbol; |
@@ -182,16 +182,36 @@ "use strict"; | ||
} //ES6 Object | ||
// if (typeof Promise !== "undefined") { | ||
// data.Promise = Promise; | ||
// } | ||
// if (typeof Set !== "undefined") { | ||
// data.Set = Set; | ||
// } | ||
// if (typeof Map !== "undefined") { | ||
// data.Map = Map; | ||
// } | ||
// if (typeof Symbol !== "undefined") { | ||
// data.Symbol = Symbol; | ||
// } | ||
if (typeof Promise !== "undefined") { | ||
data.Promise = Promise; | ||
} | ||
if (typeof Set !== "undefined") { | ||
data.Set = Set; | ||
} | ||
if (typeof Map !== "undefined") { | ||
data.Map = Map; | ||
} | ||
if (typeof Symbol !== "undefined") { | ||
data.Symbol = Symbol; | ||
} | ||
if (typeof Proxy !== "undefined") { | ||
data.Proxy = Proxy; | ||
} | ||
if (typeof WeakMap !== "undefined") { | ||
data.WeakMap = WeakMap; | ||
} | ||
if (typeof WeakSet !== "undefined") { | ||
data.WeakSet = WeakSet; | ||
} | ||
if (typeof Reflect !== "undefined") { | ||
data.Reflect = Reflect; | ||
} | ||
return new Scope(data, null, "root"); | ||
@@ -1866,3 +1886,3 @@ }; | ||
exports.Interpreter = Interpreter; | ||
Interpreter.version = "1.1.1"; | ||
Interpreter.version = "1.1.2"; | ||
Interpreter.eval = IEval; | ||
@@ -1869,0 +1889,0 @@ Interpreter.Function = IFunction; // alert.call(rootContext, 1); |
{ | ||
"name": "eval5", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A JavaScript interpreter, written completely in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
973257
10670