Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update node.js to v22.8.0 #1564

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2024

This PR contains the following updates:

Package Type Update Change
node final minor 22.2.0-alpine3.19 -> 22.8.0-alpine3.19

Release Notes

nodejs/node (node)

v22.8.0: 2024-09-03, Version 22.8.0 (Current), @​RafaelGSS

Compare Source

New JS API for compile cache

This release adds a new API module.enableCompileCache() that can be used to enable on-disk code caching of all modules loaded after this API is called.
Previously this could only be enabled by the NODE_COMPILE_CACHE environment variable, so it could only set by end-users.
This API allows tooling and library authors to enable caching of their own code.
This is a built-in alternative to the v8-compile-cache/v8-compile-cache-lib packages,
but have better performance and supports ESM.

Thanks to Joyee Cheung for working on this.

New option for vm.createContext() to create a context with a freezable globalThis

Node.js implements a flavor of vm.createContext() and friends that creates a context without contextifying its global
object when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.

Thanks to Joyee Cheung for working on this.

Support for coverage thresholds

Node.js now supports requiring code coverage to meet a specific threshold before the process exits successfully.
To use this feature, you need to enable the --experimental-test-coverage flag.

You can set thresholds for the following types of coverage:

  • Branch coverage: Use --test-coverage-branches=<threshold>
  • Function coverage: Use --test-coverage-functions=<threshold>
  • Line coverage: Use --test-coverage-lines=<threshold>

<threshold> should be an integer between 0 and 100. If an invalid value is provided, a TypeError will be thrown.

If the code coverage fails to meet the specified thresholds for any category, the process will exit with code 1.

For instance, to enforce a minimum of 80% line coverage and 60% branch coverage, you can run:

$ node --experimental-test-coverage --test-coverage-lines=80 --test-coverage-branches=60 example.js

Thanks Aviv Keller for working on this.

Other Notable Changes
  • [1f2cc2fa47] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #​54413
  • [1e01bdc0d0] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #​54264
  • [97fa075c2e] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #​53927
  • [858b583c88] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #​53927
Commits

Configuration

📅 Schedule: Branch creation - "after 13:00 on monday" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 24, 2024
Copy link
Contributor Author

renovate bot commented Jun 24, 2024

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.

@renovate renovate bot enabled auto-merge June 24, 2024 17:25
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from d9f3bc1 to 49bd5ad Compare July 3, 2024 00:25
@renovate renovate bot changed the title chore(deps): update node.js to v22.3.0 chore(deps): update node.js to v22.4.0 Jul 3, 2024
@renovate renovate bot changed the title chore(deps): update node.js to v22.4.0 chore(deps): update node.js to v22.4.1 Jul 9, 2024
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from d628548 to 9227e27 Compare July 18, 2024 17:59
@renovate renovate bot changed the title chore(deps): update node.js to v22.4.1 chore(deps): update node.js to v22.5.0 Jul 18, 2024
@renovate renovate bot changed the title chore(deps): update node.js to v22.5.0 chore(deps): update node.js to v22.5.1 Jul 19, 2024
@renovate renovate bot changed the title chore(deps): update node.js to v22.5.1 chore(deps): update node docker tag to v22.5.1 Aug 6, 2024
@renovate renovate bot changed the title chore(deps): update node docker tag to v22.5.1 chore(deps): update node docker tag to v22.6.0 Aug 6, 2024
@renovate renovate bot changed the title chore(deps): update node docker tag to v22.6.0 chore(deps): update node docker tag to v22.7.0 Aug 22, 2024
@renovate renovate bot changed the title chore(deps): update node docker tag to v22.7.0 chore(deps): update node.js to v22.7.0 Aug 28, 2024
@renovate renovate bot changed the title chore(deps): update node.js to v22.7.0 chore(deps): update node.js to v22.8.0 Sep 4, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants