better-eval
Advanced tools
Comparing version 1.2.5 to 1.2.6
{ | ||
"name": "better-eval", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "🔧 An alternative to the 'eval' function in JavaScript that is faster, easier/better to use, and has less security issues.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -82,8 +82,4 @@ # 🔧 better-eval | ||
Nested variables (in development): | ||
> Remember: **never use better-eval blindly with user-code.** These checks are precautions for your own usage, but any user with maltious intent could find a way to get through them. Thus, use this package with caution. | ||
```js | ||
betterEval("triedtohack.eval(1+1)", { triedtohack: { eval } }); // triedtohack.eval is null; | ||
``` | ||
## Configuring the VM | ||
@@ -90,0 +86,0 @@ |
9319
103