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

evalvalid

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evalvalid - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

6

evalvalid.js

@@ -8,8 +8,8 @@ /**

const eval_valid = (code) => {
if (code.indexOf(/\{|\}|\[|\]|\"|\'|\`|\;|\\|/g) != -1) {
return true;
if (code.search(/\{|\}|\[|\]|\"|\'|\`|\;|\\/g) == -1) {
return false;
}
else {
return false;
return true
}
}

@@ -1,1 +0,1 @@

const eval_valid=a=>-1!=a.indexOf(/\{|\}|\[|\]|\"|\'|\`|\;|\\|/g);
const eval_valid=a=>-1!=a.search(/\{|\}|\[|\]|\"|\'|\`|\;|\\/g);
{
"name": "evalvalid",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

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

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