-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Conversation
🦋 Changeset detectedLatest 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 |
@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? |
@Yovach install package through github |
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc-node/register](https://togithub.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 (@​swc-node/register)</summary> ### [`v1.10.0`](https://togithub.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.0) [Compare Source](https://togithub.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 [#​775](https://togithub.com/swc-project/swc-node/issues/775) [#​774](https://togithub.com/swc-project/swc-node/issues/774) [#​772](https://togithub.com/swc-project/swc-node/issues/772) by [@​yeliex](https://togithub.com/yeliex) in [swc-project/swc-node#777 - doc: update readme by [@​yeliex](https://togithub.com/yeliex) in [swc-project/swc-node#778 - fix(esm-resolver): only return early if the specifier is an unsupported file by [@​fargito](https://togithub.com/fargito) in [swc-project/swc-node#789 - fix(register): ts files extension resolve by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [swc-project/swc-node#793 #### New Contributors - [@​fargito](https://togithub.com/fargito) made their first contribution in [swc-project/swc-node#789 **Full Changelog**: https://github.com/swc-project/swc-node/compare/[@​swc-node/register](https://togithub.com/swc-node/register)[@​1](https://togithub.com/1).9.1...[@​swc-node/register](https://togithub.com/swc-node/register)[@​1](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuNSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS41IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc-node/register](https://togithub.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 (@​swc-node/register)</summary> ### [`v1.10.2`](https://togithub.com/swc-project/swc-node/compare/@swc-node/register@1.10.1...@swc-node/register@1.10.2) [Compare Source](https://togithub.com/swc-project/swc-node/compare/@swc-node/register@1.10.1...@swc-node/register@1.10.2) ### [`v1.10.1`](https://togithub.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.10.1) [Compare Source](https://togithub.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 [#​775](https://togithub.com/swc-project/swc-node/issues/775) [#​774](https://togithub.com/swc-project/swc-node/issues/774) [#​772](https://togithub.com/swc-project/swc-node/issues/772) by [@​yeliex](https://togithub.com/yeliex) in [swc-project/swc-node#777 - doc: update readme by [@​yeliex](https://togithub.com/yeliex) in [swc-project/swc-node#778 - fix(esm-resolver): only return early if the specifier is an unsupported file by [@​fargito](https://togithub.com/fargito) in [swc-project/swc-node#789 - fix(register): ts files extension resolve by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [swc-project/swc-node#793 - fix(register): do not send undefined source code for compilation by [@​fargito](https://togithub.com/fargito) in [swc-project/swc-node#797 - refactor(core): use oxc-resolver by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [swc-project/swc-node#798 - fix(register): tsx file by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [swc-project/swc-node#800 - fix(register): file path with query by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [swc-project/swc-node#801 - fix(register): ensure TS compiler option to SWC config transformer respects inline source map option by [@​behroozk](https://togithub.com/behroozk) in [swc-project/swc-node#726 #### New Contributors - [@​fargito](https://togithub.com/fargito) made their first contribution in [swc-project/swc-node#789 - [@​behroozk](https://togithub.com/behroozk) made their first contribution in [swc-project/swc-node#726 **Full Changelog**: https://github.com/swc-project/swc-node/compare/[@​swc-node/register](https://togithub.com/swc-node/register)[@​1](https://togithub.com/1).9.1...[@​swc-node/register](https://togithub.com/swc-node/register)[@​1](https://togithub.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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMyIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4zIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[bot]@users.noreply.github.com>
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