Commit Graph

6361 Commits

Author SHA1 Message Date
SWC Bot
2e50dd54e8 chore: Publish crates 2022-12-12 02:01:40 +00:00
Kevin Barabash
5c53a74f55
fix(es/codegen): Fix codegen of TypeScript mapped types (#6621) 2022-12-12 01:58:08 +00:00
SWC Bot
cacd0d1105 chore: Publish crates 2022-12-11 09:04:55 +00:00
Sukka
7e841a5d30
fix(node-swc): Add missing const_to_let to the type (#6615) 2022-12-11 09:01:05 +00:00
SWC Bot
a5efa8af50 chore: Publish crates 2022-12-10 15:41:27 +00:00
Donny/강동윤
2bf7805980
feat(dbg-swc): Kill creduce on drop (#6614) 2022-12-10 15:38:11 +00:00
SWC Bot
3d80fa4c25 chore: Publish crates 2022-12-10 00:55:14 +00:00
Alexander Akait
68d76afe5d
fix(es/codegen): Don't print trailing coma for a rest argument (#6610)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6589.
2022-12-10 00:51:11 +00:00
SWC Bot
fc21895bce chore: Publish crates 2022-12-10 00:09:46 +00:00
Alexander Akait
c44f1d0a7f
fix(es/parser): Parse types in CallExpression inside templates (#6611)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6601.
2022-12-10 00:05:25 +00:00
SWC Bot
66b52824e5 chore: Publish crates 2022-12-09 04:03:15 +00:00
Donny/강동윤
6238abe571
chore: Publish v1.3.22 (#6608) 2022-12-09 03:57:35 +00:00
SWC Bot
5d9cff21b5 chore: Publish crates 2022-12-09 02:30:36 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive (#6606) 2022-12-09 02:27:19 +00:00
SWC Bot
fef8fc99a0 chore: Publish crates 2022-12-09 01:52:11 +00:00
HeYunfei
4c2d42261e
fix(es/compat): Prepend generated _loop to the correct scope (#6604) 2022-12-09 01:48:29 +00:00
SWC Bot
394141bdc0 chore: Publish crates 2022-12-09 00:18:50 +00:00
meskill
b97aa45c5c
fix(node-swc): Sync types for jsc.optimizer.globals (#6603) 2022-12-09 09:15:02 +09:00
SWC Bot
fbf83db0e7 chore: Publish crates 2022-12-08 05:51:07 +00:00
Donny/강동윤
538d63eb80
perf(css/codegen): Reduce allocations (#6599) 2022-12-08 05:47:35 +00:00
SWC Bot
6fadb48a52 chore: Publish crates 2022-12-08 05:15:03 +00:00
HeYunfei
fe0c65195d
fix(es/typescript): Strip inline type declarations (#6600) 2022-12-08 14:11:45 +09:00
SWC Bot
30d0d98405 chore: Publish crates 2022-12-08 02:15:57 +00:00
Donny/강동윤
154c315d91
chore(ci): Fix benchmark action (#6596)
**Description:**

It's broken due to the 6-hour time limit of GitHub actions. To fix it, this PR changes the machine type to `ubuntu-large`.
2022-12-08 11:05:53 +09:00
SWC Bot
96f9858639 chore: Publish crates 2022-12-07 23:43:51 +00:00
HeYunfei
29ba05d137
fix(es/resolver): Reset in_type flag correctly (#6597) 2022-12-08 08:40:40 +09:00
SWC Bot
9cc5b928a6 chore: Publish crates 2022-12-07 11:57:23 +00:00
Alex Kirszenberg
e1d01d8b7a
feat(es/analyzer): Extract the analyzer from the minifier to a separate crate (#6586) 2022-12-07 11:53:49 +00:00
SWC Bot
da5e18e522 chore: Publish crates 2022-12-07 09:30:36 +00:00
Donny/강동윤
08b6eab010
perf(css/parser): Don't allocate for comparisons (#6593) 2022-12-07 09:27:06 +00:00
SWC Bot
31630ba913 chore: Publish crates 2022-12-07 03:48:23 +00:00
Alexander Akait
d8936ade5b
fix(css/parser): Avoid skipping extra whitespaces (#6592)
**Description:**

 - Avoid skipping whitespaces in `[`/`(`/`{` because it is invalid. Whitespaces can be allowed and can be disallowed based on context, we can't apply this logic to any CSS context.
 - Also, we already skip whitespaces where it is necessary.
 - This also avoids extra actions.
2022-12-07 03:44:36 +00:00
SWC Bot
3abef05a8d chore: Publish crates 2022-12-07 02:58:32 +00:00
Alexander Akait
4de378cb1e
fix(css/parser): Fix a small bug (#6591) 2022-12-07 02:53:41 +00:00
SWC Bot
8c4bf84ce5 chore: Publish crates 2022-12-07 02:21:48 +00:00
Alexander Akait
d6e961368b
perf(html/parser): Optimize usage of buffers (#6590) 2022-12-07 02:18:31 +00:00
SWC Bot
d9c1c3a9bf chore: Publish crates 2022-12-07 01:48:18 +00:00
Alexander Akait
252edb550b
perf(css/parser): Reduce number of function calls (#6587) 2022-12-07 01:45:03 +00:00
SWC Bot
259eb87bd6 chore: Publish crates 2022-12-07 01:03:25 +00:00
Alexander Akait
f383836bad
chore(css/lexer): Fix typo (#6588) 2022-12-07 00:59:29 +00:00
SWC Bot
29d67206ba chore: Publish crates 2022-12-06 14:31:09 +00:00
Donny/강동윤
64796701e4
perf(css/parser): Reduce clones and allocations (#6585)
**Description:**

 - We use `(BytePos, BytePos)` instead of `Box<Span>`.
 - We use `Cow` for `Input`.
2022-12-06 14:27:45 +00:00
SWC Bot
79b2279470 chore: Publish crates 2022-12-06 13:08:27 +00:00
Donny/강동윤
78955995a2
perf(css/minifier): Improve performance (#6583) 2022-12-06 13:04:34 +00:00
SWC Bot
824979f92b chore: Publish crates 2022-12-06 12:28:41 +00:00
Donny/강동윤
d8adc58011
chore(ci): Fix benchmark action (#6582) 2022-12-06 12:24:55 +00:00
SWC Bot
6e5abdd9cc chore: Publish crates 2022-12-06 11:51:49 +00:00
Donny/강동윤
4171ee7fb3
perf(css/minifier): Remove more redundant clones (#6580) 2022-12-06 20:48:00 +09:00
SWC Bot
866fd09bad chore: Publish crates 2022-12-06 06:23:44 +00:00
Donny/강동윤
70ac0286e5
perf(css/minifier): Remove redundant clone (#6579) 2022-12-06 15:20:05 +09:00