@molecule/api-ai-tools 1.17.5 → 1.17.6
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/dist/no-test-run.d.ts.map +1 -1
- package/dist/no-test-run.js +4 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-test-run.d.ts","sourceRoot":"","sources":["../src/no-test-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;
|
|
1
|
+
{"version":3,"file":"no-test-run.d.ts","sourceRoot":"","sources":["../src/no-test-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAoLH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAiB3D"}
|
package/dist/no-test-run.js
CHANGED
|
@@ -181,9 +181,11 @@ const NO_TEST_PROGRAMS = new Set([
|
|
|
181
181
|
/**
|
|
182
182
|
* A heredoc body is data a command writes, not what it runs: a `playwright test --list` inside
|
|
183
183
|
* the config a command writes is not a run of this command either way. The pattern consumes the
|
|
184
|
-
* writer's own line prefix, the same shape `outputRedirectTarget` reads.
|
|
184
|
+
* writer's own line prefix, the same shape `outputRedirectTarget` reads. Start only at a
|
|
185
|
+
* statement boundary: retrying that prefix at every character makes lines without heredocs
|
|
186
|
+
* quadratic (a 55 KiB comment delayed runner classification by seconds).
|
|
185
187
|
*/
|
|
186
|
-
const HEREDOC = /[^\n;&|]*<<-?\s*(['"]?)(\w+)\1[\s\S]*?\n\s*\2\b/g;
|
|
188
|
+
const HEREDOC = /(?:^|(?<=[\n;&|]))[^\n;&|]*<<-?\s*(['"]?)(\w+)\1[\s\S]*?\n\s*\2\b/g;
|
|
187
189
|
/**
|
|
188
190
|
* Whether this runner's invocation — the text from just after its name to the end of its
|
|
189
191
|
* segment ({@link commandSegments}) — only prints.
|