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

pg-minify

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-minify - npm Package Compare versions

Comparing version 0.2.5 to 0.3.0

@@ -25,5 +25,6 @@ 'use strict';

this.stack = temp.stack;
this.code = code; // One of parsingErrorCode values;
this.code = code; // one of parsingErrorCode values;
this.error = errorMessages[code].message;
this.position = position; // Error position in the text: {line, column}
this.message = "Error parsing SQL at {line:" + position.line + ",col:" + position.column + "}: " + errorMessages[code].message;
this.message = "Error parsing SQL at {line:" + position.line + ",col:" + position.column + "}: " + this.error;
}

@@ -43,3 +44,3 @@

' code: parsingErrorCode.' + errorMessages[this.code].name,
' message: "' + errorMessages[this.code].message + '"',
' message: "' + this.error + '"',
' position: {line: ' + this.position.line + ", col: " + this.position.column + '}',

@@ -46,0 +47,0 @@ '}'

{
"name": "pg-minify",
"version": "0.2.5",
"version": "0.3.0",
"description": "Minifies PostgreSQL scripts.",

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