@pgpmjs/slice 0.13.9 → 0.14.0
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/esm/refs.js +1 -1
- package/package.json +4 -4
- package/refs.d.ts +2 -2
- package/refs.js +1 -1
package/esm/refs.js
CHANGED
|
@@ -14,7 +14,7 @@ function pushUnique(list, r) {
|
|
|
14
14
|
* including references reached inside PL/pgSQL function bodies (which are
|
|
15
15
|
* opaque strings in `CREATE FUNCTION` and invisible to a plain SQL parse).
|
|
16
16
|
*
|
|
17
|
-
* A thin change-level adapter over
|
|
17
|
+
* A thin change-level adapter over the facts layer: `classifyStatements`
|
|
18
18
|
* produces the per-statement facts and `buildStatementGraph`'s producer index
|
|
19
19
|
* decides which references are internal — a reference with an in-script
|
|
20
20
|
* producer is satisfied by the change itself, so only external references
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/slice",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM plan slicing — split a monolithic pgpm plan into packages with pattern strategies and opt-in AST-based dependency closure",
|
|
6
6
|
"main": "index.js",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"makage": "^0.3.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@pgpmjs/ast": "^0.
|
|
46
|
-
"@pgpmjs/transform": "^0.
|
|
45
|
+
"@pgpmjs/ast": "^0.11.0",
|
|
46
|
+
"@pgpmjs/transform": "^0.21.0",
|
|
47
47
|
"minimatch": "^10.2.5",
|
|
48
48
|
"plpgsql-parser": "^18.5.1"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "d508453a32a2f1d70ff6916871046615226e6f33"
|
|
51
51
|
}
|
package/refs.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { QualifiedName } from '@pgpmjs/transform';
|
|
|
6
6
|
export { loadModule } from 'plpgsql-parser';
|
|
7
7
|
/**
|
|
8
8
|
* A (possibly schema-qualified) database object name extracted from SQL.
|
|
9
|
-
* Alias of `@pgsql/
|
|
9
|
+
* Alias of `@pgsql/semantics`'s `QualifiedName` — one name type across the
|
|
10
10
|
* facts substrate and the slice layer.
|
|
11
11
|
*/
|
|
12
12
|
export type SqlObjectRef = QualifiedName;
|
|
@@ -36,7 +36,7 @@ export interface ChangeSqlFacts {
|
|
|
36
36
|
* including references reached inside PL/pgSQL function bodies (which are
|
|
37
37
|
* opaque strings in `CREATE FUNCTION` and invisible to a plain SQL parse).
|
|
38
38
|
*
|
|
39
|
-
* A thin change-level adapter over
|
|
39
|
+
* A thin change-level adapter over the facts layer: `classifyStatements`
|
|
40
40
|
* produces the per-statement facts and `buildStatementGraph`'s producer index
|
|
41
41
|
* decides which references are internal — a reference with an in-script
|
|
42
42
|
* producer is satisfied by the change itself, so only external references
|
package/refs.js
CHANGED
|
@@ -19,7 +19,7 @@ function pushUnique(list, r) {
|
|
|
19
19
|
* including references reached inside PL/pgSQL function bodies (which are
|
|
20
20
|
* opaque strings in `CREATE FUNCTION` and invisible to a plain SQL parse).
|
|
21
21
|
*
|
|
22
|
-
* A thin change-level adapter over
|
|
22
|
+
* A thin change-level adapter over the facts layer: `classifyStatements`
|
|
23
23
|
* produces the per-statement facts and `buildStatementGraph`'s producer index
|
|
24
24
|
* decides which references are internal — a reference with an in-script
|
|
25
25
|
* producer is satisfied by the change itself, so only external references
|