@quobix/vacuum 0.0.12 → 0.0.13

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.
@@ -4,12 +4,12 @@ export const CONFIG = {
4
4
  url: "https://github.com/daveshanley/vacuum/releases/download/v{{version}}/{{bin_name}}_{{version}}_{{platform}}_{{arch}}.tar.gz",
5
5
  };
6
6
  export const ARCH_MAPPING = {
7
- ia32: "386",
8
- x64: "amd64",
7
+ ia32: "i386",
8
+ x64: "x86_64",
9
9
  arm64: "arm64",
10
10
  };
11
11
  export const PLATFORM_MAPPING = {
12
- darwin: "darwin",
13
- linux: "linux",
14
- win32: "windows",
12
+ darwin: "Darwin",
13
+ linux: "Linux",
14
+ win32: "Windows",
15
15
  };
@@ -32,6 +32,8 @@ async function install() {
32
32
  url = url.replace(/{{version}}/g, version);
33
33
  url = url.replace(/{{bin_name}}/g, binName);
34
34
 
35
+
36
+ console.log('fetching from URL', url)
35
37
  const response = await fetch(url);
36
38
  if (!response.ok) {
37
39
  throw new Error("Failed fetching the binary: " + response.statusText);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quobix/vacuum",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "The world's fastest, most scalable and complete OpenAPI parser",
5
5
  "type": "module",
6
6
  "author": "Dave Shanley",
@@ -24,8 +24,7 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "node-fetch": "^3.1.0",
27
- "tar": "^6.1.11",
28
- "vacuum": "^0.1.3"
27
+ "tar": "^6.1.11"
29
28
  },
30
29
  "bugs": {
31
30
  "url": "https://github.com/daveshanley/vacuum/issues"