arm-server
arm-server copied to clipboard
Update dependency sucrase to v3.25.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| sucrase | 3.23.0 -> 3.25.0 |
Release Notes
alangpierce/sucrase
v3.25.0
- Add two new options to more closely match the
module: nodenextoption from TypeScript 4.7:- When using the
importstransform, the new flagpreserveDynamicImportwill leave dynamicimport()calls alone rather than compiling them to promise-wrappedrequire. This makes it possible to load ESM modules from CommonJS. ([#​727]) - When not using the
importstransform, the new flaginjectCreateRequireForImportRequirewill compileimport foo = require("foo");to usecreateRequireso that can work in a Node ES module. ([#​728])
- When using the
- When
disableESTransformsis enabled, removeabstractfields in the same way thatdeclarefields are removed. This matches TypeScript's behavior. ([#​732])
v3.24.0
- Add support for all new syntax in TypeScript 4.7: ([#​719])
- Instantiation expressions:
const NumberSet = Set<number>; -
extendsoninfer:T extends [infer S extends string, ...unknown[]] ? S : never; - Variance annotations:
type Getter<out T> = () => T;
- Instantiation expressions:
- Add parsing support for the
accessorkeyword 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:
- Fix some edge cases with JSX entity transformation. ([#​717])
Configuration
📅 Schedule: Branch creation - "before 11am" (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.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.