@dosu/cli 0.68.3 → 0.68.4
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/dosu.js +6 -6
- package/package.json +1 -1
package/bin/dosu.js
CHANGED
|
@@ -1128,7 +1128,7 @@ function isNpxInvocation(channel = INSTALL_CHANNEL, env = process.env) {
|
|
|
1128
1128
|
function getVersionString() {
|
|
1129
1129
|
return `v${VERSION}`;
|
|
1130
1130
|
}
|
|
1131
|
-
var VERSION = "0.68.
|
|
1131
|
+
var VERSION = "0.68.4", INSTALL_CHANNEL = "npm";
|
|
1132
1132
|
|
|
1133
1133
|
// src/debug/logger.ts
|
|
1134
1134
|
import {
|
|
@@ -14356,7 +14356,7 @@ var init_conflicts = __esm(() => {
|
|
|
14356
14356
|
});
|
|
14357
14357
|
|
|
14358
14358
|
// src/telemetry/debug-id.ts
|
|
14359
|
-
var BUNDLE_DEBUG_ID_PLACEHOLDER = "
|
|
14359
|
+
var BUNDLE_DEBUG_ID_PLACEHOLDER = "ab9cda30-ed6a-345b-6475-6e2164756e21";
|
|
14360
14360
|
|
|
14361
14361
|
// src/telemetry/telemetry.ts
|
|
14362
14362
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
@@ -65259,7 +65259,7 @@ async function startCallbackServer(opts = {}) {
|
|
|
65259
65259
|
res.end(buildSuccessHtml(email ?? undefined, opts.successVariant ?? "auth"));
|
|
65260
65260
|
});
|
|
65261
65261
|
await new Promise((resolve) => {
|
|
65262
|
-
httpServer.listen(0,
|
|
65262
|
+
httpServer.listen(0, CALLBACK_HOST, () => resolve());
|
|
65263
65263
|
});
|
|
65264
65264
|
httpServer.unref();
|
|
65265
65265
|
const addr = httpServer.address();
|
|
@@ -65339,7 +65339,7 @@ if (hash) {
|
|
|
65339
65339
|
}
|
|
65340
65340
|
</script>
|
|
65341
65341
|
</body>
|
|
65342
|
-
</html>`, SUCCESS_COPY;
|
|
65342
|
+
</html>`, SUCCESS_COPY, CALLBACK_HOST = "127.0.0.1";
|
|
65343
65343
|
var init_server = __esm(() => {
|
|
65344
65344
|
init_logger();
|
|
65345
65345
|
init_errors4();
|
|
@@ -65364,7 +65364,7 @@ async function startOAuthFlow(signal, path = "/cli/auth", params = {}, onAuthURL
|
|
|
65364
65364
|
});
|
|
65365
65365
|
let timeoutId;
|
|
65366
65366
|
try {
|
|
65367
|
-
const callbackURL = `http
|
|
65367
|
+
const callbackURL = `http://${CALLBACK_HOST}:${server.port}/callback`;
|
|
65368
65368
|
logger.debug("auth.flow", `Callback URL: ${callbackURL}`);
|
|
65369
65369
|
const authURL = buildAuthURL(callbackURL, path, params);
|
|
65370
65370
|
logger.info("auth.flow", `Auth URL: ${authURL}`);
|
|
@@ -69303,4 +69303,4 @@ main().catch((err) => {
|
|
|
69303
69303
|
process.exit(1);
|
|
69304
69304
|
});
|
|
69305
69305
|
|
|
69306
|
-
//# debugId=
|
|
69306
|
+
//# debugId=ab9cda30-ed6a-345b-6475-6e2164756e21
|