dbmate 1.0.3 → 1.16.1
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/binaries/dbmate-linux-amd64 +0 -0
- package/binaries/dbmate-linux-arm64 +0 -0
- package/binaries/dbmate-macos-amd64 +0 -0
- package/binaries/dbmate-macos-arm64 +0 -0
- package/dist/cli.js +0 -0
- package/dist/resolve.js +1 -6
- package/package.json +1 -1
- package/binaries/dbmate-linux-musl-amd64 +0 -0
- package/yarn.lock +0 -3441
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/cli.js
CHANGED
|
File without changes
|
package/dist/resolve.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var child_process_1 = require("child_process");
|
|
4
3
|
var path_1 = require("path");
|
|
5
4
|
var fs_1 = require("fs");
|
|
6
|
-
function isMusl() {
|
|
7
|
-
var output = child_process_1.spawnSync('ldd', ['--version']).stderr.toString();
|
|
8
|
-
return output.indexOf('musl') >= 0;
|
|
9
|
-
}
|
|
10
5
|
function archName() {
|
|
11
6
|
switch (process.arch) {
|
|
12
7
|
case 'x64':
|
|
@@ -22,7 +17,7 @@ function platformName() {
|
|
|
22
17
|
case 'darwin':
|
|
23
18
|
return 'macos';
|
|
24
19
|
case 'linux':
|
|
25
|
-
return
|
|
20
|
+
return 'linux';
|
|
26
21
|
default:
|
|
27
22
|
throw new Error("Unsupported platform: " + process.platform);
|
|
28
23
|
}
|
package/package.json
CHANGED
|
Binary file
|