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 dependency sucrase to v3.35.0 #25

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 23, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sucrase 3.18.2 -> 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])

v3.32.0

Compare Source

  • Improve source map quality by adding column information. This fixes several
    source map use cases, such as Jest inline snapshots, source map composition,
    and some debugger features. ([#​759]) (Emily Marigold Klassen)
    • Unfortunately, this change comes at some performance cost. Previously, the
      slowdown from enabling source maps was about 10%, and now it is about 30%.
      In most cases, the more detailed source maps are probably still preferable,
      so for configuration simplicity, there is currently no option to switch
      back to source maps without column information. If you would like to still
      use the faster but less accurate implementation, feel free to file an issue
      to request a new config option, or create the source map yourself in
      wrapper code by copying the
      original simple implementation.

v3.31.0

Compare Source

  • Add option to recognize and preserve JSX syntax. ([#​788])
  • Fix default export interop behavior when using transpiled dynamic import() to import a plain CJS module.
    For example, if foo.js has module.exports = 1;, then await import('foo.js') will now evaluate to {default: 1}
    rather than just 1. Named exports behave the same as before.
    This change matches the behavior of Node.js and other transpilers, so it is considered a bug fix rather than
    breaking. If you relied on the old behavior, feel free to file an issue and it may be possible to roll back until the
    next semver-major release. ([#​789], [#​790])

v3.30.0

Compare Source

  • Add support for new syntax in TypeScript 5.0:
  • Implement parsing for several ES proposals. These are preserved in the output code, not transformed.
    • Import reflection: import module. ([#​785])
    • Explicit resource management: using. ([#​785])
    • Decorator after export keyword: export @&#8203;foo class .... ([#​786])
  • Fix parsing of << within a type. ([#​769])

v3.29.0

Compare Source

  • Add support for the TypeScript 4.9 satisfies operator. ([#​766])

v3.28.0

Compare Source

  • Add ts-node transpiler plugin, available as sucrase/ts-node-plugin.
    This makes it possible to use Sucrase with all ts-node features such as an ESM loader, a REPL, and configuration
    via tsconfig.json. ([#​729])

v3.27.0

Compare Source

  • Add support for assert {type: 'json'} in import statements. ([#​746])

v3.26.0

Compare Source

  • Add support for the JSX automatic runtime, also known as the
    React 17 transform.
    It can be enabled using jsxRuntime: true and configured using the production and jsxImportSource
    configs. ([#​738], [#​739], [#​742], [#​740])

v3.25.0

Compare Source

  • Add two new options to more closely match the module: nodenext option from
    TypeScript 4.7:
    • When using the imports transform, the new flag preserveDynamicImport
      will leave dynamic import() calls alone rather than compiling them to
      promise-wrapped require. This makes it possible to load ESM modules from
      CommonJS. ([#​727])
    • When not using the imports transform, the new flag injectCreateRequireForImportRequire
      will compile import foo = require("foo"); to use createRequire so that
      can work in a Node ES module. ([#​728])
  • When disableESTransforms is enabled, remove abstract fields in the same
    way that declare fields are removed. This matches TypeScript's behavior. ([#​732])

v3.24.0

Compare Source

  • Add support for all new syntax in TypeScript 4.7: ([#​719])
    • Instantiation expressions: const NumberSet = Set<number>;
    • extends on infer: T extends [infer S extends string, ...unknown[]] ? S : never;
    • Variance annotations: type Getter<out T> = () => T;
  • Add parsing support for the accessor keyword in ES decorators. ([#​716])
  • Fix invalid ESM output that sometimes happened when eliding TS star imports. ([#​723])
  • Fix lots of parser edge case bugs. Examples of code that confused the parser before but now works:
    • a as b ?? c ([#​721])
    • const a: Array<number>=[]; ([#​717])
    • f<<T>() => void>() ([#​716])
    • Some additional cases involving line break handling. ([#​714])
  • Fix some edge cases with JSX entity transformation. ([#​717])

v3.23.0

Compare Source

  • Add support for TS 4.5 import/export type modifiers. ([#​713])
  • Fix parsing bug that failed on scientific notation with dot access. ([#​711])

v3.22.0

Compare Source

  • Add support for Flow enums. ([#​708], [#​709])
  • Fix some parser bugs when detecting arrow functions. ([#​673])

v3.21.1

Compare Source

  • Allow re-export after star export of same name. ([#​698]) (Cameron Pitt)

v3.21.0

Compare Source

  • Restructure package directory layout to better support ESM. ([#​684]) (Neo Nie)

v3.20.3

Compare Source

  • Allow the names true, false, and null as TS enum keys. ([#​656], [#​657]) (pushkine, Alan Pierce)
  • Properly handle TS definite assignment assertions for private fields and when
    disabling the class transform. ([#​658])

v3.20.2

Compare Source

  • Fix ASI issue that broke function declarations immediately following a default
    export. ([#​648]) (Ben Lambert)

v3.20.1

Compare Source

  • Fix transformation of anonymous "export default" classes. ([#​614]) (Matthieu Gicquel)
  • Handle shadowed globals when they are JSX names. ([#​642]) (Matthieu Gicquel)

v3.20.0

Compare Source

  • Various small bug fixes and upcoming JS feature support in the parser. ([#​632], [#​635], [#​637])
  • Add support for TypeScript 4.2 abstract constructor signatures. ([#​635])
  • Add support for TypeScript 4.3 override, static index signatures, and get/set
    type members. ([#​636]) (Lucas Garron, Alan Pierce)
  • Add support for Flow indexed access types and optional indexed access types.
    ([#​636], [#​637])

v3.19.0

Compare Source


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.


  • 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 force-pushed the renovate/sucrase-3.x branch from 7f25384 to d305fa9 Compare July 7, 2021 08:05
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.19.0 chore(deps): update dependency sucrase to v3.20.0 Jul 7, 2021
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from d305fa9 to 5608f35 Compare August 9, 2021 10:48
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.20.0 chore(deps): update dependency sucrase to v3.20.1 Aug 9, 2021
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 5608f35 to f57c380 Compare October 18, 2021 17:02
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.20.1 chore(deps): update dependency sucrase to v3.20.3 Oct 18, 2021
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.20.3 chore(deps): update dependency sucrase to v3.21.0 Apr 25, 2022
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from f57c380 to dab491c Compare April 25, 2022 01:28
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from dab491c to a021d9b Compare June 23, 2022 18:31
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.21.0 chore(deps): update dependency sucrase to v3.21.1 Jun 23, 2022
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from a021d9b to 75ca07f Compare July 29, 2022 20:04
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.21.1 chore(deps): update dependency sucrase to v3.24.0 Jul 29, 2022
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 75ca07f to 76d6582 Compare August 2, 2022 04:02
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.24.0 chore(deps): update dependency sucrase to v3.25.0 Aug 2, 2022
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 76d6582 to 4951c9e Compare September 13, 2022 06:44
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.25.0 chore(deps): update dependency sucrase to v3.26.0 Sep 13, 2022
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 4951c9e to c8ba8c9 Compare September 15, 2022 15:22
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.26.0 chore(deps): update dependency sucrase to v3.27.0 Sep 15, 2022
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from c8ba8c9 to 7877326 Compare November 20, 2022 13:41
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.27.0 chore(deps): update dependency sucrase to v3.29.0 Nov 20, 2022
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.29.0 chore(deps): update dependency sucrase to v3.30.0 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 7877326 to 27636fc Compare March 23, 2023 15:59
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.30.0 chore(deps): update dependency sucrase to v3.31.0 Mar 27, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 27636fc to 75215f1 Compare March 27, 2023 06:08
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.31.0 chore(deps): update dependency sucrase to v3.32.0 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 75215f1 to 3481b09 Compare April 17, 2023 13:03
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.32.0 chore(deps): update dependency sucrase to v3.33.0 Jul 15, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 3481b09 to 850f948 Compare July 15, 2023 01:07
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.33.0 chore(deps): update dependency sucrase to v3.34.0 Jul 19, 2023
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 850f948 to 1305809 Compare July 19, 2023 22:13
@renovate renovate bot force-pushed the renovate/sucrase-3.x branch from 1305809 to ca12c0c Compare December 22, 2023 04:13
@renovate renovate bot changed the title chore(deps): update dependency sucrase to v3.34.0 chore(deps): update dependency sucrase to v3.35.0 Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants