Commit Graph

8802 Commits

Author SHA1 Message Date
Donny/강동윤
063eabd33c
fix(es/compat): Fix async generator (#8881)
**Related issue:**

 - Closes #8805
2024-04-23 01:23:49 +00:00
SWC Bot
16a3885107 chore: Bump crates 2024-04-22 04:09:07 +00:00
Donny/강동윤
d7188cdb66
fix(es): Ignore sourceMappingURL in string literals (#8879)
**Related issue:**

 - Closes #8869
2024-04-22 04:07:18 +00:00
SWC Bot
5d5cf43949 chore: Publish 1.4.17-nightly-20240421.1 2024-04-21 00:06:37 +00:00
SWC Bot
105593fd71 chore: Publish 1.4.17-nightly-20240419.1 2024-04-19 14:16:02 +00:00
SWC Bot
e1a197694c chore: Bump crates 2024-04-19 13:39:58 +00:00
yehonatanz
e22c3681a6
fix(es/resolver): Prioritze jsc.paths by length in tsc resolver (#8875)
**Description:**

See #8858 

**BREAKING CHANGE:**
`jsc.paths` are now prioritized differently to align with `tsc`. The order is:
1. Exact matches
2. Wildcard pattern matches, sorted by length of prefix before wildcard


**Related issue:**

 - Closes #8858
2024-04-19 13:38:19 +00:00
SWC Bot
2e0663befc chore: Bump crates 2024-04-19 12:54:02 +00:00
Anders Kaseorg
5419a9477f
fix(html/codegen): Expand elements before which body isn’t elided (#8877)
**Description:**

For example, transforming `<body><noscript>` to `<noscript>` would
incorrectly change the meaning so `<noscript>` is parsed as a child of
`<head>`.

Reference: [§13.2.6.4.4 The "in head" insertion
mode](https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead),
[13.2.6.4.6 The "after head" insertion
mode](https://html.spec.whatwg.org/multipage/parsing.html#the-after-head-insertion-mode).

**Related issue:**

- Closes #8876.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-04-19 12:52:16 +00:00
강동윤 (Donny)
a4d3b26217 chore: Update changelog 2024-04-18 16:57:33 +09:00
강동윤 (Donny)
f58b95a3d7 chore: Publish 1.4.16 with swc_core v0.90.35 2024-04-18 16:57:31 +09:00
SWC Bot
0036f74205 chore: Bump crates 2024-04-18 05:00:08 +00:00
Donny/강동윤
6e9d1a4ebf
fix(es/helpers): Fix resolving of usingCtx helper (#8874)
**Related issue:**

 - Closes #8872
2024-04-18 04:58:21 +00:00
강동윤 (Donny)
10bb67a7f5 chore: Update changelog 2024-04-17 17:41:21 +09:00
강동윤 (Donny)
ba9f33bb78 chore: Publish 1.4.15 with swc_core v0.90.34 2024-04-17 17:41:20 +09:00
SWC Bot
0594398aab chore: Publish 1.4.15-nightly-20240417.1 2024-04-17 07:09:51 +00:00
SWC Bot
4410d62317 chore: Bump crates 2024-04-17 05:44:33 +00:00
Donny/강동윤
f9459a8adf
build(cargo): Update rustc to nightly-2024-04-16 (#8870) 2024-04-17 05:42:11 +00:00
SWC Bot
036414af12 chore: Publish 1.4.15-nightly-20240416.4 2024-04-16 23:39:01 +00:00
강동윤 (Donny)
2ec3282722 chore: Pin version of proc-macro2 to v1.0.79 2024-04-17 08:35:45 +09:00
SWC Bot
36e49e456f chore: Publish 1.4.15-nightly-20240416.3 2024-04-16 11:21:39 +00:00
강동윤 (Donny)
13f7ef70d9 chore: Pin version of proc-macro2 2024-04-16 20:18:36 +09:00
SWC Bot
8bf1360f19 chore: Publish 1.4.15-nightly-20240416.2 2024-04-16 11:09:03 +00:00
강동윤 (Donny)
0f07acbc57 chore: Publish crates 2024-04-16 20:02:16 +09:00
SWC Bot
81c3c5ca9e chore: Bump crates 2024-04-16 10:46:02 +00:00
Donny/강동윤
a1c5415b3b
feat(es/transforms): Allocate stacks dynamically (#8867)
**Description:**

 - This PR introduces an in-tree testing system for Deno.
 - This PR adds `stacker` cargo-feature to `swc_ecma_utils`.

**Related issue:**

 - #1627
 - Closes #8840
2024-04-16 19:43:58 +09:00
SWC Bot
81a57fdcd6 chore: Bump crates 2024-04-16 05:23:25 +00:00
Donny/강동윤
2075a23373
fix(es/codegen): Fix ascii_only for identifiers (#8866)
**Related issue:**

 - Closes #8852
2024-04-16 05:21:45 +00:00
SWC Bot
4d73326c0d chore: Bump crates 2024-04-16 04:41:34 +00:00
Donny/강동윤
740c0bb00a
fix(es/minifier): Remove raw of strings after modification (#8865)
**Related issue:**

 - Closes #8864
2024-04-16 04:39:54 +00:00
SWC Bot
af19385097 chore: Bump crates 2024-04-16 03:07:23 +00:00
David E Disch
df2e056f29
refactor(es/minifier): Remove mangle.safari10 (#8857)
**Related issue:**

 - Closes #8837
2024-04-16 03:05:43 +00:00
SWC Bot
0af201043a chore: Bump crates 2024-04-16 02:24:47 +00:00
Donny/강동윤
ca9c76b46f
build(cargo): Update rustc to nightly-2024-04-03 (#8821) 2024-04-16 02:20:47 +00:00
SWC Bot
997063d0fc chore: Publish 1.4.15-nightly-20240416.1 2024-04-16 00:08:37 +00:00
강동윤 (Donny)
b9758f3cc1 chore: Format helpers 2024-04-15 22:03:13 +09:00
강동윤 (Donny)
1af8483290 chore: Publish @swc/helpers@v0.5.10 2024-04-15 22:03:04 +09:00
SWC Bot
5f75019683 chore: Bump crates 2024-04-15 06:29:53 +00:00
Donny/강동윤
6d240768b1
fix(es/proposal): Update explicit resource management to match spec (#8860)
**Related issue:**

 - Closes #8853
2024-04-15 15:28:11 +09:00
SWC Bot
3de82531b2 chore: Bump crates 2024-04-15 05:03:24 +00:00
Donny/강동윤
fbd32fbff3
fix(es/parser): Fix span of BindingIdent (#8859)
**Related issue:**

 - Closes #8856
2024-04-15 05:01:36 +00:00
강동윤 (Donny)
739a92bcf0 chore: Update changelog 2024-04-15 11:37:50 +09:00
강동윤 (Donny)
b03669c5c4 chore: Publish 1.4.14 with swc_core v0.90.31 2024-04-15 11:37:49 +09:00
SWC Bot
59d18c30b4 chore: Bump crates 2024-04-13 02:39:50 +00:00
Austaras
f6ba92b033
fix(es/resolver): Correctly check strict mode (#8851)
**Related issue:**

 - Closes #8842
2024-04-13 02:38:10 +00:00
SWC Bot
d4b89db047 chore: Bump crates 2024-04-13 02:13:18 +00:00
magic-akari
7a89e5da3b
fix(es/minifier): Handle switch cases (#8854)
**Related issue:**

- Closes #8813
2024-04-13 02:11:32 +00:00
SWC Bot
fcc82a5a5b chore: Bump crates 2024-04-12 08:34:38 +00:00
Austaras
a7a32c4b6c
fix(es/utils): Preserve optional chain effect (#8850)
**Related issue:**

 - Closes #8844
2024-04-12 08:33:01 +00:00
SWC Bot
6bc4de6536 chore: Bump crates 2024-04-12 08:07:12 +00:00