@pgpmjs/core 6.10.4 → 6.10.6

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.
@@ -263,7 +263,8 @@ export function resolveReference(ref, plan, currentPackage) {
263
263
  return { error: `Cannot resolve reference: ${ref}` };
264
264
  }
265
265
  /**
266
- * Simple plan file parser without validation (for backwards compatibility)
266
+ * Simple plan file parser without validation.
267
+ * Returns a PlanFile (without tags) for callers that don't need tag data.
267
268
  */
268
269
  export function parsePlanFileSimple(planPath) {
269
270
  const result = parsePlanFile(planPath);
@@ -114,7 +114,3 @@ export function generateTagLineContent(tag) {
114
114
  }
115
115
  return line;
116
116
  }
117
- /**
118
- * @deprecated Use writePgpmPlan instead. This alias is kept for backwards compatibility.
119
- */
120
- export const writeSqitchPlan = writePgpmPlan;
@@ -105,7 +105,3 @@ ${useTx ? 'COMMIT;' : ''}
105
105
  `;
106
106
  fs.writeFileSync(actualFile, content);
107
107
  };
108
- /**
109
- * @deprecated Use writePgpmFiles instead. This alias is kept for backwards compatibility.
110
- */
111
- export const writeSqitchFiles = writePgpmFiles;
@@ -1,7 +1,7 @@
1
1
  import { Logger } from '@pgpmjs/logger';
2
2
  import { extractPgErrorFields, formatPgErrorFields } from '@pgpmjs/types';
3
3
  import { formatQueryHistory, truncateErrorOutput } from './errors';
4
- // Re-export error formatting functions for backward compatibility
4
+ // Re-export error formatting functions
5
5
  export { formatQueryHistory, truncateErrorOutput } from './errors';
6
6
  const log = new Logger('migrate:transaction');
7
7
  /**
@@ -14,7 +14,8 @@ export declare function resolveReference(ref: string, plan: ExtendedPlanFile, cu
14
14
  error?: string;
15
15
  };
16
16
  /**
17
- * Simple plan file parser without validation (for backwards compatibility)
17
+ * Simple plan file parser without validation.
18
+ * Returns a PlanFile (without tags) for callers that don't need tag data.
18
19
  */
19
20
  export declare function parsePlanFileSimple(planPath: string): PlanFile;
20
21
  /**
@@ -270,7 +270,8 @@ function resolveReference(ref, plan, currentPackage) {
270
270
  return { error: `Cannot resolve reference: ${ref}` };
271
271
  }
272
272
  /**
273
- * Simple plan file parser without validation (for backwards compatibility)
273
+ * Simple plan file parser without validation.
274
+ * Returns a PlanFile (without tags) for callers that don't need tag data.
274
275
  */
275
276
  function parsePlanFileSimple(planPath) {
276
277
  const result = parsePlanFile(planPath);
@@ -25,7 +25,3 @@ export declare function generateChangeLineContent(change: Change): string;
25
25
  * Generate a line for a tag in a plan file
26
26
  */
27
27
  export declare function generateTagLineContent(tag: Tag): string;
28
- /**
29
- * @deprecated Use writePgpmPlan instead. This alias is kept for backwards compatibility.
30
- */
31
- export declare const writeSqitchPlan: typeof writePgpmPlan;
@@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.writeSqitchPlan = void 0;
7
6
  exports.writePgpmPlan = writePgpmPlan;
8
7
  exports.writePlanFile = writePlanFile;
9
8
  exports.generatePlanFileContent = generatePlanFileContent;
@@ -125,7 +124,3 @@ function generateTagLineContent(tag) {
125
124
  }
126
125
  return line;
127
126
  }
128
- /**
129
- * @deprecated Use writePgpmPlan instead. This alias is kept for backwards compatibility.
130
- */
131
- exports.writeSqitchPlan = writePgpmPlan;
@@ -10,7 +10,3 @@ export interface SqlWriteOptions {
10
10
  * Write SQL files for PGPM migrations (deploy, revert, verify)
11
11
  */
12
12
  export declare const writePgpmFiles: (rows: PgpmRow[], opts: SqlWriteOptions) => void;
13
- /**
14
- * @deprecated Use writePgpmFiles instead. This alias is kept for backwards compatibility.
15
- */
16
- export declare const writeSqitchFiles: (rows: PgpmRow[], opts: SqlWriteOptions) => void;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.writeSqitchFiles = exports.writePgpmFiles = void 0;
6
+ exports.writePgpmFiles = void 0;
7
7
  const env_1 = require("@pgpmjs/env");
8
8
  const fs_1 = __importDefault(require("fs"));
9
9
  const path_1 = __importDefault(require("path"));
@@ -112,7 +112,3 @@ ${useTx ? 'COMMIT;' : ''}
112
112
  `;
