Commit Graph

268 Commits

Author SHA1 Message Date
Donny/강동윤
e7b9c552a7
chore(ci): Configure codspeed (#9189) 2024-07-10 15:20:27 +09:00
Boshen
9904a53b7f
chore(es): Bump unicode-id-start to v1.2.0 (#9177)
This bumps unicode support to unicode v15.1.0

The crate version is unpinned by removing the katana middle dot problem
occured in unicode v15.1.0

See https://github.com/oxc-project/unicode-id-start/pull/3

relates https://github.com/swc-project/swc/issues/8940
2024-07-08 11:18:29 +00:00
Donny/강동윤
b129343c94
feat(es/typescript): Add swc_fast_ts_strip (#9143)
**Description:**

This PR also adds a CI process for each Wasm binding.

---------

Co-authored-by: magic-akari <akari.ccino@gmail.com>
2024-07-05 21:07:24 +09:00
LongYinan
17915d9e22
chore: Update miette (#9137)
Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com>
2024-07-05 06:19:35 +00:00
Pig Fang
18d6277e4c
feat(preset-env): Upgrade browserslist-rs (#9023)
**Description:**

Compilation time of browserslist-rs has beed reduced by 32%. See:
https://github.com/browserslist/browserslist-rs/pull/23

But, it's still slower that oxc-browserslist:


![image](https://github.com/swc-project/swc/assets/17216317/44602603-e33f-442e-9ee0-242061089397)

while browserslist-rs costs about 3.9s.




**Related issue:**

Close #9014

---------

Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com>
2024-07-01 05:20:49 +00:00
Luca Casonato
5a2c968720
chore(deps): Replace sha-1 with sha1 (#9091)
They renamed the crate: https://github.com/RustCrypto/hashes?tab=readme-ov-file#crate-names
2024-06-21 11:17:50 +00:00
Donny/강동윤
a8551592b2
feat(typescript): Implement Isolated Declaration (#9086)
**Description:**

This PR adds TypeScript Isolated Declarations implementation by forking Deno's implementation.
2024-06-21 09:54:59 +00:00
Donny/강동윤
56f128fc03
chore: Add a crate swc_typescript (#9085)
**Description:**

This crate will be used for TypeScript Isolated Declaration support
2024-06-21 12:45:53 +09:00
Donny/강동윤
bad7da2bfd
chore: Update new_debug_unreachable (#9083) 2024-06-19 06:19:50 +00:00
Donny/강동윤
6fa79be081
feat(es/transforms): Add experimental output API for transforms (#9000)
**Description:**

This interface will provide a way to emit some outputs from transforms. This data will be emitted back to the JS caller.
2024-06-05 15:38:28 +09:00
Donny/강동윤
da70ebed69
feat(x): Initialize project (#8999)
**Description:**

SWC X will be a cross-module optimizer that utilizes an enormous amount of information. After merging this, I'll experiment with several approaches.
2024-05-31 00:56:21 +00:00
Donny/강동윤
6362ff4ba8
fix(es/ast): Pin version of unicodes (#8941)
**Description:**

https://github.com/swc-project/swc/issues/8940#issuecomment-2102423586

> I found part of the problem:
> 
> U+30FB was added to `ID_Continue` from Unicode version 14 to 15, but v8 is using an older version of unicode ... which I can't find the exact version.
> 
> I spent 2 hours searching for all the missing pieces, I give up.
> 
> Let me back port unicode version 14.

**Related issue:**

 - Closes #8940
2024-05-10 11:23:52 +09:00
magic-akari
cc1432a12f
chore: Apply cargo autoinherit (#8902) 2024-04-29 00:54:45 +00:00
Donny/강동윤
226b17fa86
chore(ci): Remove unused concurrency tests (#8100) 2023-10-11 21:40:49 +09:00
Donny/강동윤
6420aefca5
chore: Use cargo xtask (#8068) 2023-10-05 08:34:51 +00:00
Donny/강동윤
f717cf21cc
refactor(cli): Make CLI testable/managable with swc-bump (#8045)
**Description:**

It was hard to maintain CLI because actual logic was in `./bindings`.
2023-10-02 15:46:14 +00:00
Manish Goregaokar
a961090c9d
chore(es/parser): Scope use of lexical to certain features (#7644) 2023-07-13 11:07:25 +09:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts (#5999)
**Description:**

This PR merges CI scripts, and make integration tests use patched crates.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5540.
2022-09-30 16:57:15 +09:00
Donny/강동윤
8b31b65059
fix(es/codegen): Improve performance of debug build (#6003) 2022-09-30 16:12:56 +09:00
OJ Kwon
3204ac3e0c
build(cargo): Use workspace deps for internal pkg (#6001) 2022-09-30 15:48:23 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
Donny/강동윤
4e989807d7
chore(es/minifier): Fix example (#5739) 2022-09-04 22:18:05 +09:00
Donny/강동윤
b7da692580
feat(bindings): Reduce size (#5708) 2022-09-01 07:44:14 +00:00
OJ Kwon
496346ac04
refactor(bindings): Use separate workspace for bindings (#5506) 2022-08-16 15:01:49 +09:00
OJ Kwon
5348195996
feat(swc_core): Add macros for wasm bindings (#5430) 2022-08-10 03:10:19 +00:00
OJ Kwon
27b464d90a
feat(swc_core): Introduce package (#5364) 2022-08-02 07:25:59 +00:00
Alexander Akait
83e502367b
feat(xml): Add xml crates (#5329) 2022-08-01 03:56:12 +00:00
Donny/강동윤
17c51fa53c
refactor(webpack-ast): Remove (#5026) 2022-06-22 04:25:27 +00:00
Donny/강동윤
b3f6f20721
fix(es/resolver): Make catch parameter not disturb resolving (#4976) 2022-06-15 05:24:39 +00:00
Donny/강동윤
0e7f871961 chore: Publish v1.2.202 2022-06-14 15:43:13 +09:00
LongYinan
35806385ea
perf(es/minifier): Make more things parallel and reduce call stacks (#4915) 2022-06-14 05:03:09 +09:00
Donny/강동윤
2e9ab0518a
feat(node): Split css binding (#4831) 2022-05-28 14:32:56 +00:00
Donny/강동윤
49b3c2715c
refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
Donny/강동윤
47e6cc5190
refactor(es/minifier): Make rust-analyzer faster (#4744)
- We now use a separate crate for testing the minifier. This makes IDE much faster.
2022-05-23 15:53:01 +09:00
Donny/강동윤
b393773373
feat(debug): Inline dbg-swc (#4651) 2022-05-13 06:05:21 +00:00
Donny/강동윤
6a19ff1a15
feat(node/css): Add css bindings crate (#4346) 2022-04-25 14:11:22 +00:00
Donny/강동윤
83a8f489ec
refactor(bindings): Rename crates (#4337) 2022-04-15 22:47:44 +09:00
OJ Kwon
cf7ca5076a
refactor(plugin/api): Expand the proxy crate (#4290) 2022-04-09 07:47:43 +00:00
Alexander Akait
3e7872c8de
feat(html): Initialize (#4240) 2022-04-04 04:12:45 +00:00
OJ Kwon
536a190dc9
feat(plugin): Implement PoC of comments api (#4206) 2022-03-31 08:45:08 +00:00
OJ Kwon
eecda21d9a
fix(node-swc): Initialize custom trace subscriber only once (#4209) 2022-03-31 07:11:31 +00:00
Donny/강동윤
78175473fa
refactor(css/prefixer): Rename crate (#4159) 2022-03-25 19:46:45 +09:00
LongYinan
db9b988845
feat(node-swc): Add libc field in Linux platform packages (#4046) 2022-03-16 18:58:24 +09:00
OJ Kwon
560c81b120
build(cargo): Set workspace default members (#3978) 2022-03-13 08:17:55 +00:00
OJ Kwon
ffb2ee85e6
fix(node-swc): Correctly close trace spans after completion (#3811) 2022-03-02 10:03:00 +00:00
Pig Fang
66c6cae8dc
feat(css/lints): Add CSS linter (#3765) 2022-02-27 15:31:19 +00:00
Donny/강동윤
fe0ddcc54b
feat(es/quote): Implement quasi quoter partially (#3155) 2022-02-27 13:21:38 +00:00
Donny/강동윤
80ed69d67d
chore(build): Disable LTO for local builds (#3514) 2022-02-10 17:35:15 +09:00
Donny/강동윤
74b433080b
refactor(es/minifier): Remove unused crates (#3395) 2022-01-28 20:17:08 +09:00
OJ Kwon
432d5d3fb7
feat(plugin/macro): Add safe API for plugins based on a proc-macro (#3240) 2022-01-12 09:32:52 +00:00