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

pg-minify

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

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.0 to 0.2.1

9

lib/parser.js

@@ -5,4 +5,8 @@ 'use strict';

var errorLib = require('./error');
var PEC = errorLib.parsingErrorCode;
// symbols that need no spaces around them:
var compressors = '.,;:()[]=<>+-*/|!?@#';
///////////////////////////////////////////

@@ -27,5 +31,4 @@ // Parses and minifies a PostgreSQL script.

len = sql.length, // sql length
EOL = getEOL(sql), // End-Of-Line
space = false, // add a space on the next step;
compressors = '.,;:()[]=<>+-*/|!', // symbols for which surrounding spaces have no meaning:
EOL = getEOL(sql), // end-of-line
space = false, // add a space on the next step
compress = options && options.compress; // options 'compress'

@@ -32,0 +35,0 @@

{
"name": "pg-minify",
"version": "0.2.0",
"version": "0.2.1",
"description": "Minifies PostgreSQL scripts.",

@@ -25,3 +25,4 @@ "main": "lib/index.js",

"minify SQL",
"uglify SQL"
"uglify SQL",
"compress SQL"
],

@@ -28,0 +29,0 @@ "author": {

@@ -67,4 +67,3 @@ pg-minify

Compresses the SQL to its bare minimum that PostgreSQL can understand,
by removing all unnecessary spaces.
Compresses / uglifies the SQL to its bare minimum, by removing all unnecessary spaces.

@@ -71,0 +70,0 @@ * `false (default)` - keep minimum spaces, for easier read

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