Commit Graph

6253 Commits

Author SHA1 Message Date
Yongwook Choi (Leo)
81224b5d67
fix(es/minifier): Don't convert a signed integer literal key to a numeric literal (#6529)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6528.
2022-11-29 07:01:30 +00:00
SWC Bot
6ca36c198b chore: Publish crates 2022-11-29 06:00:22 +00:00
Donny/강동윤
cb157215d2
feat(es/parser): Make error message helpful (#6535)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6525.
2022-11-29 05:57:23 +00:00
SWC Bot
01676568e6 chore: Publish crates 2022-11-29 05:26:59 +00:00
Donny/강동윤
9752b43f94
fix(es/minifier): Use unsafe option for arrow => method (#6521)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6504.
 - https://github.com/vercel/next.js/issues/43208.
2022-11-29 05:23:55 +00:00
SWC Bot
40cc78f384 chore: Publish crates 2022-11-29 04:53:35 +00:00
Donny/강동윤
27ae59e77b
fix(es/minifier): Make sequential inliner respect resolution order (#6509)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6491.
2022-11-29 04:50:15 +00:00
SWC Bot
c14acc1b14 chore: Publish crates 2022-11-29 04:15:55 +00:00
Donny/강동윤
b394f9f1d3
fix(es/minifier): Don't drop used variables from sequential inliner (#6520)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6510.
2022-11-29 04:12:11 +00:00
SWC Bot
08e1c50737 chore: Publish crates 2022-11-29 02:43:31 +00:00
Alexander Akait
e3cbe7e9a9
fix(html/parser): Fix parsing of cdata (#6534) 2022-11-29 02:39:48 +00:00
SWC Bot
5a9aab2392 chore: Publish crates 2022-11-28 16:00:01 +00:00
Donny/강동윤
b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00
SWC Bot
96a1f93e91 chore: Publish crates 2022-11-28 07:54:59 +00:00
Donny/강동윤
47908a49d3
perf(common): Fix perf bug of sourcemap for inputs with multi-byte chars (#6523)
**Description:**

This PR makes the source map generator cache the previous position instead of searching it from 0 every time.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6411.
2022-11-28 07:51:36 +00:00
SWC Bot
2d70c3088b chore: Publish crates 2022-11-28 04:57:40 +00:00
Donny/강동윤
cc4646a4cc
test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
SWC Bot
3d58e37d86 chore: Publish crates 2022-11-28 02:53:35 +00:00
Donny/강동윤
5ff87afa78
test(es/transforms): Add tests about preserving top-level directives (#6518)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6508.
2022-11-28 02:50:26 +00:00
SWC Bot
70ed082ee4 chore: Publish crates 2022-11-27 04:43:13 +00:00
OJ Kwon
2ac32017ba
fix(ci): Fix publish action for binaries (#6517) 2022-11-27 04:39:42 +00:00
Donny/강동윤
c82c65c0ba chore: Publish crates 2022-11-26 22:48:22 +09:00
Donny/강동윤
71ce4a449a
chore: Publish v1.3.20 (#6516) 2022-11-26 22:35:16 +09:00
SWC Bot
f019c0210b chore: Publish crates 2022-11-25 11:31:34 +00:00
Donny/강동윤
0cee0e1af7
fix(es/visit): Visit TypeScript satisfies expressions (#6511) 2022-11-25 20:28:01 +09:00
SWC Bot
2ce5e2287a chore: Publish crates 2022-11-24 15:25:03 +00:00
Donny/강동윤
90aa6c8318
fix(es/react): Allow spread children (#6505)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/2037.
2022-11-24 15:21:51 +00:00
SWC Bot
bc61b0948a chore: Publish crates 2022-11-24 09:46:57 +00:00
HeYunfei
8d906b45e5
fix(es/minifier): Preserve classes with side effects in static fields (#6480) 2022-11-24 09:43:00 +00:00
SWC Bot
6fd97971c9 chore: Publish crates 2022-11-24 08:47:34 +00:00
HeYunfei
b3b5526be4
perf(es/helpers): Improve fast-path for helper detection (#6502) 2022-11-24 08:44:26 +00:00
Donny/강동윤
75c4d22bb6 chore: Publish crates 2022-11-23 10:04:58 +09:00
SWC Bot
48bbebf5e9 chore: Publish crates 2022-11-22 08:44:17 +00:00
OJ Kwon
4f8af16156
build(publish): Upload cli binaries to github release (#6495) 2022-11-22 08:41:12 +00:00
SWC Bot
b90ea8ab8f chore: Publish crates 2022-11-21 04:20:34 +00:00
OJ Kwon
78af96e507
chore(ci): Skip benchmark for forks (#6489) 2022-11-21 04:17:02 +00:00
SWC Bot
c6d33b3c58 chore: Publish crates 2022-11-21 01:41:47 +00:00
OJ Kwon
d957aac056
refactor(binding/wasm): Use binding_macro (#6487) 2022-11-21 01:38:25 +00:00
SWC Bot
0e67eaf892 chore: Publish crates 2022-11-21 00:57:06 +00:00
OJ Kwon
7fe091af1f
chore(ci): Reduce trigger scope for PRs (#6486) 2022-11-21 00:54:01 +00:00
SWC Bot
553ba9c382 chore: Publish crates 2022-11-21 00:11:04 +00:00
magic-akari
1ca281a6cf
fix(es/codegen): Preserve parens for new in optional chaining (#6484) 2022-11-21 00:07:16 +00:00
SWC Bot
66b4966d60 chore: Publish crates 2022-11-20 23:40:48 +00:00
Austaras
c57307d002
refactor(es): Remove settings related to privateInObject (#6468) 2022-11-21 08:34:20 +09:00
SWC Bot
40ad709523 chore: Publish crates 2022-11-20 10:06:27 +00:00
Alexander Akait
08a9e21b36
feat(es/codegen): Skip whitespaces for comments in minify mode (#6465)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-11-20 10:03:26 +00:00
SWC Bot
5a3ae502bb chore: Publish crates 2022-11-20 06:53:28 +00:00
Donny/강동윤
408dec0fa7
chore: Publish v1.3.19 (#6483) 2022-11-20 15:49:52 +09:00
SWC Bot
59954370cb chore: Publish crates 2022-11-20 00:30:30 +00:00
HeYunfei
9154bbc111
fix(es/minifier): Avoid dropping statements which has side-effects (#6476) 2022-11-20 00:26:52 +00:00