David Sherret
97df4cef80
refactor(es/parser): Remove import_assertions
from TsConfig
( #2950 )
2021-12-05 05:43:41 +00:00
Donny/강동윤
74363e0357
fix(webpack/ast): Preserve span ( #2971 )
2021-12-04 23:24:18 +09:00
Donny
fd2a788282
chore: Publish crates
2021-12-04 21:03:13 +09:00
OJ Kwon
89af8ab9a2
perf(es/compat): Migrate class_properties
to VisitMut
partially ( #2966 )
2021-12-04 11:57:52 +00:00
Donny/강동윤
2a01dd4b32
fix(webpack/ast): Reduce if
statements ( #2969 )
2021-12-04 19:28:18 +09:00
Sukka
1f6d8302c1
fix(node/swc): Add baseUrl
to JscConfig
( #2968 )
2021-12-04 19:19:07 +09:00
nicholas
ce601382d5
chore: Remove duplicate version field in package.json
( #2965 )
2021-12-04 12:33:38 +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
OJ Kwon
ad35d954e1
build: Update .npmignore
( #2963 )
2021-12-04 11:06:10 +09:00
Donny
32e2f3e46c
chore: Publish crates
2021-12-04 01:55:54 +09:00
David Sherret
beb2c73c2c
fix(swc/hygiene): Prefer not renaming top level variables ( #2940 )
...
swc_ecma_transforms_base:
- `hygiene`: Use concept of depth to prevent renaming top level nodes.
2021-12-04 01:55:27 +09:00
Donny/강동윤
02322aaa99
chore: Make rust-analyzer
faster ( #2962 )
2021-12-03 23:14:33 +09:00
Donny/강동윤
c346f12b32
fix(estree): Fix serialization of ObjectMethod
( #2961 )
...
swc_estree_ast:
- Fix serialization of `ObjectMethod` for `acorn`.
swc_webpack_ast:
- `ast_reducer`: Remove unused getter/setter properties.
2021-12-03 23:14:12 +09:00
Donny
fd8541eb9d
chore: Publish crates
2021-12-03 21:23:06 +09:00
Donny/강동윤
4008a65b1e
fix(webpack/ast): Preserve more arguments of define
calls ( #2960 )
2021-12-03 21:22:38 +09:00
Donny/강동윤
eda514bcc5
fix(webpack/ast): Fix amd support ( #2959 )
...
swc_webpack_ast:
- `ast_reducer`: Preserve array literals in `define` calls.
2021-12-03 20:51:48 +09:00
Donny/강동윤
1eb62dc201
fix(webpack/ast): Remove more string literals ( #2957 )
2021-12-03 18:54:28 +09:00
Donny
348b6cf6f0
chore: Publish crates
2021-12-03 18:36:10 +09:00
OJ Kwon
084eebec84
refactor(es/compat): Migrate destructuring
to VisitMut
( #2947 )
2021-12-03 09:27:58 +00:00
Donny
ef3ea6b467
chore: Publish crates
2021-12-03 17:25:44 +09:00
RiESAEX
99da4221ae
fix:(es/compat): Change order of passes ( #2949 )
...
swc_ecma_transforms_compat:
- Run `shorthand` before `function_name` so we can infer name for method properties. (Closes #2150 )
2021-12-03 17:20:35 +09:00
Donny
eade0374f2
chore: Publish crates
2021-12-02 17:23:50 +09:00
Pig Fang
3302d1733a
refactor(es/preset-env): Avoid unnecessary unwrap
( #2943 )
2021-12-02 08:03:28 +00:00
Donny
e8225a66a0
chore: Publish crates
2021-12-02 16:29:34 +09:00
David Sherret
4d993c26b6
fix(es/hygiene): Reduce renaming ( #2938 )
...
swc_ecma_transforms_base:
- `hygiene`: Treat class methods and constructors as a scope.
2021-12-02 07:28:09 +00:00
Donny
36db1ed359
chore: Publish crates
2021-12-02 15:55:03 +09:00
Donny
b9baa503e3
chore: Add a script to manage crates
2021-12-02 15:54:43 +09:00
RiESAEX
d8c8641e59
fix(es/parser, es/compat): transform tagged template with invalid escape sequence ( #2939 )
...
swc_ecma_parser:
- Preserve more data for invalid escapes in template literals.
swc_ecma_transforms_compat:
- Fix handling of template literals. (Closes #2674 )
2021-12-02 15:49:45 +09:00
Donny/강동윤
a93f1111f9
fix(ci): Fix freebsd builds ( #2944 )
2021-12-02 12:57:27 +09:00
Donny
82c8694f4b
chore: Drop freebsd for publishing
2021-12-02 11:37:40 +09:00
Donny/강동윤
0304c550a4
chore: Break cycles ( #2941 )
2021-12-02 10:44:27 +09:00
Donny
67dc0d3b94
chore: Publish crates
2021-12-02 10:08:22 +09:00
Austaras
1555ceb8a3
feat(es/transforms/compat): Add loose mode to parameters
( #2911 )
...
swc_ecma_utils:
- Make `WrapperState` implement `Clone`.
swc_ecma_transforms_compat:
- `paramters`: Fix handling of non-loose mode. (Closes #2800 , Closes #2825 )
2021-12-02 01:04:01 +00:00
Donny
4e214ce437
chore: Publish v1.2.116
2021-12-02 07:10:16 +09:00
Donny
3bf751ac4a
chore: Publish crates
2021-12-02 03:33:26 +09:00
Alexander Akait
8781527751
fix(css/ast): Fix type definitions related to parsing unknown at-rules ( #2922 )
...
swc_css_ast:
- Rename `FnValue` to `Function`.
2021-12-01 17:07:49 +00:00
Donny/강동윤
4539b3a610
fix(webpack/ast): Don't remove comparison of process.env.NODE_ENV
( #2937 )
2021-12-01 23:18:19 +09:00
Donny/강동윤
667dd1e95e
fix(webpack/ast): Fix ast reducer ( #2936 )
...
swc_webpack_ast:
- Preserve string literals in `require`
2021-12-01 21:54:55 +09:00
Donny
f9cd49b845
chore: Publish crates
2021-12-01 21:26:31 +09:00
Donny
f8fcee1c46
chore: Publish crates
2021-12-01 21:26:01 +09:00
Donny/강동윤
9f5fc11a8f
fix(webpack/ast): Fix handling of define
( #2935 )
...
swc_webpack_ast:
- Support `define` calls with `require` .
2021-12-01 21:25:46 +09:00
Pig Fang
8a55870ce5
feat(es/preset-env): Upgrade browserslist-rs
( #2927 )
2021-12-01 12:18:11 +00:00
Donny/강동윤
24de5507ae
fix(bundler): Use interop for common js dependencies ( #2930 )
...
swc_bundler:
- Update helpers to use interop for common js deps. (Closes #2789 )
2021-12-01 19:53:06 +09:00
Donny
1fabb0381a
chore: Publish crates
2021-12-01 18:36:26 +09:00
Alexander Akait
0f4ad0f8c8
fix(css/ast): Fix type definition of @namespace
( #2919 )
2021-12-01 09:29:25 +00:00
Donny
563c63c225
chore: Publish crates
2021-12-01 15:32:22 +09:00
Donny/강동윤
18d9fd91f9
fix(webpack/ast): Fix span of null literals ( #2925 )
...
swc_webpack_ast:
- Preserve original spans for injected `null` literals
2021-12-01 15:31:56 +09:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny
b6f92497bf
chore: Publish crates
2021-11-30 20:20:38 +09:00