113
113
  fs_1.default.writeFileSync(actualFile, content);
114
114
  };
115
- /**
116
- * @deprecated Use writePgpmFiles instead. This alias is kept for backwards compatibility.
117
- */
118
- exports.writeSqitchFiles = exports.writePgpmFiles;
@@ -44,7 +44,3 @@ export interface PgpmRow {
44
44
  deps?: string[];
45
45
  name?: string;
46
46
  }
47
- /**
48
- * @deprecated Use PgpmRow instead. This alias is kept for backwards compatibility.
49
- */
50
- export type SqitchRow = PgpmRow;
@@ -6,7 +6,7 @@ exports.executeQuery = executeQuery;
6
6
  const logger_1 = require("@pgpmjs/logger");
7
7
  const types_1 = require("@pgpmjs/types");
8
8
  const errors_1 = require("./errors");
9
- // Re-export error formatting functions for backward compatibility
9
+ // Re-export error formatting functions
10
10
  var errors_2 = require("./errors");
11
11
  Object.defineProperty(exports, "formatQueryHistory", { enumerable: true, get: function () { return errors_2.formatQueryHistory; } });
12
12
  Object.defineProperty(exports, "truncateErrorOutput", { enumerable: true, get: function () { return errors_2.truncateErrorOutput; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/core",
3
- "version": "6.10.4",
3
+ "version": "6.10.6",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM Package and Migration Tools",
6
6
  "main": "index.js",
@@ -48,22 +48,22 @@
48
48
  "makage": "^0.3.0"
49
49
  },
50
50
  "dependencies": {
51
- "@pgpmjs/env": "^2.16.2",
51
+ "@pgpmjs/env": "^2.16.3",
52
52
  "@pgpmjs/logger": "^2.5.2",
53
- "@pgpmjs/migrate-client": "^0.3.3",
54
- "@pgpmjs/server-utils": "^3.5.2",
55
- "@pgpmjs/types": "^2.20.2",
53
+ "@pgpmjs/migrate-client": "^0.3.5",
54
+ "@pgpmjs/server-utils": "^3.5.3",
55
+ "@pgpmjs/types": "^2.20.3",
56
56
  "csv-to-pg": "^3.11.2",
57
57
  "genomic": "^5.3.9",
58
58
  "glob": "^13.0.6",
59
59
  "minimatch": "^10.2.4",
60
60
  "parse-package-name": "^1.0.0",
61
61
  "pg": "^8.20.0",
62
- "pg-cache": "^3.4.2",
62
+ "pg-cache": "^3.4.3",
63
63
  "pg-env": "^1.8.2",
64
64
  "pgsql-deparser": "^17.18.2",
65
65
  "pgsql-parser": "^17.9.14",
66
66
  "yanse": "^0.2.1"
67
67
  },
68
- "gitHead": "2f6e083d11764a04b2a6bc14df5b2ca2725defc6"
68
+ "gitHead": "0b7edbd088ca9661503c5038134ee15311eac027"
69
69
  }