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

prettier-plugin-sql-cst

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-sql-cst - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

dist/syntax/analyze.js

8

dist/syntax/transformMap.js

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

var alter_table_1 = require("./alter_table");
var analyze_1 = require("./analyze");
var base_1 = require("./base");

@@ -25,2 +26,3 @@ var bigquery_1 = require("./bigquery");

var drop_table_1 = require("./drop_table");
var explain_1 = require("./explain");
var expr_1 = require("./expr");

@@ -30,8 +32,12 @@ var frame_1 = require("./frame");

var insert_1 = require("./insert");
var procedural_language_1 = require("./procedural_language");
var proc_clause_1 = require("./proc_clause");
var program_1 = require("./program");
var select_1 = require("./select");
var sqlite_1 = require("./sqlite");
var transaction_1 = require("./transaction");
var trigger_1 = require("./trigger");
var truncate_1 = require("./truncate");
var update_1 = require("./update");
var view_1 = require("./view");
exports.transformMap = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, alias_1.aliasMap), alter_table_1.alterTableMap), base_1.baseMap), bigquery_1.bigqueryMap), constraint_1.constraintMap), create_table_1.createTableMap), data_type_1.dataTypeMap), delete_1.deleteMap), drop_table_1.dropTableMap), expr_1.exprMap), frame_1.frameMap), index_1.indexMap), insert_1.insertMap), proc_clause_1.procClauseMap), program_1.programMap), select_1.selectMap), truncate_1.truncateMap), update_1.updateMap), view_1.viewMap);
exports.transformMap = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, alias_1.aliasMap), alter_table_1.alterTableMap), analyze_1.analyzeMap), base_1.baseMap), bigquery_1.bigqueryMap), constraint_1.constraintMap), create_table_1.createTableMap), data_type_1.dataTypeMap), delete_1.deleteMap), drop_table_1.dropTableMap), explain_1.explainMap), expr_1.exprMap), frame_1.frameMap), index_1.indexMap), insert_1.insertMap), proc_clause_1.procClauseMap), procedural_language_1.proceduralLanguageMap), program_1.programMap), select_1.selectMap), sqlite_1.sqliteMap), transaction_1.transactionMap), trigger_1.triggerMap), truncate_1.truncateMap), update_1.updateMap), view_1.viewMap);

2

package.json
{
"name": "prettier-plugin-sql-cst",
"version": "0.4.0",
"version": "0.5.0",
"description": "Prettier plugin for SQL",

@@ -5,0 +5,0 @@ "author": "Rene Saarsoo <nene@triin.net>",

@@ -64,3 +64,3 @@ # Prettier plugin SQL-CST [![npm version](https://img.shields.io/npm/v/prettier-plugin-sql-cst)](https://www.npmjs.com/package/prettier-plugin-sql-cst) ![build status](https://github.com/nene/prettier-plugin-sql-cst/actions/workflows/build.yml/badge.svg)

Then use it on SQL files though Prettier command line tool or Prettier extension
Then use it on SQL files through Prettier command line tool or Prettier extension
for your editor of choice.

@@ -104,4 +104,5 @@

Currently this plugin supports the most common everyday **SQLite** and **BigQuery** syntax.
Formatting of the following SQL statements is fully implemented:
Currently this plugin supports full **SQLite** syntax.
It also supports most of the **BigQuery** syntax.
Specifically the formatting of the following BigQuery SQL statements is fully implemented:

@@ -115,3 +116,3 @@ - SELECT

- CREATE / DROP VIEW
- CREATE / DROP INDEX
- transactions (BEGIN, COMMIT, ROLLBACK)

@@ -118,0 +119,0 @@ [prettier]: https://prettier.io/

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