Commit Graph

476 Commits

Author SHA1 Message Date
SWC Bot
2379fc1fd9 chore: Publish crates 2022-12-04 05:55:52 +00:00
SWC Bot
cffa11122b chore: Publish crates 2022-12-03 00:26:38 +00:00
SWC Bot
ab5635c6eb chore: Publish crates 2022-12-02 14:55:20 +00:00
Donny/강동윤
fa8f7b00fc
feat(css/plugin): Support Wasm plugin (#6568) 2022-12-02 12:45:17 +00:00
SWC Bot
2d36c3fb02 chore: Publish crates 2022-12-02 10:18:01 +00:00
Donny/강동윤
8cdc28cdfa
feat(css/plugin): Prepare Wasm plugins (#6567) 2022-12-02 10:14:46 +00:00
SWC Bot
ab2e19b601 chore: Publish crates 2022-12-02 08:01:39 +00:00
SWC Bot
912743aadb chore: Publish crates 2022-11-30 17:13:08 +00:00
SWC Bot
171733e8bb chore: Publish crates 2022-11-30 07:50:13 +00:00
SWC Bot
6ca36c198b chore: Publish crates 2022-11-29 06:00:22 +00:00
SWC Bot
5a9aab2392 chore: Publish crates 2022-11-28 16:00:01 +00:00
SWC Bot
96a1f93e91 chore: Publish crates 2022-11-28 07:54:59 +00:00
SWC Bot
66b4966d60 chore: Publish crates 2022-11-20 23:40:48 +00:00
SWC Bot
59954370cb chore: Publish crates 2022-11-20 00:30:30 +00:00
SWC Bot
e45c66535c chore: Publish crates 2022-11-18 07:19:26 +00:00
SWC Bot
0dac06cea2 chore: Publish crates 2022-11-16 02:58:26 +00:00
Donny/강동윤
99934b09f7
fix(es/minifier): Change the default of mangle.toplevel to false (#6439) 2022-11-15 02:28:38 +00:00
SWC Bot
81816f97d5 chore: Publish crates 2022-11-13 23:21:16 +00:00
OJ Kwon
7a1c2a1e2c
refactor(es/plugins): Simplify read_result_* (#6426) 2022-11-13 23:17:41 +00:00
SWC Bot
2088dd4a84 chore: Publish crates 2022-11-11 22:50:50 +00:00
Andreas
b6c1cc49e1
fix(es/plugin): Print more details on pointer conversion failures (#6378) 2022-11-11 22:47:44 +00:00
SWC Bot
9f685796c3 chore: Publish crates 2022-11-07 03:59:24 +00:00
SWC Bot
4293463bb6 chore: Publish crates 2022-11-03 04:55:30 +00:00
SWC Bot
a4546a4d22 chore: Publish crates 2022-10-28 01:27:37 +00:00
SWC Bot
fd4b66ea8c chore: Publish crates 2022-10-27 01:25:04 +00:00
SWC Bot
51132f0636 chore: Publish crates 2022-10-27 00:19:24 +00:00
SWC Bot
2f05c3fd32 chore: Publish crates 2022-10-24 03:58:37 +00:00
SWC Bot
e2c1fcffd4 chore: Publish crates 2022-10-21 23:50:56 +00:00
SWC Bot
b79997ba02 chore: Publish crates 2022-10-21 09:11:29 +00:00
SWC Bot
3f648bdf0f chore: Publish crates 2022-10-20 08:59:26 +00:00
SWC Bot
0c23592d14 chore: Publish crates 2022-10-20 01:50:04 +00:00
Donny/강동윤
e9ac7a7396
chore(ci): Fix auto-publish action (#6214) 2022-10-20 01:46:44 +00:00
SWC Bot
b48ec880fd chore: Publish crates 2022-10-19 04:00:51 +00:00
SWC Bot
a049ef058b chore: Publish crates 2022-10-18 14:51:39 +00:00
Donny/강동윤
e8a80c8a8b
chore: Publish v1.3.9 (#6177) 2022-10-17 20:32:18 +09:00
SWC Bot
fde2941f79 chore: Publish crates 2022-10-17 11:20:07 +00:00
Donny/강동윤
d13a397360
build(es/plugin): Fix Wasm build (#6181) 2022-10-17 20:17:29 +09:00
SWC Bot
c24c56cb57 chore: Publish crates 2022-10-17 11:08:37 +00:00
Donny/강동윤
ea4ae3dfbc
build(es/plugin): Fix Wasm build, really (#6180) 2022-10-17 20:06:08 +09:00
SWC Bot
995c701bc4 chore: Publish crates 2022-10-17 10:33:10 +00:00
Donny/강동윤
7c40e44d3f
build(es/plugin): Fix Wasm build (#6179) 2022-10-17 19:30:28 +09:00
SWC Bot
167359e089 chore: Publish crates 2022-10-17 09:38:57 +00:00
Donny/강동윤
cb8f3500b2
fix(es/plugin): Fix plugin on non x86_64 (#6178) 2022-10-17 09:36:26 +00:00
SWC Bot
fed888f822 chore: Publish crates 2022-10-17 08:33:49 +00:00
SWC Bot
3352c4543b chore: Publish crates 2022-10-15 05:21:07 +00:00
Donny/강동윤
899021e440
fix(es/plugin): Disable SIMD (#6163)
**Description:**

This PR disables SIMD for all hosts because wasmer cache is not portable.
2022-10-15 05:18:19 +00:00
SWC Bot
1affcfe8e8 chore: Publish crates 2022-10-13 06:12:56 +00:00
SWC Bot
56da9981bb chore: Publish crates 2022-10-12 10:06:01 +00:00
SWC Bot
e37ced5bf4 chore: Publish crates 2022-10-12 01:55:47 +00:00
SWC Bot
dcb3a4371d chore: Publish crates 2022-10-11 23:55:24 +00:00
SWC Bot
5bf306565f chore: Publish crates 2022-10-11 11:23:16 +00:00
SWC Bot
018ca946e7 chore: Publish crates 2022-10-10 13:09:51 +00:00
SWC Bot
5f49ac012e chore: Publish crates 2022-10-06 11:38:55 +00:00
SWC Bot
d620ce60ff chore: Publish crates 2022-10-02 15:36:08 +00:00
Donny/강동윤
10fb645552
chore(ci): Merge CI scripts (#5999)
**Description:**

This PR merges CI scripts, and make integration tests use patched crates.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5540.
2022-09-30 16:57:15 +09:00
Donny/강동윤
8b31b65059
fix(es/codegen): Improve performance of debug build (#6003) 2022-09-30 16:12:56 +09:00
OJ Kwon
3204ac3e0c
build(cargo): Use workspace deps for internal pkg (#6001) 2022-09-30 15:48:23 +09:00
OJ Kwon
af64217f19
build(cargo): Introduce workspace deps (#5997) 2022-09-30 13:43:32 +09:00
SWC Bot
c499e2054d chore: Publish crates 2022-09-28 22:57:51 +00:00
SWC Bot
d75addbdec chore: Publish crates 2022-09-28 10:37:40 +00:00
SWC Bot
e001226674 chore: Publish crates 2022-09-26 09:21:39 +00:00
SWC Bot
e1f421b6af chore: Publish crates 2022-09-25 01:36:48 +00:00
SWC Bot
e5ba9636ac chore: Publish crates 2022-09-24 03:36:47 +00:00
Donny/강동윤
3c3529cb84
build(rustc): Update rustc (#5943)
**Description:**

This PR updates rustc, and fix some performance bugs of `swc_common`.
2022-09-24 03:33:47 +00:00
SWC Bot
8a5ed1e0ba chore: Publish crates 2022-09-23 07:50:26 +00:00
SWC Bot
4c3813dbcc chore: Publish crates 2022-09-22 03:16:22 +00:00
SWC Bot
5c2b1bb15d chore: Publish crates 2022-09-20 03:51:28 +00:00
Donny/강동윤
20d071bdc7
test(es/plugin): Add a noop plugin (#5892)
**Description:**

The plugin is used for benchmark and verification of rkyv.
2022-09-18 09:54:06 +00:00
Donny/강동윤
f0ca487848 chore: Publish crates 2022-09-16 15:46:25 +09:00
SWC Bot
99094def0e chore: Publish crates 2022-09-16 02:47:08 +00:00
SWC Bot
1d633e8ba7 chore: Publish crates 2022-09-15 06:08:07 +00:00
SWC Bot
ec8bb432b9 chore: Publish crates 2022-09-15 05:23:46 +00:00
SWC Bot
d35792f424 chore: Publish crates 2022-09-14 07:56:20 +00:00
SWC Bot
8432c0a1ad chore: Publish crates 2022-09-14 07:19:24 +00:00
SWC Bot
d16fb9a8cf chore: Publish crates 2022-09-13 05:04:36 +00:00
SWC Bot
b2c0fbd7ba chore: Publish crates 2022-09-13 02:19:15 +00:00
SWC Bot
2df19176fb chore: Publish crates 2022-09-12 05:16:53 +00:00
SWC Bot
9f28c246dc chore: Publish crates 2022-09-12 04:34:08 +00:00
SWC Bot
5fe032c01a chore: Publish crates 2022-09-11 03:00:57 +00:00
SWC Bot
961a9047c0 chore: Publish crates 2022-09-10 15:07:06 +00:00
SWC Bot
417b1f2a92 chore: Publish crates 2022-09-10 07:23:37 +00:00
SWC Bot
a94d9f1fbd chore: Publish crates 2022-09-10 03:54:47 +00:00
Donny/강동윤
2bbc9bd73b
refactor(es/plugin): Fix lints (#5801) 2022-09-10 12:50:54 +09:00
SWC Bot
575940e770 chore: Publish crates 2022-09-09 08:09:53 +00:00
OJ Kwon
6f19f8902f
refactor(swc_core): enable bytechecked flag (#5792)
**Description:**

Another update to enable bytecheck rkyv feature flag.

Our dep tree is quite tangled with implicit enable (plugin -> rkyv). PR tries to detach some of it while trying to preserve existing behavior as much as it can.
2022-09-09 08:05:51 +00:00
SWC Bot
701fa74631 chore: Publish crates 2022-09-09 05:05:59 +00:00
SWC Bot
d2188eac3f chore: Publish crates 2022-09-08 04:28:01 +00:00
SWC Bot
bad9811ea8 chore: Publish crates 2022-09-07 06:16:59 +00:00
SWC Bot
e654741336 chore: Publish crates 2022-09-06 12:41:54 +00:00
OJ Kwon
d6e67b5944
feat(atoms): Introduce bytecheck-ed rkyv version (#5686) 2022-09-03 14:29:02 +09:00
OJ Kwon
975cbfe0d9
refactor(swc_core): Use namespace ecma (#5713) 2022-09-02 10:24:27 +09:00
OJ Kwon
7686faece5
fix(swc_core): Bump versions (#5706) 2022-09-01 13:08:04 +09:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation (#5627) 2022-08-25 16:10:47 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation (#5624) 2022-08-25 17:58:37 +09:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc (#5173) 2022-08-25 04:50:00 +00:00
OJ Kwon
1769191f9a
chore(swc_core): Update dependency version (#5595) 2022-08-23 10:10:30 +09:00
OJ Kwon
9bc40e3d08
build(swc_core): Fix dependency version (#5593) 2022-08-23 00:21:29 +00:00
SWC Bot
3e276fa323 chore: Publish crates 2022-08-22 23:51:16 +00:00
OJ Kwon
a3e855f720
feat(es/plugin): Provide swc_core diagnostic from plugin (#5591) 2022-08-22 23:48:50 +00:00
SWC Bot
2c35990a07 chore: Publish crates 2022-08-21 08:33:31 +00:00
SWC Bot
070f256ae3 chore: Publish crates 2022-08-17 21:56:44 +00:00
OJ Kwon
d46418bb47
feat(es/plugin/runner): Add more traces for the plugin host (#5538) 2022-08-18 06:54:17 +09:00
Donny/강동윤
f7b34e70e9 chore: Publish crates 2022-08-17 14:28:18 +09:00
OJ Kwon
4a9b1dde1a
fix(es/plugin/runner): Revert wasmer@3 (#5521) 2022-08-17 05:18:56 +00:00
OJ Kwon
3bdb39c0ee
fix(es/plugin/runner): Provide guest memory allocator for the sourcemap (#5517) 2022-08-17 00:25:40 +00:00
Donny/강동윤
5ea921ef95 chore: Publish crates 2022-08-16 16:33:49 +09:00
OJ Kwon
92f006c9a0
feat(es/plugin): Update wasmer to 3 (#5456) 2022-08-16 16:12:37 +09:00
OJ Kwon
ef1f259a93
fix(swc_core): Revert crate version metadata patch (#5501) 2022-08-15 14:06:34 +00:00
OJ Kwon
808e68b4b1
feat(swc_core): Provide build-time metadata diagnostics (#5494) 2022-08-15 09:41:14 +00:00
OJ Kwon
ca82f64b0e
fix(plugin/proxy): Fix a compilation attribute (#5495) 2022-08-15 07:59:25 +00:00
OJ Kwon
ff7f6f63f9
fix(es/plugin): Share SourceFile for plugin transforms (#5475) 2022-08-15 00:45:19 +00:00
Donny/강동윤
fcd438b371 chore: Publish crates 2022-08-14 15:36:29 +09:00
OJ Kwon
83417b6f75
refactor(bindings): Use published swc_core as interface (#5482) 2022-08-14 04:39:27 +00:00
OJ Kwon
9d04f24c26
feat(node): Use published version of swc_core for node binding (#5481) 2022-08-14 01:15:56 +00:00
Donny/강동윤
925839adc6 chore: Publish crates 2022-08-13 19:11:26 +09:00
Donny/강동윤
1b089be611 chore: Publish crates 2022-08-13 14:09:52 +09:00
Donny/강동윤
d2f2a1315b chore: Publish crates 2022-08-13 00:49:08 +09:00
OJ Kwon
d36e48efbf
build(plugin): Downgrade rkyv (#5459) 2022-08-12 14:04:05 +00:00
Donny/강동윤
033e05677a chore: Publish crates 2022-08-12 15:18:06 +09:00
OJ Kwon
072eb13bf1
build(es): Bump up packages (#5451) 2022-08-11 23:58:00 +00:00
OJ Kwon
e25b37d579
build(atoms): Bump swc_atoms (#5442) 2022-08-11 18:52:44 +09:00
SWC Bot
418bc2c76e chore: Publish crates 2022-08-11 02:04:38 +00:00
OJ Kwon
001607f341
feat(plugin): Add some tracing for plugin host (#5438) 2022-08-11 02:01:58 +00:00
OJ Kwon
6a36a8d982
fix(plugin): Disable remaining bytecheck (#5437) 2022-08-11 01:23:00 +00:00
SWC Bot
cdb9bbd707 chore: Publish crates 2022-08-08 03:00:13 +00:00
OJ Kwon
8ca736f8ee
feat(swc_core): Expose quote! macros (#5400) 2022-08-05 07:37:42 +00:00
OJ Kwon
038a543be9
feat(swc_core): Expand features to support node bindings (#5387) 2022-08-05 14:11:40 +09:00
OJ Kwon
8b9dd6f026
feat(swc_core): Expand features and use it from wasm and cli (#5369) 2022-08-03 03:38:05 +00:00
OJ Kwon
27b464d90a
feat(swc_core): Introduce package (#5364) 2022-08-02 07:25:59 +00:00
OJ Kwon
5c9ea16b2a
build(cargo): Update packages (#5331) 2022-07-29 08:30:41 +09:00
SWC Bot
129a886e13 chore: Publish crates 2022-07-27 04:18:47 +00:00
OJ Kwon
5a164bd137
feat(plugin): Make metadata api lazy (#5310) 2022-07-27 13:16:44 +09:00
Donny/강동윤
a37fdca969 chore: Publish crates 2022-07-22 21:06:43 +09:00
Donny/강동윤
037a53d5d1
perf(es/ast): Use Atom in some places (#5271) 2022-07-22 20:09:25 +09:00
OJ Kwon
43eeeb35a5
feat(es/plugin): Pass experimental metadata from host (#5261) 2022-07-21 05:34:48 +00:00
SWC Bot
fe74b7067c chore: Publish crates 2022-07-20 04:10:58 +00:00
OJ Kwon
0d91741eb9
build(cargo): Align dependency versions (#5248) 2022-07-20 03:42:04 +00:00
Donny/강동윤
54982d4d72 chore: Publish crates 2022-07-19 11:38:23 +09:00
OJ Kwon
cd94f0a2e9
test(es/plugin): Build plugins for e2e testing (#5210) 2022-07-15 02:10:13 +00:00
SWC Bot
891210d216 chore: Publish crates 2022-07-15 01:13:40 +00:00
OJ Kwon
92c0153cb5
feat(plugin): Pass unresolved_mark to plugins (#5212) 2022-07-15 01:11:17 +00:00
OJ Kwon
2fa51ecd78
test(plugin): Setup e2e fixture testing for plugins (#5192) 2022-07-13 06:39:08 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
OJ Kwon
a4b14c3806
test(node): Refactor tests (#5187) 2022-07-12 05:35:44 +00:00
OJ Kwon
f167198470
feat(plugin/macros): Export new interface for getting plugin schema version (#5166) 2022-07-11 01:44:00 +00:00
Donny/강동윤
793c423a24 chore: Publish crates 2022-07-10 00:57:16 +09:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
SWC Bot
c41769f99c chore: Publish crates 2022-07-08 06:04:50 +00:00
OJ Kwon
e8214babf5
refactor(plugin): Refactor transform executor (#5147) 2022-07-08 06:02:42 +00:00
SWC Bot
297228a690 chore: Publish crates 2022-07-07 07:48:49 +00:00
OJ Kwon
82fbe15a57
feat(plugin): Wrap serialized struct with a version (#5128) 2022-07-07 07:46:49 +00:00
SWC Bot
9385103649 chore: Publish crates 2022-07-06 04:44:10 +00:00
OJ Kwon
2ba8b39fa0
refactor(common): Bikeshed plugin apis (#5120) 2022-07-06 04:42:00 +00:00
Donny/강동윤
c2c923e205 chore: Publish crates 2022-07-01 11:50:45 +09:00
SWC Bot
73874486b2 chore: Publish crates 2022-06-29 11:05:08 +00:00
SWC Bot
5576c3c601 chore: Publish crates 2022-06-29 03:37:57 +00:00
OJ Kwon
b30032dd46
feat(plugin): Upgrade wasmer (#4929) 2022-06-10 12:54:17 +00:00
Donny/강동윤
eb0acc3859 chore: Publish crates 2022-06-06 04:54:19 +09:00
OJ Kwon
6bc33cb042
feat(es/codegen): Support other source map implementations (#4879) 2022-06-05 14:40:55 +00:00
SWC Bot
ee2470c3cc chore: Publish crates 2022-05-25 02:12:44 +00:00
OJ Kwon
a937357d47
feat(plugin): Implement SourceMap.span_to_* (#4781) 2022-05-25 02:09:55 +00:00
OJ Kwon
3298cb7906
feat(plugin): Implement more SourceMap apis (#4769) 2022-05-24 07:19:27 +00:00
SWC Bot
97808349a2 chore: Publish crates 2022-05-11 16:17:07 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id APIs (#4614)
# API Changes

 - `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
SWC Bot
e4ce388632 chore: Publish crates 2022-05-06 04:10:39 +00:00
Donny/강동윤
60efb7e9c7
chore(plugin): Add a benchmark (#4397) 2022-04-22 14:52:55 +09:00
OJ Kwon
8419b60430
fix(plugin): Align deps to fix build (#4377) 2022-04-20 08:05:02 +00:00
Donny/강동윤
15efe48784 chore: Publish crates 2022-04-20 13:18:26 +09:00
OJ Kwon
f06c862a9f feat(plugin): Support lookup_char_pos of SourceMap (#4364) 2022-04-19 14:26:28 +09:00
SWC Bot
995b4367cc chore: Publish crates 2022-04-15 07:39:50 +00:00
SWC Bot
fa880634bd chore: Publish crates 2022-04-11 20:05:28 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting (#4304) 2022-04-11 18:45:58 +00:00
SWC Bot
ea3d6c1a58 chore: Publish crates 2022-04-09 07:50:29 +00:00
OJ Kwon
cf7ca5076a
refactor(plugin/api): Expand the proxy crate (#4290) 2022-04-09 07:47:43 +00:00
Donny/강동윤
6fe4ee79be chore: Publish crates 2022-04-09 16:18:24 +09:00
SWC Bot
67f1944441 chore: Publish crates 2022-04-09 07:14:42 +00:00
OJ Kwon
281db2cc4f
feat(plugin): Make more types serializable (#4289) 2022-04-09 16:12:14 +09:00
SWC Bot
aabb48d9b2 chore: Publish crates 2022-04-08 08:11:00 +00:00
OJ Kwon
fc3a2d0cf9
feat(plugin/runner): Allow fs access from wasi plugin (#4279) 2022-04-08 08:03:03 +00:00
OJ Kwon
fad652f879
chore(plugin): Align version of swc_common to include dummy comment api (#4270) 2022-04-07 07:21:37 +00:00
SWC Bot
4c89ddd020 chore: Publish crates 2022-04-07 05:39:57 +00:00
OJ Kwon
b15e984317
feat(plugin): Implement proxy for dummy_with_cmt (#4268) 2022-04-07 05:37:12 +00:00
SWC Bot
5eb3d8315a chore: Publish crates 2022-04-05 12:49:22 +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
OJ Kwon
6ea66cf001
feat(plugin): Implement plugin api for comments (#4229) 2022-04-03 15:22:36 +09:00
SWC Bot
3337777f8c chore: Publish crates 2022-04-02 06:06:39 +00:00
OJ Kwon
536a190dc9
feat(plugin): Implement PoC of comments api (#4206) 2022-03-31 08:45:08 +00:00
SWC Bot
6125de9808 chore: Publish crates 2022-03-28 12:20:51 +00:00
SWC Bot
38d91471ab chore: Publish crates 2022-03-25 07:07:48 +00:00
OJ Kwon
161353cf25
feat(plugin/runner): Implement initial loading for wasm32 (#4151) 2022-03-25 07:05:26 +00:00
Donny/강동윤
e6088408bf chore: Publish crates 2022-03-24 12:05:47 +09:00
OJ Kwon
50f7f465f9
feat(wasm/plugin): Implement initial plugin interface for wasm runtimes (#4123) 2022-03-23 16:12:59 +09:00
SWC Bot
77722c4943 chore: Publish crates 2022-03-22 08:03:01 +00:00
OJ Kwon
f41a717c45
chore(plugin/runner): Update wasmer-* (#4111) 2022-03-22 05:14:20 +00:00
SWC Bot
4d6d766cf8 chore: Publish crates 2022-03-17 05:36:01 +00:00
SWC Bot
409bb9f3fe chore: Publish crates 2022-03-17 05:09:17 +00:00
OJ Kwon
5c84fe525f
fix(plugin/runner): Make build pass for wasm32 (#4056) 2022-03-17 05:07:03 +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
c6d781916f chore: Publish crates 2022-03-15 22:48:06 +00:00
OJ Kwon
dab2002a2e
refactor(plugin/runner): Split modules and introduce feature flags (#4035) 2022-03-15 22:45:40 +00:00
Donny/강동윤
38c0c0faa6 chore: Publish crates 2022-03-14 04:11:07 +09: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
OJ Kwon
ca071fb705
fix(es): Adjust tracing span level (#3911) 2022-03-10 16:59:51 +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
2fdc5f625d chore: Publish crates 2022-03-05 14:52:49 +00:00
SWC Bot
5f8f114b62 chore: Publish crates 2022-03-04 05:26:32 +09:00
OJ Kwon
ffb2ee85e6
fix(node-swc): Correctly close trace spans after completion (#3811) 2022-03-02 10:03:00 +00:00
SWC Bot
518c87d828 chore: Publish crates 2022-03-01 09:09:46 +00:00
OJ Kwon
99d536e486
feat(plugin/runner): Update wasmer to v2.2 (#3788) 2022-03-01 09:07:39 +00:00
SWC Bot
0c22af3f02 chore: Publish crates 2022-03-01 08:23:08 +00:00
OJ Kwon
7fd0eeecb8
perf(plugin/runner): Optimize write_into_memory_view (#3797) 2022-03-01 08:20:56 +00:00
Donny/강동윤
3d944656bf
refactor(es): Make compilation faster (#3749) 2022-02-26 06:41:14 +00:00
OJ Kwon
5c29f15640
feat(plugin): Support tracing plugin execution (#3744) 2022-02-25 20:28:17 +00:00
SWC Bot
8012056bd8 chore: Publish crates 2022-02-22 08:11:02 +00:00
Donny/강동윤
210f17af8c
build(swc): Remove unused dependencies (#3673) 2022-02-22 08:05:54 +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
SWC Bot
090e7ef965 chore: Publish crates 2022-02-18 05:54:18 +00:00
OJ Kwon
05aecf507e
fix(plugin): Fix caching of wasm modulee (#3616) 2022-02-18 05:50:51 +00:00
OJ Kwon
5061101999
build(swc): Bump the version of parking_lot (#3604) 2022-02-17 05:16:14 +00:00
SWC Bot
a5ae6806c3 chore: Publish crates 2022-02-15 17:05:01 +09:00
OJ Kwon
a96217feaa
feat(plugin): Add PluginContext (#3568) 2022-02-15 08:03:17 +00:00
SWC Bot
c624fed604 chore: Publish crates 2022-02-15 12:05:43 +09:00
OJ Kwon
d6477a76cf
feat(plugin/runner): Improve resolver support for npm (#3566) 2022-02-15 12:05:09 +09:00
OJ Kwon
ad6f24ad83
build(*): Dedupe once_cell (#3567) 2022-02-15 11:58:44 +09:00
SWC Bot
65efef2e74 chore: Publish crates 2022-02-12 14:25:32 +09:00
OJ Kwon
bc250262f2
feat(plugin): implement proxy for Mark and SyntaxContext (#3511) 2022-02-10 06:57:42 +00: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
OJ Kwon
494b4c8203
feat(swc/plugin): Implement proxy for Mark::fresh (#3492) 2022-02-09 13:56:39 +09:00
Donny/강동윤
19e7c70bd7 chore: Publish crates 2022-02-04 13:21:41 +09:00
OJ Kwon
a8debc17f6
feat(plugin): Pass host context to plugins for diagnostics emission (#3359) 2022-01-25 08:13:39 +00:00
OJ Kwon
438649818f
refactor(plugin): Remove multivalue polyfill (#3346) 2022-01-24 15:13:30 +09:00
OJ Kwon
c6ffdc8717
feat(plugin): Add PluginError (#3300) 2022-01-18 12:26:04 +09:00
Donny
9b98ada0d2 chore: Publish crates 2022-01-15 14:11:49 +09:00
OJ Kwon
66d1a92635
feat(plugin/runner): Free allocated memory on errors (#3270) 2022-01-15 05:10:19 +00:00
OJ Kwon
a4c497464d
feat(plugin/runnner): Support wasm32-wasi targets (#3271) 2022-01-15 04:40:00 +00: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
OJ Kwon
432d5d3fb7
feat(plugin/macro): Add safe API for plugins based on a proc-macro (#3240) 2022-01-12 09:32:52 +00:00
OJ Kwon
a2f2b5ac89
feat(plugin): Don't serialize/deserialize needlessly (#3227)
swc_common:
 - Add `Serialized`.

swc_plugin_runner:
 - Accept `Serialized` instead of `Program`.
 - Pass `Serialized` from previous plugin instead of deserializing it.
2022-01-11 10:11:04 +00: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
OJ Kwon
7e7421ea52
feat(plugin): Perform actual transforms in plugins (#3220) 2022-01-10 21:34:16 +09:00
OJ Kwon
c9ded9b720
feat(plugin): Allow multi-value for the plugin signature (#3216) 2022-01-09 15:02:56 +09:00
Donny
56d1f03556 chore: Publish crates 2022-01-07 15:18:26 +09:00
OJ Kwon
92de2c7884
feat(plugin): Pass serialized ast to a wasm file (#3199)
swc_common:
 - Use correct cargo feature for plugin apis.

swc_plugin:
 - Add hidden functions required for memory operations from host.

swc_plugin_runner:
 - Pass serialized AST to a wasm file.
2022-01-07 15:13:46 +09:00
Donny
6892f27ad7 chore: Publish crates 2022-01-06 20:19:36 +09:00