> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/agent-release-notes/nodejs-technologies/nodejs-browser-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.sealights.io/knowledgebase/~gitbook/mcp).

# NodeJS/Browser Agent

## 2026 Release Notes

<table><thead><tr><th width="116.38671875">Version</th><th width="169.59375">Date</th><th>Changes</th></tr></thead><tbody><tr><td>6.2.101</td><td>October 21, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Released <a href="https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/node.js-agent/advanced-features/lightweight-v8-coverage-mode">Lightweight V8 Coverage Mode</a> for backend Node.js services. It reads the coverage built into the Node.js V8 engine instead of instrumenting your code, which lowers memory use and start-up time. Turn it on with <code>--rawCoverage</code> on the scan and <code>SL_useLeanCoverageListener=true</code> on the service start. If it cannot start, the agent falls back to the regular engine. Requires Node.js 18 or later. Per-test coverage and HTTP test coloring are not supported in this mode.</li><li>Disabled extglob syntax in build scanner file patterns. Patterns that use extglobs, such as <code>@(a|b)/**</code>, are now matched as literal characters.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Fixed method mapping for Vue single-file components in webpack builds (vue-loader 15 and 17). Methods are now reported against the real <code>.vue</code> file and line instead of virtual module paths, and the extra <code>(Anonymous)</code> method per <code>.vue</code> file is gone. Method IDs change, so Vue applications see a one-time increase in new methods in coverage and TIA history. Server-side coverage of <code>&#x3C;script></code> blocks requires the <code>.vue</code> source files on disk where the test listener runs.</li><li>Prevented a possible hang in build scanner file matching caused by a <code>picomatch</code> vulnerability.</li></ul></td></tr><tr><td>6.2.96</td><td>October 18, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Stopped the <code>slnodejs</code> installer from printing the SeaLights agent token to the console.</li><li>Updated <code>qs</code> to 6.16.1 to resolve a vulnerability.</li></ul></td></tr><tr><td>6.2.90</td><td>October 13, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Replaced <code>globby</code> and <code>micromatch</code> with <code>tinyglobby</code> and <code>picomatch</code> in the build scanner, removing the vulnerable <code>braces</code> package. File selection and source-map deletion are unchanged.</li></ul></td></tr><tr><td>6.2.86</td><td>October 8, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added opt-in TLS certificate verification for SeaLights connections with <code>SL_TLS_VERIFY=true</code>. Use <code>SL_CA_FILE</code> to add a corporate CA on top of the Node.js defaults and the operating-system store.</li><li>An <code>http://</code> SeaLights proxy no longer sets <code>NODE_TLS_REJECT_UNAUTHORIZED=0</code> for the whole process. TLS relaxation now applies only to the agent's own SeaLights requests. An <code>https://</code> SeaLights proxy, or <code>useOtel</code> together with a SeaLights proxy, keeps the previous process-wide behavior unless <code>SL_TLS_VERIFY</code> is set. Applications that relied on the process-wide setting for their own HTTPS calls must now set it explicitly.</li><li>Added an optional <code>--teststage</code> parameter to the <code>end</code> command to close the anonymous execution for a specific test stage.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Updated <code>shell-quote</code> to 1.11.0 and <code>handlebars</code> to 4.7.10 to resolve vulnerabilities.</li></ul><p><strong>Limitations:</strong></p><ul><li>With <code>SL_TLS_VERIFY=true</code>, the certificate of an <code>https://</code> proxy is trusted only through <code>NODE_EXTRA_CA_CERTS</code>, and on Node.js versions earlier than 22.15 the operating-system certificate store is not used on macOS and Windows.</li></ul></td></tr><tr><td>6.2.79</td><td>September 30, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Updated <code>brace-expansion</code> to patched releases to resolve vulnerabilities.</li></ul></td></tr><tr><td>6.2.78</td><td>September 29, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed a crash in TypeScript test runs (for example, Jest with ts-node) when coverage could not be transformed for some files. The agent now skips those files instead of terminating the test worker.</li></ul></td></tr><tr><td>6.2.77</td><td>September 28, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed lightweight V8 coverage mode not sending coverage when the test stage was opened and closed with <code>start</code> and <code>end</code>.</li></ul></td></tr><tr><td>6.2.76</td><td>September 27, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Updated browser instrumentation to resolve the recommended browser agent via authenticated <code>v2/agents/browser/recommended</code>.</li><li>Updated <code>sl-istanbul-lib-instrument</code> to 6.0.8 to remove the nested <code>uuid@3.1.0</code> vulnerability.</li></ul></td></tr><tr><td>6.2.69</td><td>September 3, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed browser clock-sync offsets not being applied to footprint timestamps.</li><li>Fixed Git log format quoting on Windows that caused commit hashes to be lost during scans, resulting in changed elements being attributed to <code>HEAD</code> instead of their actual commit.</li><li>Updated <code>js-yaml</code> overrides to versions 3.15.2 and 4.3.2 to resolve a high-severity vulnerability.</li></ul></td></tr><tr><td>6.2.63</td><td>August 28, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed an issue that prevented the browser clock synchronization flow from working correctly.</li></ul></td></tr><tr><td>6.2.59</td><td>August 17, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed <code>ConsoleMessageService</code> to be browser-safe, eliminating <code>fs.existsSync</code> console messages in the Browser Agent when Node.js <code>fs</code> APIs are unavailable.</li><li>Fixed the <code>dryRun</code> command to correctly propagate the <code>newInstrumenter</code> flag from CLI parameters.</li></ul></td></tr><tr><td>6.2.46</td><td>August 5, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added the <code>alignArrowUniqueIdWithBinding</code> feature flag to align arrow-function unique IDs with their parent binding name, resolving build map-to-footprint ID mismatches in Vitest 4 with SWC/rsbuild workflows.</li><li>Enhanced enrichment to merge <code>uniqueIdKeys</code> from generated methods that map to the same source-map position.</li><li>Added source-map source filtering to skip virtual and inline Module Federation runtime entries when their paths exceed PostgreSQL LTREE label limits or contain synthetic JavaScript fragments.</li></ul></td></tr><tr><td>6.2.34</td><td>July 8, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Applied security overrides for transitive dependencies, including <code>handlebars</code>, <code>lodash</code>, <code>minimatch</code>, and others, to address known security vulnerabilities.</li></ul></td></tr><tr><td>6.2.29</td><td>July 6, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added the <code>skipEsiScripts</code> option to allow skipping Edge Side Includes (ESI) script tags during HTML and markup scanning/instrumentation.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Fixed the default proxy configuration to prevent an empty string (<code>''</code>) from overriding the absence of a proxy setting.</li><li>Fixed CLI negate option handling so negated boolean flags generate both the positive and <code>no-</code> prefixed versions of CLI parameters instead of only the negated version.</li></ul></td></tr><tr><td>6.2.24</td><td>June 16, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added support for test execution details from an external context in the browser agent.</li><li>Added support for the <code>SL_PROXY</code> environment variable in the preloader script.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Bumped dependency version to address a security vulnerability.</li></ul></td></tr><tr><td>6.2.19</td><td>May 27. 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed a browser agent issue where coverage was not reported for dynamically loaded JavaScript files in applications using on-demand module loading.</li></ul></td></tr><tr><td>6.2.15</td><td>May 13, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed an issue where files with URL-scheme paths were not properly excluded during build scanning.</li><li>Improved path handling for Windows environments during the scanning process.</li></ul></td></tr><tr><td>6.2.12</td><td>May 5, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Extended all test runners to include group context in execution completion reporting.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Fixed build-scanning issues that could result in missing server-side coverage for certain bundled application setups.</li><li>Improved source path resolution to correctly handle non-standard path formats encountered during scanning.</li></ul></td></tr><tr><td>6.2.8</td><td>Apr 27, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Updated the Mocha executor to use direct API calls for execution lifecycle management.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Fixed a module initialization issue causing unintended side effects on import.</li></ul></td></tr><tr><td>6.2.6</td><td>Apr 9, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Addressed several CLI configuration inconsistencies introduced in a prior release.</li><li>Improved error handling for unexpected server responses during agent initialization.</li></ul></td></tr><tr><td>6.2.1</td><td>Mar 30, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Standardized CLI parameter names to align with other SeaLights agents:<br><code>--branchName</code>, <code>--buildName</code>, <code>--failOnError</code>, <code>--scanDir</code>, <code>--scmType</code>, <code>--excludeFiles</code>, <code>--moduleName</code>, <code>--repositoryUrl</code>, <code>--disableTia</code>, <code>--file</code>, and <code>--filesFolder</code>.</li><li><p>Added command aliases for improved usability:</p><ul><li><code>completeScan</code></li><li><code>openTestStage</code> / <code>startTestStage</code></li><li><code>closeTestStage</code> / <code>endTestStage</code></li></ul></li><li>Maintained full backward compatibility by preserving all existing parameter and command names as aliases.</li><li>Allowed all agent parameters to be overridden via the SeaLights backend. Track overrides with cockpit messages and debug logs for visibility, ensuring parity with other agents.</li><li>Refactored CLI and configuration system. Maintained full compatibility with existing scripts and integrations.</li></ul><p><strong>Resolved Issues:</strong></p><ul><li>Addressed an issue where the default <code>excludedFiles</code> glob pattern (e.g., <code>test/**/*</code>) matched a file instead of a directory, causing <code>fs.statSync</code> to throw <code>ENOTDIR</code>. Now safely skips unresolvable paths.</li></ul></td></tr><tr><td>6.1.1163</td><td>Mar 9, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Updated <code>engines</code> field in <code>package.json</code> to <code>>= Node 16.x</code>.</li></ul></td></tr><tr><td>6.1.1162</td><td>Mar 3, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added default <code>.slignore.instrument</code> for various frontend frameworks.</li></ul></td></tr><tr><td>6.1.1160</td><td>Feb 24, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Bumped <code>sl-request</code> to 1.0.8 and overrode <code>ajv</code> to 8.18.0 to resolve a high-severity vulnerability.</li></ul></td></tr><tr><td>6.1.1159</td><td>Feb 16, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Updated dependencies to use newer version of <code>qs</code> (latest: 6.14.1) to remediate vulnerability.</li></ul></td></tr><tr><td>6.1.1158</td><td>Feb 16, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Prevented <code>CockpitNotifier</code> errors from appearing in the console.</li></ul></td></tr><tr><td>6.1.1154</td><td>Feb 10, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li><code>--excludeSourceMapFiles</code> now allows skipping copying of source map files to instrumentation output and optionally deleting them from the workspace directory. Previously worked only for <code>.js.map</code> files; now also works for <code>.css.map</code>.</li></ul></td></tr><tr><td>6.1.1153</td><td>Feb 5, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Fixed failure to embed <code>sl-mapping</code> for pure JavaScript files (without source maps). Previously, this caused coverage to not appear.</li></ul></td></tr><tr><td>6.1.1152</td><td>Feb 4, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added a cache-busting mechanism when using a preamble file. Cached deployment files containing an outdated <code>buildSessionId</code> are now automatically synchronized when a new <code>buildSessionId</code> is detected in the preamble file.</li></ul></td></tr><tr><td>6.1.1151</td><td>Feb 3, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added console messages across all relevant <code>slnodejs</code> commands, including the Mocha test runner.</li><li>Added a console message for the existing validation that checks whether a build already exists for the specified <code>buildSessionId</code>.</li><li>Moved selected lifecycle logs to the <strong>info</strong> level to avoid duplication with console output.</li></ul></td></tr><tr><td>6.1.1150</td><td>Jan 27, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added support for the <code>prId</code> parameter in the Mocha executor.</li><li>Introduced an API to manually load executions in the remote-agent.</li><li>Introduced an API to manually set TIA status in the remote-agent.</li><li>Added support for Remove Integration Build (RIB).</li></ul></td></tr><tr><td>6.1.1147</td><td>Jan 13, 2026</td><td><p><strong>Resolved Issues:</strong></p><ul><li>Removed obsolete Footprints v5 code from the agent.</li></ul></td></tr><tr><td>6.1.1143</td><td>Jan 13, 2026</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added support for running the remote-agent with compressed sl-mapping files.</li></ul></td></tr></tbody></table>

## 2025 Release Notes

<table><thead><tr><th width="116.19140625">Version</th><th width="169.9921875">Date</th><th>Changes</th></tr></thead><tbody><tr><td>6.1.1142</td><td>Dec 17, 2025</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added a public method to allow the remote-agent to send the Agent Started event.</li></ul></td></tr><tr><td>6.1.1140</td><td>Dec 17, 2025</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added an <code>isRunning</code> flag to the remote-agent to prevent redundant start or stop calls when the agent state has not changed.</li></ul></td></tr><tr><td>6.1.1133</td><td>Dec 5, 2025</td><td><p><strong>New Features and Updates:</strong></p><ul><li>Added a warning message in both the console and the Cockpit when a scan detects the same methods being scanned more than once.</li><li>Included <code>executionId</code> in all relevant HTTP requests, both in root headers and request metadata.</li><li>Updated the Mocha executor and <code>nycReport</code> to skip loading the default <code>buildSessionId</code> file when <code>labId</code> is provided.</li><li>Aligned Mocha behavior to continue supporting the default <code>buildSessionId</code> file only when <code>labId</code> is not provided.</li></ul></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sealights.io/knowledgebase/agent-release-notes/nodejs-technologies/nodejs-browser-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
