prettier-plugin-sql-cst
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -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) { |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128097
1983
123