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

Hide internals from modern Node.js versions #65

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

jonkoops
Copy link
Collaborator

Newer versions of Node.js (14 or higher) prefix their internal files with node:internal (older version use internal without the node: prefix). This adds an extra check for newer Node.js versions to ensure internal files of the stack are not printed, for example when running node ./example.js:

Before:

# Timeout
node:internal/async_hooks:202                                 
node:internal/async_hooks:505                                 
node:internal/timers:160                                      
node:internal/timers:194                                      
/Users/jon/Projects/personal/why-is-node-running/example.js:6  - setInterval(function () {}, 1000)
/Users/jon/Projects/personal/why-is-node-running/example.js:10 - createServer()
node:internal/modules/cjs/loader:1460                         
node:internal/modules/cjs/loader:1544                         

# TCPSERVERWRAP
node:internal/async_hooks:202                                 
/Users/jon/Projects/personal/why-is-node-running/example.js:7  - server.listen(0)
/Users/jon/Projects/personal/why-is-node-running/example.js:10 - createServer()
node:internal/modules/cjs/loader:1460                         
node:internal/modules/cjs/loader:1544                         

# Timeout
node:internal/async_hooks:202                                 
node:internal/async_hooks:505                                 
node:internal/timers:160                                      
node:internal/timers:194                                      
/Users/jon/Projects/personal/why-is-node-running/example.js:6  - setInterval(function () {}, 1000)
/Users/jon/Projects/personal/why-is-node-running/example.js:11 - createServer()
node:internal/modules/cjs/loader:1460                         
node:internal/modules/cjs/loader:1544                         

# TCPSERVERWRAP
node:internal/async_hooks:202                                 
/Users/jon/Projects/personal/why-is-node-running/example.js:7  - server.listen(0)
/Users/jon/Projects/personal/why-is-node-running/example.js:11 - createServer()
node:internal/modules/cjs/loader:1460                         
node:internal/modules/cjs/loader:1544                         

