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

chore(deps): update devdependencies #2617

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) ~20.11.5 -> ~20.11.6 age adoption passing confidence
esbuild ~0.19.11 -> ~0.19.12 age adoption passing confidence
tsx ~3.13.0 -> ~3.14.0 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild)

v0.19.12

Compare Source

  • The "preserve" JSX mode now preserves JSX text verbatim (#​3605)

    The JSX specification deliberately doesn't specify how JSX text is supposed to be interpreted and there is no canonical way to interpret JSX text. Two most popular interpretations are Babel and TypeScript. Yes they are different (esbuild deliberately follows TypeScript by the way).

    Previously esbuild normalized text to the TypeScript interpretation when the "preserve" JSX mode is active. However, "preserve" should arguably reproduce the original JSX text verbatim so that whatever JSX transform runs after esbuild is free to interpret it however it wants. So with this release, esbuild will now pass JSX text through unmodified:

    // Original code
    let el =
      <a href={'/'} title='&apos;&quot;'> some text
        {foo}
          more text </a>
    
    // Old output (with --loader=jsx --jsx=preserve)
    let el = <a href="/" title={`'"`}>
      {" some text"}
      {foo}
      {"more text "}
    </a>;
    
    // New output (with --loader=jsx --jsx=preserve)
    let el = <a href={"/"} title='&apos;&quot;'> some text
        {foo}
          more text </a>;
  • Allow JSX elements as JSX attribute values

    JSX has an obscure feature where you can use JSX elements in attribute position without surrounding them with {...}. It looks like this:

    let el = <div data-ab=<><a/><b/></>/>;

    I think I originally didn't implement it even though it's part of the JSX specification because it previously didn't work in TypeScript (and potentially also in Babel?). However, support for it was silently added in TypeScript 4.8 without me noticing and Babel has also since fixed their bugs regarding this feature. So I'm adding it to esbuild too now that I know it's widely supported.

    Keep in mind that there is some ongoing discussion about removing this feature from JSX. I agree that the syntax seems out of place (it does away with the elegance of "JSX is basically just XML with {...} escapes" for something arguably harder to read, which doesn't seem like a good trade-off), but it's in the specification and TypeScript and Babel both implement it so I'm going to have esbuild implement it too. However, I reserve the right to remove it from esbuild if it's ever removed from the specification in the future. So use it with caution.

  • Fix a bug with TypeScript type parsing (#​3574)

    This release fixes a bug with esbuild's TypeScript parser where a conditional type containing a union type that ends with an infer type that ends with a constraint could fail to parse. This was caused by the "don't parse a conditional type" flag not getting passed through the union type parser. Here's an example of valid TypeScript code that previously failed to parse correctly:

    type InferUnion<T> = T extends { a: infer U extends number } | infer U extends number ? U : never
privatenumber/tsx (tsx)

v3.14.0

Compare Source

Bug Fixes
Features
  • support Node v20.6.0 module.register() & --import flag (#​337) (23e4694)

This release is also available on:


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner January 22, 2024 00:49
@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Jan 22, 2024
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5518688) 99.57% compared to head (7fc07e8) 99.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2617      +/-   ##
==========================================
- Coverage   99.57%   99.57%   -0.01%     
==========================================
  Files        2807     2807              
  Lines      250452   250452              
  Branches     1150     1149       -1     
==========================================
- Hits       249383   249378       -5     
- Misses       1041     1046       +5     
  Partials       28       28              

see 2 files with indirect coverage changes

@renovate renovate bot force-pushed the renovate/devdependencies branch 4 times, most recently from b459bdc to 990511d Compare January 23, 2024 18:38
@renovate renovate bot changed the title chore(deps): update dependency tsx to ~3.14.0 chore(deps): update devdependencies Jan 23, 2024
@renovate renovate bot force-pushed the renovate/devdependencies branch 3 times, most recently from aee984a to 3af21da Compare January 24, 2024 17:22
@renovate renovate bot force-pushed the renovate/devdependencies branch from 3af21da to 8ecb558 Compare January 24, 2024 17:29
@ST-DDT ST-DDT self-assigned this Jan 24, 2024
@ST-DDT ST-DDT added this to the vAnytime milestone Jan 24, 2024
@ST-DDT ST-DDT requested review from a team January 24, 2024 20:28
@xDivisionByZerox xDivisionByZerox enabled auto-merge (squash) January 24, 2024 20:33
Copy link
Contributor Author

renovate bot commented Jan 24, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: dependencies Pull requests that adds/updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants