New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eval5

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eval5 - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

esm/interpreter/main.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc