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

@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 added a commit to tsangste/nx-package-test that referenced this pull request Jul 2, 2024
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 (@&#8203;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
[#&#8203;775](https://togithub.com/swc-project/swc-node/issues/775)
[#&#8203;774](https://togithub.com/swc-project/swc-node/issues/774)
[#&#8203;772](https://togithub.com/swc-project/swc-node/issues/772) by
[@&#8203;yeliex](https://togithub.com/yeliex) in
[swc-project/swc-node#777
- doc: update readme by [@&#8203;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 [@&#8203;fargito](https://togithub.com/fargito) in
[swc-project/swc-node#789
- fix(register): ts files extension resolve by
[@&#8203;Brooooooklyn](https://togithub.com/Brooooooklyn) in
[swc-project/swc-node#793

#### New Contributors

- [@&#8203;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/[@&#8203;swc-node/register](https://togithub.com/swc-node/register)[@&#8203;1](https://togithub.com/1).9.1...[@&#8203;swc-node/register](https://togithub.com/swc-node/register)[@&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants