Donny
a2445e743b
chore: Publish crates
2022-01-12 04:46:21 +09:00
David Sherret
105cbc2017
fix(es/parser): Fix span of ComputedPropName
( #3234 )
2022-01-12 04:45:52 +09:00
Donny
acfce35d77
chore: Publish crates
2022-01-11 19:37:43 +09:00
Donny/강동윤
78720c4c91
fix(es/minifier): Fix handling of inlined call to a hoisted function ( #3223 )
2022-01-11 19:37:06 +09:00
Donny
c5f2feaf58
chore: Publish crates
2022-01-11 19:35:28 +09:00
magic-akari
2e5150d2b7
fix(es/compat): Transform &&=
operator ( #3225 )
2022-01-11 10:33:57 +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
540bc09888
chore: Publish v1.2.128
2022-01-11 16:53:04 +09:00
Donny
9a62ef21b7
chore: Publish crates
2022-01-11 16:48:26 +09:00
RiESAEX
b649d23bac
feat(es/compat): Implement object super ( #3127 )
...
swc_ecma_transforms_compat:
- Implement object super. (Closes #2684 )
2022-01-11 07:45:01 +00:00
Donny
7fbe8f644e
chore: Publish crates
2022-01-11 16:15:11 +09:00
Guillaume Malette
9565149539
fix(es/modules): Fix lazy import handling ( #3211 )
...
swc_ecma_transforms_module:
- `common_js`: Correctly track lazy imports. (Closes #3081 )
2022-01-11 07:13:12 +00: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
54a0f51876
chore: Publish crates
2022-01-10 23:48:35 +09:00
Sosuke Suzuki
3fb76f64c4
feat(es/parser): Accept strings for import/exports ( #3190 )
2022-01-10 23:48:04 +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
OJ Kwon
7e7421ea52
feat(plugin): Perform actual transforms in plugins ( #3220 )
2022-01-10 21:34:16 +09:00
Donny/강동윤
057fca4196
chore(es/minifier): Add scripts to extract tests automatically ( #3212 )
2022-01-10 16:59:21 +09:00
Donny
db71f7a42d
chore: Publish crates
2022-01-10 15:16:55 +09:00
Donny
0d4b671052
chore: Publish crates
2022-01-10 15:05:26 +09:00
Donny
5cd352e5dd
chore: Publish crates
2022-01-09 15:42:56 +09:00
Austaras
cdb46cfb91
fix(es/hygiene): Visit computed properties in usage analyzer ( #3217 )
2022-01-09 15:42:19 +09:00
OJ Kwon
c9ded9b720
feat(plugin): Allow multi-value for the plugin signature ( #3216 )
2022-01-09 15:02:56 +09:00
Donny
9e0f6958a3
chore: Publish crates
2022-01-09 01:05:51 +09:00
magic-akari
5bee4e4902
refactor(es/compat): Preserve length of functions in async_generator
( #3202 )
2022-01-08 15:19:41 +00:00
Donny
1ca49a56b3
chore: Publish crates
2022-01-08 23:29:33 +09:00
Donny/강동윤
42f726873e
feat(es/transforms): Add Assumptions
( #3215 )
...
swc_ecma_transforms_base:
- Add `Assumptions`. (Closes #2057 )
swc_ecma_transforms:
- Reexport `Assumptions`.
swc:
- Add `jsc.assumptions`.
2022-01-08 23:26:09 +09:00
Donny/강동윤
70c2f3b3a5
security(repo): Fix crev integration ( #3210 )
2022-01-07 20:03:03 +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
fa212be6ae
chore: Publish crates
2022-01-07 14:49:46 +09:00
Donny/강동윤
54353a6fb5
fix(es/helpers): Don't transpile _typeof
helper ( #3208 )
...
swc_ecma_transforms_base:
- Add a directive to `_typeof` helper.
swc_ecma_transforms_compat:
- Don't transpile `_typeof` helper. (Closes #3201 )
swc_ecma_minifier:
- Drop swc/babel directives.
2022-01-07 14:48:08 +09:00
Donny
80bf7f25ff
chore: Publish crates
2022-01-06 21:25:35 +09:00
Donny/강동윤
0105939426
fix(es/minifier): Drop unreachable statements eagerly ( #3204 )
...
swc_ecma_minifier:
- `pure`: Drop unreachable statements. (Closes #3173 )
2022-01-06 21:25:06 +09:00
Donny
7c59765b2f
chore: Publish crates
2022-01-06 20:51:06 +09:00
Donny/강동윤
69b5f799f3
fix(es/minifier): Disable inlining of expressions from collapse_vars
( #3200 )
...
swc_ecma_minifier:
- `collapse_vars`: Disable for member expressions. (Closes #2614 )
- `sequences`: Respect `inline_prevented`.
2022-01-06 20:49:10 +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
24fbc475a3
chore: Publish crates
2022-01-06 19:50:54 +09:00
Donny
e19fe7d33b
chore(ci): Remove redudant plugin test
2022-01-06 18:01:08 +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
d901b6222f
chore(ci): Change version of rustc
2022-01-05 19:55:55 +09:00
Donny
1ebbe62290
chore(ci): Fix aarch64-pc-windows-msvc
2022-01-05 18:48:19 +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