Skip to content

Commit

Permalink
[Canvas] Replace squel with safe-squel (elastic#97169)
Browse files Browse the repository at this point in the history
* Replace squel with safe-squel

* Update squel import name

Co-authored-by: Kibana Machine <[email protected]>
# Conflicts:
#	package.json
#	x-pack/plugins/canvas/canvas_plugin_src/functions/server/esdocs.ts
#	yarn.lock
  • Loading branch information
poffdeluxe authored and watson committed Jun 16, 2021
1 parent a1f7091 commit 4e0c49a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@
"rimraf": "^2.6.2",
"rison-node": "0.3.1",
"rxjs": "^6.2.1",
"safe-squel": "^5.12.5",
"semver": "5.1.0",
"squel": "^5.12.2",
"style-it": "2.1.2",
"styled-components": "3.3.3",
"tar-fs": "2.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/

import squel from 'squel';
import squel from 'safe-squel';
import { queryEsSQL } from '../../../server/lib/query_es_sql';

export const esdocs = () => ({
Expand Down
15 changes: 11 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18786,6 +18786,13 @@ safe-regex@^1.1.0:
dependencies:
ret "~0.1.10"

safe-squel@^5.12.5:
version "5.12.5"
resolved "https://registry.yarnpkg.com/safe-squel/-/safe-squel-5.12.5.tgz#9597cec498dc184a15fe94082b7bcc80cb4d048b"
integrity sha512-ls4iMpRE+/yTJ3W9GDRAT9rjqNVl220ng+N55udJXNu9ubcidMFA66Nung5UuE3xFlSSwvkV9PaMR5HZvShuvw==
dependencies:
sql-escape-string "^1.1.0"

safefs@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/safefs/-/safefs-4.1.0.tgz#f82aeb4bdd7ae51f653eb20f6728b3058c8d6445"
Expand Down Expand Up @@ -19632,10 +19639,10 @@ sprintf-js@~1.0.2:
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=

squel@^5.12.2:
version "5.12.2"
resolved "https://registry.yarnpkg.com/squel/-/squel-5.12.2.tgz#8c7b54fd5462d95fe2432663c8762b65d29efe4c"
integrity sha512-pIM8SjlUJlN2G6xz3we+lCp2aNQgxauGqKXJDi8y2n0hqJlSot0IUEdHh7/zGFFuRYnypbDiOhSWLZzT1BXnlQ==
sql-escape-string@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/sql-escape-string/-/sql-escape-string-1.1.0.tgz#fe744b8514868c0eb4bfb9e4a989271d40f30eb9"
integrity sha1-/nRLhRSGjA60v7nkqYknHUDzDrk=

sshpk@^1.7.0:
version "1.15.2"
Expand Down

0 comments on commit 4e0c49a

Please sign in to comment.