Socket
Socket
Sign inDemoInstall

sql-migrations

Package Overview
Dependencies
25
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

adapters/pg.js

@@ -16,2 +16,6 @@ var pg = require('pg'),

done();
//add the sql line number to the error output if available
if (err && err.position) {
err.sql_line = (query.substring(0, err.position).match(/\n/g) || []).length + 1;
}
err && utils.panic(err);

@@ -18,0 +22,0 @@ cb(result);

2

package.json
{
"name": "sql-migrations",
"version": "1.0.0",
"version": "1.0.1",
"description": "raw SQL migrations library for Node.js",

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

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