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
Donny/강동윤
e59ccfc800
chore: Publish @swc/helpers@v0.4.14
2022-11-19 21:20:44 +09:00
SWC Bot
a4ed624f81
chore: Publish crates
2022-11-18 07:56:33 +00:00
Donny/강동윤
15ad2c2568
fix(es/minifier): Abort inliner on fn declarations used multiple time ( #6473 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6463 .
2022-11-18 07:53:13 +00:00
SWC Bot
e45c66535c
chore: Publish crates
2022-11-18 07:19:26 +00:00
Alexander Akait
3e702b9804
fix(es/parser): Fix parsing of regexp ( #6469 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6322 .
- Closes https://github.com/swc-project/swc/issues/6323 .
2022-11-18 07:16:22 +00:00
SWC Bot
d78c5452ea
chore: Publish crates
2022-11-18 06:38:53 +00:00
Donny/강동윤
072bd13023
fix(es/modules): Remove wrong check for jsc.paths
( #6470 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6466 .
2022-11-18 06:35:49 +00:00
SWC Bot
e8b0b1c344
chore: Publish crates
2022-11-18 06:01:51 +00:00
Donny/강동윤
ca20d94a74
fix(es/lints): Revert check for reassignment to classes ( #6472 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6471 .
2022-11-18 05:58:48 +00:00
SWC Bot
19b45d299f
chore: Publish crates
2022-11-18 03:26:21 +00:00
Alexander Akait
3a0d98b6e9
fix(xml/parser): Fix parsing of comments ( #6449 )
2022-11-18 03:22:13 +00:00
SWC Bot
84c0215822
chore: Publish crates
2022-11-18 02:36:31 +00:00