@speedkit/cli 4.34.0 → 4.35.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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [4.35.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.35.0...v4.35.1) (2026-09-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * disallow https until a bug in package unici is fixed ([e407651](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/e4076518e4a270b676c86c1e7f8c84cd5153f631))
7
+
8
+ # [4.35.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.34.0...v4.35.0) (2026-09-23)
9
+
10
+
11
+ ### Features
12
+
13
+ * **devtools:** download and check before switching ([c722d91](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/c722d914ba4c8bc8eb488ccf1cf80ff6e65eeb11))
14
+
1
15
  # [4.34.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.33.0...v4.34.0) (2026-09-23)
2
16
 
3
17
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @speedkit/cli
21
21
  $ sk COMMAND
22
22
  running command...
23
23
  $ sk (--version)
24
- @speedkit/cli/4.34.0 linux-x64 node-v22.23.2
24
+ @speedkit/cli/4.35.1 linux-x64 node-v22.23.3
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -80,6 +80,7 @@ By either...
80
80
  * [`sk diff-url-parameters PAGEURL`](#sk-diff-url-parameters-pageurl)
81
81
  * [`sk document-handler CUSTOMERPATH`](#sk-document-handler-customerpath)
82
82
  * [`sk extension add [REF]`](#sk-extension-add-ref)
83
+ * [`sk extension devtools`](#sk-extension-devtools)
83
84
  * [`sk extension list`](#sk-extension-list)
84
85
  * [`sk extension remove [REF]`](#sk-extension-remove-ref)
85
86
  * [`sk extension update`](#sk-extension-update)
@@ -502,6 +503,26 @@ EXAMPLES
502
503
  $ sk extension add
503
504
  ```
504
505
 
506
+ ## `sk extension devtools`
507
+
508
+ Install the integration-devtools extension for the onboarding browser, or update it to the latest release
509
+
510
+ ```
511
+ USAGE
512
+ $ sk extension devtools [--force]
513
+
514
+ FLAGS
515
+ --force reinstall the latest release even when it is up to date
516
+
517
+ DESCRIPTION
518
+ Install the integration-devtools extension for the onboarding browser, or update it to the latest release
519
+
520
+ EXAMPLES
521
+ $ sk extension devtools
522
+
523
+ $ sk extension devtools --force
524
+ ```
525
+
505
526
  ## `sk extension list`
506
527
 
507
528
  List Chrome extensions managed by the setup wizard
@@ -0,0 +1,9 @@
1
+ import { Command } from "@oclif/core";
2
+ export default class ExtensionDevtools extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ };
8
+ run(): Promise<void>;
9
+ }
@@ -0,0 +1,46 @@
1
+ import { Command, Flags } from "@oclif/core";
2
+ import { CliServiceFactory } from "../../services/cli/index.js";
3
+ import { CliConfig } from "../../helpers/cli-config.js";
4
+ import { ExtensionDownloader } from "../../services/onboarding/browser/extension/extension-downloader.js";
5
+ export default class ExtensionDevtools extends Command {
6
+ static description = "Install the integration-devtools extension for the onboarding browser, or update it to the latest release";
7
+ static examples = [
8
+ "$ sk extension devtools",
9
+ "$ sk extension devtools --force",
10
+ ];
11
+ static flags = {
12
+ force: Flags.boolean({
13
+ description: "reinstall the latest release even when it is up to date",
14
+ default: false,
15
+ }),
16
+ };
17
+ async run() {
18
+ const { flags } = await this.parse(ExtensionDevtools);
19
+ const cli = new CliServiceFactory().getService();
20
+ const userConfig = new CliConfig(this.config).load();
21
+ const downloader = new ExtensionDownloader(userConfig, cli);
22
+ // running the command is the confirmation
23
+ const result = await downloader.installOrUpdate({
24
+ confirm: false,
25
+ force: flags.force,
26
+ });
27
+ switch (result.status) {
28
+ case "installed": {
29
+ cli.writeSuccess(`Installed integration-devtools ${result.version}`);
30
+ break;
31
+ }
32
+ case "updated": {
33
+ cli.writeSuccess(`Updated integration-devtools to ${result.version}`);
34
+ break;
35
+ }
36
+ case "up-to-date": {
37
+ cli.writeSuccess(`integration-devtools ${result.version} is up to date`);
38
+ break;
39
+ }
40
+ default: {
41
+ // the downloader reported why
42
+ this.exit(1);
43
+ }
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,12 @@
1
+ import { Hook } from "@oclif/core";
2
+ /**
3
+ * Keeps every request through the global dispatcher on HTTP/1.1.
4
+ *
5
+ * Importing the `undici` package installs its Agent as the global dispatcher, and Node's
6
+ * built-in `fetch` then sends through it. Up to undici 8.10 that path was forced to HTTP/1.1.
7
+ * Since 8.11 it negotiates HTTP/2, and the built-in `fetch` gets a response without any
8
+ * headers: no `content-encoding`, so a gzip body stays compressed, and no custom headers.
9
+ * Requests with their own dispatcher (the origin proxy) are not affected.
10
+ */
11
+ declare const hook: Hook<"init">;
12
+ export default hook;
@@ -0,0 +1,14 @@
1
+ import { Agent, setGlobalDispatcher } from "undici";
2
+ /**
3
+ * Keeps every request through the global dispatcher on HTTP/1.1.
4
+ *
5
+ * Importing the `undici` package installs its Agent as the global dispatcher, and Node's
6
+ * built-in `fetch` then sends through it. Up to undici 8.10 that path was forced to HTTP/1.1.
7
+ * Since 8.11 it negotiates HTTP/2, and the built-in `fetch` gets a response without any
8
+ * headers: no `content-encoding`, so a gzip body stays compressed, and no custom headers.
9
+ * Requests with their own dispatcher (the origin proxy) are not affected.
10
+ */
11
+ const hook = async () => {
12
+ setGlobalDispatcher(new Agent({ allowH2: false }));
13
+ };
14
+ export default hook;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,42 @@
1
+ import { expect } from "chai";
2
+ import { after, before, describe, it } from "mocha";
3
+ import tls from "node:tls";
4
+ import { Agent, getGlobalDispatcher, setGlobalDispatcher } from "undici";
5
+ import hook from "./http1-global-dispatcher.js";
6
+ describe("http1-global-dispatcher hook", () => {
7
+ const previousDispatcher = getGlobalDispatcher();
8
+ let server;
9
+ let offeredProtocols;
10
+ before(async () => {
11
+ // no certificate: the handshake fails, but the offered ALPN protocols
12
+ // arrive before that
13
+ server = tls.createServer({
14
+ ALPNCallback: ({ protocols }) => {
15
+ offeredProtocols = protocols;
16
+ return undefined;
17
+ },
18
+ });
19
+ // the aborted handshake is expected
20
+ server.on("tlsClientError", () => undefined);
21
+ await new Promise((resolve) => server.listen(0, "127.0.0.1", resolve));
22
+ });
23
+ after(() => {
24
+ server.close();
25
+ setGlobalDispatcher(previousDispatcher);
26
+ });
27
+ async function offeredByBuiltInFetch() {
28
+ offeredProtocols = undefined;
29
+ const { port } = server.address();
30
+ // fails on the missing certificate, only the offer matters
31
+ await fetch(`https://127.0.0.1:${port}/`).catch(() => undefined);
32
+ return offeredProtocols;
33
+ }
34
+ it("offers HTTP/2 to the built-in fetch without it", async () => {
35
+ setGlobalDispatcher(new Agent());
36
+ expect(await offeredByBuiltInFetch()).to.include("h2");
37
+ });
38
+ it("keeps the built-in fetch on HTTP/1.1", async () => {
39
+ await hook.call(null, {});
40
+ expect(await offeredByBuiltInFetch()).to.deep.equal(["http/1.1"]);
41
+ });
42
+ });
@@ -1,10 +1,34 @@
1
1
  import { UserCliConfig } from "../../../../helpers/cli-config.js";
2
2
  import { CliServiceInterface } from "../../../cli/index.js";
3
+ interface DevtoolsInstallOptions {
4
+ /** ask before installing or updating, off for an explicit install command */
5
+ confirm?: boolean;
6
+ /** install the latest version even when the installed one is up to date */
7
+ force?: boolean;
8
+ }
9
+ export interface DevtoolsInstallResult {
10
+ /** path of the extension to load, missing when none is installed */
11
+ path?: string;
12
+ version?: string;
13
+ status: "installed" | "updated" | "up-to-date" | "kept" | "declined" | "failed";
14
+ }
3
15
  export declare class ExtensionDownloader {
4
16
  private userConfig;
5
17
  private cli;
6
18
  constructor(userConfig: UserCliConfig, cli: CliServiceInterface);
7
- downloadExtension(): Promise<string>;
19
+ /**
20
+ * path of the devtools extension to load, or undefined when there is none
21
+ */
22
+ downloadExtension(): Promise<string | undefined>;
23
+ /**
24
+ * install the devtools extension or update it to the latest version. An
25
+ * installed version is only replaced by a newer one that downloaded and
26
+ * extracted completely — it stays in use when the update check fails, the
27
+ * update is declined or its download breaks.
28
+ */
29
+ installOrUpdate({ confirm, force, }?: DevtoolsInstallOptions): Promise<DevtoolsInstallResult>;
30
+ private get installedPath();
31
+ private installLatest;
8
32
  private updateLocalDevtools;
9
33
  /**
10
34
  * version of the cached devtools extension, or null when it is missing or
@@ -12,5 +36,9 @@ export declare class ExtensionDownloader {
12
36
  * write) — both count as not installed, so it gets installed again
13
37
  */
14
38
  private getInstalledVersion;
15
- private getRemoteVersion;
39
+ /**
40
+ * the latest version when it is newer than `localVersion`, otherwise null
41
+ */
42
+ private getAvailableUpdate;
16
43
  }
44
+ export {};
@@ -3,7 +3,6 @@ import path from "node:path";
3
3
  import semver from "semver";
4
4
  import extract from "extract-zip";
5
5
  import { safe } from "../../../../helpers/safe.js";
6
- import { ValidateExtensionError } from "../../error/validate-extension-error.js";
7
6
  const devtools = "integration-devtools";
8
7
  export class ExtensionDownloader {
9
8
  userConfig;
@@ -12,34 +11,73 @@ export class ExtensionDownloader {
12
11
  this.userConfig = userConfig;
13
12
  this.cli = cli;
14
13
  }
14
+ /**
15
+ * path of the devtools extension to load, or undefined when there is none
16
+ */
15
17
  async downloadExtension() {
18
+ return (await this.installOrUpdate()).path;
19
+ }
20
+ /**
21
+ * install the devtools extension or update it to the latest version. An
22
+ * installed version is only replaced by a newer one that downloaded and
23
+ * extracted completely — it stays in use when the update check fails, the
24
+ * update is declined or its download breaks.
25
+ */
26
+ async installOrUpdate({ confirm = true, force = false, } = {}) {
16
27
  // check for already installed devExtension
17
28
  const localVersion = this.getInstalledVersion();
18
- if (localVersion) {
19
- // check for updates
20
- const remoteVersion = await this.getRemoteVersion();
21
- if (semver.compare(remoteVersion, localVersion) > 0) {
22
- const response = await this.cli.confirm(`integration-devtools update available from ${localVersion} to ${remoteVersion} Install?`, true);
23
- if (!response) {
24
- throw new ValidateExtensionError(localVersion, remoteVersion);
25
- }
29
+ const installed = { path: this.installedPath, version: localVersion };
30
+ if (!localVersion) {
31
+ if (confirm &&
32
+ !(await this.cli.confirm("Do you want to install devtools-extension?", true))) {
33
+ return { status: "declined" };
26
34
  }
35
+ return this.installLatest("installed");
27
36
  }
28
- else {
29
- const response = await this.cli.confirm("Do you want to install devtools-extension?", true);
30
- if (!response) {
31
- return;
32
- }
37
+ if (force) {
38
+ const result = await this.installLatest("updated");
39
+ return result.status === "failed"
40
+ ? { ...installed, status: "kept" }
41
+ : result;
42
+ }
43
+ // check for updates
44
+ const update = await safe(this.getAvailableUpdate(localVersion));
45
+ if (update.success !== true) {
46
+ this.cli.writeWarning(`Could not check for ${devtools} updates, using installed ${localVersion}: ${update.error}`);
47
+ return { ...installed, status: "kept" };
48
+ }
49
+ if (!update.data) {
50
+ return { ...installed, status: "up-to-date" };
51
+ }
52
+ if (confirm &&
53
+ !(await this.cli.confirm(`${devtools} update available from ${localVersion} to ${update.data}. Install?`, true))) {
54
+ this.cli.writeWarning(`using installed ${devtools} ${localVersion}`);
55
+ return { ...installed, status: "declined" };
33
56
  }
57
+ const result = await this.installLatest("updated");
58
+ if (result.status === "failed") {
59
+ this.cli.writeWarning(`keeping installed ${devtools} ${localVersion}`);
60
+ return { ...installed, status: "kept" };
61
+ }
62
+ return result;
63
+ }
64
+ get installedPath() {
65
+ return path.resolve(this.userConfig.tempFolder, devtools);
66
+ }
67
+ async installLatest(status) {
34
68
  this.cli.startAction("ONBOARDING:UPDATE:DEVTOOLS", "update integration-devtools");
35
69
  const response = await safe(this.updateLocalDevtools());
36
70
  if (response.success === false) {
37
71
  this.cli.failAction("ONBOARDING:UPDATE:DEVTOOLS");
38
72
  this.cli.writeError(response.error);
39
- return;
73
+ return { status: "failed" };
40
74
  }
41
75
  this.cli.successAction("ONBOARDING:UPDATE:DEVTOOLS");
42
- return response.data;
76
+ return {
77
+ path: response.data,
78
+ version: this.getInstalledVersion(),
79
+ status,
80
+ };
43
81
  }
44
82
  async updateLocalDevtools() {
45
83
  // downloadExtension
@@ -47,23 +85,31 @@ export class ExtensionDownloader {
47
85
  if (!extensionResponse.ok) {
48
86
  throw new Error(`Could not download ${devtools}: ${extensionResponse.status} ${extensionResponse.statusText}`);
49
87
  }
50
- // resolve path for unpacked extension
51
- const extensionUnpacked = path.resolve(this.userConfig.tempFolder, devtools);
52
88
  // resolve path for zipFile, it is removed after extraction, so its name
53
89
  // does not depend on the response
54
90
  const archivePath = path.resolve(this.userConfig.tempFolder, `${devtools}.zip`);
91
+ // extract next to the installed version, which is only replaced once
92
+ // extraction is complete
93
+ const stagingPath = `${this.installedPath}.download`;
55
94
  // getFileBlob
56
95
  const extensionBlob = await extensionResponse.bytes();
96
+ assertZipArchive(extensionBlob, extensionResponse);
57
97
  fs.mkdirSync(this.userConfig.tempFolder, { recursive: true });
58
98
  // write zipFile
59
99
  fs.writeFileSync(archivePath, extensionBlob);
60
- // cleanUp older versions
61
- fs.rmSync(extensionUnpacked, { recursive: true, force: true });
62
- // extract zipArchive
63
- await extract(archivePath, { dir: extensionUnpacked });
64
- // remove zipArchive
65
- fs.rmSync(archivePath);
66
- return extensionUnpacked;
100
+ try {
101
+ fs.rmSync(stagingPath, { recursive: true, force: true });
102
+ // extract zipArchive
103
+ await extract(archivePath, { dir: stagingPath });
104
+ // replace older version
105
+ fs.rmSync(this.installedPath, { recursive: true, force: true });
106
+ fs.renameSync(stagingPath, this.installedPath);
107
+ }
108
+ finally {
109
+ fs.rmSync(stagingPath, { recursive: true, force: true });
110
+ fs.rmSync(archivePath, { force: true });
111
+ }
112
+ return this.installedPath;
67
113
  }
68
114
  /**
69
115
  * version of the cached devtools extension, or null when it is missing or
@@ -71,7 +117,7 @@ export class ExtensionDownloader {
71
117
  * write) — both count as not installed, so it gets installed again
72
118
  */
73
119
  getInstalledVersion() {
74
- const manifestPath = path.resolve(this.userConfig.tempFolder, devtools, "manifest.json");
120
+ const manifestPath = path.resolve(this.installedPath, "manifest.json");
75
121
  if (!fs.existsSync(manifestPath)) {
76
122
  return null;
77
123
  }
@@ -83,12 +129,42 @@ export class ExtensionDownloader {
83
129
  }
84
130
  return manifest.data.version;
85
131
  }
86
- async getRemoteVersion() {
132
+ /**
133
+ * the latest version when it is newer than `localVersion`, otherwise null
134
+ */
135
+ async getAvailableUpdate(localVersion) {
87
136
  const versionResponse = await fetch("https://threepointonefour.app.baqend.com/v1/code/webhook_devtools_release");
88
137
  if (!versionResponse.ok) {
89
- throw new Error("Could not find version for" + devtools);
138
+ throw new Error(`Could not find version for ${devtools}: ${versionResponse.status} ${versionResponse.statusText}`);
90
139
  }
91
- const response = await versionResponse.json();
92
- return response.version;
140
+ const { version } = await versionResponse.json();
141
+ return semver.gt(version, localVersion) ? version : null;
142
+ }
143
+ }
144
+ const ZIP_LOCAL_FILE_HEADER = Buffer.from([0x50, 0x4b, 0x03, 0x04]);
145
+ const ZIP_END_OF_CENTRAL_DIRECTORY = Buffer.from([0x50, 0x4b, 0x05, 0x06]);
146
+ // end-of-central-directory record (22 bytes) plus the longest zip comment
147
+ const ZIP_END_OF_CENTRAL_DIRECTORY_MAX_OFFSET = 22 + 0xff_ff;
148
+ /**
149
+ * a zip starts with a local file header and ends with the
150
+ * end-of-central-directory record. Anything else, e.g. an html page from a
151
+ * proxy or a cut-off download, is reported with what actually arrived.
152
+ */
153
+ function assertZipArchive(archive, response) {
154
+ const buffer = Buffer.from(archive);
155
+ const tail = buffer.subarray(Math.max(0, buffer.length - ZIP_END_OF_CENTRAL_DIRECTORY_MAX_OFFSET));
156
+ if (buffer.subarray(0, 4).equals(ZIP_LOCAL_FILE_HEADER) &&
157
+ tail.includes(ZIP_END_OF_CENTRAL_DIRECTORY)) {
158
+ return;
93
159
  }
160
+ const received = [
161
+ `${buffer.length} bytes`,
162
+ `content-type: ${response.headers.get("content-type")}`,
163
+ `content-encoding: ${response.headers.get("content-encoding")}`,
164
+ `content-length: ${response.headers.get("content-length")}`,
165
+ ].join(", ");
166
+ const kind = buffer.subarray(0, 4).equals(ZIP_LOCAL_FILE_HEADER)
167
+ ? "is cut off"
168
+ : `is not a zip, it starts with ${JSON.stringify(buffer.subarray(0, 80).toString("utf8"))}`;
169
+ throw new Error(`Download of ${devtools} ${kind} (${received})`);
94
170
  }
@@ -1050,39 +1050,6 @@
1050
1050
  "wpt-launcher.js"
1051
1051
  ]
1052
1052
  },
1053
- "autocomplete:fish": {
1054
- "aliases": [],
1055
- "args": {},
1056
- "description": "Generate fish shell completions and install them to ~/.config/fish/completions.",
1057
- "examples": [
1058
- "$ sk autocomplete fish",
1059
- "$ sk autocomplete fish --print > sk.fish"
1060
- ],
1061
- "flags": {
1062
- "print": {
1063
- "char": "p",
1064
- "description": "Print the completion script to stdout instead of installing it",
1065
- "name": "print",
1066
- "allowNo": false,
1067
- "type": "boolean"
1068
- }
1069
- },
1070
- "hasDynamicHelp": false,
1071
- "hiddenAliases": [],
1072
- "id": "autocomplete:fish",
1073
- "pluginAlias": "@speedkit/cli",
1074
- "pluginName": "@speedkit/cli",
1075
- "pluginType": "core",
1076
- "strict": true,
1077
- "enableJsonFlag": false,
1078
- "isESM": true,
1079
- "relativePath": [
1080
- "dist",
1081
- "commands",
1082
- "autocomplete",
1083
- "fish.js"
1084
- ]
1085
- },
1086
1053
  "browser:clean": {
1087
1054
  "aliases": [],
1088
1055
  "args": {},
@@ -1260,6 +1227,38 @@
1260
1227
  "add.js"
1261
1228
  ]
1262
1229
  },
1230
+ "extension:devtools": {
1231
+ "aliases": [],
1232
+ "args": {},
1233
+ "description": "Install the integration-devtools extension for the onboarding browser, or update it to the latest release",
1234
+ "examples": [
1235
+ "$ sk extension devtools",
1236
+ "$ sk extension devtools --force"
1237
+ ],
1238
+ "flags": {
1239
+ "force": {
1240
+ "description": "reinstall the latest release even when it is up to date",
1241
+ "name": "force",
1242
+ "allowNo": false,
1243
+ "type": "boolean"
1244
+ }
1245
+ },
1246
+ "hasDynamicHelp": false,
1247
+ "hiddenAliases": [],
1248
+ "id": "extension:devtools",
1249
+ "pluginAlias": "@speedkit/cli",
1250
+ "pluginName": "@speedkit/cli",
1251
+ "pluginType": "core",
1252
+ "strict": true,
1253
+ "enableJsonFlag": false,
1254
+ "isESM": true,
1255
+ "relativePath": [
1256
+ "dist",
1257
+ "commands",
1258
+ "extension",
1259
+ "devtools.js"
1260
+ ]
1261
+ },
1263
1262
  "extension:list": {
1264
1263
  "aliases": [],
1265
1264
  "args": {},
@@ -1649,7 +1648,40 @@
1649
1648
  "query",
1650
1649
  "prewarm.js"
1651
1650
  ]
1651
+ },
1652
+ "autocomplete:fish": {
1653
+ "aliases": [],
1654
+ "args": {},
1655
+ "description": "Generate fish shell completions and install them to ~/.config/fish/completions.",
1656
+ "examples": [
1657
+ "$ sk autocomplete fish",
1658
+ "$ sk autocomplete fish --print > sk.fish"
1659
+ ],
1660
+ "flags": {
1661
+ "print": {
1662
+ "char": "p",
1663
+ "description": "Print the completion script to stdout instead of installing it",
1664
+ "name": "print",
1665
+ "allowNo": false,
1666
+ "type": "boolean"
1667
+ }
1668
+ },
1669
+ "hasDynamicHelp": false,
1670
+ "hiddenAliases": [],
1671
+ "id": "autocomplete:fish",
1672
+ "pluginAlias": "@speedkit/cli",
1673
+ "pluginName": "@speedkit/cli",
1674
+ "pluginType": "core",
1675
+ "strict": true,
1676
+ "enableJsonFlag": false,
1677
+ "isESM": true,
1678
+ "relativePath": [
1679
+ "dist",
1680
+ "commands",
1681
+ "autocomplete",
1682
+ "fish.js"
1683
+ ]
1652
1684
  }
1653
1685
  },
1654
- "version": "4.34.0"
1686
+ "version": "4.35.1"
1655
1687
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "4.34.0",
4
+ "version": "4.35.1",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"
@@ -68,7 +68,8 @@
68
68
  "commands": "./dist/commands",
69
69
  "hooks": {
70
70
  "init": [
71
- "./dist/hooks/init/dns-result-order.js"
71
+ "./dist/hooks/init/dns-result-order.js",
72
+ "./dist/hooks/init/http1-global-dispatcher.js"
72
73
  ]
73
74
  },
74
75
  "topics": {
@@ -143,7 +144,7 @@
143
144
  "strip-comments": "^2.0.1",
144
145
  "tsx": "^4.21.0",
145
146
  "tty-table": "^5.0.0",
146
- "undici": "^8.1.0",
147
+ "undici": "^8.11.0",
147
148
  "uuid": "^13.0.0"
148
149
  },
149
150
  "devDependencies": {
@@ -1,5 +0,0 @@
1
- import ApplicationError from "../../error-handling/error/application-error.js";
2
- export declare class ValidateExtensionError extends ApplicationError {
3
- readonly code = "VALIDATE_EXTENSION_ERROR";
4
- constructor(localVersion: string, remoteVersion: string);
5
- }
@@ -1,7 +0,0 @@
1
- import ApplicationError from "../../error-handling/error/application-error.js";
2
- export class ValidateExtensionError extends ApplicationError {
3
- code = "VALIDATE_EXTENSION_ERROR";
4
- constructor(localVersion, remoteVersion) {
5
- super(`Unable to validate Versions: "${localVersion}" - "${remoteVersion}"`);
6
- }
7
- }