SWC Bot
6e4dc582ba
chore: Publish crates
2022-04-03 13:15:32 +00:00
Donny/강동윤
fe358ad0b9
feat(es/minifier): Improve sequential inlining ( #4231 )
2022-04-03 13:13:15 +00:00
SWC Bot
aac4e34d91
chore: Publish crates
2022-04-03 11:49:06 +00:00
Donny/강동윤
55b98fc874
fix(es/minifier): Remap variables on IIFE evaluation ( #4230 )
...
- We now check if there's pending inlining before remapping variables.
- We now use ad-hoc type for remapping.
- We now inline before remapping to prevent interference with inlining.
2022-04-03 11:39:05 +00:00
Donny/강동윤
012d3a67fa
chore: Publish v1.2.163
2022-04-03 16:06:38 +09:00
SWC Bot
833b045102
chore: Publish crates
2022-04-03 06:25:15 +00:00
OJ Kwon
6ea66cf001
feat(plugin): Implement plugin api for comments ( #4229 )
2022-04-03 15:22:36 +09:00
Donny/강동윤
f39895e563
chore: Publish crates
2022-04-02 16:25:18 +09:00
Donny/강동윤
7eea95be7a
fix(es/preset-env): Change order of passes
2022-04-02 06:57:17 +00:00
Donny/강동윤
bbbaf15bba
test(es): Add a test to ensure that an issue is not a bug of swc ( #4227 )
2022-04-02 06:29:09 +00:00
SWC Bot
3337777f8c
chore: Publish crates
2022-04-02 06:06:39 +00:00
Alexander Akait
e91f271873
feat(es/ast): Add raw
to BigInt
( #4218 )
2022-04-02 06:04:14 +00:00
SWC Bot
257f0dbb7f
chore: Publish crates
2022-04-02 05:37:49 +00:00
Alexander Akait
def2826029
feat(css/ast): Derive more traits ( #4220 )
2022-04-02 14:35:05 +09:00
SWC Bot
0bac3d08f0
chore: Publish crates
2022-04-02 05:34:19 +00:00
Victor Sumner
69cb512e57
fix(cli): Update plugin template ( #4222 )
2022-04-02 05:31:57 +00:00
Donny/강동윤
ac2357ebd9
chore: Publish crates
2022-04-02 01:59:34 +09:00
SWC Bot
77abfef314
chore: Publish crates
2022-04-01 11:55:47 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST ( #4189 )
2022-04-01 20:53:23 +09:00
SWC Bot
d2f44095dc
chore: Publish crates
2022-04-01 11:14:19 +00:00
Donny/강동윤
688f653323
perf(es/minifier): Add fast-path for sequences pass ( #4217 )
2022-04-01 11:06:35 +00:00
SWC Bot
4679f65782
chore: Publish crates
2022-04-01 06:54:28 +00:00
Alexander Akait
75b0ed55f6
fix(css/prefixer): Fix flex box ( #4212 )
2022-04-01 06:52:03 +00:00
SWC Bot
ee9e661e03
chore: Publish crates
2022-04-01 06:22:48 +00:00
Donny/강동윤
164556290b
perf(es/parser): Improve performance by using #[cold]
( #4215 )
2022-04-01 06:20:29 +00:00
SWC Bot
1068561800
chore: Publish crates
2022-04-01 04:29:08 +00:00
magic-akari
b793aa0200
feat(es/compat): Support more regex expressions ( #4205 )
2022-04-01 04:26:30 +00:00
Donny/강동윤
a05a0d58a6
chore: Publish v1.2.162
2022-03-31 23:12:53 +09:00
Donny/강동윤
60c9ddf5fd
chore: Publish crates
2022-03-31 23:08:24 +09:00
Donny/강동윤
61366c85b3
chore: Publish crates
2022-03-31 23:06:10 +09:00
SWC Bot
d19c8a8aa3
chore: Publish crates
2022-03-31 13:03:06 +00:00
magic-akari
6a27a0ce88
fix(es/compat): Hoist env in function params ( #4210 )
2022-03-31 13:00:19 +00:00
Donny/강동윤
3b1da220e2
refactor(*): Remove fastmem
( #4211 )
2022-03-31 11:40:06 +00:00
SWC Bot
30742ae6e7
chore: Publish crates
2022-03-31 09:14:23 +00:00
Donny/강동윤
10718547e0
fix(es/minifier): Fix evaluation of IIFEs ( #4207 )
...
- We now remap parameters using a new syntax context. This is required because we may copy functions, and it can result in duplicated variables with respect to the span hygiene.
- We now visit the sequence expression generated by inlining. This is to improve performance in some cases.
- We now remove variables from variable statements if it's identical to a parameter declared in the function.
- IIFE evaluation is now aware of `this` being different for member expressions.
- We now have more logic for detecting simple functions.
2022-03-31 09:11:54 +00:00
SWC Bot
79866cf0d2
chore: Publish crates
2022-03-31 08:47:32 +00:00
OJ Kwon
536a190dc9
feat(plugin): Implement PoC of comments api ( #4206 )
2022-03-31 08:45:08 +00:00
OJ Kwon
eecda21d9a
fix(node-swc): Initialize custom trace subscriber only once ( #4209 )
2022-03-31 07:11:31 +00:00
SWC Bot
24ce355d77
chore: Publish crates
2022-03-31 00:56:42 +00:00
overlookmotel
073751f70d
fix(es/optimization): Support jsx in dce
( #4203 )
2022-03-31 00:54:20 +00:00
SWC Bot
30cde5b0eb
chore: Publish crates
2022-03-30 23:37:49 +00:00
Donny/강동윤
11fe5fabd8
feat(es/minifier): Evaluate more iifes ( #4200 )
2022-03-30 23:35:30 +00:00
SWC Bot
c6a583741c
chore: Publish crates
2022-03-30 22:53:40 +00:00
SWC Bot
19bc43f3ed
chore: Publish crates
2022-03-30 22:03:54 +00:00
William Tetlow
99a0d34a1e
fix(es/parser): Fix parsing of an arrow and a conditional expression ( #4199 )
2022-03-30 22:01:31 +00:00
SWC Bot
cfed024514
chore: Publish crates
2022-03-30 21:19:05 +00:00
Austaras
c946236fcc
fix(es/compat): Fix label handling of block_scoping
( #4198 )
2022-03-30 21:16:34 +00:00
SWC Bot
9a3591a424
chore: Publish crates
2022-03-30 20:34:01 +00:00
David Sherret
cffe5ca58e
feat(es/parser): Allow parsing files with missing close braces ( #4187 )
2022-03-30 20:31:24 +00:00
SWC Bot
b67c104877
chore: Publish crates
2022-03-30 12:07:14 +00:00
Austaras
3426dda4f7
fix(es/compat): Handle new.target
in getter/setter properties ( #4194 )
2022-03-30 12:04:27 +00:00
SWC Bot
40b3381ae8
chore: Publish crates
2022-03-30 10:32:51 +00:00
magic-akari
4f5c5cf842
fix(es/compat): Handle spreads of string literials ( #4191 )
2022-03-30 19:30:06 +09:00
SWC Bot
a320f4ddfd
chore: Publish crates
2022-03-30 06:10:09 +00:00
David Sherret
1759567fc4
chore(es/parser): Add span tests back ( #4186 )
2022-03-30 06:07:40 +00:00
SWC Bot
1ac4e54ee4
chore: Publish crates
2022-03-29 10:16:17 +00:00
Donny/강동윤
9a9a4f37d8
fix(es/minifier): Fix react-ace
( #4183 )
2022-03-29 10:13:30 +00:00
SWC Bot
9b63369d1e
chore: Publish crates
2022-03-29 06:20:24 +00:00
OJ Kwon
8ca4e67451
refactor(cli): Alias plugin build with wasm target ( #4181 )
2022-03-29 15:17:40 +09:00
SWC Bot
c0abdb394a
chore: Publish crates
2022-03-29 04:27:33 +00:00
Donny/강동윤
6d3ea17aa6
feat(es/minifier): Optimize switches more correctly ( #4180 )
2022-03-29 04:25:15 +00:00
SWC Bot
783904917d
chore: Publish crates
2022-03-29 01:48:37 +00:00
Donny/강동윤
a6f6799811
feat(es/minifier): Evaluate trivial expressions ( #4179 )
2022-03-29 01:46:09 +00:00
Donny/강동윤
3d62f42020
chore: Publish crates
2022-03-29 07:07:48 +09:00
Donny/강동윤
e763af77dd
chore: Publish v1.2.161
2022-03-28 21:26:46 +09:00
SWC Bot
6125de9808
chore: Publish crates
2022-03-28 12:20:51 +00:00
Alexander Akait
fcf67c4570
fix(es): Consume surrogate pairs ( #4115 )
2022-03-28 12:18:06 +00:00
SWC Bot
13e7b4f92a
chore: Publish crates
2022-03-28 09:16:49 +00:00
Donny/강동윤
6f25e5774b
feat(es/minifier): Implement more rules for dropping unused assignemnts ( #4171 )
2022-03-28 09:14:16 +00:00
SWC Bot
e7089d8b3e
chore: Publish crates
2022-03-28 08:52:53 +00:00
Artur
a88d56ee08
feat(es/lints): Implement no-obj-calls
rule ( #4168 )
2022-03-28 08:50:32 +00:00
SWC Bot
4bb22f9b5c
chore: Publish crates
2022-03-28 08:30:00 +00:00
Artur
2a9cb2d12a
refactor(es/lints): Use util for parens ( #4167 )
2022-03-28 08:20:46 +00:00
SWC Bot
589ff584e7
chore: Publish crates
2022-03-28 06:51:53 +00:00
OJ Kwon
b473414b3c
chore(deps): Update string-cache
( #4169 )
2022-03-28 15:49:30 +09:00
SWC Bot
4cdf4b96e3
chore: Publish crates
2022-03-27 05:34:40 +00:00
RiESAEX
ea0de90137
fix(es/codegen): Emit sourcemap of key-value properties correctly ( #4166 )
2022-03-27 14:26:53 +09:00
SWC Bot
3761ba4c98
chore: Publish crates
2022-03-26 06:52:11 +00:00
Artur
10851ece98
feat(es/lints): Implement symbol-description
rule ( #4161 )
2022-03-26 06:49:57 +00:00
SWC Bot
6debb423d5
chore: Publish crates
2022-03-26 06:28:01 +00:00
magic-akari
fce554cfb0
fix(es/lints): Ignore type-only imports while checking duplicates ( #4163 )
2022-03-26 15:25:17 +09:00
Donny/강동윤
32c2de1181
chore: Publish crates
2022-03-25 21:15:57 +09:00
SWC Bot
1a3ed8e625
chore: Publish crates
2022-03-25 12:10:43 +00:00
Donny/강동윤
b37dafbd27
feat(es/minifier): Implement rules for optimizing loops ( #4157 )
2022-03-25 12:08:14 +00:00
SWC Bot
7e9118f6b6
chore: Publish crates
2022-03-25 11:18:40 +00:00
Donny/강동윤
5de31416be
feat(es/plugin): Make quote
optional ( #4160 )
2022-03-25 11:16:06 +00:00
Donny/강동윤
78175473fa
refactor(css/prefixer): Rename crate ( #4159 )
2022-03-25 19:46:45 +09:00
SWC Bot
38d91471ab
chore: Publish crates
2022-03-25 07:07:48 +00:00
OJ Kwon
161353cf25
feat(plugin/runner): Implement initial loading for wasm32 ( #4151 )
2022-03-25 07:05:26 +00:00
Donny/강동윤
97dfcb9ccb
chore(es/minifier): Add logging ( #4156 )
2022-03-25 06:44:07 +00:00
Alexander Akait
364ebd951a
feat(css/minifier): Compress more properties ( #4155 )
2022-03-25 06:20:39 +00:00
SWC Bot
e23066487e
chore: Publish crates
2022-03-25 05:59:35 +00:00
Alexander Akait
46c35dab25
feat(css/prefixer): Prefix more properties ( #4153 )
2022-03-25 05:57:04 +00:00
SWC Bot
973890bc52
chore: Publish crates
2022-03-25 05:08:50 +00:00
RiESAEX
7a1dcb1b93
fix(es): Make ErrorConfig.filename
default to true ( #4150 )
2022-03-25 05:06:15 +00:00
SWC Bot
d8abd9d2aa
chore: Publish crates
2022-03-24 17:23:24 +00:00
Artur
7a06c5b3d8
feat(es/lints): Remove source map accesses ( #4147 )
2022-03-24 17:07:18 +00:00
SWC Bot
d4b6b53641
chore: Publish crates
2022-03-24 11:18:13 +00:00
Hannes Bornö
cd7112b18b
feat(es/parser): Report more errors for invalid patterns ( #4145 )
2022-03-24 11:15:28 +00:00
SWC Bot
9431eae9f4
chore: Publish crates
2022-03-24 10:30:10 +00:00
Artur
47712de0da
feat(es/lints): Implement no-param-reassign
rule ( #4134 )
2022-03-24 10:27:26 +00:00
SWC Bot
a293adca0a
chore: Publish crates
2022-03-24 04:23:15 +00:00
magic-akari
f5ce79a72c
fix(es/parser): Fix logic for consuming ts modifiers ( #4137 )
2022-03-24 04:20:53 +00:00
Donny/강동윤
e6088408bf
chore: Publish crates
2022-03-24 12:05:47 +09:00
SWC Bot
06ce880c53
chore: Publish crates
2022-03-24 02:17:28 +00:00
Donny/강동윤
0f92eda0c7
feat(es/lints): Improve error messages ( #4142 )
2022-03-24 02:15:03 +00:00
SWC Bot
4e07a29112
chore: Publish crates
2022-03-24 00:51:52 +00:00
Donny/강동윤
ee5c48c935
feat(es/minifier): Implement more rules for optimizing for-if-break ( #4140 )
2022-03-24 00:49:32 +00:00
SWC Bot
3c4c3a6087
chore: Publish crates
2022-03-23 22:58:33 +00:00
Donny/강동윤
1d3763d96c
feat(es/minifier): Implement some unsafe evaluation rules ( #4133 )
2022-03-23 22:56:13 +00:00
SWC Bot
53f4271ab0
chore: Publish crates
2022-03-23 22:34:05 +00:00
William Tetlow
ab4ea9f0cb
fix(es/parser): Allow arrows without parenthesized param in typescript ( #4138 )
2022-03-23 22:31:19 +00:00
SWC Bot
cff12e53ce
chore: Publish crates
2022-03-23 22:09:56 +00:00
Artur
d8a988ef3d
feat(es/lints): Use Str.raw
instead of source map ( #4139 )
2022-03-23 22:07:16 +00:00
SWC Bot
dbe21cab68
chore: Publish crates
2022-03-23 21:41:10 +00:00
Alexander Akait
48f3dc8cc4
feat(es/codegen): Compress \t
in string literals more ( #4131 )
2022-03-23 21:37:03 +00:00
SWC Bot
b5b803662b
chore: Publish crates
2022-03-23 21:16:23 +00:00
Alexander Akait
6b6664a92d
feat(css/minifier): Remove @charset
at-rule if possible ( #4135 )
2022-03-23 21:13:52 +00:00
SWC Bot
35dcd62a3a
chore: Publish crates
2022-03-23 15:01:11 +00:00
Alexander Akait
93866d0be5
feat(css/minifier): Compress more properties ( #4130 )
2022-03-23 14:58:47 +00:00
SWC Bot
7053d6769a
chore: Publish crates
2022-03-23 14:39:11 +00:00
magic-akari
bf1924d1a8
feat(es/typescript): Support optional variance annotations ( #4008 )
2022-03-23 14:36:37 +00:00
SWC Bot
3e32fdcdd2
chore: Publish crates
2022-03-23 12:42:30 +00:00
Alexander Akait
f5a5217506
fix(es/codegen): Fix codegen of template literals ( #4124 )
2022-03-23 12:39:47 +00:00
Donny/강동윤
ede6e027c2
test(es): Organize tests ( #4129 )
2022-03-23 12:11:49 +00:00
SWC Bot
cdf868f7f0
chore: Publish crates
2022-03-23 08:25:15 +00:00
OJ Kwon
a6f39d3bd6
feat(cli): Implements some compile flags ( #4125 )
2022-03-23 08:22:27 +00:00
SWC Bot
c658823e8e
chore: Publish crates
2022-03-23 07:15:30 +00:00
OJ Kwon
50f7f465f9
feat(wasm/plugin): Implement initial plugin interface for wasm runtimes ( #4123 )
2022-03-23 16:12:59 +09:00
Donny/강동윤
304f5bd1f2
chore: Publish v1.2.160
2022-03-22 19:53:55 +09:00
Donny/강동윤
95c572f207
test(es/codegen): Add a test for fixed issue ( #4121 )
2022-03-22 19:49:59 +09:00
SWC Bot
8d322ef575
chore: Publish crates
2022-03-22 10:46:03 +00:00
Donny/강동윤
154d443c88
fix(es/compat): Fix regression of es2015
( #4119 )
2022-03-22 10:42:05 +00:00
SWC Bot
03f1c14840
chore: Publish crates
2022-03-22 10:06:36 +00:00
Donny/강동윤
13b2f38cdd
fix(es/typescript): Collect all bindings in strip
( #4118 )
2022-03-22 10:03:58 +00:00
SWC Bot
77722c4943
chore: Publish crates
2022-03-22 08:03:01 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
SWC Bot
5b6b9c0a25
chore: Publish crates
2022-03-22 06:27:29 +00:00
Donny/강동윤
4a9817f003
fix(es/minifier): Consider side effects while lifting sequences ( #4116 )
2022-03-22 06:25:19 +00:00
SWC Bot
57f8a0cad3
chore: Publish crates
2022-03-22 05:16:30 +00:00
OJ Kwon
f41a717c45
chore(plugin/runner): Update wasmer-*
( #4111 )
2022-03-22 05:14:20 +00:00
SWC Bot
58e1ed4a5f
chore: Publish crates
2022-03-22 04:54:28 +00:00
Austaras
9a8fc2776e
fix(es/parser): Make let
a reserved word in strict mode ( #4113 )
2022-03-22 04:52:10 +00:00
SWC Bot
39507b0268
chore: Publish crates
2022-03-21 11:37:18 +00:00
Artur
dd862ba9f8
feat(es/lints): Implement use-isnan
rule ( #4080 )
2022-03-21 11:35:10 +00:00
SWC Bot
bba8e6be67
chore: Publish crates
2022-03-21 11:13:26 +00:00
Donny/강동윤
c6f8742669
feat(es/minifier): Implement more evaluation rules ( #4030 )
2022-03-21 20:07:59 +09:00
SWC Bot
2e48c9fc24
chore: Publish crates
2022-03-21 05:16:53 +00:00
Donny/강동윤
61f1a37492
fix(es/codegen): Fix codes related to sourcemap ( #4106 )
2022-03-21 05:14:45 +00:00
SWC Bot
7d335cdd28
chore: Publish crates
2022-03-20 11:58:30 +00:00