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.8.2 to 0.8.3

5

dist/syntax/data_type.js

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

var utils_1 = require("../utils");
var print_utils_1 = require("../print_utils");
exports.dataTypeMap = {

@@ -11,3 +12,5 @@ // print single-word types as `TYPE(10)` and multi-word types as `MY TYPE (10)`

},
generic_type_params: function (print) { return ["<", print("params"), ">"]; },
generic_type_params: function (print) {
return (0, print_utils_1.group)(["<", (0, print_utils_1.indent)([print_utils_1.softline, print("params")]), print_utils_1.softline, ">"]);
},
array_type_param: function (print) { return print.spaced(["dataType", "constraints"]); },

@@ -14,0 +17,0 @@ struct_type_param: function (print) {

2

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

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

@@ -6,2 +6,4 @@ # 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)

**Note:** This plugin only works with Prettier 2.x. It doesn't yet support the latest Prettier 3.x.
**[Try it live!][live]**

@@ -8,0 +10,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