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.
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 isMusl ? 'linux-musl' : 'linux';
20
+ return 'linux';
26
21
  default:
27
22
  throw new Error("Unsupported platform: " + process.platform);
28
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dbmate",
3
- "version": "1.0.3",
3
+ "version": "1.16.1",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "build:docs": "typedoc ./src/*.ts",
Binary file