Commit Graph

170 Commits

Author SHA1 Message Date
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)
eefae1cde7 fix(html): Fix html binding 2024-08-20 12:18:51 +09:00
Marco Ippolito
f4cab32dd2
chore: Mention swc in the license (#9417)
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
This change adds mention of SWC in the license otherwise it would be
anonymous (and odd 😄 )
2024-08-11 19:31:43 +09:00
강동윤 (Donny)
685f68ef87 chore: Add license to bindings 2024-08-09 21:44:12 +09:00
Donny/강동윤
9c176632b1
refactor(visit): Pre-generate visitor code (#9262)
**Description:**

This would improve compile time by a margin, and this is a refactoring that should be done before applying `swc_allocator::boxed::Box` to ES AST.

This PR removes `swc_visit_macros` because we now use a simple binary to generate code before publishing.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/9101
2024-07-17 23:00:45 +00:00
SWC Bot
933a7be7b5 chore: Publish 1.7.0-nightly-20240717.1 with swc_core v0.98.0 2024-07-17 19:40:33 +00:00
SWC Bot
cb0ff00c73 chore: Publish 1.7.0-nightly-20240715.2 with swc_core v0.97.5 2024-07-15 10:17:43 +00:00
SWC Bot
0891fb8aba chore: Publish 1.7.0-nightly-20240715.1 with swc_core v0.97.4 2024-07-15 07:45:23 +00:00
SWC Bot
e5f6efa97e chore: Publish 1.7.0-nightly-20240714.1 with swc_core v0.97.2 2024-07-14 15:53:09 +00:00
SWC Bot
01dd7559ac chore: Publish 1.7.0-nightly-20240713.1 with swc_core v0.97.1 2024-07-13 08:04:56 +00:00
Donny/강동윤
c40b5b97e4
chore(ci): Fix CI (#9219) 2024-07-12 15:06:53 +09:00
SWC Bot
784a3c0773 chore: Publish 1.6.13-nightly-20240706.1 with swc_core v0.96.9 2024-07-06 15:33:06 +00:00
SWC Bot
6a4c1d379f chore: Publish 1.6.11-nightly-20240706.1 with swc_core v0.96.7 2024-07-06 06:37:43 +00:00
강동윤 (Donny)
2052b4c857 chore: Publish 1.6.8-nightly-20240706.1 with swc_core v0.96.6 2024-07-06 08:30:53 +09:00
강동윤 (Donny)
e2ae26bbdd chore: Publish 1.6.8-nightly-20240705.1 with swc_core v0.96.5 2024-07-05 21:47:37 +09:00
강동윤 (Donny)
f04365a4cf chore: Publish 1.6.8-nightly-20240704.2 with swc_core v0.96.3 2024-07-04 18:26:07 +09:00
강동윤 (Donny)
e2527fb969 chore: Publish 1.6.7-nightly-20240703.3 with swc_core v0.96.2 2024-07-03 15:39:16 +09:00
강동윤 (Donny)
50c0eaf4de chore: Publish 1.6.7-nightly-20240703.1 with swc_core v0.96.1 2024-07-03 10:23:39 +09:00
Donny/강동윤
6b3c0da755
feat(binding): Create Wasm package for stripping only TypeScript (#9124)
**Description:**

This PR adds a Wasm binding which is only capable of stripping TypeScript types.


**Related issue:**

 - https://github.com/marco-ippolito/node/pull/2
2024-07-03 00:50:59 +00:00
강동윤 (Donny)
3ed3ff0e9a chore: Publish 1.6.6 with swc_core v0.95.10 2024-06-29 20:01:20 +09:00
강동윤 (Donny)
a56d311666 chore: Publish 1.6.4 with swc_core v0.95.6 2024-06-22 10:03:17 +09:00
강동윤 (Donny)
60ae1f75b5 chore: Publish 1.6.3 with swc_core v0.95.4 2024-06-19 13:03:59 +09:00
강동윤 (Donny)
e640972dae chore: Publish 1.6.1 with swc_core v0.95.2 2024-06-16 14:56:06 +09:00
강동윤 (Donny)
13c2b2eef0 chore: Publish 1.6.0 with swc_core v0.95.0 2024-06-15 22:01:17 +09:00
강동윤 (Donny)
3797b0b1af chore: Publish 1.5.30-nightly-20240614.2 with swc_core v0.94.0 2024-06-14 22:57:08 +09:00
SWC Bot
f7dc8245c5 chore: Publish 1.5.29-nightly-20240612.1 2024-06-12 03:33:37 +00:00
SWC Bot
328cb4b248 chore: Publish 1.5.29-nightly-20240611.1 2024-06-11 08:32:31 +00:00
강동윤 (Donny)
e06198552c chore: Publish 1.5.28 with swc_core v0.93.2 2024-06-11 15:03:56 +09:00
SWC Bot
22c00c7776 chore: Publish 1.5.26-nightly-20240610.1 2024-06-10 02:36:01 +00:00
SWC Bot
d4ab0acbe2 chore: Publish 1.5.26-nightly-20240607.1 2024-06-07 12:10:53 +00:00
SWC Bot
1b174dfac5 chore: Publish 1.5.11-nightly-20240606.1 2024-06-06 00:08:15 +00:00
강동윤 (Donny)
8bb302a508 chore: Publish 1.5.25 with swc_core v0.92.10 2024-06-05 10:22:50 +09:00
SWC Bot
774f3608d2 chore: Publish 1.5.11-nightly-20240601.1 2024-06-01 00:07:27 +00:00
SWC Bot
4e1adfcc88 chore: Publish 1.5.11-nightly-20240531.1 2024-05-31 00:08:16 +00:00
강동윤 (Donny)
eb3e35dba1 chore: Publish 1.5.9 with swc_core v0.92.6 2024-05-28 12:31:56 +09:00
SWC Bot
edca394374 chore: Publish 1.5.8-nightly-20240516.2 2024-05-16 02:48:21 +00:00
강동윤 (Donny)
5c93873660 chore: Publish 1.5.6 with swc_core v0.92.4 2024-05-14 09:27:15 +09:00
SWC Bot
94ed67e0d8 chore: Publish 1.5.6-nightly-20240511.1 2024-05-11 00:09:32 +00:00
강동윤 (Donny)
2f898b5eaf chore: Publish 1.5.5 with swc_core v0.92.2 2024-05-08 16:56:30 +09:00
SWC Bot
f4685ab631 chore: Publish 1.5.5-nightly-20240507.1 2024-05-07 03:49:05 +00:00
SWC Bot
d32f2d2936 chore: Publish 1.5.3-nightly-20240506.1 2024-05-06 00:07:28 +00:00
SWC Bot
9db8cdbfe3 chore: Publish 1.5.3-nightly-20240501.1 2024-05-01 00:06:54 +00:00
SWC Bot
04de5073bc chore: Publish 1.5.3-nightly-20240429.1 2024-04-29 01:53:31 +00:00
강동윤 (Donny)
bb317aaf26 chore: Publish 1.5.1 with swc_core v0.91.1 2024-04-27 15:29:15 +09:00
강동윤 (Donny)
37dc43c69d chore: Publish 1.5.0 with swc_core v0.91.0 2024-04-24 09:59:57 +09:00
SWC Bot
2fbb8641f5 chore: Publish 1.4.17-nightly-20240423.1 2024-04-23 02:09:59 +00:00
SWC Bot
105593fd71 chore: Publish 1.4.17-nightly-20240419.1 2024-04-19 14:16:02 +00:00
강동윤 (Donny)
f58b95a3d7 chore: Publish 1.4.16 with swc_core v0.90.35 2024-04-18 16:57:31 +09:00
SWC Bot
0594398aab chore: Publish 1.4.15-nightly-20240417.1 2024-04-17 07:09:51 +00:00
Donny/강동윤
f9459a8adf
build(cargo): Update rustc to nightly-2024-04-16 (#8870) 2024-04-17 05:42:11 +00:00