Maarufu: Data ilisasishwa 27 Oktoba 2026

Kategoria

Intaneti1,356
Mawasiliano321
Sauti na video898
Michoro na usanifu539
Ofisi na tija1,124
Zana za wasanidi3,134
Zana za AI529
Usalama na faragha385
Zana za mfumo3,114
Michezo523
Elimu na sayansi239
Mtandao na TEHAMA284

Pakua Node.js 22 22.8.0

Run JavaScript Everywhere

Hili ni toleo la zamani. Toleo la sasa ni 22.23.4. Node.js 22 22.23.4 · Lilitolewa:

Faili za kisakinishi 22.8.0

UsanifuAinaUpeoUkubwa wa failiPakuaSHA256
64-bit MSI Watumiaji wote — nodejs.org VirusTotal
ARM64 MSI Watumiaji wote — nodejs.org VirusTotal
32-bit MSI Watumiaji wote — nodejs.org VirusTotal

Kiungo na SHA256 vinatoka kwenye manifest ya jumuiya ya Windows Package Manager. Linganisha hashi ya faili uliyopakua kabla ya kuiendesha.

Maelezo ya toleo

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

https://github.com/nodejs/node/releases/tag/v22.8.0

Maarufu zaidi katika IDE na vihariri vya msimbo

Ona zote
  1. OpenCodeIDE na vihariri vya msimbo · OpenCode
  2. RStudioIDE na vihariri vya msimbo · Posit Software
  3. Node.js (LTS)IDE na vihariri vya msimbo · Node.js Foundation
  4. Apache NetBeansIDE na vihariri vya msimbo · Apache NetBeans
  5. VSCodiumIDE na vihariri vya msimbo · VSCodium
  6. HaxeIDE na vihariri vya msimbo · Haxe Foundation
  7. ThonnyIDE na vihariri vya msimbo · Aivar Annamaa
  8. GDevelopIDE na vihariri vya msimbo · GDevelop Team
  9. mkcertIDE na vihariri vya msimbo · FiloSottile
  10. ProcessingIDE na vihariri vya msimbo · Processing Foundation

Zaidi kutoka Node.js Foundation

Ona zote
  • Node.js (LTS)IDE na vihariri vya msimbo · Node.js Foundation
  • Node.jsIDE na vihariri vya msimbo · Node.js Foundation
  • Node.js 14IDE na vihariri vya msimbo · Node.js Foundation
  • Node.js 16IDE na vihariri vya msimbo · Node.js Foundation
  • Node.js 18IDE na vihariri vya msimbo · Node.js Foundation
  • Node.js 20IDE na vihariri vya msimbo · Node.js Foundation

Lebo

Shiriki