diff --git a/website/package.json b/website/package.json index 3372bce4..711edbf1 100644 --- a/website/package.json +++ b/website/package.json @@ -153,7 +153,7 @@ "solidity-parser-antlr": "^0.4.0", "solidity-parser-diligence": "^0.4.18", "source-map": "^0.6.1", - "sql-parser-cst": "^0.5.1", + "sql-parser-cst": "^0.10.0", "sqlite-parser": "^1.0.0-rc3", "svelte": "^3.52.0", "tenko": "^1.0.6", diff --git a/website/src/parsers/sql/sql-parser-cst.js b/website/src/parsers/sql/sql-parser-cst.js index 907b4562..4af8155e 100644 --- a/website/src/parsers/sql/sql-parser-cst.js +++ b/website/src/parsers/sql/sql-parser-cst.js @@ -39,7 +39,7 @@ export default { _getSettingsConfiguration() { return { fields: [ - ['dialect', ['sqlite', 'mysql']], + ['dialect', ['sqlite', 'mysql', 'bigquery']], 'preserveComments', 'preserveNewlines', 'preserveSpaces', diff --git a/website/yarn.lock b/website/yarn.lock index 042df4f8..d2338947 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -10606,10 +10606,10 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= -sql-parser-cst@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/sql-parser-cst/-/sql-parser-cst-0.5.1.tgz#8091152c29f8d04567adf391100ce386509f9f20" - integrity sha512-JtLWpkwOG/ILxkbkkf3pA5pNXZd8gm7eyjnXFyNgEceiQV0ut5WXDXqZNnSChugnoqPHV2XrSPFG/uGFn2ywiA== +sql-parser-cst@^0.10.0: + version "0.10.0" + resolved "https://registry.yarnpkg.com/sql-parser-cst/-/sql-parser-cst-0.10.0.tgz#e3660dd843a621ac6d8423ab84f594f09b28ce43" + integrity sha512-JShll3yMY19DXBpCdsPe9JbBGyYlJbo/+/KBNdfeX0YYbcLG4Dwdi9WJsd1gwQcPTjwDMHGwUmJouFYknwvWKw== sqlite-parser@^1.0.0-rc3: version "1.0.1"