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

Update dependency sucrase to ^3.35.0 #521

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sucrase ^3.32.0 -> ^3.35.0 age adoption passing confidence

Release Notes

alangpierce/sucrase (sucrase)

v3.35.0

Compare Source

  • Upgrade glob to fix a security vulnerability in the inflight package. ([#​822]) (Patrick Nappa)
    • Note that the sucrase CLI no longer works in Node.js versions before 14.7.
      • If you use the sucrase CLI, you should pin to Sucrase 3.34.0 until you're able to upgrade
        Node.js to a supported version. Note that all Node.js versions before 18 are end-of-life.
      • If you don't use the sucrase CLI, you may need to silence errors related to package.json
        engines, e.g. yarn --ignore-engines.
    • This change is being released in a semver-minor release since it fixes a security vulnerability
      and the breaking change impact is expected to be small. See this PR comment
      for a rationale on the release strategy.

v3.34.0

Compare Source

  • Add CLI options for all remaining Sucrase options, e.g. --disable-es-transforms for
    disableESTransforms. (<<-ArS, Alan Pierce) ([#​670], [#​812])
  • Add SUCRASE_OPTIONS environment variable for configuring sucrase/register, sucrase-node,
    and any programmatic require hook usages. The value must be a valid JSON object of Sucrase
    options that will be merged with the usual options. ([#​813])

v3.33.0

Compare Source

  • Add an option keepUnusedImports that disables all automatic import/export
    elision, equivalent to the TypeScript option verbatimModuleSyntax. ([#​811], [#​615]) (Kotaro Chikuba, Alan Pierce)
  • Add support for the await using proposal and the updated import attributes proposal.
    Both are preserved in the output code, not transformed. ([#​798])
  • Fix some issues with TypeScript automatic export elision in export {...} from statements. ([#​806])
    • Type names from the current file are no longer removed.
    • When all exports are type exports, the entire statement is now removed.
  • Fix bug where fn(x < y, x >= y) was incorrectly parsed as type arguments. ([#​798])
  • Fix a few bugs in enableLegacyBabel5ModuleInterop: properly handle as default, and properly ignore type exports. ([#​804], [#​807]) (三咲智子 Kevin Deng, Alan Pierce)
  • Fix bug where parameters inside function types could be misinterpreted as declarations and result in imports being incorrectly marked as unused. ([#​809])
  • Fix bug where import {} and export {} statements were removed with the TypeScript transform disabled. ([#​810])
  • Make the transform behavior more forgiving when code accidentally has a return type annotation on a constructor. ([#​800])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 23, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from b86e6cc to 6c60732 Compare October 24, 2023 04:19
@renovate renovate bot changed the title Update dependency sucrase to ^3.34.0 Update dependency sucrase to ^3.35.0 Dec 22, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 6c60732 to fcaed20 Compare December 22, 2023 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants