sequelize
Advanced tools
Comparing version 6.19.1 to 6.19.2
@@ -116,7 +116,7 @@ var __create = Object.create; | ||
const previousChar = sqlString[i - 1]; | ||
if (previousChar !== void 0 && !/[\s(,=]/.test(previousChar)) { | ||
if (previousChar !== void 0 && !/[\s(,=[]/.test(previousChar)) { | ||
continue; | ||
} | ||
const remainingString = sqlString.slice(i, sqlString.length); | ||
const match = remainingString.match(/^:(?<name>[a-z_][0-9a-z_]*)(?:\)|,|$|\s|::)/i); | ||
const match = remainingString.match(/^:(?<name>[a-z_][0-9a-z_]*)(?:\)|,|$|\s|::|;|])/i); | ||
const replacementName = (_d = match == null ? void 0 : match.groups) == null ? void 0 : _d.name; | ||
@@ -138,3 +138,3 @@ if (!replacementName) { | ||
const previousChar = sqlString[i - 1]; | ||
if (previousChar !== void 0 && !/[\s(,=]/.test(previousChar)) { | ||
if (previousChar !== void 0 && !/[\s(,=[]/.test(previousChar)) { | ||
continue; | ||
@@ -141,0 +141,0 @@ } |
{ | ||
"name": "sequelize", | ||
"description": "Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.", | ||
"version": "6.19.1", | ||
"version": "6.19.2", | ||
"funding": [ | ||
@@ -6,0 +6,0 @@ { |
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
2627633