New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@cuboapp/database

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuboapp/database - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-1
package.json
{
"name": "@cuboapp/database",
"version": "1.0.1",
"version": "1.0.2",
"description": "Database methods",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -24,3 +24,7 @@ import { Options, QueryTypes, Sequelize, Transaction } from 'sequelize'

} else if (Array.isArray(value) || typeof value === 'object') {
val = value ? JSON.stringify(value) : null
if (Buffer.isBuffer(value)) {
val = value
} else {
val = value ? JSON.stringify(value) : null
}
}

@@ -52,3 +56,7 @@

} else if (Array.isArray(value) || typeof value === 'object') {
val = value ? JSON.stringify(value) : null
if (Buffer.isBuffer(value)) {
val = value
} else {
val = value ? JSON.stringify(value) : null
}
}

@@ -55,0 +63,0 @@