deploy-env icon indicating copy to clipboard operation
deploy-env copied to clipboard

Update dependency sucrase to ^3.35.0

Open renovate[bot] opened this issue 1 year ago • 0 comments

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[bot] avatar Oct 23 '23 18:10 renovate[bot]