Commit Graph

118 Commits

Author SHA1 Message Date
magic-akari
3e253ecc21
fix(es/typescript): Preserve more comments (#9509)
**Related issue:**

- Closes https://github.com/swc-project/swc/issues/9505
2024-08-28 17:00:10 +09:00
SWC Bot
ea4c71c052 chore: Publish crates with swc_core v0.102.1 2024-08-28 05:13:16 +00:00
Donny/강동윤
7d6269e3b8
fix(es/minifier): Track if a var is used with in (#9508)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9499
2024-08-28 13:32:45 +09:00
Donny/강동윤
da529304fe
feat(plugin/runner): Improve error message (#9502)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-08-27 10:05:51 +09:00
SWC Bot
d068a63ba2 chore: Publish crates with swc_core v0.102.0
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-08-26 00:45:33 +00:00
Donny/강동윤
af922d83e5
feat(es/minifier): Support mangle cache (#9489)
**Description:**

This PR adds a name cache for the mangler. It's implemented using a `Mutex`, and it's exposed to JS as an experimental API. Note that JS API only provides an opaque object.
2024-08-25 23:42:53 +00:00
강동윤 (Donny)
3e73d4ce0c chore: Publish crates with swc_core v0.101.7 2024-08-26 07:57:00 +09:00
magic-akari
faec8c134d
refactor(es/utils): Unify prepend_stmts (#9493)
Some checks failed
CI / Cargo fmt (push) Has been cancelled
CI / Cargo clippy (push) Has been cancelled
CI / Check license of dependencies (push) Has been cancelled
CI / Check (macos-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / Test wasm (binding_core_wasm) (push) Has been cancelled
CI / Test wasm (binding_minifier_wasm) (push) Has been cancelled
CI / Test wasm (binding_typescript_wasm) (push) Has been cancelled
CI / List crates (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Has been cancelled
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Has been cancelled
CI / Test with @swc/cli (push) Has been cancelled
CI / Miri (better_scoped_tls) (push) Has been cancelled
CI / Miri (string_enum) (push) Has been cancelled
CI / Miri (swc) (push) Has been cancelled
CI / Miri (swc_bundler) (push) Has been cancelled
CI / Miri (swc_ecma_codegen) (push) Has been cancelled
CI / Miri (swc_ecma_minifier) (push) Has been cancelled
Benchmark / Bench everything (push) Has been cancelled
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Has been cancelled
CI / Done (push) Has been cancelled
2024-08-24 22:58:06 +09:00
Yusuke Tanaka
5258763cf6
chore(es/codegen): Bump minimum required swc_allocator version to 0.1.8 (#9492)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Description:**

`swc_ecma_codegen` uses `swc_allocator::collections` modules:


f500dd4530/crates/swc_ecma_codegen/src/text_writer/basic_impl.rs (L3)


f500dd4530/crates/swc_ecma_codegen/tests/sourcemap.rs (L5)

`collections` module was added to `swc_allocator` in 0.1.8. However,
`swc_ecma_codegen` still says that the minimum required version of
`swc_allocator` is 0.1.7:


f500dd4530/crates/swc_ecma_codegen/Cargo.toml (L27)

This can cause a compile error when someone has a lockfile that pins
`swc_allocator` 0.1.7, which is supposed to work with `swc_ecma_codegen`
according to the manifest, but actually not.
2024-08-24 20:29:59 +09:00
강동윤 (Donny)
82fa400dc4 chore: Publish crates with swc_core v0.101.6 2024-08-23 22:41:58 +09:00
magic-akari
fc0483ce1b
fix(es/typescript): Correctly handle ESM context (#9490)
**Related issue:**

- https://github.com/nodejs/node/issues/54514
2024-08-23 22:40:28 +09:00
강동윤 (Donny)
1e1b165181 chore: Publish crates with swc_core v0.101.5
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-08-23 11:33:28 +09:00
magic-akari
50d70d35d0
fix(es/typescript): Correctly handle deep import chains (#9487)
**Related issue:**

- Closes https://github.com/swc-project/swc/issues/9486
2024-08-23 07:01:40 +09:00
Donny/강동윤
1121bc0dc1
feat(es/parser): Disallow let let (#9484)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/8269
2024-08-22 09:17:33 +00:00
Donny/강동윤
ede1a52cb8
feat(es/minifier): Drop more patterns with PURE marker (#9478)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9459
 - Closes https://github.com/swc-project/swc/issues/9460
 - Closes https://github.com/swc-project/swc/pull/9465
2024-08-22 13:04:12 +09:00
Donny/강동윤
4bee30ab40
refactor(common): Simplify SyntaxContext and Mark (#9476)
**Description:**

This PR removes the `transparent` of `SyntaxContext` and `is_builtin` of `Mark`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9346
2024-08-21 05:31:05 +00:00
Donny/강동윤
ac432c4bff
fix(es/minifier): Mark LHS of for-in/of as update (#9474)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9466
2024-08-21 14:02:16 +09:00
Donny/강동윤
c72b5f8b32
fix(es/minifier): Force rename synthesized identifiers (#9473)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9468
2024-08-21 05:01:16 +00:00
Donny/강동윤
3ee8980dbe
feat(visit): Add experimental traverse APIs (#9464)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-08-21 08:29:24 +09:00
SWC Bot
aefbd59f08 chore: Publish crates with swc_core v0.101.4 2024-08-20 08:31:41 +00:00
Donny/강동윤
911d4eaa14
perf(visit): Add linear AST traversal (#9452)
**Description:**

Babel decorator pass uses `fastTraverse`, and I think we can have one.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9451
2024-08-20 15:50:11 +09:00
SWC Bot
a514cad4f5 chore: Publish crates with swc_core v0.101.3 2024-08-19 09:56:39 +00:00
Donny/강동윤
238ba8b1d2
feat(es/decorators): Groundwork for stage 3 decorator (#9450)
**Description:**

I decided to port the babel transform instead of recreating a new pass using inputs and outputs. Babel transform reuses many codes, and this is the basic API for decorator passes that share the implementation.
2024-08-19 14:44:23 +09:00
Donny/강동윤
673655c169
fix(es): Preserve more comments (#9449)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9255
2024-08-19 04:16:35 +00:00
Donny/강동윤
8845b76ac4
refactor(visit): Remove VisitAll (#9448)
**Description:**

Technically, this is a breaking change, but `VisitAll` was broken anyway, so I'll not mark this PR as a breaking change.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9337
2024-08-19 12:48:18 +09:00
Donny/강동윤
05961eb018
fix(common): Use SourceMap::adjust_mappings in correct order (#9447)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9392
2024-08-19 11:37:02 +09:00
SWC Bot
f5b59485fa chore: Publish crates with swc_core v0.101.3 2024-08-19 00:46:58 +00:00
Austaras
bfaf31bc4b
fix(es/compat): Init this in sub class constructor for async (#9446)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/8452
 - Closes https://github.com/swc-project/swc/issues/9432
2024-08-19 00:22:36 +00:00
Austaras
99738ef412
fix(es/decorators): Fix metadata for accessors (#9444)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Related issue:**
 - Closes https://github.com/swc-project/swc/issues/9435
2024-08-18 13:27:20 +00:00
SWC Bot
a4b918644b chore: Publish crates with swc_core v0.101.2 2024-08-16 12:50:42 +00:00
Donny/강동윤
308e5ec81b
fix(es): Mark TypeScript nodes as reachable from Evaluator (#9440) 2024-08-16 21:49:11 +09:00
강동윤 (Donny)
154bd2dbb0 chore: Publish crates with swc_core v0.101.1 2024-08-16 13:37:27 +09:00
Donny/강동윤
563c162f1c
fix(common): Do not use adjust_mappings from sourcemap crate (#9437)
**Description:**

It seems like it has a bug.

**Related issue:**

 - Reverts https://github.com/swc-project/swc/pull/9052
2024-08-16 13:36:48 +09:00
SWC Bot
08b21a9588 chore: Publish crates with swc_core v0.100.7 2024-08-14 07:35:59 +00:00
Simon Buchan
230d1d98b9
fix(es): Improve sourcemap url error messages. (#9422)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Description:**

Parse based on the provided prefix: inline urls must start with "data:",
so only trying one will ensure the correct and more helpful error
message will be shown.

Currently, any error while trying to load a sourcemap file will give the
unhelpful error:

```
  ERROR  failed to read input source map: failed to parse inline source map url
index.js.map

 Caused by:
     relative URL without a base
     at <snip>/swc-<ver>/src/lib.rs:386
```

Further, for the common "missing file" error, give a better message that
hopefully describes the two paths tried, rather than increasing
confusion by talking about a `.js.map.map` file if it was correct.

Now it will show, for example:

```
  ERROR  failed to read input source map: failed to find input source map file "index.js.map" in "file:///D:/github/skilitics/billing/api-client/lib/services/index.js" file as either "file:///D:/github/skilitics/billing/api-client/lib/services\\index.js.map" or with appended .map
    at D:\github\swc-project\swc\crates\swc\src\lib.rs:400
```

(This example appears to be an issue in swc-node, where it is passing a
file URL which is treated as a path, and therefore never exists, I'm
working on a PR for there too)

There are more improvements that could make this code clearer and more
reliable, but this should resolve many of the confused users (including
me!)

**Related issue:**

See (maybe can be considered to fix): #8944, #8910

[PR in swc-node to fix the originating
issue](https://github.com/swc-project/swc-node/pull/840)
2024-08-14 07:11:57 +00:00
magic-akari
d2929d1ce6
feat(es/typescript): Add native_class_properties to skip reordering of class properties inits (#9421)
**Related issue:**

 - Closes #9418
2024-08-14 09:11:04 +09:00
SWC Bot
8f934603cc chore: Publish crates with swc_core v0.100.7 2024-08-13 19:05:38 +00:00
Gengkun
970cc81033
feat(html/minifier): Support using custom css minifier (#9425)
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
**Description:**

Support use a custom css minifier when minimizing html, add `feature =
"custom-css-minifier"` to enable this and remove the dependencies of
`swc_css_*`.
And `feature = "default-css-minifier"` keep the original behavior, using
`swc_css` when minimizing html, and this is the default feature.
(Rspack is now using LightningCSS to minimize CSS files, but the CSS
insides html is still using `swc_css` (which called by
`swc_html_minifier`) to do the minify, so we want to also use
LightningCSS to minify the CSS insides html to keep the consistent with
CSS files)
2024-08-13 10:28:13 +00:00
SWC Bot
47d8faaff6 chore: Publish crates with swc_core v0.100.6 2024-08-12 05:11:10 +00:00
Donny/강동윤
9751518a0a
fix(visit): Fix regression of AST paths (#9420) 2024-08-12 14:09:37 +09:00
SWC Bot
91e32bdbad chore: Publish crates with swc_core v0.100.6 2024-08-12 04:03:24 +00:00
David Sherret
34d1b27251
feat(estree/compat): Remove dependency on rayon (#9393)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2024-08-12 03:10:24 +00:00
SWC Bot
1c65541392 chore: Publish crates with swc_core v0.100.6 2024-08-09 19:09:34 +00:00
magic-akari
165c8facd4
fix(es/typescript): Update ts-strip type definition (#9415)
**Related issue:**
 - Closes #9413
2024-08-10 04:06:29 +09:00
magic-akari
442fb7b487
fix(es/typescript): Strip this param in getter/setter (#9414) 2024-08-09 18:12:45 +00:00
magic-akari
b395f483d1
fix(es/typescript): Strip exported default overload function declaration (#9412) 2024-08-10 02:41:28 +09:00
magic-akari
8c161a003e
fix(es/typescript): Strip optional mark and definite mark (#9411) 2024-08-10 02:00:14 +09:00
SWC Bot
e697c1c649 chore: Publish crates with swc_core v0.100.5
Some checks are pending
CI / Cargo fmt (push) Waiting to run
CI / Cargo clippy (push) Waiting to run
CI / Check license of dependencies (push) Waiting to run
CI / Check (macos-latest) (push) Waiting to run
CI / Check (ubuntu-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / Test wasm (binding_core_wasm) (push) Waiting to run
CI / Test wasm (binding_minifier_wasm) (push) Waiting to run
CI / Test wasm (binding_typescript_wasm) (push) Waiting to run
CI / List crates (push) Waiting to run
CI / Test - ${{ matrix.settings.crate }} - ${{ matrix.settings.os }} (push) Blocked by required conditions
CI / Test node bindings - ${{ matrix.os }} (macos-latest) (push) Waiting to run
CI / Test node bindings - ${{ matrix.os }} (windows-latest) (push) Waiting to run
CI / Test with @swc/cli (push) Waiting to run
CI / Miri (better_scoped_tls) (push) Waiting to run
CI / Miri (string_enum) (push) Waiting to run
CI / Miri (swc) (push) Waiting to run
CI / Miri (swc_bundler) (push) Waiting to run
CI / Miri (swc_ecma_codegen) (push) Waiting to run
CI / Miri (swc_ecma_minifier) (push) Waiting to run
CI / Done (push) Blocked by required conditions
Benchmark / Bench everything (push) Waiting to run
2024-08-09 12:46:31 +00:00
magic-akari
124e5ffa7b
fix(es/typescript): Strip class modifiers (#9399)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2024-08-09 21:43:20 +09:00
SWC Bot
ac7cf0371f chore: Publish crates with swc_core v0.100.4 2024-08-09 05:54:23 +00:00