Alexander Akait
4f6f244170
feat(css/prefixer): Implement more rules for prefixer ( #4013 )
2022-03-15 06:58:22 +00:00
SWC Bot
5800737752
chore: Publish crates
2022-03-15 05:53:53 +00:00
David Campion
b337c2e2d4
fix(es): Sort spans while preserving comments ( #4011 )
2022-03-15 05:51:44 +00:00
SWC Bot
957a20d383
chore: Publish crates
2022-03-15 05:26:28 +00:00
Sahil mobaidin
f8d6127dd1
fix(es/parser): Report an error if LeftHandSideExpression
is invalid ( #4001 )
2022-03-15 14:24:19 +09:00
SWC Bot
9d6a57c6e5
chore: Publish crates
2022-03-14 14:32:45 +00:00
Alexander Akait
a4bc0927a0
feat(css): Supports more color notations ( #4009 )
2022-03-14 14:30:09 +00:00
Donny/강동윤
afa97f63df
chore: Publish v1.2.155
2022-03-14 19:27:27 +09:00
SWC Bot
db62bb6415
chore: Publish crates
2022-03-14 10:01:39 +00:00
Donny/강동윤
0ad13d93f2
fix(common): Don't use None
as source while generating source maps ( #4007 )
...
**Description:**
I used https://pastcompute.github.io/ScriptMapper/ to dump source map, and found that line/column becomes null if file is `None`. Seems like the rust crate `sourcemap` is mature enough to handle sourcemaps with those entries, but many other sourcemap libraries, including the one used by `@swc/cli` expects non-null value for the line and the column.
2022-03-14 09:51:51 +00:00
Donny/강동윤
ae2f8d6327
chore: Publish crates
2022-03-14 15:39:23 +09:00
Donny/강동윤
f650ca6bb9
doc(api/rust): Add an example for generating code and sourcemap ( #4005 )
2022-03-14 03:52:59 +00:00
SWC Bot
833dc89a2d
chore: Publish crates
2022-03-14 02:08:47 +00:00
Donny/강동윤
ee9a841f33
test(*): Print diagnostics to stderr while testing ( #4003 )
...
**Description:**
This will make debugging stack overflow and parser issues easier because it writes to stderrr right away, instead of holding a buffer for it.
2022-03-14 02:06:34 +00:00
Donny/강동윤
dac84b98e3
doc(api/rust): Add examples ( #4002 )
2022-03-13 22:07:34 +00:00
SWC Bot
8565a8e8f3
chore: Publish crates
2022-03-13 21:44:41 +00:00
Austaras
87a3c1c916
fix(es/resolver): Use correct context for identifiers after type parameters ( #4000 )
2022-03-13 21:42:24 +00:00
Donny/강동윤
38c0c0faa6
chore: Publish crates
2022-03-14 04:11:07 +09:00
SWC Bot
8ba1f201b9
chore: Publish crates
2022-03-13 19:09:34 +00:00
Donny/강동윤
40b8a4e596
feat(common): Implement a pretty error reporter ( #3946 )
2022-03-13 19:07:18 +00:00
SWC Bot
13ee45a830
chore: Publish crates
2022-03-13 18:40:08 +00:00
Alexander Akait
96d6f37c20
feat(css/parser): Improve error reporting ( #3999 )
2022-03-13 18:37:42 +00:00
SWC Bot
3cfe4ccb94
chore: Publish crates
2022-03-13 18:00:19 +00:00
Alexander Akait
ece8d962f8
fix(css/codegen): Fix source maps ( #3997 )
2022-03-14 02:55:18 +09:00
SWC Bot
386456f48a
chore: Publish crates
2022-03-13 09:13:23 +00:00
Donny/강동윤
a23af2dea2
feat(es/minifier): Compress more comparisons ( #3996 )
2022-03-13 09:11:16 +00:00
Donny/강동윤
dabc4920a8
test(es): Add auto-closable tests ( #3995 )
2022-03-13 08:45:55 +00:00
SWC Bot
3fba1a1a6d
chore: Publish crates
2022-03-13 07:54:40 +00:00
Donny/강동윤
b22d084180
test(es): Add an execution test system ( #3994 )
...
Description:
As we have a way to verify that input is behaving identically, we create a huge matrix of compile options and process the input with all of those options.
This system can be used to check for fixed issues easily.
For first, someone can add issues using a unix hidden directory, which starts with `.`. Those tests are ignored by `testing::fixture`.
Then, when something is changed, one can run `./scripts/check-issues.sh`. If a test succeeds, it means it's fixed and the starting dot (`.`) of the path to the test input file is removed.
2022-03-13 07:47:39 +00:00
SWC Bot
ad3115fa2f
chore: Publish crates
2022-03-13 03:29:32 +00:00
Donny/강동윤
64ca5bae4d
feat(es/minifier): Implement more rules for arrows
( #3992 )
2022-03-13 03:27:15 +00:00
SWC Bot
d9db2faded
chore: Publish crates
2022-03-13 02:59:56 +00:00
Donny/강동윤
f7b212bfc4
perf(es/minifier): Use Vec<u8>
as a buffer for base54
( #3993 )
...
Description:
We are only using ASCII characters so we can avoid utf8 logics by using `Vec<u8>` as a buffer and converting it into `String` at the end.
2022-03-13 02:57:47 +00:00
SWC Bot
abf6a1b294
chore: Publish crates
2022-03-12 16:16:12 +00:00
Austaras
3590ea2277
fix(es): Merge jsc.loose
and jsc.assumptions
( #3990 )
2022-03-12 16:14:03 +00:00
SWC Bot
2a6106f0b7
chore: Publish crates
2022-03-12 15:38:49 +00:00
magic-akari
04db7e2a9b
perf(es/minifier): Refactor base54 ( #3989 )
2022-03-12 15:36:42 +00:00
Donny/강동윤
3054409214
chore: Publish crates
2022-03-12 20:47:59 +09:00
Donny/강동윤
bd0fcb9ea4
chore(es/preset-env): Track .json
files to make cargo happy
2022-03-12 20:47:29 +09:00
Donny/강동윤
f5e8cc2d09
chore: Publish crates
2022-03-12 20:13:53 +09:00
SWC Bot
ad42c60e05
chore: Publish crates
2022-03-12 11:08:43 +00:00
Donny/강동윤
1beecceead
perf(es/minifier): Merge hashmap for scoping before checking ( #3988 )
...
Currently, we check for child scopes by doing a recursive call, like 2ad0d801a2/crates/swc_ecma_minifier/src/pass/mangle_names/analyzer/scope.rs (L112-L114)
But this is slow because it results in an enormous amount of calls.
We can optimize this by merging information of child scopes beforehand.
2022-03-12 20:06:59 +09:00
Donny/강동윤
073d847a33
test(es): Add tests for fixed issues ( #3987 )
2022-03-12 09:33:32 +00:00
Donny/강동윤
9e4f4e92f7
chore: Publish v1.2.154
2022-03-12 17:40:56 +09:00
SWC Bot
8f1d6302d1
chore: Publish crates
2022-03-12 07:52:26 +00:00
Donny/강동윤
83722df21a
chore(es/preset-env): Use js script for copying files ( #3986 )
...
Description:
- We don't store `.json` from dependencies in our repo anymore.
2022-03-12 07:45:25 +00:00
SWC Bot
7e96a8a9d7
chore: Publish crates
2022-03-12 07:17:08 +00:00
Donny/강동윤
db60291164
perf(common): Use fxhash
everywhere ( #3985 )
...
Description:
- To avoid a breaking change, I created a cargo feature that can be used to change hasher.
- This leads to about 8% perf improvements on m1 max macbook pro 64gb
2022-03-12 07:15:12 +00:00
SWC Bot
fb421b8cc3
chore: Publish crates
2022-03-12 06:47:29 +00:00
Donny/강동윤
67e615421f
perf(es/minifier): Use fxhash for integers ( #3984 )
...
Description:
- `Id` is treated as integer, as `JsWord` and `SyntaxContext` are both integer.
2022-03-12 06:45:35 +00:00
SWC Bot
c6ddb5fcf5
chore: Publish crates
2022-03-12 06:17:50 +00:00
Donny/강동윤
107c91dd20
perf(es/minifier): Make mangler faster by merging hash sets into one ( #3983 )
2022-03-12 06:16:02 +00:00
SWC Bot
77eb149f87
chore: Publish crates
2022-03-12 05:33:55 +00:00
Donny/강동윤
48f2fd8e1b
fix(es): Change error message as it can be misleading ( #3982 )
2022-03-12 14:32:00 +09:00
SWC Bot
38f009d2cf
chore: Publish crates
2022-03-12 03:04:21 +00:00
Donny/강동윤
f28134fe77
feat(es/lints): Mark catch params as binding patterns while checking duplicates ( #3981 )
2022-03-12 03:02:22 +00:00
OJ Kwon
485dc54d29
chore(ci): Skip unnecessary package for the benchmark ( #3980 )
2022-03-12 01:52:53 +00:00
SWC Bot
639d79d2bd
chore: Publish crates
2022-03-12 01:28:25 +00:00
Alexander Akait
4a9a5ffa4b
feat(css/prefixer): Prefix more properties ( #3976 )
2022-03-12 01:26:41 +00:00
Donny/강동윤
ddfa490899
chore: Publish crates
2022-03-12 10:00:23 +09:00
SWC Bot
1ae67affe3
chore: Publish crates
2022-03-11 16:56:55 +00:00
Alexander Akait
516dbc65dc
feat(css/codegen): Fix source maps and ast defs ( #3974 )
2022-03-11 16:54:33 +00:00
SWC Bot
df7ad95e88
chore: Publish crates
2022-03-11 16:31:05 +00:00
Donny/강동윤
6a6c32203b
chore(es/parser): Add some inline attributes ( #3969 )
2022-03-11 16:29:05 +00:00
SWC Bot
37c16b0c70
chore: Publish crates
2022-03-11 16:04:13 +00:00
Austaras
502f934ce5
fix(es/preset-env): Move out finished proposals ( #3970 )
2022-03-11 16:02:05 +00:00
SWC Bot
366e4d3362
chore: Publish crates
2022-03-11 15:38:18 +00:00
Donny/강동윤
858372ffad
fix(es/preset-env): Publish builtin.json
( #3973 )
2022-03-11 15:36:02 +00:00
SWC Bot
2f874d959a
chore: Publish crates
2022-03-11 14:45:08 +00:00
Donny/강동윤
7ebfcfa70f
fix(es/preset-env): Fix compilation issue ( #3972 )
2022-03-11 14:43:17 +00:00
SWC Bot
d1ac902196
chore: Publish crates
2022-03-11 14:02:55 +00:00
LongYinan
1206c84e19
feat(*): Update dependencies ( #3964 )
2022-03-11 23:00:55 +09:00
SWC Bot
4c29b26f3c
chore: Publish crates
2022-03-11 12:51:44 +00:00
Austaras
487273fc5b
fix(preset-env): Use core-js-compat
and @babel/compat-data
directly ( #3968 )
2022-03-11 12:49:53 +00:00
Donny/강동윤
95ab49737c
chore: Publish v1.2.153
2022-03-11 18:13:30 +09:00
SWC Bot
6e7fe34557
chore: Publish crates
2022-03-11 09:12:58 +00:00
Donny/강동윤
76e646804a
fix(es/parser): Parse if-else chain iteratively ( #3961 )
2022-03-11 09:10:54 +00:00
SWC Bot
48cdc13183
chore: Publish crates
2022-03-11 17:48:41 +09:00
SWC Bot
4006794d78
chore: Publish crates
2022-03-11 08:44:23 +00:00
Donny/강동윤
c6b5371c51
fix(es/lints): Don't visit types while collecting const
( #3967 )
2022-03-11 17:41:28 +09:00
SWC Bot
978a210c68
chore: Publish crates
2022-03-11 07:33:52 +00:00
David Campion
c5a0c9a0ab
feat(es): Add an option to preserve all comments ( #3815 )
2022-03-11 07:25:59 +00:00
SWC Bot
6257f0f990
chore: Publish crates
2022-03-11 05:48:42 +00:00
Donny/강동윤
fcbd3c5c58
fix(api/rust): Fix transform comment api ( #3962 )
2022-03-11 05:46:49 +00:00
SWC Bot
3014d7a876
chore: Publish crates
2022-03-11 05:23:53 +00:00
Alexander Akait
5a6ebd36ee
feat(css/codegen): Support source map ( #3958 )
2022-03-11 05:22:14 +00:00
SWC Bot
15be5f153b
chore: Publish crates
2022-03-11 04:57:25 +00:00
magic-akari
579aeb7cfa
feat(es/lints): Refine error message ( #3952 )
2022-03-11 04:55:37 +00:00
SWC Bot
d62ef6498d
chore: Publish crates
2022-03-11 12:52:17 +09:00
SWC Bot
908c10e1db
chore: Publish crates
2022-03-10 17:01:52 +00:00
OJ Kwon
ca071fb705
fix(es): Adjust tracing span level ( #3911 )
2022-03-10 16:59:51 +00:00
SWC Bot
8bb74b6093
chore: Publish crates
2022-03-10 15:23:12 +00:00
underfin
91a302a672
fix(es/minifier): Preserve fuction parameters used for template literals in evaluate
and reduce_vars
( #3949 )
2022-03-10 15:21:06 +00:00
SWC Bot
e55c2a9850
chore: Publish crates
2022-03-10 14:32:17 +00:00
Donny/강동윤
e8018c54d4
fix(es/codegen): Fix sourcemap issue caused by reserved BytePos
values ( #3948 )
2022-03-10 14:30:03 +00:00
SWC Bot
199dfbdd8e
chore: Publish crates
2022-03-10 13:54:58 +00:00
Austaras
de8a7116cd
fix(es/compat): Refer this in constructor when super_is_callable_constructor
is set ( #3944 )
2022-03-10 13:52:54 +00:00
Donny/강동윤
1a55bc8ea4
chore: Publish v1.2.152
2022-03-10 16:51:35 +09:00
SWC Bot
666f55e01c
chore: Publish crates
2022-03-10 07:48:19 +00:00
Austaras
112f428734
feat(es/compat): Add pure comments for class fields keys ( #3939 )
2022-03-10 07:13:58 +00:00
SWC Bot
9f72998821
chore: Publish crates
2022-03-10 06:51:46 +00:00
Pig Fang
aec1a54204
feat(preset-env): Update browserslist-rs
( #3935 )
2022-03-10 06:50:00 +00:00
SWC Bot
41573530c2
chore: Publish crates
2022-03-10 06:21:09 +00:00
underfin
cc564ff6c5
fix(es/minifier): Skip exported vars while collapsing vars ( #3928 )
2022-03-10 06:19:25 +00:00
SWC Bot
ce57482ac8
chore: Publish crates
2022-03-10 05:57:55 +00:00
Donny/강동윤
f1ec8620ac
perf(es/minifier): Make optimization of pure calls parallel ( #3938 )
2022-03-10 05:56:02 +00:00
SWC Bot
44b28b5688
chore: Publish crates
2022-03-10 05:33:46 +00:00
Donny/강동윤
46e9d3f62e
fix(es): Don't create .swc
if not required ( #3937 )
2022-03-10 05:32:00 +00:00
SWC Bot
27018b9402
chore: Publish crates
2022-03-10 04:27:18 +00:00
Alexander Akait
62ab17999e
feat(css/prefixer): Implement more rules ( #3933 )
2022-03-10 04:23:34 +00:00
Donny/강동윤
45a4374ee1
fix(wasm): Fix handling of swc_common::GLOBALS
( #3936 )
2022-03-10 03:59:46 +00:00
SWC Bot
82b3678b47
chore: Publish crates
2022-03-10 03:17:39 +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
99f381cfa2
chore: Publish crates
2022-03-09 15:44:57 +00:00
Donny/강동윤
9e4dea6663
feat(es/minifier): Improve dropping of unused vars ( #3923 )
2022-03-09 15:43:01 +00:00
SWC Bot
1fbe209c53
chore: Publish crates
2022-03-09 14:16:10 +00:00
magic-akari
dc457b4883
fix(es/module): Use correct return values for suffix update expressions ( #3927 )
2022-03-09 23:14:06 +09:00
SWC Bot
a99b9e6bff
chore: Publish crates
2022-03-09 12:55:36 +00:00
Donny/강동윤
4b4aef3270
fix(es/parser): Fix the logic for token contexts ( #3926 )
2022-03-09 12:53:47 +00:00
SWC Bot
56b646cc1a
chore: Publish crates
2022-03-09 12:04:50 +00:00
Austaras
bd838ac5a9
feat(es/minifier): Remove pure calls ( #3925 )
2022-03-09 11:55:31 +00:00
SWC Bot
8f4e10e44c
chore: Publish crates
2022-03-09 06:53:48 +00:00
Austaras
12b8606c99
fix(es/compat/es2015): Fix span handling of arrow
and classes
( #3921 )
2022-03-09 06:51:48 +00:00
SWC Bot
531812c28a
chore: Publish crates
2022-03-09 06:32:12 +00:00
magic-akari
8559fc9623
fix(es/module): Fix exported vars with bigint values ( #3909 )
2022-03-09 06:30:28 +00:00
SWC Bot
79a9cb4c72
chore: Publish crates
2022-03-09 04:46:20 +00:00
Donny/강동윤
a8ac7e39b0
feat(es/parser): Relax MSRV requirement ( #3922 )
2022-03-09 04:44:22 +00:00
SWC Bot
c80d5c87d0
chore: Publish crates
2022-03-09 03:21:02 +00:00
Alexander Akait
c2b9e1c61a
feat(css/prefixer): Handle more properties ( #3919 )
2022-03-09 03:18:49 +00:00
SWC Bot
550627ccbc
chore: Publish crates
2022-03-09 02:56:18 +00:00
Donny/강동윤
3d43a9b69d
feat(es/testing): Print comments in test_fixture
( #3920 )
2022-03-09 02:54:27 +00:00
SWC Bot
1196cc8155
chore: Publish crates
2022-03-08 14:37:12 +00:00
Austaras
7cfa930a62
feat(es/fixer): Remove extra parens around IIFE in statements ( #3918 )
2022-03-08 14:35:18 +00:00
SWC Bot
4c8e747c5c
chore: Publish crates
2022-03-08 10:06:14 +00:00
Donny/강동윤
8b3aa6d3aa
perf(es/minifier): Remove needless type parameter ( #3897 )
2022-03-08 10:04:14 +00:00
SWC Bot
782df70560
chore: Publish crates
2022-03-08 09:25:38 +00:00
magic-akari
534fc52a72
fix(es/module): Make exported vars follow specification ( #3906 )
2022-03-08 09:23:40 +00:00
SWC Bot
967d1d5477
chore: Publish crates
2022-03-08 08:32:58 +00:00
Alexander Akait
b25c47901e
feat(css/prefixer): Implement more prefixing rules ( #3905 )
2022-03-08 08:31:10 +00:00
SWC Bot
cb46cb2f06
chore: Publish crates
2022-03-08 08:08:20 +00:00
Pig Fang
59c84ac8bd
feat(css/lints): Implement no-duplicate-at-import-rules
rule ( #3833 )
2022-03-08 08:06:23 +00:00
SWC Bot
4b1b9a7dd3
chore: Publish crates
2022-03-08 07:46:12 +00:00
Austaras
16182d586f
feat(es/parser): Report errors for non-abstract members in an abstract class ( #3917 )
2022-03-08 07:38:12 +00:00
SWC Bot
dbdfb3a449
chore: Publish crates
2022-03-07 23:03:16 +00:00
Pig Fang
19ececcd50
feat(css/lints): Implement custom-property-no-missing-var-function
rule ( #3890 )
2022-03-07 23:01:18 +00:00
Donny/강동윤
f3da3499c5
perf(es): Add fast memory deallocator ( #3910 )
2022-03-07 22:36:06 +00:00
SWC Bot
d72a2f32af
chore: Publish crates
2022-03-07 20:41:37 +00:00
Guillaume Malette
f575b1bc48
fix(es/module/cjs): Allow re-exports to be lazy ( #3856 )
2022-03-07 20:39:45 +00:00
SWC Bot
4860ea2672
chore: Publish crates
2022-03-07 20:20:42 +00:00
William Tetlow
782a874696
fix(es/transform/optimization): Prevent inlining of vars used as RHS in logical expressions ( #3907 )
2022-03-07 20:18:48 +00:00
SWC Bot
a64473dc34
chore: Publish crates
2022-03-07 19:42:40 +00:00
Alexander Akait
3a9af73167
refactor(css/parser): Remove unused codes ( #3903 )
2022-03-07 19:40:44 +00:00
SWC Bot
bf9e8d716c
chore: Publish crates
2022-03-07 19:20:40 +00:00
OJ Kwon
bd0a9214c3
feat(es/compat): Add tracing support to remaining compat transforms ( #3904 )
2022-03-07 19:18:48 +00:00
SWC Bot
c6e2abf340
chore: Publish crates
2022-03-07 17:02:10 +00:00
Donny/강동윤
43878137e7
perf(es/parser): Improve performance by adjusting inlining ( #3902 )
2022-03-07 17:00:25 +00:00
SWC Bot
87c399fc9d
chore: Publish crates
2022-03-07 16:35:40 +00:00
Alexander Akait
6f781c3b43
feat(css/parser): Improve error recovery ( #3901 )
2022-03-07 16:33:35 +00:00
SWC Bot
b2eae2d539
chore: Publish crates
2022-03-07 10:55:48 +00:00
magic-akari
372f298f5f
feat(common): Align stable_hasher
to latest rustc ( #3895 )
2022-03-07 10:53:54 +00:00
SWC Bot
e7e2fe148a
chore: Publish crates
2022-03-07 10:36:36 +00:00
Austaras
5c92b2d4ce
fix(es/typescript): Remove imports used in interfaces and type signatures ( #3893 )
2022-03-07 19:34:34 +09:00
Donny/강동윤
7f6fc0ce2d
chore: Publish v1.2.151
2022-03-07 18:21:31 +09:00
Donny/강동윤
8e30d83d14
fix(es/module): Revert fix for jest.spyOn
2022-03-07 18:21:14 +09:00
SWC Bot
72ea33f796
chore: Publish crates
2022-03-07 05:51:34 +00:00
magic-akari
0181fbe63b
feat(es/lints): Support module/script mode in duplicate_bindings
( #3880 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-03-07 05:49:39 +00:00
SWC Bot
c7d21da458
chore: Publish crates
2022-03-07 05:25:26 +00:00
Donny/강동윤
a47eed7241
perf(es/minifier): Add a fast-path to export merger ( #3891 )
2022-03-07 14:21:57 +09:00
SWC Bot
70896b5ba6
chore: Publish crates
2022-03-07 04:20:34 +00:00
Artur
3e8efacf3a
perf(es/lints): Extract top level bindings only if the rule is enabled ( #3889 )
2022-03-07 04:18:37 +00:00
Austaras
9dd0105c5b
feat(es/fixer): Remove extra parens around iife in expression position ( #3887 )
2022-03-07 03:51:57 +00:00
SWC Bot
530c308d93
chore: Publish crates
2022-03-07 03:09:18 +00:00
Austaras
cb93883232
feat(es/compat): Enable set_public_method
for TypeScript ( #3884 )
2022-03-07 12:07:23 +09:00
Donny/강동윤
584bf05662
chore: Publish v1.2.150
2022-03-06 23:36:00 +09:00
SWC Bot
56773a4cc8
chore: Publish crates
2022-03-06 14:35:19 +00:00
Donny/강동윤
aea59b844c
fix(es/parser): Fix parsing of const
in ambient context ( #3883 )
2022-03-06 14:33:14 +00:00
SWC Bot
cc84e9595e
chore: Publish crates
2022-03-06 12:36:47 +00:00
Donny/강동윤
a65755fd9a
fix(es/module): Fix jsc.paths
( #3879 )
2022-03-06 12:33:48 +00:00
Donny/강동윤
17c7a5cd60
chore: Publish v1.2.149
2022-03-06 18:24:43 +09:00
SWC Bot
34e6f6f7ac
chore: Publish crates
2022-03-06 09:22:43 +00:00
Philip Craig
3b04789a57
perf(es/ast): Implement Clone
without inline for some enums ( #3878 )
2022-03-06 09:12:23 +00:00
SWC Bot
308d1b42ee
chore: Publish crates
2022-03-06 05:04:57 +00:00
Donny/강동윤
6a005fc15a
fix(es/module): Visit the value of class properties ( #3877 )
2022-03-06 14:03:08 +09:00
SWC Bot
ac9c1246e7
chore: Publish crates
2022-03-06 02:28:57 +00:00
Donny/강동윤
8d3c9d39f0
test(es): Add tests for fixed issues ( #3875 )
...
**Description:**
Adds tests for fixed issues.
This commit modifies one type because the previous type makes transform flaky.
**BREAKING CHANGE:**
To preserve order, the type `swc::Paths` is now `IndexMap` instead of `HashMap`.
2022-03-06 02:27:08 +00:00
Donny/강동윤
2605e132e6
test(es): Add tests for fixed issues ( #3874 )
2022-03-05 21:56:34 +00:00
Donny/강동윤
0ab32639a1
test(es): Add a test for a fixed issue ( #3873 )
2022-03-05 21:04:05 +00:00
SWC Bot
04d77cab2f
chore: Publish crates
2022-03-05 20:20:43 +00:00
Donny/강동윤
a2643608a7
feat(es/minifier): Implement pure_getters
partially ( #3872 )
2022-03-05 20:18:52 +00:00
SWC Bot
94d9416ca8
chore: Publish crates
2022-03-05 19:54:29 +00:00
magic-akari
f7571630ca
fix(es/parser): Allow await
in non-strict mode ( #3871 )
2022-03-05 19:52:45 +00:00
SWC Bot
fd453b9170
chore: Publish crates
2022-03-05 19:34:45 +00:00
magic-akari
c7f2bdb813
feat(es/compat): Implement loose mode for async_to_generator
( #3870 )
2022-03-05 19:32:59 +00:00
SWC Bot
18658fd501
chore: Publish crates
2022-03-05 18:33:44 +00:00
Pig Fang
dc0de58a46
feat(css/lints): Allow using regex in ignore list ( #3855 )
2022-03-05 18:31:52 +00:00
SWC Bot
3034e355ed
chore: Publish crates
2022-03-05 17:31:09 +00:00
magic-akari
d10e66285b
fix(es/lints): Ignore identifiers used as types while checking for duplicate bindings ( #3869 )
2022-03-06 02:29:21 +09:00
SWC Bot
2fdc5f625d
chore: Publish crates
2022-03-05 14:52:49 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property ( #3868 )
2022-03-05 23:51:04 +09:00
SWC Bot
faf452dbfa
chore: Publish crates
2022-03-05 12:26:37 +00:00