# Timeout
node:internal/async_hooks:202                                 
node:internal/async_hooks:505                                 
node:internal/timers:160                                      
node:internal/timers:194                                      
/Users/jon/Projects/personal/why-is-node-running/example.js:13 - setTimeout(function () {
node:internal/modules/cjs/loader:1460                         
node:internal/modules/cjs/loader:1544                         
node:internal/modules/cjs/loader:1275

After

# Timeout
/Users/jon/Projects/personal/why-is-node-running/example.js:6  - setInterval(function () {}, 1000)
/Users/jon/Projects/personal/why-is-node-running/example.js:10 - createServer()

# TCPSERVERWRAP
/Users/jon/Projects/personal/why-is-node-running/example.js:7  - server.listen(0)
/Users/jon/Projects/personal/why-is-node-running/example.js:10 - createServer()

# Timeout
/Users/jon/Projects/personal/why-is-node-running/example.js:6  - setInterval(function () {}, 1000)
/Users/jon/Projects/personal/why-is-node-running/example.js:11 - createServer()

# TCPSERVERWRAP
/Users/jon/Projects/personal/why-is-node-running/example.js:7  - server.listen(0)
/Users/jon/Projects/personal/why-is-node-running/example.js:11 - createServer()

# Timeout
/Users/jon/Projects/personal/why-is-node-running/example.js:13 - setTimeout(function () {

Signed-off-by: Jon Koops <jonkoops@gmail.com>
@mafintosh mafintosh merged commit c080fe9 into mafintosh:master Jul 6, 2024
@jonkoops jonkoops deleted the fix-internal-hide branch July 8, 2024 10:18
github-merge-queue bot referenced this pull request in rolldown/rolldown Jul 15, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-core))
| [`7.24.7` ->
`7.24.9`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.24.7/7.24.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.24.7/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.24.7/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@babel/preset-env](https://babel.dev/docs/en/next/babel-preset-env)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-preset-env))
| [`7.24.7` ->
`7.24.8`](https://renovatebot.com/diffs/npm/@babel%2fpreset-env/7.24.7/7.24.8)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fpreset-env/7.24.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fpreset-env/7.24.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fpreset-env/7.24.7/7.24.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fpreset-env/7.24.7/7.24.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs) |
[`3.0.0-alpha.57` ->
`3.0.0-alpha.58`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.57/3.0.0-alpha.58)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.0.0-alpha.58?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.0.0-alpha.58?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.0.0-alpha.57/3.0.0-alpha.58?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.0.0-alpha.57/3.0.0-alpha.58?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [glob](https://togithub.com/isaacs/node-glob) | [`10.4.3` ->
`10.4.5`](https://renovatebot.com/diffs/npm/glob/10.4.3/10.4.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/glob/10.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/glob/10.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/glob/10.4.3/10.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/glob/10.4.3/10.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [npm-rolldown](https://rolldown.rs/)
([source](https://togithub.com/rolldown/rolldown/tree/HEAD/packages/rolldown))
| [`0.11.0` ->
`0.12.1`](https://renovatebot.com/diffs/npm/npm-rolldown/0.11.0/0.12.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/npm-rolldown/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/npm-rolldown/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/npm-rolldown/0.11.0/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/npm-rolldown/0.11.0/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [oxlint](https://oxc.rs)
([source](https://togithub.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) |
[`0.5.3` ->
`0.6.0`](https://renovatebot.com/diffs/npm/oxlint/0.5.3/0.6.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.5.3/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.5.3/0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) |
[`9.4.0` -> `9.5.0`](https://renovatebot.com/diffs/npm/pnpm/9.4.0/9.5.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/9.4.0/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/9.4.0/9.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`3.3.2` ->
`3.3.3`](https://renovatebot.com/diffs/npm/prettier/3.3.2/3.3.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.3.2/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.3.2/3.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [rollup](https://rollupjs.org/)
([source](https://togithub.com/rollup/rollup)) | [`4.18.0` ->
`4.18.1`](https://renovatebot.com/diffs/npm/rollup/4.18.0/4.18.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/rollup/4.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rollup/4.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rollup/4.18.0/4.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rollup/4.18.0/4.18.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [terser](https://terser.org)
([source](https://togithub.com/terser/terser)) | [`5.31.1` ->
`5.31.2`](https://renovatebot.com/diffs/npm/terser/5.31.1/5.31.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/terser/5.31.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/terser/5.31.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/terser/5.31.1/5.31.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/terser/5.31.1/5.31.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitepress](https://vitepress.dev/)
([source](https://togithub.com/vuejs/vitepress)) | [`1.3.0` ->
`1.3.1`](https://renovatebot.com/diffs/npm/vitepress/1.3.0/1.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitepress/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitepress/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitepress/1.3.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitepress/1.3.0/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[why-is-node-running](https://togithub.com/mafintosh/why-is-node-running)
| [`2.2.2` ->
`2.3.0`](https://renovatebot.com/diffs/npm/why-is-node-running/2.2.2/2.3.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/why-is-node-running/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/why-is-node-running/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/why-is-node-running/2.2.2/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/why-is-node-running/2.2.2/2.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.24.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7249-2024-07-15)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.8...v7.24.9)

##### 🐛 Bug Fix

-   `babel-core`, `babel-standalone`
- [#&#8203;16639](https://togithub.com/babel/babel/pull/16639) Avoid
`require()` call in `@babel/standalone` bundle
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-types`
- [#&#8203;16638](https://togithub.com/babel/babel/pull/16638) fix:
provide legacy typings for TS < 4.1
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 💅 Polish

-   `babel-generator`, `babel-plugin-transform-optional-chaining`
- [#&#8203;16617](https://togithub.com/babel/babel/pull/16617) Avoid
extra parens in TS `as`/`satisfies`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-helper-module-transforms`
- [#&#8203;16629](https://togithub.com/babel/babel/pull/16629) Lazy
top-level initializations for module transforms
([@&#8203;guybedford](https://togithub.com/guybedford))

###
[`v7.24.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.7...v7.24.8)

##### 👓 Spec Compliance

-   `babel-parser`
- [#&#8203;16567](https://togithub.com/babel/babel/pull/16567) Do not
use strict mode in TS `declare`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🐛 Bug Fix

-   `babel-generator`
- [#&#8203;16630](https://togithub.com/babel/babel/pull/16630) Correctly
print parens around `in` in `for` heads
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16626](https://togithub.com/babel/babel/pull/16626) Fix
printing of comments in `await using`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16591](https://togithub.com/babel/babel/pull/16591) fix
typescript code generation for yield expression inside type expre…
([@&#8203;SreeXD](https://togithub.com/SreeXD))
-   `babel-parser`
- [#&#8203;16613](https://togithub.com/babel/babel/pull/16613) Disallow
destructuring assignment in `using` declarations
([@&#8203;H0onnn](https://togithub.com/H0onnn))
- [#&#8203;16490](https://togithub.com/babel/babel/pull/16490) fix: do
not add `.value: undefined` to regexp literals
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-types`
- [#&#8203;16615](https://togithub.com/babel/babel/pull/16615) Remove
boolean props from `ObjectTypeInternalSlot` visitor keys
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-typescript`
- [#&#8203;16566](https://togithub.com/babel/babel/pull/16566) fix:
Correctly handle `export import x =`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 💅 Polish

-   `babel-generator`
- [#&#8203;16625](https://togithub.com/babel/babel/pull/16625) Avoid
unnecessary parens around `async` in `for await`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-traverse`
- [#&#8203;16619](https://togithub.com/babel/babel/pull/16619) Avoid
checking `Scope.globals` multiple times
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

</details>

<details>
<summary>napi-rs/napi-rs (@&#8203;napi-rs/cli)</summary>

###
[`v3.0.0-alpha.58`](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.57...@napi-rs/cli@3.0.0-alpha.58)

[Compare
Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.57...@napi-rs/cli@3.0.0-alpha.58)

</details>

<details>
<summary>isaacs/node-glob (glob)</summary>

###
[`v10.4.5`](https://togithub.com/isaacs/node-glob/compare/v10.4.4...v10.4.5)

[Compare
Source](https://togithub.com/isaacs/node-glob/compare/v10.4.4...v10.4.5)

###
[`v10.4.4`](https://togithub.com/isaacs/node-glob/compare/v10.4.3...v10.4.4)

[Compare
Source](https://togithub.com/isaacs/node-glob/compare/v10.4.3...v10.4.4)

</details>

<details>
<summary>rolldown/rolldown (npm-rolldown)</summary>

###
[`v0.12.1`](https://togithub.com/rolldown/rolldown/releases/tag/v0.12.1)

[Compare
Source](https://togithub.com/rolldown/rolldown/compare/v0.12.0...v0.12.1)

#### Important features

-   Support minify output using `OutputOptions#minify`
- Experimental output that strictly respect execution order
[https://github.com/rolldown/rolldown/pull/1568](https://togithub.com/rolldown/rolldown/pull/1568)
-   Support emit IIFE output

#### What's Changed

Please refer to
https://github.com/rolldown/rolldown/blob/main/CHANGELOG.md.

#### New Contributors

- [@&#8203;rzvxa](https://togithub.com/rzvxa) made their first
contribution in
[https://github.com/rolldown/rolldown/pull/1560](https://togithub.com/rolldown/rolldown/pull/1560)
- [@&#8203;brenner8023](https://togithub.com/brenner8023) made their
first contribution in
[https://github.com/rolldown/rolldown/pull/1563](https://togithub.com/rolldown/rolldown/pull/1563)

**Full Changelog**:
v0.11.1...v0.12.1

###
[`v0.12.0`](https://togithub.com/rolldown/rolldown/blob/HEAD/CHANGELOG.md#0120-2024-07-14)

[Compare
Source](https://togithub.com/rolldown/rolldown/compare/v0.11.1...v0.12.0)

##### Bug Fixes

- align using declaration side effects detection with esbuild.
([#&#8203;1593](https://togithub.com/rolldown/rolldown/issues/1593))
([e7747fc](https://togithub.com/rolldown/rolldown/commit/e7747fc8c59721bd0bcad86bdc913682368ebaab))
- class property and object key side effects detection
([#&#8203;1599](https://togithub.com/rolldown/rolldown/issues/1599))
([46f0ec9](https://togithub.com/rolldown/rolldown/commit/46f0ec9489788a9925e02a2df7f6a2c7727fa391))
- chunk modules should include empty module
([#&#8203;1583](https://togithub.com/rolldown/rolldown/issues/1583))
([4790d46](https://togithub.com/rolldown/rolldown/commit/4790d46f81c37e387c1c852ff16b8729a188cc1c))
- iife wrapper
([#&#8203;1584](https://togithub.com/rolldown/rolldown/issues/1584))
([593e87e](https://togithub.com/rolldown/rolldown/commit/593e87e63949e0223970e4140750be24e4dd53eb))
- InternalModuleFormat typing
([#&#8203;1580](https://togithub.com/rolldown/rolldown/issues/1580))
([c166094](https://togithub.com/rolldown/rolldown/commit/c1660942967a4dee4199e3269c55dfc800b1a43e))
- mixed multi declarator tree shake
([#&#8203;1566](https://togithub.com/rolldown/rolldown/issues/1566))
([1971e3b](https://togithub.com/rolldown/rolldown/commit/1971e3b3788fbd2ca7ad68ef2868e2e9ae196882))
- multi declarator tree shake
([#&#8203;1564](https://togithub.com/rolldown/rolldown/issues/1564))
([0cf1c22](https://togithub.com/rolldown/rolldown/commit/0cf1c225b64cfdad45c2d26bd35b67c3a5010200))
- object property tree shake
([#&#8203;1608](https://togithub.com/rolldown/rolldown/issues/1608))
([3536f00](https://togithub.com/rolldown/rolldown/commit/3536f00054822e5a814b25b541d486daa302ec82))
- remove unused pure comment call
([#&#8203;1597](https://togithub.com/rolldown/rolldown/issues/1597))
([42becf0](https://togithub.com/rolldown/rolldown/commit/42becf062de1d7d4e137ff1541390a11b2ba07c0))
- template literal side effects
([#&#8203;1594](https://togithub.com/rolldown/rolldown/issues/1594))
([7b011df](https://togithub.com/rolldown/rolldown/commit/7b011df0372d7a9186253c89882dec4172f846e6))

##### Features

- **experimental:** support strict execution order
([#&#8203;1568](https://togithub.com/rolldown/rolldown/issues/1568))
([0303f1f](https://togithub.com/rolldown/rolldown/commit/0303f1fdee8447c7ee65f1fe3c5e7b151d77e290))
- **node:** support `OutputOptions#minify` to minify js output
([#&#8203;1617](https://togithub.com/rolldown/rolldown/issues/1617))
([bcc4edc](https://togithub.com/rolldown/rolldown/commit/bcc4edce8831c1c31f30f9dc04d91a7fedc1f499))
- **output:** support emit output of iife format
([#&#8203;1570](https://togithub.com/rolldown/rolldown/issues/1570))
([7c9d537](https://togithub.com/rolldown/rolldown/commit/7c9d5374811d10dccaea9e54b1bd74d7d84eff88)),
closes
[/esbuild.github.io/try/#YgAwLjIzLjAALS1mb3JtYXQ9aWlmZSAtLWJ1bmRsZSAtLW91dGRpcj0iZGlzdCIAZQBlbnRyeS5qcwBpbXBvcnQoIi4vY2pzIikKaW1wb3J0KCIuL2VzbSIpLnRoZW4oKG0pID0](https://togithub.com//esbuild.github.io/try//issues/YgAwLjIzLjAALS1mb3JtYXQ9aWlmZSAtLWJ1bmRsZSAtLW91dGRpcj0iZGlzdCIAZQBlbnRyeS5qcwBpbXBvcnQoIi4vY2pzIikKaW1wb3J0KCIuL2VzbSIpLnRoZW4oKG0pID0)
- support OutputAsset#name
([#&#8203;1586](https://togithub.com/rolldown/rolldown/issues/1586))
([39a47dc](https://togithub.com/rolldown/rolldown/commit/39a47dc34ae6ee7e092a643c09d0882024c5e5bf))

##### Performance Improvements

- avoid unnecessary allocation
([#&#8203;1576](https://togithub.com/rolldown/rolldown/issues/1576))
([c609929](https://togithub.com/rolldown/rolldown/commit/c609929583a32e4a00ad2793fbb3fcad4dec09d6))
- don't clone the content while hashing
([#&#8203;1613](https://togithub.com/rolldown/rolldown/issues/1613))
([11dc8d8](https://togithub.com/rolldown/rolldown/commit/11dc8d82dc4c4b6fcc67f884c2ab7dfe13304829))

####
[0.11.1](https://togithub.com/rolldown/rolldown/compare/v0.11.0...v0.11.1)
(2024-07-09)

##### Bug Fixes

- `treeshake.moduleSideEffects` treeshake typing
([#&#8203;1559](https://togithub.com/rolldown/rolldown/issues/1559))
([5ce9f67](https://togithub.com/rolldown/rolldown/commit/5ce9f670ca106cdc3840be61b9e7161d8e66d00a))
- add `dataurl` in json config syntax.
([#&#8203;1536](https://togithub.com/rolldown/rolldown/issues/1536))
([ddee952](https://togithub.com/rolldown/rolldown/commit/ddee9528db97b9bbd6f2911c17321d68993aaf6f))
- eliminate unused external module import stmt
([#&#8203;1558](https://togithub.com/rolldown/rolldown/issues/1558))
([cdd83fd](https://togithub.com/rolldown/rolldown/commit/cdd83fd5a7beef4fd05a8052e78e3585d9fe8c81))
- optional TransformResult#code
([#&#8203;1544](https://togithub.com/rolldown/rolldown/issues/1544))
([15ce3ae](https://togithub.com/rolldown/rolldown/commit/15ce3aef4f885d600f535cd1c387422681c10bc8))
- **sourcemap:** avoid remapping if renderChunk hook not return map
([#&#8203;1545](https://togithub.com/rolldown/rolldown/issues/1545))
([3e13785](https://togithub.com/rolldown/rolldown/commit/3e137853aecf92e2ff0c21b8949e9182926379fe))

##### Features

- module option meta
([#&#8203;1532](https://togithub.com/rolldown/rolldown/issues/1532))
([077bf3b](https://togithub.com/rolldown/rolldown/commit/077bf3b1098c8784e2fe99efd4ec9a3c20249140))
- **wip/css:** add `CssModule`
([#&#8203;1551](https://togithub.com/rolldown/rolldown/issues/1551))
([06bd429](https://togithub.com/rolldown/rolldown/commit/06bd4297ae67ea89d6e8f6dbd89f9fd29a5af99c))

###
[`v0.11.1`](https://togithub.com/rolldown/rolldown/blob/HEAD/CHANGELOG.md#0111-2024-07-09)

[Compare
Source](https://togithub.com/rolldown/rolldown/compare/v0.11.0...v0.11.1)

##### Bug Fixes

- `treeshake.moduleSideEffects` treeshake typing
([#&#8203;1559](https://togithub.com/rolldown/rolldown/issues/1559))
([5ce9f67](https://togithub.com/rolldown/rolldown/commit/5ce9f670ca106cdc3840be61b9e7161d8e66d00a))
- add `dataurl` in json config syntax.
([#&#8203;1536](https://togithub.com/rolldown/rolldown/issues/1536))
([ddee952](https://togithub.com/rolldown/rolldown/commit/ddee9528db97b9bbd6f2911c17321d68993aaf6f))
- eliminate unused external module import stmt
([#&#8203;1558](https://togithub.com/rolldown/rolldown/issues/1558))
([cdd83fd](https://togithub.com/rolldown/rolldown/commit/cdd83fd5a7beef4fd05a8052e78e3585d9fe8c81))
- optional TransformResult#code
([#&#8203;1544](https://togithub.com/rolldown/rolldown/issues/1544))
([15ce3ae](https://togithub.com/rolldown/rolldown/commit/15ce3aef4f885d600f535cd1c387422681c10bc8))
- **sourcemap:** avoid remapping if renderChunk hook not return map
([#&#8203;1545](https://togithub.com/rolldown/rolldown/issues/1545))
([3e13785](https://togithub.com/rolldown/rolldown/commit/3e137853aecf92e2ff0c21b8949e9182926379fe))

##### Features

- module option meta
([#&#8203;1532](https://togithub.com/rolldown/rolldown/issues/1532))
([077bf3b](https://togithub.com/rolldown/rolldown/commit/077bf3b1098c8784e2fe99efd4ec9a3c20249140))
- **wip/css:** add `CssModule`
([#&#8203;1551](https://togithub.com/rolldown/rolldown/issues/1551))
([06bd429](https://togithub.com/rolldown/rolldown/commit/06bd4297ae67ea89d6e8f6dbd89f9fd29a5af99c))

</details>

<details>
<summary>oxc-project/oxc (oxlint)</summary>

###
[`v0.6.0`](https://togithub.com/oxc-project/oxc/blob/HEAD/npm/oxlint/CHANGELOG.md#060---2024-07-11)

[Compare
Source](https://togithub.com/oxc-project/oxc/compare/0c7f3eecc6b7bbbf27e2ce87823bd8190f9a0899...4f26e51b74621eb6a264c7753ec8d9f860e4c5a7)

##### Features

- [`cc58614`](https://togithub.com/oxc-project/oxc/commit/cc58614)
linter: Better schemas for allow/warn/deny
([#&#8203;4150](https://togithub.com/oxc-project/oxc/issues/4150))
(DonIsaac)

</details>

<details>
<summary>pnpm/pnpm (pnpm)</summary>

###
[`v9.5.0`](https://togithub.com/pnpm/pnpm/compare/v9.5.0-beta.3...v9.5.0)

[Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.4.0...v9.5.0)

</details>

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.3.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#333)

[Compare
Source](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3)

[diff](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3)

##### Add parentheses for nullish coalescing in ternary
([#&#8203;16391](https://togithub.com/prettier/prettier/pull/16391) by
[@&#8203;cdignam-segment](https://togithub.com/cdignam-segment))

This change adds clarity to operator precedence.

<!-- prettier-ignore -->

```js
// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);
```

##### Add parentheses for decorator expressions
([#&#8203;16458](https://togithub.com/prettier/prettier/pull/16458) by
[@&#8203;y-schneider](https://togithub.com/y-schneider))

Prevent parentheses around member expressions or tagged template
literals from being removed to follow the stricter parsing rules of
TypeScript 5.5.

<!-- prettier-ignore -->

```ts
// Input
@&#8203;(foo`tagged template`)
class X {}

// Prettier 3.3.2
@&#8203;foo`tagged template`
class X {}

// Prettier 3.3.3
@&#8203;(foo`tagged template`)
class X {}
```

##### Support `@let` declaration syntax
([#&#8203;16474](https://togithub.com/prettier/prettier/pull/16474) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

Adds support for Angular v18 `@let` declaration syntax.

Please see the following code example. The `@let` declaration allows you
to define local variables within the template:

<!-- prettier-ignore -->

```html
@&#8203;let name = 'Frodo';

<h1>Dashboard for {{name}}</h1>
Hello, {{name}}
```

For more details, please refer to the excellent blog post by the Angular
Team: [Introducing @&#8203;let in
Angular](https://blog.angular.dev/introducing-let-in-angular-686f9f383f0f).

We also appreciate the Angular Team for kindly answering our questions
to implement this feature.

</details>

<details>
<summary>rollup/rollup (rollup)</summary>

###
[`v4.18.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4181)

[Compare
Source](https://togithub.com/rollup/rollup/compare/v4.18.0...v4.18.1)

*2024-07-08*

##### Bug Fixes

- Prevent "%" in generated file names to ensure imports resolve
([#&#8203;5535](https://togithub.com/rollup/rollup/issues/5535))

##### Pull Requests

- [#&#8203;5524](https://togithub.com/rollup/rollup/pull/5524):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5525](https://togithub.com/rollup/rollup/pull/5525):
chore(deps): lock file maintenance
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5526](https://togithub.com/rollup/rollup/pull/5526):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5527](https://togithub.com/rollup/rollup/pull/5527):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5529](https://togithub.com/rollup/rollup/pull/5529): Use
Spanned trait to simplify logic
([@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5530](https://togithub.com/rollup/rollup/pull/5530): Fix
typos in ARCHITECTURE.md
([@&#8203;younggglcy](https://togithub.com/younggglcy))
- [#&#8203;5532](https://togithub.com/rollup/rollup/pull/5532): Use Rust
macros for converters where possible
([@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5535](https://togithub.com/rollup/rollup/pull/5535): fix:
escape `%` if URI malformed
([@&#8203;baseballyama](https://togithub.com/baseballyama),
[@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5536](https://togithub.com/rollup/rollup/pull/5536):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot],
[@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5541](https://togithub.com/rollup/rollup/pull/5541):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5542](https://togithub.com/rollup/rollup/pull/5542):
chore(deps): lock file maintenance
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5543](https://togithub.com/rollup/rollup/pull/5543): Watch
rust files and rebuild during dev
([@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5544](https://togithub.com/rollup/rollup/pull/5544): Refactor
AST converters
([@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5545](https://togithub.com/rollup/rollup/pull/5545):
chore(deps): update dependency
[@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v26 ([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5546](https://togithub.com/rollup/rollup/pull/5546):
chore(deps): update dependency nyc to v17
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5547](https://togithub.com/rollup/rollup/pull/5547):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5548](https://togithub.com/rollup/rollup/pull/5548):
chore(deps): lock file maintenance
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5549](https://togithub.com/rollup/rollup/pull/5549):
chore(deps): lock file maintenance
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5550](https://togithub.com/rollup/rollup/pull/5550):
chore(deps): update dependency eslint-plugin-unicorn to v54
([@&#8203;renovate](https://togithub.com/renovate)\[bot],
[@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5551](https://togithub.com/rollup/rollup/pull/5551):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot],
[@&#8203;lukastaegert](https://togithub.com/lukastaegert))
- [#&#8203;5555](https://togithub.com/rollup/rollup/pull/5555):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5556](https://togithub.com/rollup/rollup/pull/5556):
chore(deps): lock file maintenance
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5558](https://togithub.com/rollup/rollup/pull/5558): Consider
that the body of ClassBody might be of type StaticBlock
([@&#8203;TrickyPi](https://togithub.com/TrickyPi))
- [#&#8203;5565](https://togithub.com/rollup/rollup/pull/5565):
refactor(ast): conditional branch
([@&#8203;Simon-He95](https://togithub.com/Simon-He95))
- [#&#8203;5566](https://togithub.com/rollup/rollup/pull/5566):
chore(deps): lock file maintenance minor/patch updates
([@&#8203;renovate](https://togithub.com/renovate)\[bot])
- [#&#8203;5567](https://togithub.com/rollup/rollup/pull/5567):
chore(deps): lock file maintenance
([@&#8203;renovate](https://togithub.com/renovate)\[bot])

</details>

<details>
<summary>terser/terser (terser)</summary>

###
[`v5.31.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5312)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.31.1...v5.31.2)

- drop_unused: scan variables in self-referential class declarations
that contain side effects.
- Don't add parens to arrow function when it's the default for an
argument
([#&#8203;1540](https://togithub.com/terser/terser/issues/1540))
- Update domprops
([#&#8203;1538](https://togithub.com/terser/terser/issues/1538))

</details>

<details>
<summary>vuejs/vitepress (vitepress)</summary>

###
[`v1.3.1`](https://togithub.com/vuejs/vitepress/blob/HEAD/CHANGELOG.md#131-2024-07-14)

[Compare
Source](https://togithub.com/vuejs/vitepress/compare/v1.3.0...v1.3.1)

##### Bug Fixes

- don't reopen browser on restart when `vite.server.open` is specified
([6263db1](https://togithub.com/vuejs/vitepress/commit/6263db170a658ea887ef4b2bfe4b5239a820e0d9)),
closes [#&#8203;4040](https://togithub.com/vuejs/vitepress/issues/4040)
- **theme/regression:** typo in component props resulting in nested
titles not showing in navbar
([01d0d45](https://togithub.com/vuejs/vitepress/commit/01d0d45292602cbb7de492f0c953ddb239842116)),
closes [#&#8203;4042](https://togithub.com/vuejs/vitepress/issues/4042)

</details>

<details>
<summary>mafintosh/why-is-node-running (why-is-node-running)</summary>

###
[`v2.3.0`](https://togithub.com/mafintosh/why-is-node-running/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/mafintosh/why-is-node-running/compare/v2.2.2...v2.3.0)

#### What's Changed

- Hide internals from modern Node.js versions by
[@&#8203;jonkoops](https://togithub.com/jonkoops) in
[https://github.com/mafintosh/why-is-node-running/pull/65](https://togithub.com/mafintosh/why-is-node-running/pull/65)

**Full Changelog**:
mafintosh/why-is-node-running@v2.2.2...v2.3.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/rolldown/rolldown).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants