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

sql-formatter

Package Overview
Dependencies
Maintainers
3
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-formatter - npm Package Compare versions

Comparing version 4.0.0-beta.8 to 4.0.0

1

lib/sqlFormatter.js

@@ -37,3 +37,2 @@ "use strict";

n1ql: _N1qlFormatter["default"],
'pl/sql': _PlSqlFormatter["default"],
plsql: _PlSqlFormatter["default"],

@@ -40,0 +39,0 @@ postgresql: _PostgreSqlFormatter["default"],

10

package.json
{
"name": "sql-formatter",
"version": "4.0.0-beta.8",
"version": "4.0.0",
"description": "Format whitespace in a SQL query to make it more readable",

@@ -17,3 +17,9 @@ "license": "MIT",

"spark",
"whitespace"
"whitespace",
"mysql",
"mariadb",
"postgresql",
"pl/sql",
"transact-sql",
"db2"
],

@@ -20,0 +26,0 @@ "contributors": [

@@ -13,3 +13,3 @@ # SQL Formatter [![NPM version](https://img.shields.io/npm/v/sql-formatter.svg)](https://npmjs.com/package/sql-formatter) [![Build Status](https://travis-ci.org/zeroturnaround/sql-formatter.svg?branch=master)](https://travis-ci.org/zeroturnaround/sql-formatter) [![Coverage Status](https://coveralls.io/repos/github/zeroturnaround/sql-formatter/badge.svg?branch=master)](https://coveralls.io/github/zeroturnaround/sql-formatter?branch=master)

- **db2** - [IBM DB2][]
- **pl/sql** - [Oracle PL/SQL][]
- **plsql** - [Oracle PL/SQL][]
- **n1ql** - [Couchbase N1QL][]

@@ -98,3 +98,3 @@ - **redshift** - [Amazon Redshift][]

```
usage: sql-formatter [-h] [-o OUTPUT] [-l {db2,mariadb,mysql,n1ql,pl/sql,plsql,postgresql,redshift,spark,sql,tsql}]
usage: sql-formatter [-h] [-o OUTPUT] [-l {db2,mariadb,mysql,n1ql,plsql,postgresql,redshift,spark,sql,tsql}]
[-i N | -t] [-u] [--lines-between-queries N] [--version] [FILE]

@@ -111,4 +111,4 @@

File to write SQL output (defaults to stdout)
-l {db2,mariadb,mysql,n1ql,pl/sql,plsql,postgresql,redshift,spark,sql,tsql},
--language {db2,mariadb,mysql,n1ql,pl/sql,plsql,postgresql,redshift,spark,sql,tsql}
-l {db2,mariadb,mysql,n1ql,plsql,postgresql,redshift,spark,sql,tsql},
--language {db2,mariadb,mysql,n1ql,plsql,postgresql,redshift,spark,sql,tsql}
SQL Formatter dialect (defaults to basic sql)

@@ -115,0 +115,0 @@ -i N, --indent N Number of spaces to indent query blocks (defaults to 2)

@@ -17,3 +17,2 @@ import Db2Formatter from './languages/Db2Formatter';

n1ql: N1qlFormatter,
'pl/sql': PlSqlFormatter,
plsql: PlSqlFormatter,

@@ -20,0 +19,0 @@ postgresql: PostgreSqlFormatter,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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