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.11.3 to 0.11.4

2

dist/options.js

@@ -35,3 +35,3 @@ "use strict";

// Since 0.7.0
// Possible values in array: "?" | "?nr" | ":name" | "$name" | "@name"
// Possible values in array: "?" | "?nr" | "$nr" | ":name" | "$name" | "@name"
},

@@ -38,0 +38,0 @@ sqlCanonicalSyntax: {

{
"name": "prettier-plugin-sql-cst",
"version": "0.11.3",
"version": "0.11.4",
"description": "Prettier plugin for SQL",

@@ -36,7 +36,7 @@ "author": "Rene Saarsoo <nene@triin.net>",

"prettier": "^3.0.3",
"sql-parser-cst": "^0.27.0"
"sql-parser-cst": "^0.27.1"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"chalk": "^4.3.0",
"chalk": "^4.1.2",
"dedent-js": "^1.0.1",

@@ -43,0 +43,0 @@ "jest": "^29.7.0",

@@ -104,3 +104,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)

| `sqlKeywordCase` | `upper` | Converts SQL keywords to `upper` or `lower` case, or `preserve` existing. Note that for now `preserve` is somewhat incompatible with `sqlCanonicalSyntax: true` (e.g. the added `AS` keywords will always be in uppercase). |
| `sqlParamTypes` | `[]` | Array of bound parameter types: `?`, `?nr`, `:name`, `@name`, `$name`. |
| `sqlParamTypes` | `[]` | Array of bound parameter types: `?`, `?nr`, `$nr`, `:name`, `@name`, `$name`. |
| `sqlCanonicalSyntax` | `true` | When enabled, performs some opinionated changes of keywords and operators, like enforcing the use of `AS` in aliases and replacing `<>` comparisons with `!=`. See [STYLE_GUIDE][] for more details. (Since 0.11.0) |

@@ -107,0 +107,0 @@

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