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
Donny/강동윤
aa22746d03
perf(atoms): Replace string-cache
with hstr
( #8126 )
...
**Description:**
`hstr` is an alternative for `string-cache` which does not support static strings and does not use a global mutex.
**Related issue:**
- Closes #4946 .
- Closes #7974 .
2023-11-07 00:51:43 +00:00
SWC Bot
d1c6d6ea7b
chore: Publish 1.3.97-nightly-20231107.1
2023-11-07 00:07:01 +00:00
SWC Bot
86e83335eb
chore: Publish crates
2023-11-06 10:47:53 +00:00
Donny/강동윤
d4ae44ac45
perf(es/parser): Use smarter lookup table for lexer ( #8226 )
...
**Description:**
`phf` is slower than expected.
2023-11-06 19:45:46 +09:00
SWC Bot
f00238d543
chore: Publish crates
2023-11-06 10:00:55 +00:00
Austaras
495268f126
chore(bindings/node): Upgrade jemalloc ( #8227 )
...
**Description:**
To get rid of rustc warning.
2023-11-06 09:57:49 +00:00
SWC Bot
b070ffe425
chore: Publish crates
2023-11-06 05:31:11 +00:00
Donny/강동윤
e3e439dba6
perf(es/parser): Improve performance ( #8224 )
...
**Description:**
Small things
2023-11-06 05:28:30 +00:00
SWC Bot
1f3726dc64
chore: Publish crates
2023-11-06 04:49:46 +00:00
Donny/강동윤
b745ed7ac8
perf(es/minifier): Remove needless operations for char freq analysis ( #8222 )
...
**Description:**
This skips a string search operation, which is quite costly, without affecting the output.
2023-11-06 13:46:43 +09:00
SWC Bot
48e5c9ad54
chore: Publish crates
2023-11-06 04:18:48 +00:00
Donny/강동윤
3833cf4e55
perf(es/parser): Remove needless strcmp
ops ( #8223 )
...
**Description:**
## The current `main`
```
es/parser/angular time: [7.9848 ms 8.0003 ms 8.0243 ms]
```
## This PR
```
es/parser/angular time: [7.3380 ms 7.3498 ms 7.3663 ms]
```
2023-11-06 13:16:35 +09:00
SWC Bot
968345b7f6
chore: Publish crates
2023-11-06 00:54:22 +00:00
Donny/강동윤
02cd7c2608
fix(css/modules): Fix handling of :global()
selector ( #8219 )
...
**Related issue:**
- Closes #8179
2023-11-06 00:51:09 +00:00
SWC Bot
6c59d53815
chore: Publish 1.3.97-nightly-20231106.1
2023-11-06 00:07:38 +00:00
SWC Bot
7ebdfd18f8
chore: Publish 1.3.97-nightly-20231105.1
2023-11-05 00:10:36 +00:00
SWC Bot
edb46c3c71
chore: Publish crates
2023-11-04 21:49:01 +00:00
Donny/강동윤
14ea705f27
build(cargo): Update rustc to nightly-2023-11-04
( #8221 )
...
**Breaking Changes**:
- `Mark::default()` is now identical as `Mark::new()`.
**Description:**
I want to see if inlining is improved
2023-11-04 21:47:10 +00:00
SWC Bot
1095bff35a
chore: Publish crates
2023-11-04 08:28:24 +00:00
bohan
67e2c4a4fd
perf(es): Delete useless partition and extend in comments ( #8214 )
...
I've used `bizcharts` as a benchmark, and:
before this PR 17s:
<img width="288" alt="image"
src="https://github.com/web-infra-dev/rspack/assets/30187863/35232863-247a-4825-a08f-977de46e7216 ">
after this PR 1.7s:
<img width="585" alt="image"
src="https://github.com/swc-project/swc/assets/30187863/b802abf0-d699-45c7-b9f3-2f52192f7477 ">
You can get more info at
https://github.com/web-infra-dev/rspack/issues/4525
2023-11-04 08:26:25 +00:00
SWC Bot
71448552e5
chore: Publish crates
2023-11-04 04:19:10 +00:00
Donny/강동윤
1a26be2a27
feat(es/codegen): Respect ascii_only: false
for StrLit
( #8217 )
...
**Related issue:**
- Closes #8189
2023-11-04 04:15:58 +00:00