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

cassandra-orm

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cassandra-orm - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

8

lib/Schema.js

@@ -133,3 +133,3 @@ var clss = require('clss');

case 'RegExp':
case 'Function': return "'" + value.toString() + "'";
case 'Function': return "'" + value.toString().replace('\'', '\\\'') + "'";

@@ -140,3 +140,3 @@ case 'Array': if (!value) value = []; break;

return "'" + JSON.stringify(value || '') + "'";
return "'" + JSON.stringify(value || '').replace('\'', '\\\'') + "'";
};

@@ -162,3 +162,3 @@

case 'RegExp':
case 'Function': return eval(value);
case 'Function': return eval(value.replace('\\\'', '\''));

@@ -170,3 +170,3 @@ case 'Array': if (!value) value = []; break;

try {
value = JSON.parse(value);
value = JSON.parse(value.replace('\\\'', '\''));
} catch (err) {}

@@ -173,0 +173,0 @@

@@ -6,3 +6,3 @@ {

"license": "",
"version": "0.0.8",
"version": "0.0.9",
"repository": "",

@@ -9,0 +9,0 @@ "description": "",

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