-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat!: make SuperJSON esm-only #263
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was intending to publish a prerelease with 04f078e, but apparently NPM took it as Well, let's get this published as v2! |
kodiakhq bot
referenced
this pull request
in weareinreach/TransMascFutures
Oct 11, 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 | |---|---|---|---|---|---| | [superjson](https://togithub.com/blitz-js/superjson) | [`1.13.3` -> `2.0.0`](https://renovatebot.com/diffs/npm/superjson/1.13.3/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/superjson/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/superjson/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/superjson/1.13.3/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/superjson/1.13.3/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>blitz-js/superjson (superjson)</summary> ### [`v2.0.0`](https://togithub.com/blitz-js/superjson/releases/tag/v2.0.0) [Compare Source](https://togithub.com/blitz-js/superjson/compare/v1.13.3...v2.0.0) #### What's Changed Breaking Change: SuperJSON is now published as an ES Module, and only supports Node.js v16 and later. - Update logo and README.md by [@​agreea](https://togithub.com/agreea) in [https://github.com/blitz-js/superjson/pull/258](https://togithub.com/blitz-js/superjson/pull/258) - Tweak Banner Image by [@​agreea](https://togithub.com/agreea) in [https://github.com/blitz-js/superjson/pull/261](https://togithub.com/blitz-js/superjson/pull/261) - fix: fix typo in banner filename by [@​colinhacks](https://togithub.com/colinhacks) in [https://github.com/blitz-js/superjson/pull/262](https://togithub.com/blitz-js/superjson/pull/262) - feat!: make SuperJSON esm-only by [@​Skn0tt](https://togithub.com/Skn0tt) in [https://github.com/blitz-js/superjson/pull/263](https://togithub.com/blitz-js/superjson/pull/263) #### New Contributors - [@​agreea](https://togithub.com/agreea) made their first contribution in [https://github.com/blitz-js/superjson/pull/258](https://togithub.com/blitz-js/superjson/pull/258) - [@​colinhacks](https://togithub.com/colinhacks) made their first contribution in [https://github.com/blitz-js/superjson/pull/262](https://togithub.com/blitz-js/superjson/pull/262) **Full Changelog**: flightcontrolhq/superjson@v1.13.3...v2.0.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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] 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/weareinreach/GLAAD). PR-URL: #209 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
saud-alnasser
referenced
this pull request
in saud-alnasser/cachescribe
Oct 12, 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 | |---|---|---|---|---|---| | [superjson](https://togithub.com/blitz-js/superjson) | [`^1.13.1` -> `^2.0.0`](https://renovatebot.com/diffs/npm/superjson/1.13.1/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/superjson/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/superjson/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/superjson/1.13.1/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/superjson/1.13.1/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>blitz-js/superjson (superjson)</summary> ### [`v2.0.0`](https://togithub.com/blitz-js/superjson/releases/tag/v2.0.0) [Compare Source](https://togithub.com/blitz-js/superjson/compare/v1.13.3...v2.0.0) ##### What's Changed Breaking Change: SuperJSON is now published as an ES Module, and only supports Node.js v16 and later. - Update logo and README.md by [@​agreea](https://togithub.com/agreea) in [https://github.com/blitz-js/superjson/pull/258](https://togithub.com/blitz-js/superjson/pull/258) - Tweak Banner Image by [@​agreea](https://togithub.com/agreea) in [https://github.com/blitz-js/superjson/pull/261](https://togithub.com/blitz-js/superjson/pull/261) - fix: fix typo in banner filename by [@​colinhacks](https://togithub.com/colinhacks) in [https://github.com/blitz-js/superjson/pull/262](https://togithub.com/blitz-js/superjson/pull/262) - feat!: make SuperJSON esm-only by [@​Skn0tt](https://togithub.com/Skn0tt) in [https://github.com/blitz-js/superjson/pull/263](https://togithub.com/blitz-js/superjson/pull/263) ##### New Contributors - [@​agreea](https://togithub.com/agreea) made their first contribution in [https://github.com/blitz-js/superjson/pull/258](https://togithub.com/blitz-js/superjson/pull/258) - [@​colinhacks](https://togithub.com/colinhacks) made their first contribution in [https://github.com/blitz-js/superjson/pull/262](https://togithub.com/blitz-js/superjson/pull/262) **Full Changelog**: flightcontrolhq/superjson@v1.13.3...v2.0.0 ### [`v1.13.3`](https://togithub.com/blitz-js/superjson/releases/tag/v1.13.3) [Compare Source](https://togithub.com/blitz-js/superjson/compare/v1.13.2...v1.13.3) #### What's Changed - fix a bug with dedupe=true and rereferential equalities. Report by [@​KATT](https://togithub.com/KATT), thank you! [#​253](https://togithub.com/blitz-js/superjson/issues/253) **Full Changelog**: flightcontrolhq/superjson@v1.13.1...v1.13.3 ### [`v1.13.2`](https://togithub.com/blitz-js/superjson/releases/tag/v1.13.2) [Compare Source](https://togithub.com/blitz-js/superjson/compare/v1.13.1...v1.13.2) This was an accidental release. Oops, sorry! No changes to the prior version. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am" (UTC), 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://developer.mend.io/github/saud-alnasser/cachescribe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
psnehanshu
added a commit
to psnehanshu/zigbolt
that referenced
this pull request
Nov 13, 2023
This comment was marked as abuse.
This comment was marked as abuse.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #260.
This PR makes SuperJSON an esm-only module. ESM is supported in all actively-supported versions of Node.js, so it's fine to make the switch.
The changes i've made are based on this guide by Axel Rauschmayer: https://2ality.com/2021/06/typescript-esm-nodejs.html.
In the process, I'm also changing the supported Node.js versions to
>= 16
, because Node.js v14 reached EOL earlier this year.