Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

detector: use Babel AST and default plugins - #1648

Merged
jesec merged 2 commits into
mainfrom
pr/babel
Jun 6, 2022
Merged

jesec merged 2 commits into
mainfrom
pr/babel

Conversation

@jesec

@jesec jesec commented Jun 1, 2022 •

Copy link
Copy Markdown
Contributor

Allow new ECMAScript features by default.

Support language features supported by the latest version of Node.js supported, instead of the oldest.

pkg only uses Babel to parse dependencies. It does NOT transform users' sources. It is the users' responsibility to make sure that their code can run on the target Node.js version.

https://babeljs.io/docs/en/babel-parser#latest-ecmascript-features

Refs: #1249 (comment)
Closes: #1249, #1645

@jesec
jesec marked this pull request as ready for review June 2, 2022 04:18
@jesec
jesec requested a review from robertsLando June 2, 2022 04:18
@jesec

jesec commented Jun 2, 2022

Copy link
Copy Markdown
Contributor Author

@robertsLando Can you check if this PR fixes things for you?

@robertsLando

Copy link
Copy Markdown
Contributor

@jesec I will be on holiday until Monday, if you want to give it a try in the meanwhile just create e file that imports aedes-persistence-mongodb package and try to pack it :)

Thanks for this pr 🙏🏻

@robertsLando robertsLando left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and it seems working 🎉 LGTM thanks!

@jesec
jesec merged commit 6c98d49 into main Jun 6, 2022
@jesec
jesec deleted the pr/babel branch June 6, 2022 08:41
gagoar referenced this pull request in gagoar/github-app-installation-token Mar 6, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pkg](https://togithub.com/vercel/pkg) | [`5.7.0` ->
`5.8.0`](https://renovatebot.com/diffs/npm/pkg/5.7.0/5.8.0) |
[![age](https://badges.renovateapi.com/packages/npm/pkg/5.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/pkg/5.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/pkg/5.8.0/compatibility-slim/5.7.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/pkg/5.8.0/confidence-slim/5.7.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/pkg</summary>

### [`v5.8.0`](https://togithub.com/vercel/pkg/releases/tag/5.8.0)

[Compare Source](https://togithub.com/vercel/pkg/compare/5.7.0...5.8.0)

#### Highlights

- Support more language features, including but not limited to
`classPrivateMethods`
([#&#8203;1248](https://togithub.com/vercel/pkg/issues/1248),
[#&#8203;1249](https://togithub.com/vercel/pkg/issues/1249))
- Note: pkg uses Babel to trace dependencies. It does NOT transform your
sources. You should make sure that your code can run on the target
Node.js version.

#### What's Changed

- Bump to vercel/[email protected] by
[@&#8203;jesec](https://togithub.com/jesec) in
[https://github.com/vercel/pkg/pull/1693](https://togithub.com/vercel/pkg/pull/1693)
    -   Add Node 14.20.0, 16.16.0 and 18.5.0 binaries
- https://nodejs.org/en/blog/vulnerability/july-2022-security-releases
- detector: use Babel AST and default plugins by
[@&#8203;jesec](https://togithub.com/jesec) in
[https://github.com/vercel/pkg/pull/1648](https://togithub.com/vercel/pkg/pull/1648)
- test: rearrange and fix order by
[@&#8203;jesec](https://togithub.com/jesec) in
[https://github.com/vercel/pkg/pull/1650](https://togithub.com/vercel/pkg/pull/1650)
- fix: typo in fabricator.ts by
[@&#8203;eltociear](https://togithub.com/eltociear) in
[https://github.com/vercel/pkg/pull/1661](https://togithub.com/vercel/pkg/pull/1661)

#### New Contributors

- [@&#8203;eltociear](https://togithub.com/eltociear) made their first
contribution in
[https://github.com/vercel/pkg/pull/1661](https://togithub.com/vercel/pkg/pull/1661)

**Full Changelog**: vercel/pkg@5.7.0...5.8.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.

🔕 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/gagoar/github-app-installation-token).

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants