Skip to content

build(deps): bump monocart-coverage-reports from 2.13.2 to 3.0.0 - #5374

Merged
aaltat merged 2 commits into
mainfrom
dependabot/npm_and_yarn/monocart-coverage-reports-3.0.0
Oct 22, 2026
Merged

aaltat merged 2 commits into
mainfrom
dependabot/npm_and_yarn/monocart-coverage-reports-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Bumps monocart-coverage-reports from 2.13.2 to 3.0.0.

Changelog

Sourced from monocart-coverage-reports's changelog.

  • 3.0.0
    • Migration guide: upgrading from 2.x to 3.x
    • Breaking Changes
      • require Node.js >= 22.15.0
      • migrate to ESM only; replace the callable require('monocart-coverage-reports') entry with default/named imports, or dynamic import() from CommonJS
      • use export default in ESM config files; rename existing CommonJS configs to .cjs (still supported)
      • loadConfig() throws on missing explicit configs or loading errors
      • load external reporters and CLI preloads with native ESM import() only; CJS interoperability is handled by Node without a separate loader; local file extensions are required and --require is a deprecated alias for --import
      • require ./ or ../ prefixes for relative reporter file paths, with explicit file extensions; names such as test/custom-v8-reporter.js are treated as package specifiers instead of falling back to local files; absolute paths and file: URLs remain supported
      • replace foreground-child with execa for CLI command execution, preserving argument boundaries without enabling shell mode; shell command strings, pipes and redirections are no longer interpreted by MCR
      • apply a default 30000ms total deadline to HTTP helper requests; timeout covers both response headers and body transfer, and 0 disables the deadline
    • Features
      • use synchronous module.registerHooks() for source capture, including CommonJS modules loaded through require() and createRequire()
      • add outputFilter to filter final V8 results by sourcePath, including converted Istanbul reports (#132)
      • add mcr test with the native Node.js test runner and automatic coverage reports
      • support config/CLI test targets and Node runner arguments after --
      • add configurable CDP command timeouts (requestTimeout, default 30000ms; 0 disables the deadline)
      • expose CoverageClient as a named export and as MCR.CoverageClient
      • ship an AI agent skill for MCR 3.x with collection, filtering, reporting, and validated CI/shard-merging recipes
    • Bug Fixes
      • generate coverage after failed tests and preserve test/report failure exit codes
      • preserve config error details and original causes, including non-Error throws
      • propagate V8/both custom reporter loading and initialization failures instead of silently skipping the reporter
      • normalize local CLI preload paths and escape paths in NODE_OPTIONS
      • propagate concurrency task failures and drain in-flight work before queue cleanup
      • settle HTTP requests on timeout, cancellation or premature response closure and release their connections
      • retry localhost requests through IPv4 only on connection refusal, not on HTTP errors, JSON parsing failures, timeouts or cancellation
      • reject pending WebSocket commands on disconnect or detach, clean up request timers, and propagate CDP protocol errors
      • terminate stalled CDP WebSocket handshakes and apply the connection timeout to HTTP debugger discovery
    • Performance
      • defer untested source reads until after filtering when source-path callbacks do not need the source
      • avoid intermediate arrays when finding enclosing covered blocks
      • initialize GC only on demand without installing host globals, and skip unnecessary memory sampling
    • Maintenance
      • add Open Graph/Twitter Card metadata and a social preview image to the docs site, with a Playwright-based image generator (#133)
      • remove obsolete Node.js version checks from test builds
      • clarify custom reporter interfaces and the meaning of the both report type in English and Chinese docs
      • align English/Chinese TypeScript transformation and strict threshold examples
      • lint README JavaScript examples with the project ESLint rules via lint:readme, including autofix and paired exclusion markers that preserve highlighting for nonstandard demonstrations

For 2.x and 1.x changelogs, see GitHub Releases.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 22, 2026
Bumps [monocart-coverage-reports](https://github.com/cenfun/monocart-coverage-reports) from 2.13.2 to 3.0.0.
- [Release notes](https://github.com/cenfun/monocart-coverage-reports/releases)
- [Changelog](https://github.com/cenfun/monocart-coverage-reports/blob/main/CHANGELOG.md)
- [Commits](cenfun/monocart-coverage-reports@v2.13.2...v3.0.0)

---
updated-dependencies:
- dependency-name: monocart-coverage-reports
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/monocart-coverage-reports-3.0.0 branch from 60c5b09 to c3dc5a1 Compare October 22, 2026 04:05
monocart-coverage-reports 3.0.0 ships as ESM only. Jest's CommonJS
runtime cannot require it, so the suite failed at the import in
playwright-state.ts before any test ran. The suite never calls the
coverage code, so a stub is enough. Production is unaffected: Node
loads the ESM package through require(esm).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aaltat
aaltat merged commit d00ffdf into main Oct 22, 2026
59 of 60 checks passed
@aaltat
aaltat deleted the dependabot/npm_and_yarn/monocart-coverage-reports-3.0.0 branch October 22, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant