Alexander Akait
f39d3aca4d
feat(es/ast): Add raw
to Num
( #4245 )
2022-04-05 12:46:35 +00:00
Donny/강동윤
c32f42b374
test(es): Organize tests ( #4251 )
2022-04-05 08:21:19 +00:00
OJ Kwon
4093814895
chore(build): Dedup swc_common
( #4247 )
2022-04-05 14:28:07 +09:00
Donny/강동윤
1f466e1d2f
chore(ci): Fix benchmark action ( #4242 )
2022-04-04 20:12:03 +09:00
SWC Bot
3337777f8c
chore: Publish crates
2022-04-02 06:06:39 +00:00
SWC Bot
1068561800
chore: Publish crates
2022-04-01 04:29:08 +00:00
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
SWC Bot
77722c4943
chore: Publish crates
2022-03-22 08:03:01 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
Donny/강동윤
9b64a6960f
fix(es/codegen): Emit decorators on class methods ( #4103 )
2022-03-20 07:53:53 +00:00
SWC Bot
e7d450c8af
chore: Publish crates
2022-03-19 07:07:31 +00:00
SWC Bot
a74d4ca679
chore: Publish crates
2022-03-17 10:29:25 +00:00
Donny/강동윤
9310c39fe9
fix(es/codegen): Fix sourcemap ( #4062 )
2022-03-17 10:26:58 +00:00
SWC Bot
4d6d766cf8
chore: Publish crates
2022-03-17 05:36:01 +00:00
LongYinan
db9b988845
feat(node-swc): Add libc
field in Linux platform packages ( #4046 )
2022-03-16 18:58:24 +09:00
SWC Bot
8eb9476cfb
chore: Publish crates
2022-03-16 08:13:01 +00:00
Donny/강동윤
38c0c0faa6
chore: Publish crates
2022-03-14 04:11:07 +09:00
SWC Bot
ad42c60e05
chore: Publish crates
2022-03-12 11:08:43 +00:00
Donny/강동윤
ddfa490899
chore: Publish crates
2022-03-12 10:00:23 +09:00
LongYinan
1206c84e19
feat(*): Update dependencies ( #3964 )
2022-03-11 23:00:55 +09:00
SWC Bot
666f55e01c
chore: Publish crates
2022-03-10 07:48:19 +00:00
OJ Kwon
86ea23785d
perf(*): Update tracing
to improve performance of disabled spans ( #3932 )
2022-03-10 03:15:49 +00:00
SWC Bot
fd453b9170
chore: Publish crates
2022-03-05 19:34:45 +00:00
SWC Bot
2fdc5f625d
chore: Publish crates
2022-03-05 14:52:49 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property ( #3868 )
2022-03-05 23:51:04 +09:00
SWC Bot
3de647a50a
chore: Publish crates
2022-03-05 07:58:10 +00:00
SWC Bot
add86a7e6a
chore: Publish crates
2022-03-05 06:48:00 +00:00
Austaras
6f076e4927
feat(es/transform): Unify logic for handling class properties ( #3766 )
2022-03-05 06:46:09 +00:00
SWC Bot
5f8f114b62
chore: Publish crates
2022-03-04 05:26:32 +09:00
SWC Bot
4a38e93efc
chore: Publish crates
2022-03-03 16:37:49 +00:00
Donny/강동윤
351b814ed0
perf(es): Use Mutex
from parking_lot
( #3830 )
2022-03-03 14:26:49 +00:00
SWC Bot
4fe874dd77
chore: Publish crates
2022-02-26 15:11:21 +00:00
Donny/강동윤
3d944656bf
refactor(es): Make compilation faster ( #3749 )
2022-02-26 06:41:14 +00:00
SWC Bot
9a4e961b2b
chore: Publish crates
2022-02-25 19:50:18 +00:00
SWC Bot
8f1aef47d4
chore: Publish crates
2022-02-25 06:10:45 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core
( #3731 )
2022-02-25 04:06:45 +00:00
SWC Bot
8c94ea9fc5
chore: Publish crates
2022-02-24 09:22:18 +00:00
SWC Bot
e4c674b9cb
chore: Publish crates
2022-02-21 13:10:43 +00:00
SWC Bot
e08a2c2c17
chore: Publish crates
2022-02-21 07:15:09 +00:00
SWC Bot
264f1cf8d6
chore: Publish crates
2022-02-20 15:53:48 +00:00
Donny/강동윤
10adf1e548
feat(es/minifier): Merge exports ( #3643 )
2022-02-20 10:44:21 +00:00
OJ Kwon
5061101999
build(swc): Bump the version of parking_lot
( #3604 )
2022-02-17 05:16:14 +00:00
SWC Bot
7351ec2477
chore: Publish crates
2022-02-15 13:22:16 +09:00
OJ Kwon
ad6f24ad83
build(*): Dedupe once_cell
( #3567 )
2022-02-15 11:58:44 +09:00
Donny/강동윤
80ed69d67d
chore(build): Disable LTO for local builds ( #3514 )
2022-02-10 17:35:15 +09:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt ( #3495 )
...
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
2022-02-09 06:33:32 +00:00
Donny/강동윤
5e82640b42
chore: Publish crates
2022-02-09 13:57:21 +09:00
Donny/강동윤
8bf5cf4d03
chore(es): Fix clippy warnings ( #3482 )
2022-02-08 19:50:22 +09:00
Donny/강동윤
19e7c70bd7
chore: Publish crates
2022-02-04 13:21:41 +09:00
Donny
ad860c9a1c
chore: Publish crates
2022-01-25 06:22:21 +09:00
RiESAEX
afdb168aad
fix(es/loader): Add an option to resolve symlinks with true
as a default ( #3340 )
2022-01-24 21:21:06 +00:00
LongYinan
9608605772
build(node-swc): Fix GLIBC < 2.18 compatible issues and android arm binary loading issue ( #3314 )
2022-01-20 02:21:24 +00:00
Austaras
9e636c7e58
refactor(es): Add visit_obj_and_computed
macro ( #3304 )
2022-01-19 23:11:52 +09:00
Donny
681de03e4b
chore: Publish crates
2022-01-17 13:36:00 +09:00
Donny
0955c3646b
chore: Publish crates
2022-01-16 23:32:02 +09:00
Donny/강동윤
357a350390
refactor(*): Cleanup ( #3274 )
2022-01-15 16:43:34 +09:00
Donny/강동윤
15b604b6d6
refactor(*): Fix some clippy warnings ( #3257 )
2022-01-14 07:20:45 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +09:00
Donny
c13bba8401
chore: Publish crates
2022-01-12 18:39:56 +09:00
Donny
9a62ef21b7
chore: Publish crates
2022-01-11 16:48:26 +09:00
Donny
d51904b93e
chore: Publish crates
2022-01-11 14:42:17 +09:00
Donny/강동윤
1edbf1a37a
feat(es/ast): Update is-macro
( #3226 )
...
swc_ecma_ast:
- Add `as_*` for ast enums.
2022-01-11 14:41:34 +09:00
Donny
852ec783f3
chore: Publish crates
2022-01-10 22:57:17 +09:00
Austaras
f58b50bea7
refactor(es/ast): Change types of member-like expressions ( #3178 )
...
swc_ecma_ast:
- Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
- Use `Box<Expr>` for `MemberExpr.obj`.
- Use ad-hoc type for `MemberExpr.prop`.
- Use ad-hoc type for `SuperPropExpr.prop`.
- Use `Callee` instead of `ExprOrSpread` for `CallExpr`.
- Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00
Donny
0d4b671052
chore: Publish crates
2022-01-10 15:05:26 +09:00
Austaras
cdb46cfb91
fix(es/hygiene): Visit computed properties in usage analyzer ( #3217 )
2022-01-09 15:42:19 +09:00
Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Sosuke Suzuki
432f877790
feat(es/ast): Use ModuleExportName
for ExportNamespaceSpecifier
( #3195 )
2022-01-06 20:19:11 +09:00
Donny
781aa79b82
chore: Publish crates
2022-01-04 19:29:50 +09:00
Donny
1e5bc88cd3
chore: Publish crates
2022-01-03 17:45:09 +09:00
Sosuke Suzuki
07c0489575
feat(es/ast): Add ModuleExportName
( #3048 )
...
swc_ecma_ast:
- Allow using string as import/export specifiers.
2022-01-03 08:44:11 +00:00
magic-akari
52961804d1
feat(es/codegen): Make the output for empty objects and empty statements pretty ( #3171 )
2022-01-03 05:54:58 +09:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
Donny
0cf8265f02
chore: Publish crates
2021-12-29 21:04:30 +09:00
Donny/강동윤
8a1016fb40
refactor(bundler): Improve test suite ( #3144 )
2021-12-29 19:19:44 +09:00
OJ Kwon
72c963662d
refactor(*): Drop unused dependencies ( #3138 )
2021-12-29 15:27:51 +09:00
Donny
737b6108d4
chore: Publish crates
2021-12-29 13:46:45 +09:00
Donny/강동윤
43c8cda31a
fix(es/renamer): Fix renamer ( #3139 )
...
swc_ecma_transforms_base:
- `resolver`: Ignore named export with source.
- `hygiene`: Ignore named export with source. (Closes #2924 , Closes #3114 )
swc_ecma_minifier:
- Handle `export default` declarations as declaration instead of expressions. (Closes #2717 )
- Don't override already-processed identifiers. (Closes #2988 )
swc_bundler:
- Adjust the syntax context for named re-exports.
2021-12-29 13:44:48 +09:00
Donny
25d26485fc
chore: Publish crates
2021-12-23 02:53:32 +09:00
Alex Alikiotis
d98a59339a
feat(es/bundler): Add an option to disable tree-shaking ( #3102 )
2021-12-23 02:53:02 +09:00
Donny
726fc6968d
chore: Publish crates
2021-12-21 23:53:37 +09:00
Donny/강동윤
a81661c74a
perf(es/hygiene): Fix performance bug ( #3090 )
...
swc_ecma_transforms_base:
- `hygiene`: Skip checking a symbol if we are sure that it will be discarded.
swc_ecma_laoder:
- Optimize `NodeModulesResolver` by trying `.js` first.
2021-12-21 23:52:13 +09:00
Donny/강동윤
ba2563f59e
fix(es/loader): Prefer ESM ( #3089 )
...
swc_ecma_loader:
- Check for `module` field and prefer it over `main`.
2021-12-21 21:39:35 +09:00
Donny
e33248cbcc
chore: Publish crates
2021-12-21 18:21:48 +09:00
Donny/강동윤
0e4dce694d
refactor(es/minifier): Use swc_timer
( #3087 )
...
swc_bundler:
- Add `Config.disable_fixer`.
- Add `Config.disable_hygiene`.
swc_ecma_minifier:
- Use `swc_timer`.
2021-12-21 18:19:33 +09:00
Donny/강동윤
d482d61b9f
chore(scripts): Use cargo profile instruments
instead of cargo instruments
( #3086 )
2021-12-21 16:09:19 +09:00
magic-akari
d5c7fb898f
fix(es/loader): Support fully-specified ESM import specifiers ( #3050 )
2021-12-16 11:37:22 +00:00
Donny
9b36abbe75
chore: Publish crates
2021-12-15 16:22:00 +09:00
Austaras
38955c0c8d
refactor(es/ast): Change type or the key
of ClassProp
to PropName
( #3038 )
2021-12-15 16:21:30 +09:00
Donny
f86c077a37
chore: Publish crates
2021-12-13 06:46:14 +09:00
Donny
bf69cd554b
chore: Publish crates
2021-12-07 18:03:14 +09:00
Donny
82ece9d0ca
chore: Publish crates
2021-12-07 15:15:08 +09:00
Donny
b1a47ee971
chore: Publish crates
2021-12-07 14:34:44 +09:00
Donny/강동윤
e48263b2f3
refactor(visit): Remove &dyn Node
from Visit
( #2984 )
...
swc_visit_macros:
- Remove `&dyn Node` from `Visit`.
- Implement `VisitWith<V>` for `[T]`.
2021-12-07 14:34:16 +09:00
Donny
acc45e7c36
chore: Publish crates
2021-12-05 17:34:04 +09:00
Donny/강동윤
1ea965cecb
fix(es/parser): Drop outdated options ( #2974 )
...
swc_ecma_parser:
- Drop flags in `EsConfig`.
- Drop flags in `TsConfig`.
- Drop unused variants from `SyntaxError`.
2021-12-05 17:33:34 +09:00
Donny
529f980693
chore: Publish crates
2021-12-05 15:44:50 +09:00
Donny
42a93dd8ef
chore: Publish crates
2021-12-04 11:53:14 +09:00
David Sherret
67280b6fb0
fix(es/typescript): Run resolver
before typescript::strip
( #2951 )
...
swc_ecma_transforms_base:
- `resolver`: Handle some typescript nodes.
swc_ecma_transforms_typescript:
- `strip`: Use identifier span hygiene information for stripping types.
2021-12-04 02:35:16 +00:00