module: resolve and instantiate loader pipeline hooks by guybedford · Pull Request #15445 · nodejs/node
added
the
lib / src
label
guybedford
changed the title
Loader pipeline resolver and loader hooking
Module pipeline resolver and loader hooking
bcoe
mentioned this pull request
3 tasks
bmeck
mentioned this pull request
Trott
mentioned this pull request
bcoe
mentioned this pull request
5 tasks
targos pushed a commit that referenced this pull request
This enables a --loader flag for Node, which can provide custom "resolve" and "dynamicInstantiate" methods for custom ES module loading. In the process, module providers have been converted from classes into functions and the module APIs have been made to pass URL strings over objects. PR-URL: #15445 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
targos pushed a commit that referenced this pull request
This enables a --loader flag for Node, which can provide custom "resolve" and "dynamicInstantiate" methods for custom ES module loading. In the process, module providers have been converted from classes into functions and the module APIs have been made to pass URL strings over objects. PR-URL: #15445 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
azz
mentioned this pull request
2 tasks
azz added a commit to azz/node that referenced this pull request
Add `"dynamic"` to the list of supported `format`s returned by a custom resolve hook. Add a table describing the meaning of each `format`. Refs: nodejs#15445
MylesBorins added a commit that referenced this pull request
Notable Changes:
* crypto:
- expose ECDH class
#8188
* http2:
- http2 is now exposed by defualt without the need for a flag
#15685
- a new environment varible NODE\_NO\_HTTP2 has been added to allow
userland http2 to be required
#15685
- support has been added for generic `Duplex` streams
#16269
* module:
- resolve and instantiate loader pipeline hooks have been added to
the ESM lifecycle
#15445
* zlib:
- CVE-2017-14919 - In zlib v1.2.9, a change was made that causes an
error to be raised when a raw deflate stream is initialized with
windowBits set to 8. On some versions this crashes Node and you
cannot recover from it, while on some versions it throws an
exception. Node.js will now gracefully set windowBits to 9
replicating the legacy behavior to avoid a DOS vector.
https://github.com/nodejs-private/node-private/pull/95
PR-URL: https://github.com/nodejs-private/node-private/pull/98
addaleax pushed a commit to ayojs/ayo that referenced this pull request
Notable Changes:
* crypto:
- expose ECDH class
nodejs/node#8188
* http2:
- http2 is now exposed by defualt without the need for a flag
nodejs/node#15685
- a new environment varible NODE\_NO\_HTTP2 has been added to allow
userland http2 to be required
nodejs/node#15685
- support has been added for generic `Duplex` streams
nodejs/node#16269
* module:
- resolve and instantiate loader pipeline hooks have been added to
the ESM lifecycle
nodejs/node#15445
* zlib:
- CVE-2017-14919 - In zlib v1.2.9, a change was made that causes an
error to be raised when a raw deflate stream is initialized with
windowBits set to 8. On some versions this crashes Node and you
cannot recover from it, while on some versions it throws an
exception. Node.js will now gracefully set windowBits to 9
replicating the legacy behavior to avoid a DOS vector.
nodejs-private/node-private#95
PR-URL: nodejs-private/node-private#98
targos pushed a commit that referenced this pull request
Add `"dynamic"` to the list of supported `format`s returned by a custom resolve hook. Add a table describing the meaning of each `format`. PR-URL: #16375 Refs: #15445 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
addaleax pushed a commit to ayojs/ayo that referenced this pull request
Notable Changes:
* crypto:
- expose ECDH class
nodejs/node#8188
* http2:
- http2 is now exposed by defualt without the need for a flag
nodejs/node#15685
- a new environment varible NODE\_NO\_HTTP2 has been added to allow
userland http2 to be required
nodejs/node#15685
- support has been added for generic `Duplex` streams
nodejs/node#16269
* module:
- resolve and instantiate loader pipeline hooks have been added to
the ESM lifecycle
nodejs/node#15445
* zlib:
- CVE-2017-14919 - In zlib v1.2.9, a change was made that causes an
error to be raised when a raw deflate stream is initialized with
windowBits set to 8. On some versions this crashes Node and you
cannot recover from it, while on some versions it throws an
exception. Node.js will now gracefully set windowBits to 9
replicating the legacy behavior to avoid a DOS vector.
nodejs-private/node-private#95
PR-URL: nodejs-private/node-private#98
MylesBorins pushed a commit that referenced this pull request
Add `"dynamic"` to the list of supported `format`s returned by a custom resolve hook. Add a table describing the meaning of each `format`. PR-URL: #16375 Refs: #15445 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
MylesBorins pushed a commit that referenced this pull request
Add `"dynamic"` to the list of supported `format`s returned by a custom resolve hook. Add a table describing the meaning of each `format`. PR-URL: #16375 Refs: #15445 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
gibfahn pushed a commit that referenced this pull request
Add `"dynamic"` to the list of supported `format`s returned by a custom resolve hook. Add a table describing the meaning of each `format`. PR-URL: #16375 Refs: #15445 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
gibfahn pushed a commit that referenced this pull request
Add `"dynamic"` to the list of supported `format`s returned by a custom resolve hook. Add a table describing the meaning of each `format`. PR-URL: #16375 Refs: #15445 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>