Alexander Akait
7d3aa66bb8
perf(html/minifier): Reduce allocations ( #6623 )
2022-12-13 12:34:55 +09:00
SWC Bot
b976551065
chore: Publish crates
2022-12-12 13:54:27 +00:00
Donny/강동윤
3f469fff0b
chore(atoms): Make sort.sh
cross-platform ( #6629 )
2022-12-12 13:50:36 +00:00
SWC Bot
3d943c8f16
chore: Publish crates
2022-12-12 13:15:09 +00:00
Alexander Akait
fb94694cf3
feat(css/minifier): Remove adjacent identical declarations ( #6619 )
2022-12-12 13:11:33 +00:00
SWC Bot
13fe17040c
chore: Publish crates
2022-12-12 06:30:21 +00:00
Donny/강동윤
b3bbd742bf
feat(css/compat): Add Compiler
( #6626 )
...
**Description:**
Visitor patterns are inherently slow, so I decided to merge all compatibility passes into a single pass.
2022-12-12 15:27:05 +09:00
SWC Bot
f6cd0dcb5c
chore: Publish crates
2022-12-12 05:55:23 +00:00
Alexander Akait
bfdafdbb89
perf(html/codegen): Reduce allocations ( #6622 )
2022-12-12 05:52:12 +00:00
SWC Bot
2a4b4a3792
chore: Publish crates
2022-12-12 05:09:19 +00:00
Alexander Akait
19c2ee593d
fix(html/parser): Fix parsing of CDATA in the svg context ( #6620 )
2022-12-12 05:05:40 +00:00
SWC Bot
c74ca2f23f
chore: Publish crates
2022-12-12 04:31:14 +00:00
Alexander Akait
59e8bf4976
fix(css/minifier): Fix compression of timing functions ( #6618 )
2022-12-12 04:27:13 +00:00
SWC Bot
bae04f54cf
chore: Publish crates
2022-12-12 03:53:42 +00:00
SWC Bot
74b853ab63
chore: Publish crates
2022-12-12 03:16:21 +00:00
Alexander Akait
208fd559ba
fix(css/minifier): Fix compressions of transform functions ( #6617 )
2022-12-12 03:13:01 +00:00
SWC Bot
4d4406d5b3
chore: Publish crates
2022-12-12 02:40:19 +00:00
Alexander Akait
cb49fa6f1d
feat(css/minifier): Support to
and from
with initial
( #6613 )
2022-12-12 02:36:48 +00:00
SWC Bot
2e50dd54e8
chore: Publish crates
2022-12-12 02:01:40 +00:00
Kevin Barabash
5c53a74f55
fix(es/codegen): Fix codegen of TypeScript mapped types ( #6621 )
2022-12-12 01:58:08 +00:00
SWC Bot
cacd0d1105
chore: Publish crates
2022-12-11 09:04:55 +00:00
SWC Bot
a5efa8af50
chore: Publish crates
2022-12-10 15:41:27 +00:00
Donny/강동윤
2bf7805980
feat(dbg-swc): Kill creduce
on drop ( #6614 )
2022-12-10 15:38:11 +00:00
SWC Bot
3d80fa4c25
chore: Publish crates
2022-12-10 00:55:14 +00:00
Alexander Akait
68d76afe5d
fix(es/codegen): Don't print trailing coma for a rest argument ( #6610 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6589 .
2022-12-10 00:51:11 +00:00
SWC Bot
fc21895bce
chore: Publish crates
2022-12-10 00:09:46 +00:00
Alexander Akait
c44f1d0a7f
fix(es/parser): Parse types in CallExpression
inside templates ( #6611 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6601 .
2022-12-10 00:05:25 +00:00
SWC Bot
66b52824e5
chore: Publish crates
2022-12-09 04:03:15 +00:00
SWC Bot
5d9cff21b5
chore: Publish crates
2022-12-09 02:30:36 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive ( #6606 )
2022-12-09 02:27:19 +00:00
SWC Bot
fef8fc99a0
chore: Publish crates
2022-12-09 01:52:11 +00:00
HeYunfei
4c2d42261e
fix(es/compat): Prepend generated _loop
to the correct scope ( #6604 )
2022-12-09 01:48:29 +00:00
SWC Bot
394141bdc0
chore: Publish crates
2022-12-09 00:18:50 +00:00
SWC Bot
fbf83db0e7
chore: Publish crates
2022-12-08 05:51:07 +00:00
Donny/강동윤
538d63eb80
perf(css/codegen): Reduce allocations ( #6599 )
2022-12-08 05:47:35 +00:00
SWC Bot
6fadb48a52
chore: Publish crates
2022-12-08 05:15:03 +00:00
HeYunfei
fe0c65195d
fix(es/typescript): Strip inline type declarations ( #6600 )
2022-12-08 14:11:45 +09:00
SWC Bot
30d0d98405
chore: Publish crates
2022-12-08 02:15:57 +00:00
SWC Bot
96f9858639
chore: Publish crates
2022-12-07 23:43:51 +00:00
HeYunfei
29ba05d137
fix(es/resolver): Reset in_type
flag correctly ( #6597 )
2022-12-08 08:40:40 +09:00
SWC Bot
9cc5b928a6
chore: Publish crates
2022-12-07 11:57:23 +00:00
Alex Kirszenberg
e1d01d8b7a
feat(es/analyzer): Extract the analyzer from the minifier to a separate crate ( #6586 )
2022-12-07 11:53:49 +00:00
SWC Bot
da5e18e522
chore: Publish crates
2022-12-07 09:30:36 +00:00
Donny/강동윤
08b6eab010
perf(css/parser): Don't allocate for comparisons ( #6593 )
2022-12-07 09:27:06 +00:00
SWC Bot
31630ba913
chore: Publish crates
2022-12-07 03:48:23 +00:00
Alexander Akait
d8936ade5b
fix(css/parser): Avoid skipping extra whitespaces ( #6592 )
...
**Description:**
- Avoid skipping whitespaces in `[`/`(`/`{` because it is invalid. Whitespaces can be allowed and can be disallowed based on context, we can't apply this logic to any CSS context.
- Also, we already skip whitespaces where it is necessary.
- This also avoids extra actions.
2022-12-07 03:44:36 +00:00
SWC Bot
3abef05a8d
chore: Publish crates
2022-12-07 02:58:32 +00:00
Alexander Akait
4de378cb1e
fix(css/parser): Fix a small bug ( #6591 )
2022-12-07 02:53:41 +00:00
SWC Bot
8c4bf84ce5
chore: Publish crates
2022-12-07 02:21:48 +00:00
Alexander Akait
d6e961368b
perf(html/parser): Optimize usage of buffers ( #6590 )
2022-12-07 02:18:31 +00:00
SWC Bot
d9c1c3a9bf
chore: Publish crates
2022-12-07 01:48:18 +00:00
Alexander Akait
252edb550b
perf(css/parser): Reduce number of function calls ( #6587 )
2022-12-07 01:45:03 +00:00
SWC Bot
259eb87bd6
chore: Publish crates
2022-12-07 01:03:25 +00:00
Alexander Akait
f383836bad
chore(css/lexer): Fix typo ( #6588 )
2022-12-07 00:59:29 +00:00
SWC Bot
29d67206ba
chore: Publish crates
2022-12-06 14:31:09 +00:00
Donny/강동윤
64796701e4
perf(css/parser): Reduce clones and allocations ( #6585 )
...
**Description:**
- We use `(BytePos, BytePos)` instead of `Box<Span>`.
- We use `Cow` for `Input`.
2022-12-06 14:27:45 +00:00
SWC Bot
79b2279470
chore: Publish crates
2022-12-06 13:08:27 +00:00
Donny/강동윤
78955995a2
perf(css/minifier): Improve performance ( #6583 )
2022-12-06 13:04:34 +00:00
SWC Bot
824979f92b
chore: Publish crates
2022-12-06 12:28:41 +00:00
Donny/강동윤
d8adc58011
chore(ci): Fix benchmark action ( #6582 )
2022-12-06 12:24:55 +00:00
SWC Bot
6e5abdd9cc
chore: Publish crates
2022-12-06 11:51:49 +00:00
Donny/강동윤
4171ee7fb3
perf(css/minifier): Remove more redundant clones ( #6580 )
2022-12-06 20:48:00 +09:00
SWC Bot
866fd09bad
chore: Publish crates
2022-12-06 06:23:44 +00:00
Donny/강동윤
70ac0286e5
perf(css/minifier): Remove redundant clone ( #6579 )
2022-12-06 15:20:05 +09:00
SWC Bot
a475f61ac3
chore: Publish crates
2022-12-06 02:01:49 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size ( #6569 )
2022-12-06 01:58:29 +00:00
SWC Bot
9d0247a394
chore: Publish crates
2022-12-06 00:54:17 +00:00
Alexander Akait
ad95ead291
fix(es/parser): Fix parsing of JSX with ASI ( #6577 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6522 .
2022-12-06 09:50:26 +09:00
SWC Bot
c3dd8ffe79
chore: Publish crates
2022-12-05 00:17:56 +00:00
IWANABETHATGUY
586bfd5480
refactor(es/minifier): Remove unnecessary code ( #6575 )
2022-12-05 00:14:51 +00:00
SWC Bot
2379fc1fd9
chore: Publish crates
2022-12-04 05:55:52 +00:00
Justin Ridgewell
a203fdb1b6
fix(common): Fix BytePos
-> CharPos
calculations ( #6574 )
...
**Description:**
This fixes the BytePos -> CharPos calculation necessary for source maps.
There were a few issues in the old code:
1. UTF-8 maps 1-3 bytes into 1 UTF-16 char, but 4 bytes into 2 UTF-16 chars
2. The starting offset was not recorded when we reached the end of the `multibyte_chars` iteration
3. The `mappings` can be unordered, meaning we need to restart the UTF-16 offset calculation
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6552 .
2022-12-04 14:52:00 +09:00
SWC Bot
8bee06f78f
chore: Publish crates
2022-12-03 03:56:24 +00:00
Alexander Akait
01232f0988
fix(xml/parser): Fix various bugs ( #6566 )
2022-12-03 03:52:48 +00:00
SWC Bot
cffa11122b
chore: Publish crates
2022-12-03 00:26:38 +00:00
Justin Ridgewell
b3ea52f863
refactor(common): Cleanup source_map.rs ( #6570 )
2022-12-03 00:23:06 +00:00
SWC Bot
ab5635c6eb
chore: Publish crates
2022-12-02 14:55:20 +00:00
Donny/강동윤
fa8f7b00fc
feat(css/plugin): Support Wasm plugin ( #6568 )
2022-12-02 12:45:17 +00:00
SWC Bot
2d36c3fb02
chore: Publish crates
2022-12-02 10:18:01 +00:00
Donny/강동윤
8cdc28cdfa
feat(css/plugin): Prepare Wasm plugins ( #6567 )
2022-12-02 10:14:46 +00:00
SWC Bot
ab2e19b601
chore: Publish crates
2022-12-02 08:01:39 +00:00
Donny/강동윤
4af52c79ae
fix(common): Fix handling of input source maps ( #6561 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/4578 .
- Closes https://github.com/swc-project/swc/issues/6244 .
- https://github.com/vercel/next.js/issues/39878 .
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2022-12-02 07:58:02 +00:00
SWC Bot
d00b29120a
chore: Publish crates
2022-12-02 05:00:20 +00:00
Alexander Akait
cdf0d8a8b5
fix(xml/parser): Fix parsing of legacy document types ( #6555 )
2022-12-02 04:56:34 +00:00
SWC Bot
a9cccb08f5
chore: Publish crates
2022-12-02 04:30:50 +00:00
Alexander Akait
4d422b6228
test(css/parser): Move vendor tests ( #6564 )
2022-12-02 04:27:09 +00:00
SWC Bot
974406a7c5
chore: Publish crates
2022-12-02 03:56:52 +00:00
Alexander Akait
a1fe9076c2
fix(css/parser): Fix parsing of nested rules ( #6563 )
2022-12-02 03:52:54 +00:00
SWC Bot
92877096fe
chore: Publish crates
2022-12-01 06:30:18 +00:00
Alexander Akait
db1eb483fd
fix(css/parser): Fix recovery more for invalid component values in declaration value ( #6560 )
2022-12-01 06:26:47 +00:00
SWC Bot
9a4fe8913e
chore: Publish crates
2022-12-01 05:57:56 +00:00
Alexander Akait
49b7e9e224
feat(html/parser): Improve lexer ( #6543 )
2022-12-01 05:54:44 +00:00
SWC Bot
253f309823
chore: Publish crates
2022-12-01 05:04:57 +00:00
Alexander Akait
85a03e71b7
refactor(xml/parser): Simplify logic for parsing elements ( #6557 )
2022-12-01 05:01:48 +00:00
SWC Bot
967a9dc231
chore: Publish crates
2022-12-01 04:24:28 +00:00
SWC Bot
40d7cda38e
chore: Publish crates
2022-11-30 21:03:13 +00:00
Donny/강동윤
cd9a6b372a
chore: Publish crates
2022-12-01 05:26:50 +09:00
SWC Bot
912743aadb
chore: Publish crates
2022-11-30 17:13:08 +00:00
Alexander Akait
aa28aa0c7f
fix(es/parser): Fix typeof
in TSCallSignatureDeclaration
( #6553 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6430
2022-11-30 17:09:53 +00:00
SWC Bot
2551eb182a
chore: Publish crates
2022-11-30 09:34:03 +00:00
IWANABETHATGUY
9b58cce10b
chore(swc_core): Reexport more modules ( #6548 )
2022-11-30 09:30:02 +00:00
SWC Bot
171733e8bb
chore: Publish crates
2022-11-30 07:50:13 +00:00
Donny/강동윤
cddbc41430
test(es/typescript): Migrate inline tests to fixture tests ( #6546 )
2022-11-30 07:46:33 +00:00
SWC Bot
25fa08017a
chore: Publish crates
2022-11-30 07:13:15 +00:00
OJ Kwon
d730186e9f
build(cargo): Update browerslist-rs
( #6547 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-11-30 07:09:44 +00:00
SWC Bot
0548db10e8
chore: Publish crates
2022-11-30 05:49:50 +00:00
Donny/강동윤
8d8f150792
test(es/minifier): Add tests for preserving top-level directives ( #6545 )
2022-11-30 05:46:48 +00:00
SWC Bot
7bc840d3b9
chore: Publish crates
2022-11-30 05:10:51 +00:00
Alexander Akait
251e98c055
refactor(css/parser): Canonicalize only if required ( #6532 )
2022-11-30 05:07:46 +00:00
SWC Bot
a19ff0843c
chore: Publish crates
2022-11-30 04:31:30 +00:00
Donny/강동윤
ae6322064d
feat(es/preset-env): Update data ( #6538 )
2022-11-30 04:27:59 +00:00
SWC Bot
a03d990a6c
chore: Publish crates
2022-11-29 11:21:26 +00:00
SWC Bot
4c6e516896
chore: Publish crates
2022-11-29 09:51:24 +00:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests ( #6539 )
2022-11-29 09:47:56 +00:00
SWC Bot
1393a7ce28
chore: Publish crates
2022-11-29 07:54:57 +00:00
Alexander Akait
7f8c4e04b2
feat(xml/parser): Parse cdata section ( #6531 )
2022-11-29 07:51:42 +00:00
SWC Bot
180f6740c1
chore: Publish crates
2022-11-29 07:04:40 +00:00
Yongwook Choi (Leo)
81224b5d67
fix(es/minifier): Don't convert a signed integer literal key to a numeric literal ( #6529 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6528 .
2022-11-29 07:01:30 +00:00
SWC Bot
6ca36c198b
chore: Publish crates
2022-11-29 06:00:22 +00:00
Donny/강동윤
cb157215d2
feat(es/parser): Make error message helpful ( #6535 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6525 .
2022-11-29 05:57:23 +00:00
SWC Bot
01676568e6
chore: Publish crates
2022-11-29 05:26:59 +00:00
Donny/강동윤
9752b43f94
fix(es/minifier): Use unsafe option for arrow => method ( #6521 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6504 .
- https://github.com/vercel/next.js/issues/43208 .
2022-11-29 05:23:55 +00:00
SWC Bot
40cc78f384
chore: Publish crates
2022-11-29 04:53:35 +00:00
Donny/강동윤
27ae59e77b
fix(es/minifier): Make sequential inliner respect resolution order ( #6509 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6491 .
2022-11-29 04:50:15 +00:00
SWC Bot
c14acc1b14
chore: Publish crates
2022-11-29 04:15:55 +00:00
Donny/강동윤
b394f9f1d3
fix(es/minifier): Don't drop used variables from sequential inliner ( #6520 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6510 .
2022-11-29 04:12:11 +00:00
SWC Bot
08e1c50737
chore: Publish crates
2022-11-29 02:43:31 +00:00
Alexander Akait
e3cbe7e9a9
fix(html/parser): Fix parsing of cdata ( #6534 )
2022-11-29 02:39:48 +00:00
SWC Bot
5a9aab2392
chore: Publish crates
2022-11-28 16:00:01 +00:00
Donny/강동윤
b8fe04f720
feat(common): Add contexts to the error messages ( #6526 )
...
**Description:**
This PR makes the error reporter print contexts.
**Related issue:**
- https://github.com/swc-project/swc/issues/6525 .
2022-11-29 00:56:47 +09:00
SWC Bot
96a1f93e91
chore: Publish crates
2022-11-28 07:54:59 +00:00
Donny/강동윤
47908a49d3
perf(common): Fix perf bug of sourcemap for inputs with multi-byte chars ( #6523 )
...
**Description:**
This PR makes the source map generator cache the previous position instead of searching it from 0 every time.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6411 .
2022-11-28 07:51:36 +00:00
SWC Bot
2d70c3088b
chore: Publish crates
2022-11-28 04:57:40 +00:00
Donny/강동윤
cc4646a4cc
test(ts/compat): Migrate inline tests to fixture testing ( #6475 )
2022-11-28 04:54:38 +00:00
SWC Bot
3d58e37d86
chore: Publish crates
2022-11-28 02:53:35 +00:00
Donny/강동윤
5ff87afa78
test(es/transforms): Add tests about preserving top-level directives ( #6518 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6508 .
2022-11-28 02:50:26 +00:00
SWC Bot
70ed082ee4
chore: Publish crates
2022-11-27 04:43:13 +00:00
SWC Bot
f019c0210b
chore: Publish crates
2022-11-25 11:31:34 +00:00
Donny/강동윤
0cee0e1af7
fix(es/visit): Visit TypeScript satisfies expressions ( #6511 )
2022-11-25 20:28:01 +09:00
SWC Bot
2ce5e2287a
chore: Publish crates
2022-11-24 15:25:03 +00:00
Donny/강동윤
90aa6c8318
fix(es/react): Allow spread children ( #6505 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/2037 .
2022-11-24 15:21:51 +00:00
SWC Bot
bc61b0948a
chore: Publish crates
2022-11-24 09:46:57 +00:00
HeYunfei
8d906b45e5
fix(es/minifier): Preserve classes with side effects in static fields ( #6480 )
2022-11-24 09:43:00 +00:00
SWC Bot
6fd97971c9
chore: Publish crates
2022-11-24 08:47:34 +00:00
HeYunfei
b3b5526be4
perf(es/helpers): Improve fast-path for helper detection ( #6502 )
2022-11-24 08:44:26 +00:00
SWC Bot
48bbebf5e9
chore: Publish crates
2022-11-22 08:44:17 +00:00
SWC Bot
b90ea8ab8f
chore: Publish crates
2022-11-21 04:20:34 +00:00
SWC Bot
c6d33b3c58
chore: Publish crates
2022-11-21 01:41:47 +00:00
SWC Bot
0e67eaf892
chore: Publish crates
2022-11-21 00:57:06 +00:00
SWC Bot
553ba9c382
chore: Publish crates
2022-11-21 00:11:04 +00:00
magic-akari
1ca281a6cf
fix(es/codegen): Preserve parens for new
in optional chaining ( #6484 )
2022-11-21 00:07:16 +00:00
SWC Bot
66b4966d60
chore: Publish crates
2022-11-20 23:40:48 +00:00
Austaras
c57307d002
refactor(es): Remove settings related to privateInObject
( #6468 )
2022-11-21 08:34:20 +09:00
SWC Bot
40ad709523
chore: Publish crates
2022-11-20 10:06:27 +00:00
Alexander Akait
08a9e21b36
feat(es/codegen): Skip whitespaces for comments in minify mode ( #6465 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-11-20 10:03:26 +00:00
SWC Bot
5a3ae502bb
chore: Publish crates
2022-11-20 06:53:28 +00:00
SWC Bot
59954370cb
chore: Publish crates
2022-11-20 00:30:30 +00:00
HeYunfei
9154bbc111
fix(es/minifier): Avoid dropping statements which has side-effects ( #6476 )
2022-11-20 00:26:52 +00:00
SWC Bot
a4ed624f81
chore: Publish crates
2022-11-18 07:56:33 +00:00
Donny/강동윤
15ad2c2568
fix(es/minifier): Abort inliner on fn declarations used multiple time ( #6473 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6463 .
2022-11-18 07:53:13 +00:00
SWC Bot
e45c66535c
chore: Publish crates
2022-11-18 07:19:26 +00:00
Alexander Akait
3e702b9804
fix(es/parser): Fix parsing of regexp ( #6469 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6322 .
- Closes https://github.com/swc-project/swc/issues/6323 .
2022-11-18 07:16:22 +00:00
SWC Bot
d78c5452ea
chore: Publish crates
2022-11-18 06:38:53 +00:00
Donny/강동윤
072bd13023
fix(es/modules): Remove wrong check for jsc.paths
( #6470 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6466 .
2022-11-18 06:35:49 +00:00
SWC Bot
e8b0b1c344
chore: Publish crates
2022-11-18 06:01:51 +00:00
Donny/강동윤
ca20d94a74
fix(es/lints): Revert check for reassignment to classes ( #6472 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6471 .
2022-11-18 05:58:48 +00:00
SWC Bot
19b45d299f
chore: Publish crates
2022-11-18 03:26:21 +00:00
Alexander Akait
3a0d98b6e9
fix(xml/parser): Fix parsing of comments ( #6449 )
2022-11-18 03:22:13 +00:00
SWC Bot
84c0215822
chore: Publish crates
2022-11-18 02:36:31 +00:00
Alexander Akait
7f6bf59a98
feat(html/minifier): Use the latest EsVersion
( #6453 )
2022-11-18 02:32:55 +00:00
SWC Bot
e055d2c4f8
chore: Publish crates
2022-11-18 01:24:23 +00:00
OJ Kwon
dd4b9e87de
refactor(bindings): Deprecate jsvalue::*_serde
( #6462 )
2022-11-18 10:21:23 +09:00
SWC Bot
44b0790dcd
chore: Publish crates
2022-11-17 06:04:26 +00:00
Alexander Akait
4d7b920bd4
feat(es/minifier): Support script fully ( #6455 )
2022-11-17 06:00:42 +00:00
SWC Bot
7716f58303
chore: Publish crates
2022-11-17 02:04:20 +00:00
Austaras
f7072dbb7e
fix(es/compat): Fix consecutive optional call ( #6461 )
2022-11-17 02:00:46 +00:00
SWC Bot
c333b0d079
chore: Publish crates
2022-11-17 01:27:15 +00:00
Alexander Akait
74417217a9
feat(html/minifier): Remove empty script and style tags with attributes ( #6447 )
2022-11-17 01:22:56 +00:00
SWC Bot
95d274e403
chore: Publish crates
2022-11-17 00:55:18 +00:00
HeYunfei
dabea71c44
fix(es/minifier): Preserve unused imported specifiers ( #6458 )
2022-11-17 00:52:19 +00:00
SWC Bot
e2b5ac60ec
chore: Publish crates
2022-11-16 05:46:06 +00:00
SWC Bot
0d30c7f463
chore: Publish crates
2022-11-16 04:54:58 +00:00
Donny/강동윤
05d185d59b
fix(es/modules): Fix jsc.paths
( #6454 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6446 .
2022-11-16 04:51:59 +00:00
SWC Bot
ba9f47d356
chore: Publish crates
2022-11-16 04:13:27 +00:00
Alexander Akait
638892071a
fix(xml/parser): Fix parsing of pi ( #6450 )
2022-11-16 04:10:02 +00:00
SWC Bot
df7498121a
chore: Publish crates
2022-11-16 03:34:52 +00:00
Alexander Akait
1dfd8cef88
fix(html/minifier): Fix script/style merging ( #6443 )
2022-11-16 03:31:03 +00:00
SWC Bot
0dac06cea2
chore: Publish crates
2022-11-16 02:58:26 +00:00
OJ Kwon
f14b156a60
fix(es/plugins/proxy): Adjust import with compile time flags ( #6451 )
2022-11-16 02:55:03 +00:00
Donny/강동윤
9600308108
feat(css/parser): Add parse_string_input
( #6441 )
2022-11-15 08:05:43 +00:00
SWC Bot
4d6b182dc2
chore: Publish crates
2022-11-15 07:03:31 +00:00
Donny/강동윤
bb544ba2f5
fix(es/minifier): Fix code for dropping unreachable statements ( #6429 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6405 .
2022-11-15 07:00:14 +00:00
SWC Bot
e117bc47f9
chore: Publish crates
2022-11-15 05:52:19 +00:00
SWC Bot
382d2c3bda
chore: Publish crates
2022-11-15 04:53:54 +00:00
Donny/강동윤
948e35bcd6
fix(bindings): Revert #6436 ( #6444 )
2022-11-15 13:50:53 +09:00
SWC Bot
6cc71e9493
chore: Publish crates
2022-11-15 02:32:13 +00:00
Donny/강동윤
99934b09f7
fix(es/minifier): Change the default of mangle.toplevel
to false ( #6439 )
2022-11-15 02:28:38 +00:00
SWC Bot
6d4dcfd18c
chore: Publish crates
2022-11-15 01:52:06 +00:00
Alexander Akait
3d7545d89b
fix(css/parser): Fix a bug with scope in block ( #6402 )
2022-11-15 01:49:05 +00:00
SWC Bot
fafc6257c8
chore: Publish crates
2022-11-15 00:55:38 +00:00
SWC Bot
e6e71b5b37
chore: Publish crates
2022-11-15 00:25:10 +00:00
Donny/강동윤
5fd7ab87b6
fix(es/minifier): Preserve op of the op-assignments in seq inliner ( #6428 )
...
**Description:**
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6407 .
2022-11-15 00:22:06 +00:00
SWC Bot
3c42789923
chore: Publish crates
2022-11-14 23:49:23 +00:00
OJ Kwon
1dd8b3d9d5
refactor(bindings): Deprecate JsValue::*_serde
( #6436 )
2022-11-14 23:46:13 +00:00
SWC Bot
cdc1b4cea4
chore: Publish crates
2022-11-14 06:06:09 +00:00
Donny/강동윤
81a4bb304a
fix(es/compat): Fix span hygiene of function naming pass ( #6345 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6344 .
2022-11-14 06:03:09 +00:00
SWC Bot
b97a59bb3f
chore: Publish crates
2022-11-14 05:34:02 +00:00
Donny/강동윤
9c9c3ebd2c
fix(es/modules): Fix jsc.paths
of .ts
imports ( #6431 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6432 .
2022-11-14 05:30:40 +00:00
Donny/강동윤
9de2a123df
chore: Publish crates
2022-11-14 13:09:46 +09:00
SWC Bot
6672c52af2
chore: Publish crates
2022-11-13 23:55:36 +00:00
magic-akari
67286032b1
fix(es/compat): Improve destructuring
pass ( #6412 )
2022-11-13 23:52:34 +00:00
SWC Bot
81816f97d5
chore: Publish crates
2022-11-13 23:21:16 +00:00
OJ Kwon
7a1c2a1e2c
refactor(es/plugins): Simplify read_result_*
( #6426 )
2022-11-13 23:17:41 +00:00
SWC Bot
e25b7389ff
chore: Publish crates
2022-11-13 12:33:33 +00:00
SWC Bot
c74f922311
chore: Publish crates
2022-11-13 08:44:40 +00:00
magic-akari
68ffc5bc3e
fix(es/utils): Verify the name of an alias ( #6423 )
2022-11-13 08:41:48 +00:00
Donny/강동윤
0bc51b71d9
chore: Publish crates
2022-11-13 09:00:01 +09:00
SWC Bot
27225a0eeb
chore: Publish crates
2022-11-12 08:26:39 +00:00
SWC Bot
2088dd4a84
chore: Publish crates
2022-11-11 22:50:50 +00:00
Andreas
b6c1cc49e1
fix(es/plugin): Print more details on pointer conversion failures ( #6378 )
2022-11-11 22:47:44 +00:00
SWC Bot
8d8f058d36
chore: Publish crates
2022-11-11 08:50:00 +00:00
Alexander Akait
a923e52d8f
fix(html/minifier): Fix merging of scripts ( #6393 )
2022-11-11 08:47:05 +00:00
SWC Bot
6ba1f5c09f
chore: Publish crates
2022-11-11 07:31:04 +00:00
Alexander Akait
983ab91435
refactor(css/parser): Refactor parser ( #6395 )
2022-11-11 07:27:19 +00:00
SWC Bot
c1588eb3e5
chore: Publish crates
2022-11-11 02:00:43 +00:00
Austaras
574502a816
feat(es/utils): Use more unique names for aliases ( #6399 )
2022-11-11 01:57:49 +00:00
SWC Bot
c39380d7a0
chore: Publish crates
2022-11-11 01:27:12 +00:00
Alexander Akait
ec2c021255
perf(css/ast): Use Atom
for raw
values ( #6401 )
2022-11-11 01:24:11 +00:00
SWC Bot
e5ad5e5f61
chore: Publish crates
2022-11-10 09:42:35 +00:00
SWC Bot
f16f93c668
chore: Publish crates
2022-11-10 03:40:39 +00:00
Alexander Akait
d18eaf1698
fix(css/parser): Fix parsing of <general-enclosed>
( #6380 )
2022-11-10 12:37:14 +09:00
SWC Bot
4035f59d7e
chore: Publish crates
2022-11-10 02:47:50 +00:00
Alexander Akait
56bc6b8794
refactor(css/parser): Skip whitespaces in correct places ( #6382 )
2022-11-10 02:44:53 +00:00
SWC Bot
10fc03ae43
chore: Publish crates
2022-11-10 02:13:01 +00:00
Alexander Akait
434a7657ed
refactor(css/parser): Union input types ( #6385 )
2022-11-10 02:10:23 +00:00
SWC Bot
68c8c33d29
chore: Publish crates
2022-11-10 01:39:43 +00:00
Alexander Akait
bea6cce0c6
perf(css): Reduce size of tokens ( #6384 )
2022-11-10 01:36:53 +00:00
SWC Bot
c428e82ac6
chore: Publish crates
2022-11-10 01:09:07 +00:00
OJ Kwon
26b21b1d21
feat(swc_core): Expose swc_css_modules
( #6394 )
2022-11-10 01:05:55 +00:00
SWC Bot
c356f96820
chore: Publish crates
2022-11-09 06:32:39 +00:00
Donny/강동윤
6b876c4c4f
fix(es/resolver): Resolve interfaces correctly ( #6387 )
...
**Related issue:**
- https://github.com/dudykr/stc/pull/245 .
2022-11-09 06:28:58 +00:00
SWC Bot
0e03e4e506
chore: Publish crates
2022-11-09 02:30:28 +00:00
Austaras
156f370af9
fix(es): Use unresolved_mark
for preset-env ( #6386 )
2022-11-09 02:27:10 +00:00
SWC Bot
7fcd2b2a6c
chore: Publish crates
2022-11-09 01:53:23 +00:00
Alexander Akait
4d49b9f61f
refactor(css/parser): Avoid unnecessary checks ( #6383 )
2022-11-09 01:50:12 +00:00
SWC Bot
96e78144e9
chore: Publish crates
2022-11-09 01:23:27 +00:00
SWC Bot
410ec6f6c7
chore: Publish crates
2022-11-08 01:35:42 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports()
( #6333 )
2022-11-08 01:32:48 +00:00
SWC Bot
35a53ae103
chore: Publish crates
2022-11-07 14:29:43 +00:00
Alexander Akait
34b3710c9c
feat(html/minifier): Improve merging of group elements ( #6349 )
2022-11-07 14:26:08 +00:00