Skip to content

chore(deps): update all non-major dependencies #136

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

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
node (source) minor 20 -> 20.19.1 age adoption passing confidence
tsup (source) devDependencies minor 8.0.2 -> 8.4.0 age adoption passing confidence
typescript (source) devDependencies minor 5.4.4 -> 5.8.3 age adoption passing confidence

Release Notes

nodejs/node (node)

v20.19.1

Compare Source

v20.19.0: 2025-03-13, Version 20.19.0 'Iron' (LTS), @​marco-ippolito

Compare Source

Notable Changes
require(esm) is now enabled by default

Support for loading native ES modules using require() had been available on v20.x under the command line flag --experimental-require-module, and available by default on v22.x and v23.x. In this release, it is now no longer behind a flag on v20.x.

This feature has been tested on v23.x and v22.x, and we are looking for user feedback from v20.x to make more final tweaks before fully stabilizing it. When the Node.js instance encounters a native ES module in require() somewhere outside node_modules for the first time, it will emit an experimental warning unless require() comes from a path that contains node_modules. If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using --no-experimental-require-module as a workaround.

With this feature enabled, Node.js will no longer throw ERR_REQUIRE_ESM if require() is used to load a ES module. It can, however, throw ERR_REQUIRE_ASYNC_MODULE if the ES module being loaded or its dependencies contain top-level await. When the ES module is loaded successfully by require(), the returned object will either be a ES module namespace object similar to what's returned by import(), or what gets exported as "module.exports" in the ES module.

Users can check process.features.require_module to see whether require(esm) is enabled in the current Node.js instance. For packages, the "module-sync" exports condition can be used as a way to detect require(esm) support in the current Node.js instance and allow both require() and import to load the same native ES module. See the documentation for more details about this feature.

Contributed by Joyee Cheung in #​55085

Module syntax detection is now enabled by default

Module syntax detection (the --experimental-detect-module flag) is now
enabled by default. Use --no-experimental-detect-module to disable it if
needed.

Syntax detection attempts to run ambiguous files as CommonJS, and if the module
fails to parse as CommonJS due to ES module syntax, Node.js tries again and runs
the file as an ES module.
Ambiguous files are those with a .js or no extension, where the nearest parent
package.json has no "type" field (either "type": "module" or
"type": "commonjs").
Syntax detection should have no performance impact on CommonJS modules, but it
incurs a slight performance penalty for ES modules; add "type": "module" to
the nearest parent package.json file to eliminate the performance cost.
A use case unlocked by this feature is the ability to use ES module syntax in
extensionless scripts with no nearby package.json.

Thanks to Geoffrey Booth for making this work on #​53619.

Other Notable Changes
  • [285bb4ee14] - crypto: update root certificates to NSS 3.107 (Node.js GitHub Bot) #​56566
  • [73b5c16684] - (SEMVER-MINOR) worker: add postMessageToThread (Paolo Insogna) #​53682
  • [de313b2336] - (SEMVER-MINOR) module: only emit require(esm) warning under --trace-require-module (Joyee Cheung) #​56194
  • [4fba01911d] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #​55241
  • [df8a045afe] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #​54648
  • [f9dc1eaef5] - (SEMVER-MINOR) module: add __esModule to require()'d ESM (Joyee Cheung) #​52166
Commits

v20.18.3: 2025-02-10, Version 20.18.3 'Iron' (LTS), @​marco-ippolito

Compare Source

Notable Changes
Commits

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 label Apr 8, 2024
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@renovate renovate bot changed the title chore(deps): update dependency rollup to ^4.14.1 chore(deps): update all non-major dependencies Apr 9, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 0d7f87a to c397375 Compare April 15, 2024 07:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from c07eace to 0ae8156 Compare April 22, 2024 15:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 0366fa1 to dd2995c Compare April 30, 2024 06:17
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 76abce3 to c2ce755 Compare May 8, 2024 16:57
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 9f09fb7 to 6257478 Compare May 12, 2024 23:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 98e9f54 to 4fbfebd Compare March 13, 2025 15:02
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from f24d3a4 to f3f1aa3 Compare March 24, 2025 13:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 7fd6693 to a96ee93 Compare April 2, 2025 05:23
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 4636f4d to 290f83a Compare April 5, 2025 01:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 290f83a to 3c999b8 Compare April 12, 2025 09:38
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 106e0d5 to ecd2a0c Compare April 22, 2025 06:26
@renovate renovate bot changed the title fix(deps): update all non-major dependencies chore(deps): update all non-major dependencies Apr 22, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ecd2a0c to 8bf3a2b Compare April 22, 2025 10:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8bf3a2b to 7226608 Compare April 22, 2025 10:54
@renovate renovate bot merged commit c83664c into main Apr 22, 2025
6 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch April 22, 2025 17:04
Copy link

🎉 This PR is included in version 1.5.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants