Donny
62a48875bd
chore: Publish crates
2021-11-25 14:14:43 +09:00
Alexander Akait
ce6c7ee85d
fix(css/ast): Fix AST definitions for @keyframes
( #2848 )
2021-11-25 04:59:40 +00:00
Donny
e04f0867fc
chore: Publish crates
2021-11-24 17:04:09 +09:00
Alexander Akait
4bf1f93017
refactor(css/lexer): Follow spec more closely ( #2839 )
2021-11-24 07:56:07 +00:00
Donny
1cc4de3e9b
chore: Publish v1.2.112
2021-11-24 15:07:18 +09:00
Donny
770da5ae9e
chore: Publish crates
2021-11-24 15:05:46 +09:00
RiESAEX
cf777c5ba1
fix(es/lexer): Fix lexing of hexadecimal escape sequences ( #2838 )
2021-11-24 05:26:38 +00:00
Donny
a8bda3bb9c
chore: Publish crates
2021-11-24 13:54:33 +09:00
OJ Kwon
1609580a4e
perf(es/transforms/compat): Migrate computed_props
to VisitMut
( #2857 )
2021-11-24 04:49:45 +00:00
Donny
d4ffce13b5
chore: Publish crates
2021-11-24 10:08:01 +09:00
Austaras
fbcbeb4892
refactor(es/transforms/compat): Lift this replacer out of arrow ( #2812 )
...
swc_ecma_utils:
- Add `FunctionWrapper`, which tracks `this` and `arguments`.
swc_ecma_transforms_compat:
- `arrow`: Use `FunctionWrapper` instead of tracking `this` by itself.
- `async_to_generator`: Use `FunctionWrapper` instead of tracking `this` by itself.
2021-11-24 00:59:06 +00:00
Donny/강동윤
790a262c07
refactor(es/estree): Rename: babel
=> estree
( #2846 )
...
swc_babel_ast:
- Rename as `swc_estree_ast`.
swc_babel_compat:
- Rename as `swc_estree_compat`.
swc_babel_visit:
- Rename as `swc_estree_visit`.
2021-11-24 05:34:41 +09:00
Donny
e4216a2e6c
chore: Publish crates
2021-11-23 21:10:35 +09:00
Alexander Akait
839a99e7fd
feat(css/parser): Improve parser api ( #2847 )
...
swc_css_parser:
- Allow parsing as more types.
2021-11-23 11:53:58 +00:00
Donny
c1e99eee3e
chore: Publish crates
2021-11-23 19:07:48 +09:00
Donny/강동윤
2c099bfd2c
feat(es/preset_env): Use browserslist-rs
( #2845 )
...
swc_ecma_preset_env:
- Fix `default_path`.
- Use `browserslist-rs` for query. (Closes #2781 )
2021-11-23 19:07:16 +09:00
Donny
e99c4d26ae
chore: Publish crates
2021-11-23 18:14:38 +09:00
erdmko
c8de935560
fix(bundler): Ignore require
of external modules ( #2840 )
...
swc_bundler:
- Check for external modules for `require` calls`. (Closes #2275 )
2021-11-23 18:03:29 +09:00
Donny/강동윤
d0cabc37ed
chore: Publish babel crates ( #2835 )
2021-11-22 21:41:03 +09:00
Donny/강동윤
6b96a3d8ed
feat: Enable logging of timings ( #2833 )
...
swc_timer:
- Add `Timer`.
- Add `timer!()`.
node:
- Enable logging.
2021-11-22 21:01:08 +09:00
Donny
7ec522f165
chore: Publish crates
2021-11-22 17:55:07 +09:00
黄伟
c5768d7672
feat(es/minifier): Improve drop_console
( #2830 )
...
swc_ecma_minifier:
- Implement more rules for `drop_console`. (Closes #2807 )
2021-11-22 17:54:36 +09:00
Yoshiaki Togami
bfa6458737
chore: Typo ( #2829 )
2021-11-22 05:03:41 +09:00
Donny
46e722559e
chore: Publish crates
2021-11-22 01:02:49 +09:00
Donny/강동윤
79ba13cbb5
fix(es/parser): Fix comments of empty modules ( #2828 )
...
swc_ecma_parser:
- Use correct span for storing comments when module is empty.
2021-11-22 01:02:28 +09:00
Donny
a392a4c0fd
chore: Publish crates
2021-11-21 23:43:31 +09:00
Donny/강동윤
9525ea178f
fix(es/parser): Fix span of empty modules ( #2827 )
...
swc_ecma_parser:
- Don't use dummy span for empty modules.
2021-11-21 23:42:36 +09:00
Donny/강동윤
7a6bf424c5
fix(es/transforms/base): Fix ts_resolver
( #2826 )
...
swc_ecma_transforms_base:
- `ts_resolver`: Hoist type aliases.
2021-11-21 16:31:12 +09:00
Donny
96d8ee522c
chore: Publish crates
2021-11-21 16:30:42 +09:00
OJ Kwon
a9a9833be8
perf(es/transforms/compat): Migrate block_scoping
to VisitMut
( #2817 )
2021-11-21 07:30:11 +00:00
Donny
218a269bb5
chore: Publish crates
2021-11-21 15:48:05 +09:00
Donny/강동윤
9cd3d1610d
fix(es/transforms/base): Fix ts_resolver
( #2824 )
...
swc_ecma_transforms_base:
- `ts_resolver`: Hoist interface declarations.
2021-11-21 15:47:38 +09:00
Donny/강동윤
020b4a554d
fix(graph_analyzer): Allow invoking load
multiple time ( #2823 )
...
swc_graph_analyzer:
- Make `load` work correctly even if it's called multiple time.
2021-11-21 14:55:59 +09:00
Donny/강동윤
d64b066ef1
bench(es/visit): Add some benchmarks ( #2820 )
2021-11-21 14:08:55 +09:00
Donny
2749817545
chore: Publish crates
2021-11-20 20:25:28 +09:00
Daniel Luz
95a6a28014
fix(es/transforms/typescript): Allow enum aliases when values are strings ( #2816 )
...
swc_ecma_transforms_typescript:
- `strip`: Support aliasing within string-values enums. (Closes #2809 )
2021-11-20 11:13:14 +00:00
Donny/강동윤
6a7775b5da
fix(es/transforms/compat): Fix this
in constructor ( #2818 )
...
swc_ecma_transforms_classes:
- Don't modify `this` in constructors.
swc_ecma_transforms_compat:
- Fix handling of `this` in constructors.
2021-11-20 19:07:42 +09:00
Donny
cdf7f5f5a0
chore: Publish crates
2021-11-20 17:06:40 +09:00
Donny/강동윤
fa342a0067
fix(es/minifier): Fix bugs ( #2779 )
...
swc_ecma_minifier:
- Don't optimize `1 / t == -1 / 0` as `!1`.
- Don't optimize `e === -1 / 0` as false.
- Don't inline string literals in arguments, if it's used multiple time. (https://github.com/vercel/next.js/issues/31291 )
2021-11-20 17:06:18 +09:00
Donny
5a037876dd
chore: Publish crates
2021-11-20 17:05:17 +09:00
OJ Kwon
26734d44eb
fix(es/transforms/compat): Reduce .bind(this)
( #2806 )
...
swc_ecma_transforms_compat:
- `async_to_generator`: Reduce explicit `.bind(this)`.
2021-11-20 08:04:27 +00:00
Donny
43586d0b7c
chore: Publish crates
2021-11-20 16:29:43 +09:00
Alexander Akait
4bcf3fc2ad
refactor(css/ast): Split pseudo class and pseudo element ( #2675 )
2021-11-20 16:29:18 +09:00
Donny
e39748ed4a
chore: Publish crates
2021-11-20 15:52:34 +09:00
David Sherret
338b8fd98e
fix(es/parser): Fix span of named export ( #2813 )
...
swc_ecma_parser:
- Include semicolon in span of a named export.
2021-11-20 15:52:08 +09:00
OJ Kwon
372f5bf1e0
perf(es/transforms/compat): Migrate parameters
to VisitMut
( #2804 )
2021-11-19 09:27:16 +00:00
Donny/강동윤
1368981f19
fix(wasm): Fix wasm-web
( #2803 )
2021-11-19 15:04:01 +09:00
Donny
51bee9bfd3
chore: Publish crates
2021-11-19 03:02:31 +09:00
David Sherret
02ffe8a289
fix(es/utils): Fix extract_var_ids
( #2798 )
...
swc_ecma_utils:
- `extract_var_ids`: Handle assignment object pattern property.
2021-11-19 03:02:08 +09:00
Donny
ca55539938
chore: Publish crates
2021-11-19 00:12:37 +09:00