@speedkit/cli 4.41.0 → 4.41.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,10 @@
|
|
|
1
|
+
## [4.41.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.41.0...v4.41.1) (2026-10-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **onboarding:** keep the debugging pipe when a debug port is set ([df363cc](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/df363cc7339465a3072168d4b04c6f7bd4d6b859))
|
|
7
|
+
|
|
1
8
|
# [4.41.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v4.40.0...v4.41.0) (2026-10-05)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -163,6 +163,12 @@ export class BrowserContext {
|
|
|
163
163
|
const args = [];
|
|
164
164
|
if (this.debuggingPort || this.headless) {
|
|
165
165
|
args.push(`--remote-debugging-port=${this.debugPort}`);
|
|
166
|
+
// Puppeteer adds the pipe switch for `pipe: true` only when no other
|
|
167
|
+
// `--remote-debugging-*` switch is present, and it refuses
|
|
168
|
+
// `enableExtensions` without the switch. The port above suppresses it.
|
|
169
|
+
if (this.environment?.settings.chromeExtensionPaths) {
|
|
170
|
+
args.push("--remote-debugging-pipe");
|
|
171
|
+
}
|
|
166
172
|
}
|
|
167
173
|
return args;
|
|
168
174
|
}
|
|
@@ -181,6 +181,23 @@ describe("BrowserContext launch options", () => {
|
|
|
181
181
|
expect(options.args.filter((arg) => /extension/.test(arg))).to.deep.equal([]);
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
+
it("keeps the pipe next to a debugging port", () => {
|
|
185
|
+
const withExtensions = {
|
|
186
|
+
settings: {
|
|
187
|
+
...environment.settings,
|
|
188
|
+
chromeExtensionPaths: "/ext/devtools",
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
for (const [debuggingPort, headless] of [
|
|
192
|
+
[true, false],
|
|
193
|
+
[false, true],
|
|
194
|
+
[true, true],
|
|
195
|
+
]) {
|
|
196
|
+
const { args } = new BrowserContext("example.com", "Google Chrome for Testing 154.0.8037.57", [], withExtensions, undefined, debuggingPort, headless, 9333).getPuppeteerLaunchOptions();
|
|
197
|
+
expect(args).to.include("--remote-debugging-port=9333");
|
|
198
|
+
expect(args).to.include("--remote-debugging-pipe");
|
|
199
|
+
}
|
|
200
|
+
});
|
|
184
201
|
it("launches without extensions when none are configured", () => {
|
|
185
202
|
const options = newContext(false).getPuppeteerLaunchOptions();
|
|
186
203
|
expect(options.enableExtensions).to.equal(undefined);
|
package/oclif.manifest.json
CHANGED