Up to [cvs.NetBSD.org] / pkgsrc / lang / nodejs / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
nodejs: updated to 18.1.0 Version 18.1.0 (Current) Notable Changes - doc: add @kuriyosh to collaborators (Yoshiki Kurihara) - (SEMVER-MINOR) lib,src: implement WebAssembly Web API (Tobias Nießen) - (SEMVER-MINOR) test_runner: add initial CLI runner (Colin Ihrig) - (SEMVER-MINOR) worker: add hasRef() to MessagePort (Darshan Sen) Version 18.0.0 (Current) Node.js 18 is here! Highlights include the update of the V8 JavaScript engine to 10.1, global fetch enabled by default, and a core test runner module. Initially, Node.js 18 will replace Node.js 17 as our ‘Current’ release line. As per the release schedule, Node.js 18 will be the ‘Current’ release for the next 6 months and then promoted to Long-term Support (LTS) in October 2022. Once promoted to long-term support the release will be designated the codename ‘Hydrogen’. Node.js 18 will be supported until April 2025. Notable Changes Deprecations and Removals (SEMVER-MAJOR) fs: runtime deprecate string coercion in fs.write, fs.writeFileSync (Livia Medeiros) (SEMVER-MAJOR) dns: remove dns.lookup and dnsPromises.lookup options type coercion (Antoine du Hamel) (SEMVER-MAJOR) process: runtime deprecate multipleResolves (Benjamin Gruenbaum) (SEMVER-MAJOR) stream: remove thenable support (Robert Nagy) (SEMVER-MAJOR) tls: move tls.parseCertString to end-of-life (Tobias Nießen)
nodejs: updated to 13.3.0 Version 13.3.0: Notable Changes fs: Reworked experimental recursive rmdir() The maxBusyTries option is renamed to maxRetries, and its default is set to 0. The emfileWait option has been removed, and EMFILE errors use the same retry logic as other errors. The retryDelay option is now supported. ENFILE errors are now retried. http: Make maximum header size configurable per-stream or per-server http2: Make maximum tolerated rejected streams configurable Allow to configure maximum tolerated invalid frames wasi: Introduce initial WASI support
nodejs: don't invert notion of code. from Mike Pumford.
Update lang/nodejs to 8.0.0
Node.js 8.0.0 is a major new release that includes a significant number of
semver-major and semver-minor changes. Notable changes are listed below.
The Node.js 8.x release branch is scheduled to become the next actively
maintained Long Term Support (LTS) release line in October, 2017 under the
LTS codename 'Carbon'.
### Notable Changes
* Async Hooks
* The `async_hooks` module has landed in core
* Buffer
* Using the `--pending-deprecation` flag will cause Node.js to emit a
deprecation warning when using `new Buffer(num)` or `Buffer(num)`.
* `new Buffer(num)` and `Buffer(num)` will zero-fill new `Buffer` instances
* Many `Buffer` methods now accept `Uint8Array` as input
* Child Process
* Argument and kill signal validations have been improved
* Child Process methods accept `Uint8Array` as input
* Console
* Error events emitted when using `console` methods are now supressed.
* Dependencies
* The npm client has been updated to 5.0.0
* V8 has been updated to 5.8 with forward ABI stability to 6.0
* Domains
* Native `Promise` instances are now `Domain` aware
* Errors
* We have started assigning static error codes to errors generated by Node.js.
This has been done through multiple commits and is still a work in
progress.
* File System
* The utility class `fs.SyncWriteStream` has been deprecated
* The deprecated `fs.read()` string interface has been removed
* HTTP
* Improved support for userland implemented Agents
* Outgoing Cookie headers are concatenated into a single string
* The `httpResponse.writeHeader()` method has been deprecated
* New methods for accessing HTTP headers have been added to `OutgoingMessage`
* Lib
* All deprecation messages have been assigned static identifiers
* The legacy `linkedlist` module has been removed
* N-API
* Experimental support for the new N-API API has been added
* Process
* Process warning output can be redirected to a file using the
`--redirect-warnings` command-line argument
* Process warnings may now include additional detail
* REPL
* REPL magic mode has been deprecated
* Src
* `NODE_MODULE_VERSION` has been updated to 57
* Add `--pending-deprecation` command-line argument and
`NODE_PENDING_DEPRECATION` environment variable
* The `--debug` command-line argument has been deprecated. Note that
using `--debug` will enable the *new* Inspector-based debug protocol
as the legacy Debugger protocol previously used by Node.js has been
removed.
* Throw when the `-c` and `-e` command-line arguments are used at the same
time
* Throw when the `--use-bundled-ca` and `--use-openssl-ca` command-line
arguments are used at the same time.
* Stream
* `Stream` now supports `destroy()` and `_destroy()` APIs
* `Stream` now supports the `_final()` API
* TLS
* The `rejectUnauthorized` option now defaults to `true`
* The `tls.createSecurePair()` API now emits a runtime deprecation
* A runtime deprecation will now be emitted when `dhparam` is less than
2048 bits
* URL
* The WHATWG URL implementation is now a fully-supported Node.js API
* Util
* `Symbol` keys are now displayed by default when using `util.inspect()`
* `toJSON` errors will be thrown when formatting `%j`
* Convert `inspect.styles` and `inspect.colors` to prototype-less objects
* The new `util.promisify()` API has been added
* Zlib
* Support `Uint8Array` in Zlib convenience methods
* Zlib errors now use `RangeError` and `TypeError` consistently