celo-org / celo-blockchain

Official repository for the golang Celo Blockchain
https://celo.org
GNU Lesser General Public License v3.0
554 stars 199 forks source link

chore(deps): update dependency chai to v4.4.1 #2237

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chai (source) 4.3.7 -> 4.4.1 age adoption passing confidence
@types/chai (source) 4.3.5 -> 4.3.11 age adoption passing confidence

Release Notes

chaijs/chai (chai) ### [`v4.4.1`](https://togithub.com/chaijs/chai/releases/tag/v4.4.1) [Compare Source](https://togithub.com/chaijs/chai/compare/v4.4.0...v4.4.1) #### What's Changed - fix: removes `??` for node compat by [@​43081j](https://togithub.com/43081j) in [https://github.com/chaijs/chai/pull/1574](https://togithub.com/chaijs/chai/pull/1574) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/chaijs/chai/releases/tag/v4.4.0) [Compare Source](https://togithub.com/chaijs/chai/compare/v4.3.10...v4.4.0) #### What's Changed - Allow deepEqual fonction to be configured globally (4.x.x branch) by [@​forty](https://togithub.com/forty) in [https://github.com/chaijs/chai/pull/1553](https://togithub.com/chaijs/chai/pull/1553) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.10...v4.4.0 ### [`v4.3.10`](https://togithub.com/chaijs/chai/releases/tag/v4.3.10) [Compare Source](https://togithub.com/chaijs/chai/compare/v4.3.9...v4.3.10) This release simply bumps all dependencies to their latest non-breaking versions. #### What's Changed - upgrade all dependencies by [@​keithamus](https://togithub.com/keithamus) in [https://github.com/chaijs/chai/pull/1540](https://togithub.com/chaijs/chai/pull/1540) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10 ### [`v4.3.9`](https://togithub.com/chaijs/chai/releases/tag/v4.3.9) [Compare Source](https://togithub.com/chaijs/chai/compare/v4.3.8...v4.3.9) Upgrade dependencies. This release upgrades dependencies to address **[CVE-2023-43646](https://www.cve.org/CVERecord?id=CVE-2023-43646)** where a large function name can cause "catastrophic backtracking" (aka ReDOS attack) which can cause the test suite to hang. **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.8...v4.3.9 ### [`v4.3.8`](https://togithub.com/chaijs/chai/releases/tag/v4.3.8) [Compare Source](https://togithub.com/chaijs/chai/compare/v4.3.7...v4.3.8) #### What's Changed - 4.x.x: Fix link to commit logs on GitHub by [@​bugwelle](https://togithub.com/bugwelle) in [https://github.com/chaijs/chai/pull/1487](https://togithub.com/chaijs/chai/pull/1487) - build(deps): bump socket.io-parser from 4.0.4 to 4.0.5 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/chaijs/chai/pull/1488](https://togithub.com/chaijs/chai/pull/1488) - Small typo in test.js by [@​mavaddat](https://togithub.com/mavaddat) in [https://github.com/chaijs/chai/pull/1459](https://togithub.com/chaijs/chai/pull/1459) - docs: specify return type of objDisplay by [@​scarf005](https://togithub.com/scarf005) in [https://github.com/chaijs/chai/pull/1490](https://togithub.com/chaijs/chai/pull/1490) - Update CONTRIBUTING.md by [@​matheus-rodrigues00](https://togithub.com/matheus-rodrigues00) in [https://github.com/chaijs/chai/pull/1521](https://togithub.com/chaijs/chai/pull/1521) - Fix: update exports.version to current version by [@​peanutenthusiast](https://togithub.com/peanutenthusiast) in [https://github.com/chaijs/chai/pull/1534](https://togithub.com/chaijs/chai/pull/1534) #### New Contributors - [@​bugwelle](https://togithub.com/bugwelle) made their first contribution in [https://github.com/chaijs/chai/pull/1487](https://togithub.com/chaijs/chai/pull/1487) - [@​mavaddat](https://togithub.com/mavaddat) made their first contribution in [https://github.com/chaijs/chai/pull/1459](https://togithub.com/chaijs/chai/pull/1459) - [@​scarf005](https://togithub.com/scarf005) made their first contribution in [https://github.com/chaijs/chai/pull/1490](https://togithub.com/chaijs/chai/pull/1490) - [@​matheus-rodrigues00](https://togithub.com/matheus-rodrigues00) made their first contribution in [https://github.com/chaijs/chai/pull/1521](https://togithub.com/chaijs/chai/pull/1521) - [@​peanutenthusiast](https://togithub.com/peanutenthusiast) made their first contribution in [https://github.com/chaijs/chai/pull/1534](https://togithub.com/chaijs/chai/pull/1534) **Full Changelog**: https://github.com/chaijs/chai/compare/v4.3.7...v4.3.8

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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



This PR has been generated by Mend Renovate. View repository job log here.

socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/chai@4.3.11 None 0 76.8 kB types
npm/chai@4.4.1 None +7 923 kB keithamus
npm/check-error@1.0.3 None +1 23 kB keithamus
npm/get-func-name@2.0.2 None 0 8.68 kB keithamus
npm/loupe@2.3.7 None +1 66.8 kB keithamus

