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 @swc/core 1.3.100 → 1.4.16 (minor) #104

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Apr 19, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​swc/core (1.3.100 → 1.4.16) · Repo · Changelog

Release Notes

1.4.2 (from changelog)

Bug Fixes

  • (es/helpers) Add addInitializer to field decorators (#8619) (cd38ef3)

  • (es/minifier) Abort property hoister on this usage (#8647) (9715320)

  • (es/react) Validate pragma before parsing (#8637) (5f1cf01)

  • (es/typescript) Handle exported JSX members (#8642) (22c8e2e)

Features

  • (es/minifier) Remove unused parameters of arrow functions (#8636) (8cd4813)

  • (swc_core) Expose ES linter (#8635) (762959c)

Testing

1.4.1 (from changelog)

Bug Fixes

  • (binding/types) Update typings for options.envs to match implementation (#8620) (2a115cf)

  • (es/compat) Visit AssignExpr right branch in FnEnvHoister (#8633) (e5d6de0)

  • (es/decorators) Do not insert duplicate constructors (#8631) (21a447f)

  • (es/parser) Set class property to abstract or override even in error states (#8610) (5a77306)

  • (es/parser) Fix parsing of dynamic source phase imports (#8611) (7d724d8)

  • (es/parser) Rescan << as < when parsing type args (#8607) (9e6dad9)

  • (es/parser) Fix detection of use strict directive (#8617) (95236e9)

  • (es/plugin) Fix schema version issue (#8621) (132be95)

  • (es/quote) Allow variables typed AssignTarget (#8602) (6a48be4)

  • (es/quote) Support AssignTarget, really (#8603) (ef91661)

  • (es/quote) Fix code generation of AssignTarget (#8604) (16e9d4c)

Features

  • (es/minifier) Implement correct hoist_props (#8593) (3122e94)

Miscellaneous Tasks

Refactor

  • (bindings) Remove bindings for experimental packages (#8600) (6c50ff1)

Testing

  • (es) Update tsc conformance test suite (#8615) (c0beba7)

  • Update @swc/plguin-jest used for plugin e2e testing (#8601) (95fe3db)

Build

1.4.0 (from changelog)

Bug Fixes

  • (cli) Make Rust CLI use sourcemap code from the swc crate (#8576) (82bc061)

  • (es/codegen) Fix codegen of async methods with decorators (#8575) (8c32225)

  • (es/lexer) Fix typo in package keyword (#8589) (8413a6c)

  • (es/minifier) Fix top-level check (#8583) (a7c5255)

  • (es/proposals) Support using using keyword with functions (#8574) (d81596c)

  • (es/resolver) Skip property in JSX member (#8598) (d480ab9)

  • (es/testing) Make test_inline! not read output as a file (#8569) (d683089)

  • (es/typescript) Handle exported JSX binding name in TypeScript namespace (#8596) (2a70a6b)

Features

Refactor

  • (es/ast) Improve type definitions of patterns (#8532) (7f2a2c1)

Testing

  • (es/minifer) Update the passing terser test list (#8573) (8b86638)

  • (es/testing) Ensure that test_inline! is working properly (#8590) (872a47b)

1.3.107 (from changelog)

Bug Fixes

  • (es/codegen) Do not produce octal literals (#8565) (07634a0)

  • (es/decorator) Skip TypeScript class method/prop declarations (#8555) (6a8dd8c)

  • (es/decorator) Preserve state while traversing the module_items scope (#8556) (f416aff)

  • (es/loader) Make tsc resolver work for bare specifier (#8550) (d6a4615)

1.3.106 (from changelog)

Bug Fixes

  • (binding/types) Add bugfixes field to EnvConfig (#8538) (49ebdf9)

  • (common) Fix source map generation with inputSourceMap (#8546) (043ee85)

  • (es/ast) Add definite and is_override to AutoAccessor (#8436) (572bcae)

  • (es/ast) Fix definition of SetterProp (#8314) (bc38ac9)

  • (es/codegen) Set sourceRoot of sourcemaps (#6086) (ae78669)

  • (es/compat) Support vars from reserved_word pass (#8543) (fc929e9)

  • (es/loader) Don't use browser versions for jsc.paths (#8548) (fab27da)

  • (es/minifier) Fix a bug related to inliner and the variable scoping (#8542) (aa70131)

  • (es/module) Fix resolving of dependencies (#8533) (71fb5c1)

  • (es/module) Fix handling of * in jsc.paths (#8535) (2d8bd9e)

  • (es/quote) Add support for import phase to quote macro (#8536) (71930ff)

Features

  • (css/parser) Implement error reporting for @value of CSS Modules (#8547) (00619b1)

  • (es/ast) Support import phase (#8279) (72048ae)

  • (swc_core) Expose preset_env_base (#8537) (793f265)

Miscellaneous Tasks

1.3.105 (from changelog)

Bug Fixes

  • (common) Remove < and > from Display impl of FileName::Custom (#8530) (014a6cd)

  • (es/codegen) Fix codegen of \\0 (#8433) (9f1ce3a)

  • (es/minifier) Fix a bug in tpl string <-> string logic (#8510) (4946a11)

  • (es/typescript) Fix panic on invalid jsx pragma (#8513) (f40f59b)

Miscellaneous Tasks

Testing

  • (es/codegen) Add tests for @ctrl/tinycolor (#8518) (1c4eb1f)

  • (es/codegen) Add a JS test for ascii-only mode (#8519) (974c6a0)

  • (es/minifier) Add a test for a fixed issue (#8520) (8fac2bb)

  • (es/module) Add a test for a fixed issue (#8521) (4b4a0a2)

1.3.104 (from changelog)

Bug Fixes

  • (es) Fix plugin template & restore test! as test_inline! (#8508) (10449e0)

  • (es/systemjs) Handle top level this (#8506) (0f94c8c)

  • (plugin) Set swc_common::errors::HANDLER while invoking plugins (#8511) (ba753f1)

1.3.103 (from changelog)

Bug Fixes

  • (binding/types) Add type for decoratorVersion (#8468) (79438e6)

  • (es/codegen) Emit abstract keyword (#8479) (a12eaae)

  • (es/codegen) Emit declare keyword for class properties (#8478) (2076ef8)

  • (es/codegen) Emit implements clause with commas (#8477) (d98a282)

  • (es/codegen) Emit ? for an optional computed property (#8481) (e0bdc0f)

  • (es/codegen) Fix codegen of a property key in ascii-only mode (#8493) (8d9bf4c)

  • (es/compat) Set inserted var inside export class in destructing (#8470) (4416077)

  • (es/compat) Correctly handle this in arrow function parameters (#8489) (52a8f05)

  • (es/minifier) Correctly escape more characters (#8490) (f7c4934)

  • (es/module) Fix resolving of .js files (#8480) (b70e96f)

  • (es/parser) Correctly parse the keyword (#8483) (740e6f3)

  • (es/resolver) Resolve top-level undefined, NaN, and Infinity correctly (#8471) (82bd807)

Documentation

  • Replace string_cache with hstr in ARCHITECTURE.md (#8487) (abd7c51)

Features

  • (html/parser) Allow self-closing /> on non-void HTML elements via a flag (#8460) (566063d)

Refactor

Testing

  • (es/minifier) Enable non esm mode for tests (#8472) (1120336)

  • (es/minifier) Enable script mode for terser_exec and mangle (#8474) (b676e75)

1.3.102 (from changelog)

Bug Fixes

  • (css/parser) Fix parsing of hsla(var(--foo), 1) (#8443) (d89b60a)

  • (es) Apply paren_remover for minify (#8442) (e68720a)

  • (es/codegen) Fix codegen of type-only export declarations (#8447) (65dec90)

  • (es/codegen) Emit override keyword (#8449) (0dd96f8)

  • (es/compat) Use correct span.lo in class transforms (#8439) (a06d5b2)

  • (es/minifier) Add WeakRef as a safe global reference (#8458) (d681785)

  • (es/parser) Disallowing await as an identifier in class static block (#8450) (0b188cc)

  • (es/renamer) Correctly check top level (#8456) (1e44e57)

1.3.101 (from changelog)

Bug Fixes

  • (es/codegen) Emit extra paren emitting AssignExpr (#8413) (dce3693)

  • (es/codegen) Fix codegen of ts specific syntax in class props (#8426) (7566ddf)

  • (es/compat) Fix destructuring of export class/function (#8371) (630f9d3)

  • (es/compat) Preserve spread in the generator pass (#8401) (29bec98)

  • (es/compat) Preserve comment for arrow body (#8427) (56992e3)

  • (es/fixer) Preserve parenthesis for optional chaining (#8399) (a69f172)

  • (es/lints) Ignore ambient context binding (#8368) (83c8fe5)

  • (es/resolver) Handle TsInterfaceDecl and UsingDecl correctly (#8403) (f8ce316)

Features

  • (es/ast) Add as_import_with to ObjectLit to provide easier API (#8405) (daf6265)

Miscellaneous Tasks

Performance

Refactor

Build

  • (macros) Drop pmutil to improve compile time (#8404) (835151e)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 4 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Copy link
Contributor Author

depfu bot commented Apr 25, 2024

Closed in favor of #105.

@depfu depfu bot closed this Apr 25, 2024
@depfu depfu bot deleted the depfu/update/pnpm/@swc/core-1.4.16 branch April 25, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants