Comparing version 0.2.1 to 0.2.2
@@ -118,3 +118,3 @@ 'use strict'; | ||
if (prev !== 'E' && prev !== 'e') { | ||
result += 'E'; | ||
result += (result && compress) ? ' E' : 'E'; | ||
} | ||
@@ -121,0 +121,0 @@ if (hasTabs) { |
{ | ||
"name": "pg-minify", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Minifies PostgreSQL scripts.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -10,6 +10,7 @@ pg-minify | ||
1. Removes both `/*multi-line*/` and `--single-line` comments | ||
2. Concatenates multi-line strings into single-line with `\n` | ||
2. Concatenates multi-line strings into a single line with `\n` | ||
3. Removes redundant line gaps: line breaks, tabs and spaces | ||
4. Flattens the resulting script into a single line | ||
It also provides basic parsing and error reporting for invalid SQL. | ||
@@ -16,0 +17,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10392
79