🚮 Removed packages: npm/@types/chai@4.3.5, npm/chai@4.3.7, npm/check-error@1.0.2, npm/get-func-name@2.0.0, npm/loupe@2.3.6

View full report↗︎

github-actions[bot] commented 7 months ago

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit d99a04a177fcb86921a2b013669096933f03feb4

coverage: 47.1% of statements across all listed packages
coverage:  57.2% of statements in consensus/istanbul
coverage:  23.7% of statements in consensus/istanbul/announce
coverage:  54.4% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  65.8% of statements in consensus/istanbul/core
coverage:  45.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.2% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
github-actions[bot] commented 7 months ago

5880 passed, 1 failed, 45 skipped

Test failures:
  TestPriorityClient: geth

    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json] 
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.347] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.349] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.349] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.349] Allocated cache and file handles         database=/tmp/geth-test537547127/celo/chaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.420] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.422] Persisted trie from memory database      nodes=4 size=566.00B time="93.371µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.422] Successfully wrote genesis state         database=chaindata                              hash=9195f2..122dcd
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.422] Allocated cache and file handles         database=/tmp/geth-test537547127/celo/lightchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.452] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.453] Persisted trie from memory database      nodes=4 size=566.00B time="45.423µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.453] Successfully wrote genesis state         database=lightchaindata                         hash=9195f2..122dcd
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.453] Allocated cache and file handles         database=/tmp/geth-test537547127/celo/lightestchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.461] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.462] Persisted trie from memory database      nodes=4 size=566.00B time="33.661µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [01-25|15:55:57.462] Successfully wrote genesis state         database=lightestchaindata                      hash=9195f2..122dcd
    les_test.go:130: Importing keys to geth
    test_cmd.go:262: (stderr:32) INFO [01-25|15:55:57.500] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:32) INFO [01-25|15:55:57.501] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:32) INFO [01-25|15:55:57.501] Set global gas cap                       cap=25,000,000
    les_test.go:99: Starting lightserver with rpc: [--networkid=42 --port=0 --ipcpath geth-1.ipc --allow-insecure-unlock --datadir /tmp/geth-test537547127 --password ./testdata/password.txt --unlock 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --mine --miner.validator 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --tx-fee-recipient 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --light.serve=100 --light.maxpeers=1 --nodiscover --nat=extip:127.0.0.1 --verbosity=4]
    test_cmd.go:262: (stderr:33) INFO [01-25|15:55:57.736] Maximum peer count                       ETH=175 LES=1 total=176
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:55:57.738] FS scan times                            list="50.275µs" set="3.535µs" diff="2.562µs"
    test_cmd.go:262: (stderr:33) WARN [01-25|15:55:57.738] LES server cannot serve old transaction status and cannot connect below les/4 protocol version if transaction lookup index is limited 
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:55:57.738] Sanitizing Go's GC trigger               percent=100
    test_cmd.go:262: (stderr:33) INFO [01-25|15:55:57.739] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:33) INFO [01-25|15:55:57.739] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:33) INFO [01-25|15:55:57.739] Allocated trie memory caches             clean=154.00MiB dirty=256.00MiB
    test_cmd.go:262: (stderr:33) INFO [01-25|15:55:57.739] Allocated cache and file handles         database=/tmp/geth-test537547127/celo/chaindata cache=512.00MiB handles=524,288
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:55:58.763] Chain freezer table opened               database=/tmp/geth-test537547127/celo/chaindata/ancient table=bodies items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:55:58.796] Chain freezer table opened               database=/tmp/geth-test537547127/celo/chaindata/ancient table=receipts items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:55:59.150] Chain freezer table opened               database=/tmp/geth-test537547127/celo/chaindata/ancient table=diffs    items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:55:59.946] Chain freezer table opened               database=/tmp/geth-test537547127/celo/chaindata/ancient table=headers  items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:56:00.601] Chain freezer table opened               database=/tmp/geth-test537547127/celo/chaindata/ancient table=hashes   items=0 size=0.00B
    test_cmd.go:262: (stderr:33) INFO [01-25|15:56:00.601] Opened ancient database                  database=/tmp/geth-test537547127/celo/chaindata/ancient readonly=false
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:56:00.601] Current full block not old enough        number=0 hash=9195f2..122dcd delay=90000
    test_cmd.go:262: (stderr:33) INFO [01-25|15:56:00.601] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Churrito: <nil>, Donut: <nil>, Espresso: <nil>, Gingerbread: <nil>, Gingerbread P2: <nil>, Engine: istanbul}"
    test_cmd.go:262: (stderr:33) DEBUG[01-25|15:56:00.602] Setting up Istanbul consensus engine 
    les_test.go:115: lightserver rpc connect to /tmp/geth-test537547127/geth-1.ipc: dial unix /tmp/geth-test537547127/geth-1.ipc: connect: no such file or directory
This test report was produced by the test-summary action.  Made with ❤️ in Cambridge.
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (755b653) 55.06% compared to head (eb5b6e4) 55.10%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2237 +/- ## ========================================== + Coverage 55.06% 55.10% +0.03% ========================================== Files 683 683 Lines 114533 114533 ========================================== + Hits 63073 63113 +40 + Misses 47562 47517 -45 - Partials 3898 3903 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.