examples
examples copied to clipboard
chore(deps): update swc monorepo
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @swc/core (source) | 1.3.100 -> 1.4.2 |
||||
| swc-loader | 0.2.3 -> 0.2.6 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
swc-project/swc (@swc/core)
v1.4.2
Bug Fixes
-
(es/helpers) Add
addInitializerto field decorators (#8619) (cd38ef3) -
(es/minifier) Abort property hoister on
thisusage (#8647) (9715320) -
(es/react) Validate pragma before parsing (#8637) (5f1cf01)
-
(es/typescript) Handle exported JSX members (#8642) (22c8e2e)
Features
Testing
v1.4.1
Bug Fixes
-
(binding/types) Update typings for
options.envsto 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
abstractoroverrideeven 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 strictdirective (#8617) (95236e9) -
(es/quote) Allow variables typed
AssignTarget(#8602) (6a48be4) -
(es/quote) Fix code generation of
AssignTarget(#8604) (16e9d4c)
Features
Miscellaneous Tasks
Refactor
Testing
Build
v1.4.0
Bug Fixes
-
(cli) Make Rust CLI use sourcemap code from the
swccrate (#8576) (82bc061) -
(es/codegen) Fix codegen of async methods with decorators (#8575) (8c32225)
-
(es/proposals) Support using
usingkeyword 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
Testing
-
(es/minifer) Update the passing terser test list (#8573) (8b86638)
-
(es/testing) Ensure that
test_inline!is working properly (#8590) (872a47b)
v1.3.107
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_itemsscope (#8556) (f416aff) -
(es/loader) Make
tscresolver work for bare specifier (#8550) (d6a4615)
v1.3.106
Bug Fixes
-
(binding/types) Add
bugfixesfield to EnvConfig (#8538) (49ebdf9) -
(common) Fix source map generation with
inputSourceMap(#8546) (043ee85) -
(es/ast) Add
definiteandis_overridetoAutoAccessor(#8436) (572bcae) -
(es/codegen) Set
sourceRootof sourcemaps (#6086) (ae78669) -
(es/compat) Support vars from
reserved_wordpass (#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
*injsc.paths(#8535) (2d8bd9e) -
(es/quote) Add support for import phase to quote macro (#8536) (71930ff)
Features
Miscellaneous Tasks
v1.3.105
Bug Fixes
-
(common) Remove
<and>fromDisplayimpl ofFileName::Custom(#8530) (014a6cd) -
(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)
v1.3.104
Bug Fixes
-
(es) Fix plugin template & restore
test!astest_inline!(#8508) (10449e0) -
(plugin) Set
swc_common::errors::HANDLERwhile invoking plugins (#8511) (ba753f1)
v1.3.103
Bug Fixes
-
(binding/types) Add type for
decoratorVersion(#8468) (79438e6) -
(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
thisin arrow function parameters (#8489) (52a8f05) -
(es/minifier) Correctly escape more characters (#8490) (f7c4934)
-
(es/resolver) Resolve top-level
undefined,NaN, andInfinitycorrectly (#8471) (82bd807)
Documentation
Features
Refactor
Testing
-
(es/minifier) Enable non esm mode for tests (#8472) (1120336)
-
(es/minifier) Enable script mode for
terser_execandmangle(#8474) (b676e75)
v1.3.102
Bug Fixes
-
(css/parser) Fix parsing of
hsla(var(--foo), 1)(#8443) (d89b60a) -
(es/codegen) Fix codegen of type-only export declarations (#8447) (65dec90)
-
(es/compat) Use correct
span.loin 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)
v1.3.101
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.