diff --git a/patches/sql-query-identifier+2.1.0.patch b/patches/sql-query-identifier+2.1.0.patch deleted file mode 100644 index ed4146b6..00000000 --- a/patches/sql-query-identifier+2.1.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/sql-query-identifier/lib/tokenizer.js b/node_modules/sql-query-identifier/lib/tokenizer.js -index f8980fe..bb03059 100644 ---- a/node_modules/sql-query-identifier/lib/tokenizer.js -+++ b/node_modules/sql-query-identifier/lib/tokenizer.js -@@ -249,7 +249,7 @@ function skipWord(state, value) { - }; - } - function isWhitespace(ch) { -- return ch === ' ' || ch === '\t' || ch === '\n'; -+ return ch === ' ' || ch === '\t' || ch === '\n' || ch == '\r'; - } - function isString(ch, dialect) { - const stringStart = dialect === 'mysql' ? ["'", '"'] : ["'"]; diff --git a/yarn.lock b/yarn.lock index 49564abe..71c97e2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1275,11 +1275,6 @@ dependencies: "@types/yargs-parser" "*" -"@verycrazydog/mysql-parser@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@verycrazydog/mysql-parser/-/mysql-parser-1.2.0.tgz#6007a8dc8987c4b7c8fd10357ee52f31df9062bc" - integrity sha512-h3zGaAwDYbZwqEIxDLMGaDRhfznTxgLO9C2FUnAfdXKoaw+OAUkMGbkjs2Qi+pnxhrAOt4BXM9JwkMb6bY/iXA== - "@webassemblyjs/ast@1.8.5": version "1.8.5" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" @@ -9676,11 +9671,6 @@ sql-formatter@^2.3.3: dependencies: lodash "^4.16.0" -sql-query-identifier@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/sql-query-identifier/-/sql-query-identifier-2.1.0.tgz#dbf0f34b11bc14c8ade44de13350271047eb566e" - integrity sha512-DcC+inWZvN6fiTyxv+9uhFoTRC9C8LTeApVl1N7JJTTCzto6yhuaI423DzPPqDk10z4naL2mF9g/eNhUfxuMpA== - sqlstring@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/sqlstring/-/sqlstring-2.3.2.tgz#cdae7169389a1375b18e885f2e60b3e460809514"