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.
Files changed (2) hide show
  1. package/dist/index.js +2 -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.13",
25867
+ version: "0.2.14",
25868
25868
  description: "Declarative schema management for Postgres",
25869
25869
  keywords: [
25870
25870
  "postgres",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgterra",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "Declarative schema management for Postgres",
5
5
  "keywords": [
6
6
  "postgres",