Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 22, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
chai (source) devDependencies major 5.3.3 -> 6.2.2 OpenSSF Scorecard

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

chaijs/chai (chai)

v6.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: chaijs/chai@v6.2.1...v6.2.2

v6.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: chaijs/chai@v6.2.0...v6.2.1

v6.2.0

Compare Source

What's Changed

Full Changelog: chaijs/chai@v6.1.0...v6.2.0

v6.1.0

Compare Source

What's Changed

  • build(deps-dev): bump tar-fs from 3.0.9 to 3.1.1 by @​dependabot[bot] in #​1706
  • feat: add eventEmitter (#​1693)
    Adds an event emitter for hooking into method/property creation in #​1693

Full Changelog: chaijs/chai@v6.0.2...v6.1.0

v6.0.1

Compare Source

What's Changed

Full Changelog: chaijs/chai@v6.0.0...v6.0.1

v6.0.0

Compare Source

BREAKING CHANGES

Chai is now bundled into a single file. The lib/*.js files are no longer present, and so any code that imports those files directly will need to change. The only file that can be imported now is ./index.js.

What's Changed

Full Changelog: chaijs/chai@v5.3.2...v6.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link

github-actions bot commented Aug 22, 2025

📦 Packages

Package Install
Template Set bun add @settlemint/settlemint/solidity-zeto@8.0.11-prbe1d0ff

@renovate renovate bot force-pushed the renovate/chai-6.x branch 2 times, most recently from 1a97e15 to 7189e27 Compare August 23, 2025 03:15
@renovate renovate bot force-pushed the renovate/chai-6.x branch 3 times, most recently from 502efd8 to 0a87e64 Compare September 27, 2025 18:28
@renovate renovate bot force-pushed the renovate/chai-6.x branch from 0a87e64 to 9b1f321 Compare October 11, 2025 06:30
@renovate renovate bot force-pushed the renovate/chai-6.x branch from 9b1f321 to e479ccd Compare October 21, 2025 19:12
@renovate renovate bot force-pushed the renovate/chai-6.x branch 2 times, most recently from 92a3df3 to 2701a72 Compare November 11, 2025 14:58
@renovate renovate bot force-pushed the renovate/chai-6.x branch from 2701a72 to b5eaf8c Compare November 18, 2025 23:43
@renovate renovate bot force-pushed the renovate/chai-6.x branch from b5eaf8c to 90f8a40 Compare December 3, 2025 16:09
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/chai-6.x branch from 90f8a40 to b19eaf0 Compare December 22, 2025 22:52
"devDependencies": {
"@iden3/js-merkletree": "1.5.1",
"chai": "5.3.3",
"chai": "6.2.2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The upgrade to Chai v6, an ESM-only library, is incompatible with the project's CommonJS test setup and will cause all tests to fail.
Severity: CRITICAL | Confidence: High

🔍 Detailed Analysis

The project is configured as a CommonJS module system, but the chai dependency is being upgraded to v6.2.2. This version of chai is ESM-only and does not support the CommonJS require() syntax used throughout the project's 36 test files. As a result, attempting to run the test suite will cause an ERR_REQUIRE_ESM error, leading to a complete failure of the test pipeline before any tests can be executed.

💡 Suggested Fix

Either revert the chai dependency to a v5.x version which supports CommonJS, or refactor the test suite to use ESM import syntax. The latter would also require adding "type": "module" to package.json or configuring the test runner for ES modules.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: zkp/js/package.json#L21

Potential issue: The project is configured as a CommonJS module system, but the `chai`
dependency is being upgraded to v6.2.2. This version of `chai` is ESM-only and does not
support the CommonJS `require()` syntax used throughout the project's 36 test files. As
a result, attempting to run the test suite will cause an `ERR_REQUIRE_ESM` error,
leading to a complete failure of the test pipeline before any tests can be executed.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 7848328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant