Commit Graph

8087 Commits

Author SHA1 Message Date
Austaras
65c3d0e3f4
feat(es/minifier): Swap bin expr to save paren (#8277) 2023-11-14 16:45:24 +00:00
SWC Bot
aa36a53c42 chore: Publish crates 2023-11-14 16:01:17 +00:00
Austaras
20fb5bab32
fix(es/minifier): Keep class with a static block (#8283)
**Related issue:**

 - Closes #8271.
2023-11-15 00:59:14 +09:00
SWC Bot
0c05f6e76e chore: Publish 1.3.98-nightly-20231114.1 2023-11-14 00:06:45 +00:00
강동윤 (Donny)
13014cc7fb chore: Do not auto-approve PRs by @kdy1 2023-11-14 08:06:53 +09:00
강동윤 (Donny)
73caae9068 chore: Update CODEOWNERS 2023-11-14 08:01:42 +09:00
SWC Bot
656e13143c chore: Publish crates 2023-11-13 22:55:08 +00:00
Donny/강동윤
dd4129d1ca
chore: Add CODEOWNERS (#8281) 2023-11-14 07:53:14 +09:00
SWC Bot
9c438692c6 chore: Publish crates 2023-11-13 10:03:57 +00:00
magic-akari
c1281534b6
fix(es/parser): Fix ASI hazard of static (#8262)
**Related issue:**

 - Closes #8253
2023-11-13 10:02:02 +00:00
SWC Bot
35b95ae430 chore: Publish crates 2023-11-13 03:50:20 +00:00
Austaras
ebcd825225
fix(es/minifier): Enable seq inliner for const declarations (#8255) 2023-11-13 03:47:49 +00:00
SWC Bot
001fe85bd5 chore: Publish 1.3.98-nightly-20231113.1 2023-11-13 00:06:52 +00:00
SWC Bot
d0e6bab9b1 chore: Publish 1.3.98-nightly-20231112.1 2023-11-12 00:07:42 +00:00
SWC Bot
ca73387c47 chore: Publish 1.3.98-nightly-20231111.2 2023-11-11 22:14:24 +00:00
SWC Bot
07cc635489 chore: Publish crates 2023-11-11 19:12:50 +00:00
Donny/강동윤
9a0572b968
refactor(swc_node_base): Rename to swc_malloc (#8272)
**Description:**

This is quite convinient.
2023-11-11 19:10:56 +00:00
SWC Bot
14a6bf0747 chore: Publish crates 2023-11-11 17:27:26 +00:00
Donny/강동윤
ee0c12e4e7
chore(ci): Fix CI (#8267) 2023-11-12 02:25:36 +09:00
SWC Bot
c8379c27a0 chore: Publish 1.3.98-nightly-20231111.1 2023-11-11 00:07:33 +00:00
SWC Bot
2ef3de0021 chore: Publish crates 2023-11-10 13:10:36 +00:00
Donny/강동윤
0678c3c55f
fix(es/parser): Adjust the context for cond expr while parsing JSX (#8261)
**Related issue:**

 - Closes #8243.
2023-11-10 13:07:53 +00:00
SWC Bot
6383ac443d chore: Publish crates 2023-11-10 12:34:31 +00:00
Donny/강동윤
e58912622d
fix(es/parser): Consider ASI while parsing TypeScript type aliases (#8263)
**Related issue:**

 - Closes #8073.
2023-11-10 12:31:55 +00:00
SWC Bot
e0525b595e chore: Publish crates 2023-11-10 02:30:21 +00:00
magic-akari
6992d83d09
fix(es/decorators): Minimize class declarations transformation (#8245) 2023-11-10 02:27:01 +00:00
SWC Bot
ac80d7a93c chore: Publish crates 2023-11-10 00:33:30 +00:00
Donny/강동윤
0faa2c4a01
fix(es/codegen): Check for trailing comments while emitting an arrow (#8257)
**Description:**

This PR also **fixes** the `Default` implementation of `JsMinifyFormatOptions`. It didn't matched the default value when it's used with `serde::Deserialize`.


**Related issue:**

 - Closes #8251
2023-11-10 00:30:28 +00:00
SWC Bot
981ab771af chore: Publish 1.3.98-nightly-20231110.1 2023-11-10 00:07:08 +00:00
SWC Bot
665d679c69 chore: Publish crates 2023-11-09 21:53:21 +00:00
Donny/강동윤
302954e4e5
perf(css/parser): Use AtomStoreCell (#8247) 2023-11-10 06:50:33 +09:00
SWC Bot
cb44d3fc33 chore: Publish crates 2023-11-09 12:01:47 +00:00
Donny/강동윤
be748f0f33
fix(es/minifier): Use cooked while converting tpls into strings (#8248)
**Related issue:**

 - Closes #8228
2023-11-09 11:59:42 +00:00
강동윤 (Donny)
60455b0e3a chore: Publish crates 2023-11-09 15:12:15 +09:00
Donny/강동윤
05313ecd8f
chore: Publish v1.3.97 with swc_core v0.86.46 (#8250) 2023-11-09 15:09:41 +09:00
SWC Bot
2d2ad1e9a1 chore: Publish crates 2023-11-09 03:48:08 +00:00
Donny/강동윤
9a4bad4e9e
refactor(atoms): Improve APIs (#8249) 2023-11-09 03:45:59 +00:00
SWC Bot
2effaf6f43 chore: Publish crates 2023-11-09 01:01:47 +00:00
David Sherret
a5a6eb53a5
perf(atoms): Introduce AtomStoreCell (#8232) 2023-11-09 09:59:20 +09:00
SWC Bot
5472afb40e chore: Publish 1.3.97-nightly-20231109.1 2023-11-09 00:06:57 +00:00
SWC Bot
501f72a1d4 chore: Publish 1.3.97-nightly-20231108.1 2023-11-08 00:06:51 +00:00
SWC Bot
cbc01acac8 chore: Publish crates 2023-11-07 12:41:57 +00:00
Donny/강동윤
a3c03b30fb
perf(css/parser): Use AtomStore (#8238)
**Related issue:**

 - Closes #8237.
2023-11-07 21:38:54 +09:00
SWC Bot
4c2547adf2 chore: Publish crates 2023-11-07 09:55:14 +00:00
Donny/강동윤
c01454ad41
perf(atoms): Update hstr to make global APIs fast (#8241)
**Related issue:**

 - https://github.com/dudykr/ddbase/pull/14
2023-11-07 18:52:21 +09:00
SWC Bot
8aee432c69 chore: Publish crates 2023-11-07 09:36:20 +00:00
Niklas Mischkulnig
f9f305cc5f
build(preset-env/base): Upgrade browserslist-rs to v0.13.0 (#8229)
**Description:**

Upgrade browserslist-rs, there was a major version change because wasm-pack functionality was split out into a feature:


https://github.com/browserslist/browserslist-rs/compare/v0.12.4...v0.13.0

---------

Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com>
2023-11-07 09:33:16 +00:00
SWC Bot
a072819859 chore: Publish crates 2023-11-07 08:55:03 +00:00
David Sherret
37657b8bd5
perf(es/lexer): Remove needless clones of Rc<RefCell<AtomStore>> (#8231)
Removes some clones of `self.atom`.

`> cargo "bench" "--package" "swc_ecma_parser" "--bench" "parser" "--" "three"`

Main: ~38.2ms
This PR: ~37.8ms
2023-11-07 08:52:14 +00:00
SWC Bot
09b3003e58 chore: Publish crates 2023-11-07 00:54:18 +00:00