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

prettier-plugin-sql

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-sql - npm Package Compare versions

Comparing version 0.15.1 to 0.15.2

4

lib/index.js

@@ -107,2 +107,6 @@ import nodeSqlParser from 'node-sql-parser';

{
value: 'sqlite',
description: 'SQLite: https://www.sqlite.org',
},
{
value: 'trino',

@@ -109,0 +113,0 @@ description: 'Trino: https://trino.io',

6

package.json
{
"name": "prettier-plugin-sql",
"version": "0.15.1",
"version": "0.15.2",
"type": "module",

@@ -44,7 +44,7 @@ "description": "An opinionated sql formatter plugin for Prettier",

"peerDependencies": {
"prettier": "^3.0.0"
"prettier": "^3.0.3"
},
"dependencies": {
"node-sql-parser": "^4.7.0",
"sql-formatter": "^12.2.3",
"sql-formatter": "^12.2.4",
"tslib": "^2.6.0"

@@ -51,0 +51,0 @@ },

@@ -32,4 +32,12 @@ # prettier-plugin-sql ![npm bundle size](https://img.shields.io/bundlephobia/min/prettier-plugin-sql) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/prettier-plugin-sql)

Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example:
Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) must be added to `.prettierrc`:
```json
{
"plugins": ["prettier-plugin-sql"]
}
```
Then:
```sh

@@ -36,0 +44,0 @@ # npx

Sorry, the diff of this file is not supported yet

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