New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3.4 to 0.3.5

typescript/index.d.ts

5

package.json
{
"name": "pg-minify",
"version": "0.3.4",
"version": "0.3.5",
"description": "Minifies PostgreSQL scripts.",

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

"files": [
"lib"
"lib",
"typescript"
],

@@ -15,0 +16,0 @@ "homepage": "https://github.com/vitaly-t/pg-minify",

18

README.md

@@ -8,12 +8,12 @@ pg-minify

Minifies a PostgreSQL script into a single line:
Features:
1. Removes both `/*multi-line*/` and `--single-line` comments
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
5. Optionally, compresses SQL for minimum space
* Removes both `/*multi-line*/` and `--single-line` comments
* Concatenates multi-line strings into a single line with `\n`
* Fixes multi-line text, prefixing it with `E` where needed
* Removes redundant line gaps: line breaks, tabs and spaces
* Provides basic parsing and error reporting for invalid SQL
* Flattens the resulting script into a single line
* Optionally, compresses SQL for minimum space
It also provides basic parsing and error reporting for invalid SQL.
## Installing

@@ -48,3 +48,3 @@

With compression:
with compression:

@@ -51,0 +51,0 @@ ```js

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