@sebspark/spanner-migrate 1.1.2 → 1.1.3
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.
|
@@ -168,8 +168,8 @@ var getAppliedMigrations = async (db) => {
|
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
// src/files.ts
|
|
171
|
-
import { access, mkdir, readFile, readdir, writeFile } from "
|
|
172
|
-
import { join, resolve } from "
|
|
171
|
+
import { access, mkdir, readFile, readdir, writeFile } from "fs/promises";
|
|
172
|
+
import { join, resolve } from "path";
|
|
173
173
|
var getMigrationFiles = async (path) => {
|
|
174
174
|
try {
|
|
175
175
|
const files = await readdir(path);
|
package/dist/cli.mjs
CHANGED
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
init,
|
|
6
6
|
status,
|
|
7
7
|
up
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H6TMAEND.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli.ts
|
|
11
|
-
import fs from "
|
|
12
|
-
import { join } from "
|
|
11
|
+
import fs from "fs/promises";
|
|
12
|
+
import { join } from "path";
|
|
13
13
|
import { input, select } from "@inquirer/prompts";
|
|
14
14
|
import yargs from "yargs";
|
|
15
15
|
import { hideBin } from "yargs/helpers";
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebspark/spanner-migrate",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"@types/jest": "29.5.14",
|
|
25
25
|
"@types/yargs": "17.0.33",
|
|
26
26
|
"jest": "29.7.0",
|
|
27
|
-
"testcontainers": "
|
|
28
|
-
"ts-jest": "29.
|
|
27
|
+
"testcontainers": "11.0.3",
|
|
28
|
+
"ts-jest": "29.4.0",
|
|
29
29
|
"tsconfig": "*"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@google-cloud/spanner": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@inquirer/prompts": "7.5.
|
|
35
|
+
"@inquirer/prompts": "7.5.3",
|
|
36
36
|
"@jest/globals": "29.7.0",
|
|
37
|
-
"@types/node": "20.
|
|
37
|
+
"@types/node": "20.19.1",
|
|
38
38
|
"typescript": "5.8.3",
|
|
39
|
-
"vitest": "3.
|
|
39
|
+
"vitest": "3.2.4",
|
|
40
40
|
"yargs": "17.7.2"
|
|
41
41
|
}
|
|
42
42
|
}
|