@sqlanvil/cli 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.js +6 -2
- package/package.json +1 -1
package/bundle.js
CHANGED
|
@@ -41241,7 +41241,11 @@ class CompilationSql {
|
|
|
41241
41241
|
if (this.warehouse === "postgres" || this.warehouse === "supabase") {
|
|
41242
41242
|
return `'${stringContents.replace(/'/g, "''")}'`;
|
|
41243
41243
|
}
|
|
41244
|
-
return `'${stringContents
|
|
41244
|
+
return `'${stringContents
|
|
41245
|
+
.replace(/\\/g, "\\\\")
|
|
41246
|
+
.replace(/'/g, "\\'")
|
|
41247
|
+
.replace(/\n/g, "\\n")
|
|
41248
|
+
.replace(/\r/g, "\\r")}'`;
|
|
41245
41249
|
}
|
|
41246
41250
|
indexAssertion(dataset, indexCols) {
|
|
41247
41251
|
const quoteCol = (col) => {
|
|
@@ -42138,7 +42142,7 @@ function collectEvaluationQueries(queryOrAction, concatenate, queryModifier = (q
|
|
|
42138
42142
|
.filter(validationQuery => !!validationQuery.query);
|
|
42139
42143
|
}
|
|
42140
42144
|
|
|
42141
|
-
const version = "1.8.
|
|
42145
|
+
const version = "1.8.1";
|
|
42142
42146
|
const dataformVersion = "3.0.59";
|
|
42143
42147
|
|
|
42144
42148
|
async function build(compiledGraph, runConfig, dbadapter) {
|