Commit Graph

226 Commits

Author SHA1 Message Date
Donny/강동윤
714e05e553
feat(es/minifier): Consider arguments while dropping unused assignments (#3775)
swc_ecma_minifier:
 - `analyze`: Track usage of `arguments`.
2022-02-28 21:57:09 +09:00
Donny/강동윤
e3c374b53b
feat(es/quote): Support variables (#3774) 2022-02-28 10:44:06 +00:00
Donny/강동윤
3798436201
chore: Update rustc (#3768) 2022-02-28 16:12:28 +09:00
Pig Fang
66c6cae8dc
feat(css/lints): Add CSS linter (#3765) 2022-02-27 15:31:19 +00:00
Donny/강동윤
0ff4ad37c3
chore: Skip more actions for automated commits (#3761) 2022-02-27 15:27:15 +09:00
William Tetlow
abc0572557
fix(es/parser) Throw a syntax error for const without initializer in strict mode (#3742)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-27 06:25:05 +00:00
Donny/강동윤
6d98d146a6 chore: Skip CI for automated commits (#3760) 2022-02-27 14:44:35 +09:00
Donny/강동윤
76ec275c3c
chore(ci): Reduce CI time (#3719) 2022-02-24 06:06:03 +00:00
Donny/강동윤
f733c9c82f
chore(ci): Kill previous runs (#3678) 2022-02-22 23:25:40 +09:00
Donny/강동윤
b1d24702e3
refactor(preset-env): Extract common logic for browserslist support (#3674) 2022-02-22 09:03:40 +00:00
Donny/강동윤
4d5ba55e8a
doc(api/rust): Fix rustdoc (#3620) 2022-02-18 06:18:35 +00:00
Donny/강동윤
cbe87db4df chore(ci): Fix the script for CHANGELOG.md 2022-02-16 21:00:13 +09:00
Donny/강동윤
85caf291e2 chore(ci): Skip instead of cancel 2022-02-16 15:22:11 +09:00
Donny/강동윤
d66f701a4a chore(ci): Fix the condition for cancel action 2022-02-16 15:18:55 +09:00
Donny/강동윤
6173bb88fd chore(ci): Don't mark as a failure 2022-02-16 15:11:04 +09:00
Donny/강동윤
32bc17ff1a chore(ci): Fix version of git-cliff 2022-02-16 15:04:00 +09:00
Donny/강동윤
c775674ec0 chore(ci): Fix the auto-bump scripts 2022-02-16 14:44:21 +09:00
Donny/강동윤
7ddd5886f3 chore(ci): Fix the auto-bump scripts 2022-02-16 14:42:33 +09:00
Donny/강동윤
2d9735b9a9 chore(ci): Fix the auto-bump scripts 2022-02-16 14:36:45 +09:00
Donny/강동윤
55250e4428 chore(ci): Make CI faster 2022-02-16 14:12:22 +09:00
Donny/강동윤
786d016174
fix(es/lints): Fix duplicate-bindings for typescript (#3583) 2022-02-16 05:00:55 +00:00
Donny/강동윤
1bce557851 chore(ci): Don't run pr check for pushes 2022-02-15 20:26:30 +09:00
Donny/강동윤
bfb51f382e chore(bot): Fix permission issue 2022-02-15 19:47:47 +09:00
Donny/강동윤
a1e45c4b86
feat(bot): Add auto-bump script (#3573) 2022-02-15 19:35:59 +09:00
Donny/강동윤
59233d5082 chore: Fix CLA issue of auto-rebase script 2022-02-15 02:18:29 +09:00
Donny/강동윤
1c6e9efeb4 chore: Use GITHUB_TOKEN for auto-rebasing 2022-02-15 02:13:15 +09:00
Donny/강동윤
d0557117ce chore: Fix auto-rebase script 2022-02-15 01:31:46 +09:00
Donny/강동윤
47a81bdb95
chore(ci): Remove useless tests from the matrix (#3561) 2022-02-14 21:13:25 +09:00
Donny/강동윤
b1fc7a9e34
chore(ci): Add a bot for auto-rebasing (#3560) 2022-02-14 19:49:21 +09:00
Donny/강동윤
a7f0e84bbf
feat(es/minifier): Drop useless assignments (#3528)
testing:
 - Allow skipping diff using an environment variable `DIFF`.

swc_ecma_minifier:
 - `pure`: Drop useless assignemnts.
2022-02-11 08:43:48 +00:00
Donny/강동윤
80ed69d67d
chore(build): Disable LTO for local builds (#3514) 2022-02-10 17:35:15 +09:00
Donny/강동윤
74b433080b
refactor(es/minifier): Remove unused crates (#3395) 2022-01-28 20:17:08 +09:00
Donny/강동윤
839d0ac480
refactor(es/parser): Flatten tests to make git faster (#3393) 2022-01-28 19:11:30 +09:00
LongYinan
464c15b775
chore(ci): Fix FreeBSD build (#3379) 2022-01-27 17:10:03 +09:00
Donny/강동윤
4f23d651d1
fix(es/minifier): Consider capturing while inlining (#3322)
swc_ecma_minifier:
 - Don't inline functions if it captures the environment.
2022-01-21 10:24:41 +09:00
LongYinan
c069c78b21
build(node-swc): Fix Windows arm64 build OOM (#3324) 2022-01-20 17:11:56 +09: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
OJ Kwon
a4c497464d
feat(plugin/runnner): Support wasm32-wasi targets (#3271) 2022-01-15 04:40:00 +00:00
LongYinan
214427157d
build(node): Fix glibc issue on linux gnu arm (#3255) 2022-01-13 14:36:54 +00:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy (#3250) 2022-01-13 23:06:11 +09:00
Donny/강동윤
70c2f3b3a5
security(repo): Fix crev integration (#3210) 2022-01-07 20:03:03 +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/강동윤
c34f1a977f
chore(ci): Fix publish script (#3197)
swc_plugin_runner:
 - Use patched version of `cranelift-codegen`.
2022-01-06 17:03:28 +09:00
Donny
fef844954b chore(ci): Fix musl 2022-01-05 16:15:31 +09:00
Donny
bf0acd13da chore(ci): Use more RUSTFLAGS 2022-01-05 16:12:53 +09:00
Donny
4cbe8d18bb chore(ci): Use RUSTFLAGS for linux 2022-01-05 16:05:26 +09:00
Donny
ef4ea2fc7b chore(ci): Use --cargo-flags in correct place 2022-01-05 15:16:05 +09:00
Donny
a20f5d9a7c chore(ci): Fix --cargo-flags 2022-01-05 15:04:21 +09:00
Donny
b292126b38 chore(ci): Fix publish scripts again 2022-01-05 14:51:02 +09:00
Donny
3458e9f1d3 chore(ci): Fix publish scripts 2022-01-05 14:45:02 +09:00