Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

modli-postgres

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modli-postgres - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

2

package.json
{
"name": "modli-postgres",
"version": "3.1.0",
"version": "3.2.0",
"description": "Modli adapter for PostgreSQL",

@@ -5,0 +5,0 @@ "main": "src",

@@ -77,3 +77,3 @@ const { Pool } = require('pg')

}
vals.push(`'${data[key]}'`)
vals.push(typeof data[key] === 'string' ? `'${data[key].replace(/'/g, "''")}'` : data[key])
acc.push(key)

@@ -126,2 +126,3 @@ return acc

}
if (typeof data[key] === 'string') data[key] = data[key].replace(/'/g, "''")
let comma = (i !== len) ? ', ' : ''

@@ -128,0 +129,0 @@ changes += `${key}='${data[key]}'${comma}`

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