prettier-plugin-sql
Advanced tools
Comparing version 0.15.0-alpha.0 to 0.15.0
@@ -34,3 +34,3 @@ import { Parser } from 'node-sql-parser'; | ||
const ending = ENDINGS[endOfLine]; | ||
formatted = formatted.replace(/\r\n?|\n/g, ending); | ||
formatted = formatted.replaceAll(/\r\n?|\n/g, ending); | ||
return formatted.endsWith(ending) ? formatted : formatted + ending; | ||
@@ -37,0 +37,0 @@ }, |
{ | ||
"name": "prettier-plugin-sql", | ||
"version": "0.15.0-alpha.0", | ||
"version": "0.15.0", | ||
"type": "module", | ||
@@ -44,8 +44,8 @@ "description": "An opinionated sql formatter plugin for Prettier", | ||
"peerDependencies": { | ||
"prettier": "^3.0.0-alpha.0" | ||
"prettier": "^3.0.0" | ||
}, | ||
"dependencies": { | ||
"node-sql-parser": "^4.6.6", | ||
"sql-formatter": "^12.2.0", | ||
"tslib": "^2.5.0" | ||
"node-sql-parser": "^4.7.0", | ||
"sql-formatter": "^12.2.3", | ||
"tslib": "^2.6.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
73871
Updatednode-sql-parser@^4.7.0
Updatedsql-formatter@^12.2.3
Updatedtslib@^2.6.0