@mxyhi/vibe-kanban 0.0.149-rc.1 → 0.0.149-rc.2
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/bin/download.js +4 -2
- package/package.json +1 -1
package/bin/download.js
CHANGED
|
@@ -2,11 +2,13 @@ const https = require("https");
|
|
|
2
2
|
const fs = require("fs");
|
|
3
3
|
const path = require("path");
|
|
4
4
|
const crypto = require("crypto");
|
|
5
|
-
const
|
|
5
|
+
const proxyAgentModule = require("proxy-agent");
|
|
6
|
+
// Handle CJS/ESM export shapes: named export, default export, or direct constructor.
|
|
7
|
+
const ProxyAgent = proxyAgentModule.ProxyAgent || proxyAgentModule.default || proxyAgentModule;
|
|
6
8
|
|
|
7
9
|
// Replaced during npm publish by workflow
|
|
8
10
|
const RELEASE_REPO = "mxyhi/vibe-kanban"; // e.g., mxyhi/vibe-kanban
|
|
9
|
-
const BINARY_TAG = "v0.0.149-rc.
|
|
11
|
+
const BINARY_TAG = "v0.0.149-rc.2"; // e.g., v0.0.135
|
|
10
12
|
const RELEASE_BASE_URL = `https://github.com/${RELEASE_REPO}/releases/download`;
|
|
11
13
|
const CACHE_DIR = path.join(require("os").homedir(), ".vibe-kanban", "bin");
|
|
12
14
|
|