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.0 to 1.1.1

4

evalvalid.js

@@ -7,6 +7,4 @@ /**

const temp = /\{|\}|\[|\]|\"|\'|\`|\;|\\|/g;
const eval_valid = (code) => {
if (code.match(temp)) {
if (code.match(/\{|\}|\[|\]|\"|\'|\`|\;|\\|/g)) {
return true;

@@ -13,0 +11,0 @@ }

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

const temp=/\{|\}|\[|\]|\"|\'|\`|\;|\\|/g,eval_valid=t=>!!t.match(temp);
eval_valid=t=>!!t.match(/\{|\}|\[|\]|\"|\'|\`|\;|\\|/g);
{
"name": "evalvalid",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

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

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