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

fix: fix ts extension detect regex, close #775 #774 #772 #777

Merged
merged 1 commit into from
May 28, 2024

Conversation

yeliex
Copy link
Contributor

@yeliex yeliex commented May 27, 2024

this issue fixes a bug caused by an invalid regexp, which provides a fast way to detect if the specific file is allowed to transform.

Texts for the case have been added as weel.

fix #775
fix #774
fix #772

Copy link

changeset-bot bot commented May 27, 2024

🦋 Changeset detected

Latest commit: 313f9c6

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yeliex
Copy link
Contributor Author

yeliex commented May 27, 2024

@Brooooooklyn @maxburs @Yovach please take a look. sorry for the late response

@yeliex yeliex force-pushed the fix/ts-extensions branch from 83ca9f0 to 313f9c6 Compare May 27, 2024 07:03
@Yovach
Copy link

Yovach commented May 27, 2024

@Brooooooklyn @maxburs @Yovach please take a look. sorry for the late response

Thanks @yeliex. It's ok, it wasn't blocking because we could downgrade the version, don't worry!

How can we test the fix?

@yeliex
Copy link
Contributor Author

yeliex commented May 28, 2024

@Yovach install package through github https://github.com/yeliex/swc-node.git#fix/ts-extensions to test

@Brooooooklyn Brooooooklyn merged commit fd85848 into swc-project:master May 28, 2024
7 checks passed
@yeliex yeliex deleted the fix/ts-extensions branch May 29, 2024 02:59
tsang-bot bot referenced this pull request in tsangste/nx-package-test Jul 2, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc-node/register](https://github.com/swc-project/swc-node) |
[`1.9.2` ->
`1.10.0`](https://renovatebot.com/diffs/npm/@swc-node%2fregister/1.9.2/1.10.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc-node%2fregister/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc-node%2fregister/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc-node%2fregister/1.9.2/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc-node%2fregister/1.9.2/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc-node (@&#8203;swc-node/register)</summary>

###
[`v1.10.0`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.0)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.9.2...@swc-node/register@1.10.0)

#### What's Changed

- fix: fix ts extension detect regex, close
[#&#8203;775](https://github.com/swc-project/swc-node/issues/775)
[#&#8203;774](https://github.com/swc-project/swc-node/issues/774)
[#&#8203;772](https://github.com/swc-project/swc-node/issues/772) by
[@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/777](https://github.com/swc-project/swc-node/pull/777)
- doc: update readme by [@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/778](https://github.com/swc-project/swc-node/pull/778)
- fix(esm-resolver): only return early if the specifier is an
unsupported file by [@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)
- fix(register): ts files extension resolve by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/793](https://github.com/swc-project/swc-node/pull/793)

#### New Contributors

- [@&#8203;fargito](https://github.com/fargito) made their first
contribution in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).9.1...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuNSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS41IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[bot]@users.noreply.github.com>
tsang-bot bot referenced this pull request in tsangste/nx-package-test Jul 9, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc-node/register](https://github.com/swc-project/swc-node) |
[`1.10.0` ->
`1.10.2`](https://renovatebot.com/diffs/npm/@swc-node%2fregister/1.10.0/1.10.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc-node%2fregister/1.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc-node%2fregister/1.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc-node%2fregister/1.10.0/1.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc-node%2fregister/1.10.0/1.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc-node (@&#8203;swc-node/register)</summary>

###
[`v1.10.2`](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.1...@swc-node/register@1.10.2)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.1...@swc-node/register@1.10.2)

###
[`v1.10.1`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.1)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.0...@swc-node/register@1.10.1)

#### What's Changed

- fix: fix ts extension detect regex, close
[#&#8203;775](https://github.com/swc-project/swc-node/issues/775)
[#&#8203;774](https://github.com/swc-project/swc-node/issues/774)
[#&#8203;772](https://github.com/swc-project/swc-node/issues/772) by
[@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/777](https://github.com/swc-project/swc-node/pull/777)
- doc: update readme by [@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/778](https://github.com/swc-project/swc-node/pull/778)
- fix(esm-resolver): only return early if the specifier is an
unsupported file by [@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)
- fix(register): ts files extension resolve by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/793](https://github.com/swc-project/swc-node/pull/793)
- fix(register): do not send undefined source code for compilation by
[@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/797](https://github.com/swc-project/swc-node/pull/797)
- refactor(core): use oxc-resolver by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/798](https://github.com/swc-project/swc-node/pull/798)
- fix(register): tsx file by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/800](https://github.com/swc-project/swc-node/pull/800)
- fix(register): file path with query by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/801](https://github.com/swc-project/swc-node/pull/801)
- fix(register): ensure TS compiler option to SWC config transformer
respects inline source map option by
[@&#8203;behroozk](https://github.com/behroozk) in
[https://github.com/swc-project/swc-node/pull/726](https://github.com/swc-project/swc-node/pull/726)

#### New Contributors

- [@&#8203;fargito](https://github.com/fargito) made their first
contribution in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)
- [@&#8203;behroozk](https://github.com/behroozk) made their first
contribution in
[https://github.com/swc-project/swc-node/pull/726](https://github.com/swc-project/swc-node/pull/726)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).9.1...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.1

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4zIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[bot]@users.noreply.github.com>
tsang-bot bot referenced this pull request in tsangste/nx-package-test Sep 13, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc-node/register](https://github.com/swc-project/swc-node)
| [`1.9.2` ->
`1.10.9`](https://renovatebot.com/diffs/npm/@swc-node%2fregister/1.9.2/1.10.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc-node%2fregister/1.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc-node%2fregister/1.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc-node%2fregister/1.9.2/1.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc-node%2fregister/1.9.2/1.10.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [express](http://expressjs.com/)
([source](https://github.com/expressjs/express)) | [`4.19.2` ->
`4.20.0`](https://renovatebot.com/diffs/npm/express/4.19.2/4.20.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/express/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/express/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/express/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/express/4.19.2/4.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [node-mocks-http](https://github.com/eugef/node-mocks-http) |
[`1.13.0` ->
`1.16.0`](https://renovatebot.com/diffs/npm/node-mocks-http/1.13.0/1.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/node-mocks-http/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/node-mocks-http/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/node-mocks-http/1.13.0/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/node-mocks-http/1.13.0/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [yaml](https://eemeli.org/yaml/)
([source](https://github.com/eemeli/yaml)) | [`2.3.2` ->
`2.5.1`](https://renovatebot.com/diffs/npm/yaml/2.3.2/2.5.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/yaml/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/yaml/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/yaml/2.3.2/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/yaml/2.3.2/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc-node (@&#8203;swc-node/register)</summary>

###
[`v1.10.9`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.9)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.8...@swc-node/register@1.10.9)

#### What's Changed

- fix(register): skip load files in node_modules by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/828](https://github.com/swc-project/swc-node/pull/828)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.8...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.9

###
[`v1.10.8`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.8)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.7...@swc-node/register@1.10.8)

#### What's Changed

- fix(register): default register/esm TSCONFIG_PATH on windows. by
[@&#8203;simonbuchan](https://github.com/simonbuchan) in
[https://github.com/swc-project/swc-node/pull/818](https://github.com/swc-project/swc-node/pull/818)
- chore(deps): update dependency oxlint to ^0.6.0 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/swc-project/swc-node/pull/822](https://github.com/swc-project/swc-node/pull/822)
- fix(register): bump oxc-resolver by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/824](https://github.com/swc-project/swc-node/pull/824)
- chore(deps): update dependency lerna to v8.1.6 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/swc-project/swc-node/pull/821](https://github.com/swc-project/swc-node/pull/821)
- fix(register): remove file extension tests in compile by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/825](https://github.com/swc-project/swc-node/pull/825)

#### New Contributors

- [@&#8203;simonbuchan](https://github.com/simonbuchan) made
their first contribution in
[https://github.com/swc-project/swc-node/pull/818](https://github.com/swc-project/swc-node/pull/818)
- [@&#8203;renovate](https://github.com/renovate) made their
first contribution in
[https://github.com/swc-project/swc-node/pull/822](https://github.com/swc-project/swc-node/pull/822)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.7...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.8

###
[`v1.10.7`](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.6...@swc-node/register@1.10.7)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.6...@swc-node/register@1.10.7)

###
[`v1.10.6`](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.5...@swc-node/register@1.10.6)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.5...@swc-node/register@1.10.6)

###
[`v1.10.5`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.5)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.4...@swc-node/register@1.10.5)

#### What's Changed

- chore: replace deprecated husky install by
[@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/809](https://github.com/swc-project/swc-node/pull/809)
- fix(register): resolve internal cjs module by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/811](https://github.com/swc-project/swc-node/pull/811)
- docs: recommend `-S` on hashbang by
[@&#8203;silverwind](https://github.com/silverwind) in
[https://github.com/swc-project/swc-node/pull/810](https://github.com/swc-project/swc-node/pull/810)
- fix(register): resolve .cjs/.cts file in esm package by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/813](https://github.com/swc-project/swc-node/pull/813)
- fix(register): allow running .tsx file by
[@&#8203;xandris](https://github.com/xandris) in
[https://github.com/swc-project/swc-node/pull/812](https://github.com/swc-project/swc-node/pull/812)

#### New Contributors

- [@&#8203;silverwind](https://github.com/silverwind) made
their first contribution in
[https://github.com/swc-project/swc-node/pull/810](https://github.com/swc-project/swc-node/pull/810)
- [@&#8203;xandris](https://github.com/xandris) made their
first contribution in
[https://github.com/swc-project/swc-node/pull/812](https://github.com/swc-project/swc-node/pull/812)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.3...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.5

###
[`v1.10.4`](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.3...@swc-node/register@1.10.4)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.3...@swc-node/register@1.10.4)

###
[`v1.10.3`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.3)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.2...@swc-node/register@1.10.3)

#### What's Changed

- fix(register): support moduleResolution Bundler by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/806](https://github.com/swc-project/swc-node/pull/806)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.2...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.3

###
[`v1.10.2`](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.1...@swc-node/register@1.10.2)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.1...@swc-node/register@1.10.2)

###
[`v1.10.1`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.1)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.10.0...@swc-node/register@1.10.1)

#### What's Changed

- fix: fix ts extension detect regex, close
[#&#8203;775](https://github.com/swc-project/swc-node/issues/775)
[#&#8203;774](https://github.com/swc-project/swc-node/issues/774)
[#&#8203;772](https://github.com/swc-project/swc-node/issues/772)
by [@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/777](https://github.com/swc-project/swc-node/pull/777)
- doc: update readme by
[@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/778](https://github.com/swc-project/swc-node/pull/778)
- fix(esm-resolver): only return early if the specifier is an
unsupported file by
[@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)
- fix(register): ts files extension resolve by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/793](https://github.com/swc-project/swc-node/pull/793)
- fix(register): do not send undefined source code for compilation by
[@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/797](https://github.com/swc-project/swc-node/pull/797)
- refactor(core): use oxc-resolver by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/798](https://github.com/swc-project/swc-node/pull/798)
- fix(register): tsx file by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/800](https://github.com/swc-project/swc-node/pull/800)
- fix(register): file path with query by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/801](https://github.com/swc-project/swc-node/pull/801)
- fix(register): ensure TS compiler option to SWC config transformer
respects inline source map option by
[@&#8203;behroozk](https://github.com/behroozk) in
[https://github.com/swc-project/swc-node/pull/726](https://github.com/swc-project/swc-node/pull/726)

#### New Contributors

- [@&#8203;fargito](https://github.com/fargito) made their
first contribution in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)
- [@&#8203;behroozk](https://github.com/behroozk) made their
first contribution in
[https://github.com/swc-project/swc-node/pull/726](https://github.com/swc-project/swc-node/pull/726)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).9.1...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.1

###
[`v1.10.0`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.0)

[Compare
Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.9.2...@swc-node/register@1.10.0)

#### What's Changed

- fix: fix ts extension detect regex, close
[#&#8203;775](https://github.com/swc-project/swc-node/issues/775)
[#&#8203;774](https://github.com/swc-project/swc-node/issues/774)
[#&#8203;772](https://github.com/swc-project/swc-node/issues/772)
by [@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/777](https://github.com/swc-project/swc-node/pull/777)
- doc: update readme by
[@&#8203;yeliex](https://github.com/yeliex) in
[https://github.com/swc-project/swc-node/pull/778](https://github.com/swc-project/swc-node/pull/778)
- fix(esm-resolver): only return early if the specifier is an
unsupported file by
[@&#8203;fargito](https://github.com/fargito) in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)
- fix(register): ts files extension resolve by
[@&#8203;Brooooooklyn](https://github.com/Brooooooklyn) in
[https://github.com/swc-project/swc-node/pull/793](https://github.com/swc-project/swc-node/pull/793)

#### New Contributors

- [@&#8203;fargito](https://github.com/fargito) made their
first contribution in
[https://github.com/swc-project/swc-node/pull/789](https://github.com/swc-project/swc-node/pull/789)

**Full Changelog**:
https://github.com/swc-project/swc-node/compare/[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).9.1...[@&#8203;swc-node/register](https://github.com/swc-node/register)[@&#8203;1](https://github.com/1).10.0

</details>

<details>
<summary>expressjs/express (express)</summary>

###
[`v4.20.0`](https://github.com/expressjs/express/blob/HEAD/History.md#4200--2024-09-10)

[Compare
Source](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

\==========

-   deps: serve-static@0.16.0
    -   Remove link renderization in html while redirecting
-   deps: send@0.19.0
    -   Remove link renderization in html while redirecting
-   deps: body-parser@0.6.0
    -   add `depth` option to customize the depth level in the parser
- IMPORTANT: The default `depth` level for parsing URL-encoded data is
now `32` (previously was `Infinity`)
-   Remove link renderization in html while using `res.redirect`
-   deps: path-to-regexp@0.1.10
- Adds support for named matching groups in the routes using a regex
- Adds backtracking protection to parameters without regexes defined
-   deps: encodeurl@~2.0.0
- Removes encoding of `\`, `|`, and `^` to align better with URL spec
- Deprecate passing `options.maxAge` and `options.expires` to
`res.clearCookie`
- Will be ignored in v5, clearCookie will set a cookie with an expires
in the past to instruct clients to delete the cookie

</details>

<details>
<summary>eugef/node-mocks-http (node-mocks-http)</summary>

###
[`v1.16.0`](https://github.com/eugef/node-mocks-http/blob/HEAD/HISTORY.md#v-1160)

[Compare
Source](https://github.com/eugef/node-mocks-http/compare/v1.15.1...v1.16.0)

-   Add appendHeader to MockResponse [Issue #&#8203;306][306].
- Add Fetch API types as accepted mock parameters [Issue
#&#8203;291][291].

[306]: https://github.com/eugef/node-mocks-http/pull/306

[291]: https://github.com/eugef/node-mocks-http/pull/291

###
[`v1.15.1`](https://github.com/eugef/node-mocks-http/blob/HEAD/HISTORY.md#v-1151)

[Compare
Source](https://github.com/eugef/node-mocks-http/compare/v1.15.0...v1.15.1)

- Allowing [@&#8203;types/node](https://github.com/types/node)
v22 [Issue #&#8203;305][305].

[305]: https://github.com/eugef/node-mocks-http/pull/305

###
[`v1.15.0`](https://github.com/eugef/node-mocks-http/blob/HEAD/HISTORY.md#v-1150)

[Compare
Source](https://github.com/eugef/node-mocks-http/compare/v1.14.1...v1.15.0)

- Add to write() and end() support of TypedArray [Issue
#&#8203;300][300].
- Fix: return empty string when send() was called with undefined [Issue
#&#8203;298][298].

[300]: https://github.com/eugef/node-mocks-http/pull/300

[298]: https://github.com/eugef/node-mocks-http/pull/298

###
[`v1.14.1`](https://github.com/eugef/node-mocks-http/blob/HEAD/HISTORY.md#v-1141)

[Compare
Source](https://github.com/eugef/node-mocks-http/compare/15a2c6f4f09fe4bc731156e661f6d09a43e6eb93...v1.14.1)

-   Move express and node types to prod deps [Issue #&#8203;290][290].

[290]: https://github.com/eugef/node-mocks-http/pull/290

###
[`v1.14.0`](https://github.com/eugef/node-mocks-http/blob/HEAD/HISTORY.md#v-1140)

[Compare
Source](https://github.com/eugef/node-mocks-http/compare/v1.13.0...15a2c6f4f09fe4bc731156e661f6d09a43e6eb93)

-   Fix nodejs typing [Issue #&#8203;281][281].
-   Add testing capability in TypeScript [Issue #&#8203;282][282].

[281]: https://github.com/eugef/node-mocks-http/pull/281

[282]: https://github.com/eugef/node-mocks-http/pull/282

</details>

<details>
<summary>eemeli/yaml (yaml)</summary>

###
[`v2.5.1`](https://github.com/eemeli/yaml/releases/tag/v2.5.1)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.5.0...v2.5.1)

- Include range in flow sequence pair maps
([#&#8203;573](https://github.com/eemeli/yaml/issues/573))

###
[`v2.5.0`](https://github.com/eemeli/yaml/releases/tag/v2.5.0)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.4.5...v2.5.0)

- Add `--indent` option to CLI tool
([#&#8203;559](https://github.com/eemeli/yaml/issues/559), with
thanks to
[@&#8203;danielbayley](https://github.com/danielbayley))
- Require newline in all cases for props on block sequence
([#&#8203;557](https://github.com/eemeli/yaml/issues/557))
- Always reset indentation in lexer on `...`
([#&#8203;558](https://github.com/eemeli/yaml/issues/558))
- Ignore `minContentWidth` if greater than `lineWidth`
([#&#8203;562](https://github.com/eemeli/yaml/issues/562))
- Drop unused `Collection.maxFlowStringSingleLineLength`
([#&#8203;522](https://github.com/eemeli/yaml/issues/522),
[#&#8203;421](https://github.com/eemeli/yaml/issues/421))

###
[`v2.4.5`](https://github.com/eemeli/yaml/releases/tag/v2.4.5)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.4.4...v2.4.5)

- Improve tab handling
([#&#8203;553](https://github.com/eemeli/yaml/issues/553),
yaml-test-suite tests
[DK95](https://github.com/yaml/yaml-test-suite/blob/main/src/DK95.yaml)
&
[Y79Y](https://github.com/yaml/yaml-test-suite/blob/main/src/Y79Y.yaml))

###
[`v2.4.4`](https://github.com/eemeli/yaml/releases/tag/v2.4.4)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.4.3...v2.4.4)

With special thanks to
[@&#8203;RedCMD](https://github.com/RedCMD) for finding and
reporting all of the following:

- Allow comment after top-level block scalar with explicit indent
indicator
([#&#8203;547](https://github.com/eemeli/yaml/issues/547))
- Allow tab as indent for line comments before nodes
([#&#8203;548](https://github.com/eemeli/yaml/issues/548))
- Do not allow tab before block collection
([#&#8203;549](https://github.com/eemeli/yaml/issues/549))
- In flow collections, allow `[]{}` immediately after `:` with plain key
([#&#8203;550](https://github.com/eemeli/yaml/issues/550))
- Require indentation for `?` explicit-key contents
([#&#8203;551](https://github.com/eemeli/yaml/issues/551))
- Require indentation from block scalar header & flow collections in
mapping values
([#&#8203;553](https://github.com/eemeli/yaml/issues/553))

###
[`v2.4.3`](https://github.com/eemeli/yaml/releases/tag/v2.4.3)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.4.2...v2.4.3)

- Improve error when parsing a non-string value
([#&#8203;459](https://github.com/eemeli/yaml/issues/459))
- Do not parse `-.NaN` or `+.nan` as NaN
([#&#8203;546](https://github.com/eemeli/yaml/issues/546))
-   Support `#` within `%TAG` prefixes with trailing `#comments`
- Check for non-node complex keys when stringifying with simpleKeys
([#&#8203;541](https://github.com/eemeli/yaml/issues/541))

###
[`v2.4.2`](https://github.com/eemeli/yaml/releases/tag/v2.4.2)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.4.1...v2.4.2)

- Restrict YAML 1.1 boolean strings to their explicit capitalization
([#&#8203;530](https://github.com/eemeli/yaml/issues/530))
- Add sponsorship by [Scipress](https://www.scipress.io/)
([#&#8203;536](https://github.com/eemeli/yaml/issues/536))

###
[`v2.4.1`](https://github.com/eemeli/yaml/releases/tag/v2.4.1)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.4.0...v2.4.1)

- cst: Do not drop trailing newline after line comment in block-map if
followed by unindented block-seq value
([#&#8203;525](https://github.com/eemeli/yaml/issues/525))
- Stringify flow collection comments in parent
([#&#8203;528](https://github.com/eemeli/yaml/issues/528))
- Do not skip folding lines after the first in indented block scalars
([#&#8203;529](https://github.com/eemeli/yaml/issues/529))

###
[`v2.4.0`](https://github.com/eemeli/yaml/releases/tag/v2.4.0)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.3.4...v2.4.0)

- Add a command-line tool
([#&#8203;523](https://github.com/eemeli/yaml/issues/523))
- Use the `lineWidth` option for line breaking in flow collections
([#&#8203;522](https://github.com/eemeli/yaml/issues/522))

###
[`v2.3.4`](https://github.com/eemeli/yaml/releases/tag/v2.3.4)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.3.3...v2.3.4)

- Do not throw for carriage return in tag shorthand
([#&#8203;501](https://github.com/eemeli/yaml/issues/501))

###
[`v2.3.3`](https://github.com/eemeli/yaml/releases/tag/v2.3.3)

[Compare
Source](https://github.com/eemeli/yaml/compare/v2.3.2...v2.3.3)

- Do not throw error on malformed URI escape in tag
([#&#8203;498](https://github.com/eemeli/yaml/issues/498))

</details>

---

### 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](https://github.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 [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC42NC4wIiwidXBkYXRlZEluVmVyIjoiMzguNzcuMyIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[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
3 participants