pgterra 0.2.13 → 0.2.14
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23728,7 +23728,7 @@ function normalizeDefault(value) {
|
|
|
23728
23728
|
return normalized.trim();
|
|
23729
23729
|
}
|
|
23730
23730
|
function normalizeExpression(expr) {
|
|
23731
|
-
let normalized = expr.replace(/\s+/g, " ").trim().replace(/::[a-z_]+(\([^)]*\))?/gi, "").replace(/\(([a-z_][a-z0-9_]*)\)/gi, "$1");
|
|
23731
|
+
let normalized = expr.replace(/\s+/g, " ").trim().replace(/::"?[a-z_]+"?(\([^)]*\))?/gi, "").replace(/\(([a-z_][a-z0-9_]*)\)/gi, "$1");
|
|
23732
23732
|
while (/^\(.*\)$/.test(normalized)) {
|
|
23733
23733
|
const inner = normalized.slice(1, -1);
|
|
23734
23734
|
let depth = 0;
|
|
@@ -25864,7 +25864,7 @@ async function applyCommand(options, config6) {
|
|
|
25864
25864
|
// package.json
|
|
25865
25865
|
var package_default = {
|
|
25866
25866
|
name: "pgterra",
|
|
25867
|
-
version: "0.2.
|
|
25867
|
+
version: "0.2.14",
|
|
25868
25868
|
description: "Declarative schema management for Postgres",
|
|
25869
25869
|
keywords: [
|
|
25870
25870
|
"postgres",
|