Socket
Socket
Sign inDemoInstall

cormo

Package Overview
Dependencies
32
Maintainers
15
Versions
169
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

6

lib/adapters/mysql.js

@@ -939,3 +939,7 @@ "use strict";

try {
return JSON.parse(value);
const array = JSON.parse(value);
if (property.record_id && query_record_id_as_string) {
return array.map((item) => (item ? String(item) : null));
}
return array;
}

@@ -942,0 +946,0 @@ catch (error) {

@@ -660,2 +660,5 @@ "use strict";

else if (property.record_id && query_record_id_as_string) {
if (property.array) {
return value.map((item) => (item ? String(item) : null));
}
return String(value);

@@ -662,0 +665,0 @@ }

@@ -627,3 +627,7 @@ "use strict";

try {
return JSON.parse(value);
const array = JSON.parse(value);
if (property.record_id && query_record_id_as_string) {
return array.map((item) => (item ? String(item) : null));
}
return array;
}

@@ -630,0 +634,0 @@ catch (error1) {

4

lib/model/index.js

@@ -538,3 +538,5 @@ "use strict";

for (let i = 0; i < value.length; i++) {
value[i] = this._validateType(column, property.type_class, value[i]);
if (value[i] != null) {
value[i] = this._validateType(column, property.type_class, value[i]);
}
}

@@ -541,0 +543,0 @@ }

{
"name": "cormo",
"description": "ORM framework for Node.js",
"version": "1.2.0",
"version": "1.2.1",
"keywords": [

@@ -70,3 +70,3 @@ "orm",

},
"gitHead": "0bf1748fc6e208bc8a364a63d0c0b63611f876f2"
"gitHead": "3b5e460990900b7c6ffb63ed9e51f9443de11180"
}
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