Socket
Socket
Sign inDemoInstall

evalx

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 1.0.0

6

index.js

@@ -9,3 +9,9 @@ var addon = require('./build/Release/addon')

}
},
disable: () => {
return addon(0);
},
enable: () => {
return addon(1);
}
};

2

package.json
{
"name": "evalx",
"version": "0.0.1",
"version": "1.0.0",
"description": "node module to enable and disable eval",

@@ -5,0 +5,0 @@ "main": "index.js",

# evalx
node module to disable and enable eval in v8
node module to disable and enable eval in v8 js vm

@@ -12,6 +12,12 @@ Usage:

// enable eval
evalx.disableEval(false);
// or you can simply use
evalx.disable();
evalx.enable();
```

@@ -18,0 +24,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc