Donny/강동윤
d420d2d275
chore: Publish v1.2.184
2022-05-16 00:01:04 +09:00
SWC Bot
a09bfc22f8
chore: Publish crates
2022-05-15 10:43:11 +00:00
Donny/강동윤
bfb6be7075
doc(es/codegen): Document ascii_only
( #4669 )
2022-05-15 10:40:41 +00:00
SWC Bot
8b9851a336
chore: Publish crates
2022-05-15 10:04:57 +00:00
Donny/강동윤
8a40b583a5
feat(es/minifier): Implement directives
( #4668 )
2022-05-15 10:02:55 +00:00
SWC Bot
d591ce8c0b
chore: Publish crates
2022-05-15 09:39:48 +00:00
Donny/강동윤
96cec97b2c
fix(es/minifier): Don't inline a function if we need referential equality ( #4665 )
2022-05-15 09:37:34 +00:00
Donny/강동윤
98e4845fce
build(repo): Update rustc
( #4667 )
2022-05-15 09:03:54 +00:00
SWC Bot
4eece89ad4
chore: Publish crates
2022-05-15 08:41:24 +00:00
Donny/강동윤
11726cc0e1
perf(es/parser): Optimize for cpu code cache ( #4666 )
2022-05-15 08:39:09 +00:00
SWC Bot
ead25ee153
chore: Publish crates
2022-05-15 05:09:48 +00:00
Donny/강동윤
eb8508f88c
feat(es/codegen): Implement ascii-only ( #4660 )
2022-05-15 05:07:21 +00:00
SWC Bot
e602992de1
chore: Publish crates
2022-05-15 04:22:56 +00:00
Alexander Akait
a8467c64e8
feat(html/parser): Improve error reporting ( #4663 )
2022-05-15 04:20:21 +00:00
SWC Bot
7c73e372c6
chore: Publish crates
2022-05-15 03:53:54 +00:00
Austaras
1150e842ed
refactor(es/react): Use proper ident scope for react refresh ( #4649 )
2022-05-15 03:51:25 +00:00
SWC Bot
5341478c5b
chore: Publish crates
2022-05-15 03:31:35 +00:00
Alexander Akait
69ca9497d0
feat(html): Support iframe_srcdoc
( #4658 )
2022-05-15 12:27:29 +09:00
SWC Bot
36a3cdaac2
chore: Publish crates
2022-05-14 07:08:36 +00:00
Donny/강동윤
053f42b3aa
feat(es/minifier): Improve minifier ( #4655 )
...
swc_ecma_transforms_base:
- Improved `fixer`.
swc_ecma_minifier:
- `ignore_return_value`: Support computed access to array literals.
2022-05-14 07:06:03 +00:00
SWC Bot
3149026d0f
chore: Publish crates
2022-05-14 06:13:18 +00:00
Artur
9b226a7026
feat(es/lints): Implement no-sparse-arrays
rule ( #4652 )
2022-05-14 06:10:49 +00:00
SWC Bot
c96cbe9b27
chore: Publish crates
2022-05-14 01:46:19 +00:00
Alexander Akait
1f945b9277
fix(html/parser): Fix error reporting ( #4644 )
2022-05-14 01:43:52 +00:00
SWC Bot
fbc10fc5c2
chore: Publish crates
2022-05-13 14:28:03 +00:00
Donny/강동윤
c8818b0499
feat(dbg-swc): Add auto-reducer for the minifier ( #4654 )
2022-05-13 23:25:16 +09:00
Donny/강동윤
f63be2fb9e
chore: Publish crates
2022-05-13 19:08:09 +09:00
SWC Bot
69a81dcd58
chore: Publish crates
2022-05-13 09:15:57 +00:00
Donny/강동윤
af1d19554f
feat(dbg-swc): Add command to compare minifier ( #4653 )
2022-05-13 09:13:23 +00:00
SWC Bot
484dce661d
chore: Publish crates
2022-05-13 08:52:09 +00:00
Hana
b6f904b8f0
feat(es): Add an option to omit columns from sourcemaps ( #4646 )
2022-05-13 08:49:31 +00:00
Donny/강동윤
0e631eeab9
chore: Publish v1.2.183
2022-05-13 15:35:07 +09:00
SWC Bot
0b06ab4022
chore: Publish crates
2022-05-13 06:34:22 +00:00
David Sherret
2745cb7949
fix(es/resolver): Ensure that a parameter type is resolved to parent ( #4645 )
2022-05-13 06:31:52 +00:00
SWC Bot
d9d3585732
chore: Publish crates
2022-05-13 06:07:50 +00:00
Donny/강동윤
b393773373
feat(debug): Inline dbg-swc
( #4651 )
2022-05-13 06:05:21 +00:00
SWC Bot
f0639c9de4
chore: Publish crates
2022-05-13 05:09:53 +00:00
Alexander Akait
af9c8c6b4c
fix(html): Fix parsing of template ( #4647 )
2022-05-13 05:07:24 +00:00
SWC Bot
3ac649138a
chore: Publish crates
2022-05-13 04:48:12 +00:00
Alexander Akait
fa4a60a318
fix(html/codegen): Fix codegen ( #4629 )
2022-05-13 04:45:40 +00:00
Donny/강동윤
539fa4113e
chore: Publish crates
2022-05-13 12:31:17 +09:00
SWC Bot
46c1add60e
chore: Publish crates
2022-05-12 20:21:46 +00:00
Artur
f45dd72033
feat(es/lints): Implement no-compare-neg-zero
rule ( #4643 )
2022-05-12 20:19:18 +00:00
SWC Bot
0b35b047bf
chore: Publish crates
2022-05-12 19:59:27 +00:00
Alexander Akait
a19db2992b
fix(html/parser): Fix newlines ( #4633 )
2022-05-12 19:56:47 +00:00
SWC Bot
783917fd91
chore: Publish crates
2022-05-12 19:35:16 +00:00
Alexander Akait
c41aca6b24
feat(html/minifier): Compress application/ld+json
( #4628 )
2022-05-12 19:32:49 +00:00
SWC Bot
e21a40e55e
chore: Publish crates
2022-05-12 10:53:44 +00:00
Donny/강동윤
84e4ca6c27
fix(css/parser): Remove a wrong assertion ( #4641 )
2022-05-12 19:48:51 +09:00
SWC Bot
073ca87012
chore: Publish crates
2022-05-12 09:23:46 +00:00
Donny/강동윤
9c190f0a8e
fix(es/minifier): Fix optimization of spread ( #4639 )
2022-05-12 09:20:44 +00:00
Donny/강동윤
79f87e03db
test(es/minifier): Execute more tests ( #4636 )
2022-05-12 16:28:52 +09:00
SWC Bot
cb5ca547aa
chore: Publish crates
2022-05-12 15:14:28 +09:00
Donny/강동윤
56a227ad9d
fix(es/minifier): Don't create direct eval
( #4634 )
...
- `expr_simplifier`: Preserve `this`.
- `ExprReplacer`: Inject `0` after inlining eval.
- `MultiReplacer`: Inject `0` after inlining eval.
2022-05-12 15:14:18 +09:00
SWC Bot
dca5bf8b2f
chore: Publish crates
2022-05-12 05:50:05 +00:00
Alexander Akait
5f899a0348
refactor(html/parser): Improve parser a bit ( #4627 )
2022-05-12 05:45:11 +00:00
SWC Bot
67de03579f
chore: Publish crates
2022-05-12 05:09:22 +00:00
Alexander Akait
b8fa3bc456
refactor(html/parser): Improve public API ( #4626 )
2022-05-12 05:07:07 +00:00
SWC Bot
c1e7dd7326
chore: Publish crates
2022-05-12 04:43:48 +00:00
Alexander Akait
5679b69600
feat(html/minifier): Improve minification of attributes ( #4625 )
2022-05-12 04:40:47 +00:00
SWC Bot
5a53bb771d
chore: Publish crates
2022-05-12 04:18:10 +00:00
Donny/강동윤
20692cdff1
fix(es/modules): Fix jsc.paths
( #4620 )
2022-05-12 04:14:51 +00:00
SWC Bot
8fa7ce974e
chore: Publish crates
2022-05-12 03:48:36 +00:00
Pig Fang
cac4f6e265
feat(html/parser): Add a method to get error message ( #4623 )
2022-05-12 03:45:56 +00:00
Alexander Akait
4e577d7f45
test(html/parser): Add dom visualizer for regular tests ( #4622 )
2022-05-12 02:58:51 +00:00
SWC Bot
97808349a2
chore: Publish crates
2022-05-11 16:17:07 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +00:00
Alexander Akait
a378e1e041
refactor(html/parser): Remove unused code ( #4613 )
2022-05-11 05:57:33 +00:00
Donny/강동윤
4b0df044bd
chore: Publish v1.2.182
2022-05-11 14:37:30 +09:00
SWC Bot
d768200e10
chore: Publish crates
2022-05-11 05:36:57 +00:00
Donny/강동윤
3b2b8c4512
fix(es/config): Merge jsc.transform
correctly ( #4615 )
2022-05-11 14:28:40 +09:00
SWC Bot
90569d4673
chore: Publish crates
2022-05-11 04:38:52 +00:00
Donny/강동윤
6a97c7bef8
fix(es/utils): Fix wrong apis ( #4604 )
...
# API Changes
## `swc_ecma_utils`
### Renames
- `find_ids` => `find_pat_ids`
- `prepend` => `prepend_stmt`
- `as_bool` => `cast_to_bool`
- `as_number` => `as_pure_number`
- `as_string` => `cast_to_string`
- (`as_pure_bool`, `cast_to_number` is not renamed)
- `UsageFinder` => `IdentUsageFinder`.
- `IdentFinder` => `IdentRefFinder`.
## Changes
- Re-export of `HANDLER` from `swc_common::errors` is removed. Use `swc_common::error::HANDLER` instead.
- Re-export of `Id` from `swc_ecma_ast` is removed. Use `swc_ecma_ast::Id` instead.
- `ExprCtx` is used for apis related to `Expr`.
- `preserve_effects` is now a method of `ExprCtx`. It was a top-level function.
- `extract_side_effects_to` is now a method of `ExprCtx`. It was a top-level function.
- `IdentUsageFinder` (previously `UsageFinder`) now takes `Id` instead of `Ident`.
- `IdentRefFinder` (previously `IdentFinder`) now takes `Id` instead of `Ident`.
- `ExprExt::is_ident_ref_to` is removed.
- `Expr::is_global_ref_to` is added.
- `:🆔 :id` is removed. Use `Ident::to_id()` instead.
2022-05-11 04:36:22 +00:00
SWC Bot
74ffa5ab9c
chore: Publish crates
2022-05-11 03:59:37 +00:00
Alexander Akait
7c6627fc21
refactor(html): Refactor parser and codegen ( #4611 )
2022-05-11 03:55:46 +00:00
SWC Bot
7f67b0e6ac
chore: Publish crates
2022-05-11 03:35:17 +00:00
Alexander Akait
7166dbf5a6
fix(html/parser): Fix bugs ( #4592 )
2022-05-11 03:31:49 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id
APIs ( #4614 )
...
# API Changes
- `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
SWC Bot
9a36b216cc
chore: Publish crates
2022-05-11 03:01:34 +00:00
Pig Fang
04dd3ddc5d
feat(css/parser): Add a method to get error message ( #4588 )
2022-05-11 02:58:20 +00:00
SWC Bot
ad9daae200
chore: Publish crates
2022-05-10 10:43:10 +00:00
Artur
e65bf3d025
feat(es/lints): Implement prefer-const
rule without options ( #4584 )
2022-05-10 10:40:46 +00:00
Donny/강동윤
6918e3a4fb
test(es/minifier): Postpone tests which can be verified by execution tests ( #4600 )
2022-05-10 14:47:37 +09:00
SWC Bot
563602142c
chore: Publish crates
2022-05-10 05:23:18 +00:00
Donny/강동윤
859dc440b4
fix(es/minifier): Preserve more this
( #4599 )
2022-05-10 05:20:36 +00:00
SWC Bot
6c425d3d0a
chore: Publish crates
2022-05-10 04:19:24 +00:00
Donny/강동윤
d611d543ea
fix(es/fixer): Handle new yield
( #4598 )
2022-05-10 04:17:11 +00:00
SWC Bot
e52c06fe0d
chore: Publish crates
2022-05-10 03:57:45 +00:00
Donny/강동윤
8944a3bdf5
fix(es/minifier): Fix switch with a unknown case ( #4597 )
2022-05-10 03:55:34 +00:00
SWC Bot
20a7304267
chore: Publish crates
2022-05-10 03:24:33 +00:00
Donny/강동윤
097ff1ddc1
fix(es/minifier): Fix with
and NaN
( #4596 )
2022-05-10 03:21:43 +00:00
SWC Bot
bf2d5ff909
chore: Publish crates
2022-05-09 21:38:24 +00:00
Donny/강동윤
2ab7594b4a
fix(es/minifier): Fix switches ( #4595 )
2022-05-09 21:36:09 +00:00
SWC Bot
2482c93449
chore: Publish crates
2022-05-09 20:20:17 +00:00
Donny/강동윤
6ac4a23aa2
feat(es/hygiene): Drop syntax context ( #4594 )
2022-05-09 20:15:15 +00:00
Donny/강동윤
c68dec9448
chore: Publish v1.2.181
2022-05-10 04:52:51 +09:00
SWC Bot
cc712c7084
chore: Publish crates
2022-05-09 19:10:45 +00:00
Donny/강동윤
dd09cdf8b1
fix(es/minifier): Fix handling of NaN
( #4593 )
2022-05-09 19:08:28 +00:00
Donny/강동윤
fb17581570
chore: Publish v1.2.180
2022-05-10 02:06:22 +09:00
SWC Bot
a316e92732
chore: Publish crates
2022-05-09 17:02:34 +00:00
LongYinan
af91094b2d
fix(node): Use jemallocator
on linux ( #4591 )
2022-05-09 16:59:59 +00:00
SWC Bot
ba406f6120
chore: Publish crates
2022-05-09 16:38:56 +00:00
Donny/강동윤
3521ce09e7
fix(es/minifier): Consider more aliases in sequences pass ( #4583 )
2022-05-09 16:36:40 +00:00
Donny/강동윤
ad6b71150e
chore: Publish crates
2022-05-10 00:08:15 +09:00
SWC Bot
51d7078175
chore: Publish crates
2022-05-09 11:27:12 +00:00
Donny/강동윤
8db3442216
fix(es/minifier): Unwrap blocks more carefully ( #4586 )
2022-05-09 11:24:53 +00:00
SWC Bot
6833bb9c6d
chore: Publish crates
2022-05-09 09:17:37 +00:00
Donny/강동윤
7e80c10cba
fix(es/minifier): Don't create an invalid labeled statement ( #4581 )
2022-05-09 09:15:12 +00:00
SWC Bot
df31bb1731
chore: Publish crates
2022-05-09 08:52:56 +00:00
Donny/강동윤
56c3010f6b
fix(es/resolver): Fix more try catch issues ( #4582 )
2022-05-09 17:50:30 +09:00
SWC Bot
d9f168687d
chore: Publish crates
2022-05-09 07:19:45 +00:00
Donny/강동윤
e43689b7d5
fix(es/minifier): Preserve more identifiers if eval
or with
exists ( #4580 )
2022-05-09 07:17:33 +00:00
SWC Bot
29842e1b04
chore: Publish crates
2022-05-09 06:28:43 +00:00
Alexander Akait
a34dea11d0
feat(html/parser): Parse document fragment ( #4579 )
2022-05-09 06:26:31 +00:00
SWC Bot
23a24b46a5
chore: Publish crates
2022-05-09 06:06:22 +00:00
Alexander Akait
4cc247f39f
refactor(html/parser): Resolve TODO ( #4577 )
2022-05-09 06:03:51 +00:00
SWC Bot
c070b43e5d
chore: Publish crates
2022-05-09 05:45:55 +00:00
Donny/강동윤
7fc9bbccd9
feat(config): Make all configuration overridable ( #4575 )
2022-05-09 05:38:27 +00:00
SWC Bot
29811e28ee
chore: Publish crates
2022-05-08 16:04:48 +00:00
Donny/강동윤
55d0ee6cba
feat(es/ast): Add methods for parens ( #4576 )
2022-05-08 16:02:23 +00:00
Alexander Akait
4838267015
test(html/parser): Improve script on/off tests ( #4564 )
2022-05-08 15:39:17 +00:00
SWC Bot
d27b6e6dbe
chore: Publish crates
2022-05-08 10:15:15 +00:00
Donny/강동윤
9e79f9ced6
fix(es/resolver): Fix handling of a complex try catch ( #4574 )
2022-05-08 10:12:50 +00:00
SWC Bot
72f52f4ab6
chore: Publish crates
2022-05-08 09:21:40 +00:00
RiESAEX
086840956d
fix(es): Use unresolved_mark
( #4573 )
2022-05-08 09:19:26 +00:00
Donny/강동윤
bf5ee018b3
test(es/minifier): Fix test system ( #4571 )
2022-05-08 08:27:14 +00:00
SWC Bot
b6136f80e4
chore: Publish crates
2022-05-08 06:15:23 +00:00
Donny/강동윤
af368eead2
fix(es/minifier): Improve sequential inliner ( #4570 )
2022-05-08 06:12:42 +00:00
SWC Bot
025e3580c5
chore: Publish crates
2022-05-08 05:02:49 +00:00
Alexander Akait
c7d20e43e6
fix(html/parser): Add recovery for attributes on html and body ( #4566 )
2022-05-08 05:00:10 +00:00
Alexander Akait
adbce64f28
test(html/parser): Add tests ( #4565 )
2022-05-08 04:37:29 +00:00
Donny/강동윤
224a724340
chore: Publish v1.2.179
2022-05-08 13:14:51 +09:00
SWC Bot
0e26fa41da
chore: Publish crates
2022-05-08 04:14:16 +00:00
Austaras
b3b6fd448c
feat(es/minifier): Remove duplicate control flow in nested blocks ( #4569 )
2022-05-08 13:07:58 +09:00
SWC Bot
1071e6b75a
chore: Publish crates
2022-05-08 03:49:53 +00:00
Alexander Akait
d6e48850b6
fix(html/parser): Fix adoption agency algorithm ( #4552 )
2022-05-08 03:47:22 +00:00
SWC Bot
2e1fdd177d
chore: Publish crates
2022-05-08 03:25:05 +00:00
OJ Kwon
846a31919e
refactor(plugin): Align deps ( #4568 )
2022-05-08 03:19:43 +00:00
SWC Bot
f570220ac6
chore: Publish crates
2022-05-07 16:59:41 +00:00
Donny/강동윤
920d9a7678
fix(es/minifier): Fix handling of template literals ( #4563 )
2022-05-08 01:56:38 +09:00
SWC Bot
20ce370049
chore: Publish crates
2022-05-07 10:13:28 +00:00
Donny/강동윤
f9b6016d4b
fix(es/minifier): Distinguish raw
and cooked
while joining template literals ( #4559 )
2022-05-07 10:10:50 +00:00
SWC Bot
2a1a0bbaf5
chore: Publish crates
2022-05-07 08:45:21 +00:00
Donny/강동윤
13cc228262
doc(es/resolver): Add docs for top-level mark ( #4560 )
2022-05-07 08:42:46 +00:00
SWC Bot
947b1b1232
chore: Publish crates
2022-05-07 08:24:51 +00:00
Donny/강동윤
c5b4ef4377
feat(es/minifier): Drop vars using sequential inliner ( #4547 )
2022-05-07 08:19:56 +00:00
SWC Bot
e2a87a4ac4
chore: Publish crates
2022-05-07 07:56:07 +00:00
Alexander Akait
7ef637263e
fix(html/parser): Fix for noah's ark clause ( #4558 )
2022-05-07 07:53:37 +00:00
Donny/강동윤
fdbbe96fd7
chore: Publish v1.2.178
2022-05-07 16:26:19 +09:00
SWC Bot
ec3624c856
chore: Publish crates
2022-05-07 07:25:42 +00:00
Austaras
5d3a01ad35
fix(es/minifier): Skip getter/setter when collapsing vars ( #4557 )
2022-05-07 16:23:13 +09:00
SWC Bot
56fb1c8762
chore: Publish crates
2022-05-07 06:33:13 +00:00
Alexander Akait
e11ee88ea0
fix(html/parser): Fix support for document mode ( #4539 )
2022-05-07 06:30:39 +00:00
Donny/강동윤
b0efd00f38
test(es/minifier): Ignore difference of parens ( #4546 )
2022-05-07 06:08:23 +00:00
OJ Kwon
b5a2033994
build(plugin): Update swc_plugin_proxy
( #4551 )
2022-05-07 05:23:31 +00:00
SWC Bot
d5b67686bf
chore: Publish crates
2022-05-06 13:31:59 +00:00
Alexander Akait
446172f145
refactor(html/parser): Cleanup ( #4545 )
2022-05-06 13:28:58 +00:00
SWC Bot
49a8f89665
chore: Publish crates
2022-05-06 13:07:50 +00:00
Alexander Akait
698038107d
fix(html/lexer): Fix lexing of numeric characters ( #4544 )
2022-05-06 13:05:10 +00:00
SWC Bot
2be492b382
chore: Publish crates
2022-05-06 07:37:56 +00:00
Alexander Akait
dd40e7bf69
fix(html/parser): Fix parsing of newline in textarea
( #4543 )
2022-05-06 07:35:02 +00:00
SWC Bot
a8a0df2b9c
chore: Publish crates
2022-05-06 07:13:33 +00:00
OJ Kwon
10f903dd39
feat(plugin): Make plugin source map api use SourceMapper
( #4541 )
2022-05-06 07:11:00 +00:00
SWC Bot
a9c72c87f9
chore: Publish crates
2022-05-06 06:15:34 +00:00
Alexander Akait
07cf28a168
fix(html/parser): Fix parsing of cdata ( #4537 )
2022-05-06 06:12:46 +00:00
SWC Bot
f552c1c11d
chore: Publish crates
2022-05-06 05:20:01 +00:00
Kristján Oddsson
3d5d234047
fix(es/minifier): Respect keepClassNames
for class expressions ( #4536 )
...
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-05-06 05:17:45 +00:00
Donny/강동윤
3d3e3bb1d2
test(es/minifier): Categorize more tests ( #4538 )
2022-05-06 13:54:32 +09:00
SWC Bot
c40ae3ce33
chore: Publish crates
2022-05-06 04:36:55 +00:00
Alexander Akait
e6042a5e69
fix(html/parser): Fix parsing of nobr
( #4535 )
2022-05-06 04:34:06 +00:00
SWC Bot
e4ce388632
chore: Publish crates
2022-05-06 04:10:39 +00:00
William Tetlow
e2fde1a9a7
fix(es/parser): Revert #4287 ( #4542 )
2022-05-06 04:07:00 +00:00
SWC Bot
416312d0d7
chore: Publish crates
2022-05-06 03:48:41 +00:00
William Tetlow
28310596a6
fix(es/parser): Revert #4067 ( #4540 )
2022-05-06 12:46:15 +09:00
Alexander Akait
a4a815b288
test(html/parser): Add integration tests from html5lib-test ( #4517 )
2022-05-05 13:00:25 +00:00
SWC Bot
d4e92022a6
chore: Publish crates
2022-05-05 03:16:30 +00:00
Alexander Akait
79090e1b2a
fix(html/parser): Fix parsing of comments in textarea
( #4530 )
2022-05-05 03:13:20 +00:00
SWC Bot
f87d94a50e
chore: Publish crates
2022-05-05 02:51:14 +00:00
Alexander Akait
6310eab966
fix(html/parser): Fix a bug with optional li
( #4526 )
2022-05-05 02:48:43 +00:00
SWC Bot
242e53bfe5
chore: Publish crates
2022-05-05 02:28:41 +00:00
Austaras
2e74787870
fix(es/compat): Memorize computed props in logical assignment ( #4525 )
2022-05-05 02:25:37 +00:00
SWC Bot
eb7e20fd90
chore: Publish crates
2022-05-05 02:05:59 +00:00
Alexander Akait
5dc9376a4b
fix(html/parser): Fix parsing of cdata in foreign context ( #4531 )
2022-05-05 02:03:27 +00:00
SWC Bot
98b6727c9c
chore: Publish crates
2022-05-04 19:13:25 +00:00
Alexander Akait
2f6f8fa717
fix(html/parser): Fix a bug related to parsing foreign elements ( #4527 )
2022-05-04 19:10:39 +00:00
SWC Bot
b38f6ac3e3
chore: Publish crates
2022-05-04 15:10:39 +00:00
Donny/강동윤
f3b262e340
fix(es/modules): Preserve extensions ( #4524 )
2022-05-04 15:07:28 +00:00
Donny/강동윤
a6d404a8c2
chore(repo): Configure prettier
( #4523 )
2022-05-04 14:25:28 +00:00
Donny/강동윤
da5114d269
chore: Publish v1.2.177
2022-05-04 19:08:22 +09:00
SWC Bot
66f457ce28
chore: Publish crates
2022-05-04 06:13:32 +00:00
Alexander Akait
597c0c672a
fix(html/parser): Fix a bug of unwrapping element without parent ( #4505 )
2022-05-04 06:11:07 +00:00
SWC Bot
5b12a68cc7
chore: Publish crates
2022-05-04 05:48:37 +00:00
Pig Fang
0e0ded121c
feat(es/parser): Reject accessors named constructor
( #4520 )
2022-05-04 05:45:57 +00:00
Donny/강동윤
33f58faa0b
chore(repo): Fix lints ( #4519 )
2022-05-04 05:22:58 +00:00
SWC Bot
1d105ae76b
chore: Publish crates
2022-05-04 05:01:59 +00:00
OJ Kwon
c0432e46df
feat(plugin): Expose Pos
( #4516 )
2022-05-04 04:59:30 +00:00
Alexander Akait
202a6e4a01
test(html/parser): Add tests ( #4507 )
2022-05-04 04:13:15 +00:00
Donny/강동윤
cbe51616a2
chore: Publish v1.2.176
2022-05-04 12:17:07 +09:00
SWC Bot
51574d8b15
chore: Publish crates
2022-05-04 03:15:35 +00:00
Austaras
9e45882b84
fix(es/compat): Fix the position of inserted statements in class_properties
( #4511 )
2022-05-04 12:13:38 +09:00
Donny/강동윤
97e0e271d5
fix(es/compat): Revert a wrong patch about private properties
2022-05-04 12:13:07 +09:00
Donny/강동윤
ac5249dafa
chore: Publish v1.2.175
2022-05-03 16:51:07 +09:00
SWC Bot
00695f4b23
chore: Publish crates
2022-05-03 07:50:35 +00:00
Donny/강동윤
f30ffdf200
fix(es/decorators): Make legacy decorator identical to tsc
( #4496 )
2022-05-03 07:48:09 +00:00
Donny/강동윤
8629e0c665
test(es/decorators): Migrate some tests to file-based fixture tests ( #4510 )
2022-05-03 15:29:18 +09:00
SWC Bot
9a07601222
chore: Publish crates
2022-05-03 03:49:47 +00:00
Alexander Akait
efe87bcbf6
fix(html/parser): Fix parsing of a table with a table ( #4506 )
2022-05-03 03:47:03 +00:00
SWC Bot
180390df63
chore: Publish crates
2022-05-03 03:17:29 +00:00
Alexander Akait
b8588c4a45
fix(html/parser): Fix parsing of select
( #4504 )
2022-05-03 03:15:05 +00:00
SWC Bot
fea94a9c65
chore: Publish crates
2022-05-03 02:52:02 +00:00
Alexander Akait
fca84eb0f2
fix(html/parser): Fix bugs ( #4502 )
2022-05-03 02:49:06 +00:00
SWC Bot
6cd5cfe045
chore: Publish crates
2022-05-03 02:23:15 +00:00
Austaras
c4b156ce1f
fix(es/compat): Visit default export in static_block
( #4500 )
2022-05-03 02:20:49 +00:00
SWC Bot
f55c97cc30
chore: Publish crates
2022-05-03 01:26:25 +00:00
Alexander Akait
90ac93af12
fix(css/prefixer): Add prefix for print-color-adjust
( #4503 )
2022-05-03 10:23:50 +09:00
Donny/강동윤
518f769ef0
chore: Publish crates
2022-05-02 15:50:14 +09:00
SWC Bot
6ca7af9212
chore: Publish crates
2022-05-02 06:46:02 +00:00
Donny/강동윤
5c5337d342
feat(es/preset-env): Update data ( #4497 )
2022-05-02 06:43:36 +00:00
SWC Bot
ceed408e3c
chore: Publish crates
2022-05-02 04:37:58 +00:00
magic-akari
1e1d081805
fix(es/compat): Support updating a private field with bigint value ( #4136 )
2022-05-02 13:34:46 +09:00
SWC Bot
9fc3d2ce58
chore: Publish crates
2022-04-30 12:59:38 +00:00
Pig Fang
857e798194
feat(es/parser): Reject private field called #constructor
( #4491 )
2022-04-30 12:56:55 +00:00
SWC Bot
3443208810
chore: Publish crates
2022-04-30 12:35:42 +00:00
Satish Srinivasan
de53a6fa9d
feat(es/compat): Verify private property access ( #4465 )
2022-04-30 12:32:52 +00:00
Donny/강동윤
951e7b3fb9
chore: Publish crates
2022-04-30 18:21:26 +09:00
SWC Bot
b993b1fd9b
chore: Publish crates
2022-04-30 09:14:08 +00:00
Donny/강동윤
a444726fe3
fix(es/bugfixes): Fix handling of syntax context ( #4490 )
2022-04-30 09:11:20 +00:00
SWC Bot
179c014957
chore: Publish crates
2022-04-30 07:27:58 +00:00
Artur
17f237d3ba
feat(es/lints): Implement no-var
( #4485 )
2022-04-30 07:25:35 +00:00
SWC Bot
88103cc8ec
chore: Publish crates
2022-04-30 07:03:05 +00:00
Donny/강동윤
50b20496cd
refactor(es/minifier): Cleanup ( #4489 )
2022-04-30 07:00:21 +00:00
SWC Bot
b26ac6105e
chore: Publish crates
2022-04-30 04:11:33 +00:00
Alexander Akait
00358e10fc
fix(html/parser): Fix adoption agency algorithm ( #4487 )
2022-04-30 04:09:08 +00:00
Donny/강동윤
7552290ecd
chore: Publish v1.2.174
2022-04-30 12:50:24 +09:00
SWC Bot
a36e6a6726
chore: Publish crates
2022-04-30 00:59:36 +00:00
RiESAEX
7d40208377
fix(es/helpers): Update _interopRequireWildcard
( #4479 )
2022-04-30 00:56:48 +00:00
SWC Bot
cfe6e5fe1b
chore: Publish crates
2022-04-29 08:42:52 +00:00
Donny/강동윤
09ba3c0e68
feat(es/minifier): Add pristine_globals
( #4480 )
2022-04-29 08:40:16 +00:00
SWC Bot
48b427e403
chore: Publish crates
2022-04-29 07:48:41 +00:00
Artur
3a8cade209
feat(es/lints): Implement no-throw-literal
( #4477 )
2022-04-29 07:46:17 +00:00
SWC Bot
8611b1bf23
chore: Publish crates
2022-04-29 07:26:21 +00:00
Donny/강동윤
918c9c8a21
feat(es/minifier): Drop pure new
calls ( #4478 )
2022-04-29 07:22:13 +00:00
SWC Bot
588adf0913
chore: Publish crates
2022-04-29 06:01:32 +00:00
Donny/강동윤
7a584d755a
feat(es/minifier): Consider cost of functions for inlining ( #4470 )
2022-04-29 05:58:59 +00:00
SWC Bot
5a60e05102
chore: Publish crates
2022-04-29 05:32:42 +00:00
Alexander Akait
750d6551fc
feat(html/minifier): Remove duplicate attributes ( #4474 )
2022-04-29 05:28:55 +00:00
SWC Bot
f891c83f85
chore: Publish crates
2022-04-29 03:23:39 +00:00
Alexander Akait
a1877e740a
feat(html/minifier): Remove javascript:
prefix ( #4460 )
2022-04-29 03:19:44 +00:00
SWC Bot
01c8c0e22d
chore: Publish crates
2022-04-28 17:59:31 +00:00
Alexander Akait
8bdfcd996a
fix(html): Fix bugs of parser and codegen ( #4461 )
2022-04-28 17:57:05 +00:00
SWC Bot
44567bb065
chore: Publish crates
2022-04-28 17:30:17 +00:00
Alexander Akait
20982288fb
fix(html/parser): Fix bugs ( #4459 )
2022-04-28 17:27:39 +00:00
SWC Bot
bbd6fd07f7
chore: Publish crates
2022-04-28 13:31:45 +00:00
Donny/강동윤
273954640a
feat(es/minifier): Drop more returns ( #4471 )
2022-04-28 13:28:33 +00:00
SWC Bot
0340c6889f
chore: Publish crates
2022-04-28 11:44:18 +00:00
Donny/강동윤
233c4d5b86
fix(es/minifier): Fix skipping logic of sequential inliner ( #4469 )
2022-04-28 11:41:41 +00:00
Donny/강동윤
a72f436148
chore: Publish crates
2022-04-28 17:35:33 +09:00
SWC Bot
ce1aaa5390
chore: Publish crates
2022-04-28 08:34:59 +00:00
Donny/강동윤
effc85df57
fix(es/minifier): Disable some passes for hoist_props
( #4468 )
2022-04-28 08:32:03 +00:00
SWC Bot
5122a7dc62
chore: Publish crates
2022-04-28 05:21:48 +00:00
Donny/강동윤
c45b0df877
chore(es/minifier): Update debugging utils ( #4467 )
2022-04-28 05:19:08 +00:00
Donny/강동윤
1d1e7dcea5
chore: Publish v1.2.173
2022-04-28 13:43:22 +09:00
SWC Bot
989ea98ed0
chore: Publish crates
2022-04-28 04:19:17 +00:00
Donny/강동윤
0bc0bae90d
fix(es/async-generator): Fix yield*
in async generators ( #4452 )
2022-04-28 04:14:17 +00:00
SWC Bot
b44b7f9b3d
chore: Publish crates
2022-04-28 02:55:32 +00:00
Austaras
4262874ce4
fix(es/preset-env): Do not import new features when using old core-js ( #4458 )
2022-04-28 02:52:35 +00:00
SWC Bot
55abf8fc28
chore: Publish crates
2022-04-28 02:33:39 +00:00
Alexander Akait
0ae43502f3
feat(html/minifier): Compress whitespaces ( #4463 )
2022-04-28 02:30:53 +00:00
SWC Bot
8c520919fd
chore: Publish crates
2022-04-28 02:11:23 +00:00
Pig Fang
393cfa84b6
fix(es/parser): Throw syntax error for missing function expr body ( #4462 )
2022-04-28 02:08:17 +00:00
SWC Bot
1bce018804
chore: Publish crates
2022-04-28 01:47:51 +00:00
Alexander Akait
65a158a66b
fix(html/parser): Fix fosting logic for text nodes ( #4457 )
2022-04-28 01:44:13 +00:00
SWC Bot
c53778a3d8
chore: Publish crates
2022-04-27 05:12:01 +00:00
Alexander Akait
6e60813367
fix(html/parser): Parse table including broken one ( #4451 )
2022-04-27 05:09:25 +00:00
Alexander Akait
f30e7717a2
test(html/codegen): Improve fixture testing ( #4450 )
2022-04-27 03:28:36 +00:00
SWC Bot
bcef90dc97
chore: Publish crates
2022-04-27 03:10:17 +00:00
Pig Fang
df7b3f611a
feat(es/parser): Reject indirect opt chain in assignment ( #4447 )
2022-04-27 03:07:57 +00:00
SWC Bot
20f35cbcbd
chore: Publish crates
2022-04-27 02:48:54 +00:00
Alexander Akait
8c4dc4cc46
fix(html/parser): Fix a bug with nested tags ( #4438 )
2022-04-27 02:46:34 +00:00
Austaras
ec7dfb9209
chore(es/minifier): Don't run tests with infinite loops ( #4448 )
2022-04-27 02:21:39 +00:00
SWC Bot
60562e158d
chore: Publish crates
2022-04-26 14:21:53 +00:00
Donny/강동윤
962cf4a08c
fix(es): Remove wrong debug assertion ( #4445 )
2022-04-26 14:16:38 +00:00
Donny/강동윤
342869408b
chore: Publish crates
2022-04-26 19:35:25 +09:00
Donny/강동윤
27f9b30ef2
chore: Publish crates
2022-04-26 19:30:11 +09:00
Donny/강동윤
799be154d2
chore: Publish v1.2.172
2022-04-26 17:06:32 +09:00
SWC Bot
42efc40f7c
chore: Publish crates
2022-04-26 08:04:09 +00:00
Alexander Akait
8f2a3ead6a
fix(html/parsing): Fix parsing of formatting elements ( #4442 )
2022-04-26 08:01:26 +00:00
SWC Bot
99b6d99380
chore: Publish crates
2022-04-26 07:41:17 +00:00
Donny/강동윤
53610fdafc
feat(es/resolver): Use different syntax context for unresolved refs ( #4436 )
...
- We don't need a list of bindings to check if an identifier is unresolved.
- Checking if an identifier is unresolved is now one CPU instruction.
- Previously it was one hashmap operation.
- This PR also improves performance, by removing the hashmaps mentioned above.
2022-04-26 07:38:50 +00:00
SWC Bot
1d90d6e726
chore: Publish crates
2022-04-26 07:14:56 +00:00
Alexander Akait
4c699f2554
feat(html/minifier): Compress default values of attributes ( #4427 )
2022-04-26 07:12:32 +00:00
SWC Bot
c7aa0fe86b
chore: Publish crates
2022-04-26 01:38:35 +00:00
Pig Fang
1c2af932b6
feat(preset-env/base): Update "browserslist-rs" ( #4435 )
2022-04-26 01:35:43 +00:00
SWC Bot
4498d16c18
chore: Publish crates
2022-04-26 00:11:47 +00:00
overlookmotel
2813eaadcd
fix(es/ast): Fix tag of BigInt
( #4440 )
2022-04-26 00:09:14 +00:00
SWC Bot
47cfda2836
chore: Publish crates
2022-04-25 23:47:39 +00:00
Alexander Akait
3293060070
fix(html/parser): Fix span ( #4437 )
2022-04-25 23:45:14 +00:00
SWC Bot
4bdc198a55
chore: Publish crates
2022-04-25 23:13:22 +00:00
Pig Fang
465cc2f929
fix(es/parser): Fix top-level await with binary expr ( #4426 )
2022-04-25 23:10:59 +00:00
SWC Bot
7cbf30d5ac
chore: Publish crates
2022-04-25 15:34:29 +00:00
Donny/강동윤
8048597c9e
feat(es/optimization): Accept top level mark from simplifiers ( #4434 )
2022-04-25 15:31:59 +00:00
SWC Bot
d6c82b3b3a
chore: Publish crates
2022-04-25 14:37:42 +00:00
Alexander Akait
6fc70f3866
feat(html/minifier): Compress doctype ( #4425 )
2022-04-25 14:34:36 +00:00
SWC Bot
d5726ef002
chore: Publish crates
2022-04-25 14:13:53 +00:00
Donny/강동윤
6a19ff1a15
feat(node/css): Add css bindings crate ( #4346 )
2022-04-25 14:11:22 +00:00
SWC Bot
057285a51c
chore: Publish crates
2022-04-25 13:49:37 +00:00
Alexander Akait
25a87f0000
feat(html/minifier): Compress type
for style
and link
tags ( #4424 )
2022-04-25 13:44:53 +00:00
SWC Bot
65ced1d524
chore: Publish crates
2022-04-25 12:34:52 +00:00
Donny/강동윤
8118569045
fix(es/minifier): Remove wrong logic for optimizing delete
s ( #4429 )
2022-04-25 12:32:02 +00:00
SWC Bot
2dee47c430
chore: Publish crates
2022-04-25 12:10:52 +00:00
Donny/강동윤
9733917cc7
fix(es/minifier): Fix analysis of update expressions ( #4428 )
2022-04-25 12:07:27 +00:00
SWC Bot
6d4b32a51c
chore: Publish crates
2022-04-25 08:29:05 +00:00
Alexander Akait
4ccbdf2a7d
fix(html/parser): Fix parsing of foreign elements ( #4422 )
2022-04-25 08:26:08 +00:00
SWC Bot
747b8a1889
chore: Publish crates
2022-04-25 07:54:53 +00:00
Pig Fang
fec0f2e417
feat(html/minifier): Remove script
type
attribute ( #4407 )
2022-04-25 07:46:38 +00:00
SWC Bot
e0f10f876f
chore: Publish crates
2022-04-25 06:59:03 +00:00
Donny/강동윤
8ab12fd97b
fix(es/minifier): Preserve more side effects ( #4420 )
2022-04-25 06:56:19 +00:00
SWC Bot
255c4d369e
chore: Publish crates
2022-04-25 05:37:55 +00:00
Alexander Akait
9b26dbd457
fix(html/lexer): Fix lexing of html entity ( #4423 )
2022-04-25 05:34:59 +00:00
SWC Bot
f12183a245
chore: Publish crates
2022-04-24 15:36:35 +00:00
Donny/강동윤
aa19b65f9c
fix(es/minifier): Don't drop arguments to an IIFE without body ( #4419 )
2022-04-24 15:27:51 +00:00
Donny/강동윤
9b34ecfd2e
test(es/minifier): Categorize tests ( #4410 )
2022-04-24 12:11:02 +00:00
Donny/강동윤
f787f8c819
test(es/minifier): Execute terser tests if possible ( #4418 )
2022-04-24 11:40:39 +00:00
SWC Bot
d7aa781a16
chore: Publish crates
2022-04-24 03:29:34 +00:00
Austaras
83244add33
fix(es/minifier): Remove the last break in the last BlockStmt
( #4413 )
2022-04-24 03:26:49 +00:00
SWC Bot
3e2931e878
chore: Publish crates
2022-04-24 03:06:59 +00:00
Pig Fang
6dc64c9ca0
feat(es/parser): Reject 'use strict'
with non-simple params list in TS ( #4416 )
2022-04-24 03:04:38 +00:00
Donny/강동윤
4e113037e5
test(es/minifier): Use _
instead of -
for terser tests ( #4411 )
2022-04-23 18:34:00 +00:00
SWC Bot
487064f0b9
chore: Publish crates
2022-04-23 15:33:43 +00:00
Alexander Akait
c15dc4f2b7
feat(html/codegen): Print unquoted value when it is possible ( #4402 )
2022-04-23 15:31:11 +00:00
SWC Bot
cda7fc2264
chore: Publish crates
2022-04-23 14:47:56 +00:00
Pig Fang
da02c9dc50
feat(es/parser): Reject invalid new.target
( #4406 )
2022-04-23 14:45:11 +00:00
Donny/강동윤
ab88637937
test(es/minifier): Split tests into improvement and stabilization ( #4409 )
2022-04-23 13:40:28 +00:00
SWC Bot
b78ffcc058
chore: Publish crates
2022-04-23 11:01:17 +00:00
Donny/강동윤
4c9e5c01ef
perf(es/minifier): Add some fast-path to the MultiReplacer
( #4408 )
2022-04-23 19:53:21 +09:00
SWC Bot
5a8250610a
chore: Publish crates
2022-04-23 05:46:23 +00:00
Pig Fang
c96e32243c
feat(es/parser): Reject invalid regex flags ( #4404 )
2022-04-23 05:43:52 +00:00
SWC Bot
a6ca119c3f
chore: Publish crates
2022-04-23 04:29:04 +00:00
Alexander Akait
cf3be649bb
fix(html/parser): Parse foreign attributes ( #4400 )
2022-04-23 04:26:32 +00:00
SWC Bot
82069d1804
chore: Publish crates
2022-04-23 03:53:14 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate ( #4403 )
2022-04-23 03:50:59 +00:00
SWC Bot
258c019f1f
chore: Publish crates
2022-04-22 11:23:05 +00:00
Alexander Akait
7332dce4f8
feat(html): Prepare processing system ( #4358 )
2022-04-22 20:20:47 +09:00
SWC Bot
9dc30a5bc4
chore: Publish crates
2022-04-22 10:39:46 +00:00
Donny/강동윤
efdf93d910
chore(es/minifier): Add a script to instrument real-world inputs ( #4399 )
2022-04-22 10:37:04 +00:00
SWC Bot
0997081ef9
chore: Publish crates
2022-04-22 09:25:50 +00:00
Donny/강동윤
5134b4f9be
test(es): Add tests for .swcrc
( #4398 )
2022-04-22 18:23:04 +09:00
Donny/강동윤
60efb7e9c7
chore(plugin): Add a benchmark ( #4397 )
2022-04-22 14:52:55 +09:00
Donny/강동윤
11a5ad5be5
chore: Publish v1.2.171
2022-04-22 12:21:49 +09:00
Donny/강동윤
971351fe93
chore: Publish crates
2022-04-22 10:50:25 +09:00