Commit Graph

7357 Commits

Author SHA1 Message Date
SWC Bot
3930f77b54 chore: Publish crates 2023-07-17 07:19:08 +00:00
magic-akari
a2d0408597
fix(es/module): Skip CJS and AMD transformations for Script (#7661)
**Related issue:**

 - Closes #7650
2023-07-17 07:17:17 +00:00
SWC Bot
bed73c168c chore: Publish crates 2023-07-14 20:56:32 +00:00
Austaras
04b0f6d823
feat(es/minifier): Drop recursively used var declaration (#7649) 2023-07-15 05:54:34 +09:00
SWC Bot
7bf4ab39b0 chore: Publish crates 2023-07-13 05:13:38 +00:00
Donny/강동윤
c0e480593f
test(es): Add a test for a unreproducible issue (#7656)
**Related issue:**

 - Closes #5644.
2023-07-13 05:11:51 +00:00
SWC Bot
7d5feccccf chore: Publish crates 2023-07-13 04:36:21 +00:00
Donny/강동윤
7528de1897
test(es/modules): Add a test for unreproducible issue (#7655)
**Related issue:**

 - Closes #7417.
2023-07-13 04:34:22 +00:00
Donny/강동윤
d9209ec3d7 chore: Publish crates 2023-07-13 11:21:28 +09:00
Donny/강동윤
480c97f9e5
chore: Publish v1.3.69 with swc_core v0.79.15 (#7654) 2023-07-13 11:18:42 +09:00
SWC Bot
26d79444c6 chore: Publish crates 2023-07-13 02:09:23 +00:00
Manish Goregaokar
a961090c9d
chore(es/parser): Scope use of lexical to certain features (#7644) 2023-07-13 11:07:25 +09:00
SWC Bot
e4f9f734ad chore: Publish crates 2023-07-07 04:09:05 +00:00
Donny/강동윤
19ba714ea1
fix(es/minifier): Don't drop unused properties of top-level vars (#7638)
**Related issue:**

 - Closes #7635.
2023-07-07 04:07:13 +00:00
SWC Bot
e80c695c89 chore: Publish crates 2023-07-07 02:59:38 +00:00
Donny/강동윤
7e9e84e230
feat(es/preset-env): Update compat data (#7630) 2023-07-07 02:57:48 +00:00
SWC Bot
1fe263903d chore: Publish crates 2023-07-07 02:17:07 +00:00
lsdyi
a7daa5b28e
fix(es/compat): Fix loose mode of the spread pass (#7608)
**Related issue:** 

 - Closes #7354
2023-07-07 11:15:07 +09:00
SWC Bot
2ef760357f chore: Publish crates 2023-07-06 03:29:42 +00:00
Donny/강동윤
d2ac2c16a3
fix(es/compat): Visit children of while statement in the generator pass (#7624)
**Related issue:**

 - Closes #7622.
2023-07-06 03:27:49 +00:00
SWC Bot
2e7b05e588 chore: Publish crates 2023-07-05 06:54:45 +00:00
Ayoub Adib
73c77694f1
refactor(bindings/node): Remove unused babelify type (#7625) 2023-07-05 15:52:53 +09:00
SWC Bot
735a82d6a4 chore: Publish crates 2023-07-05 03:52:51 +00:00
Donny/강동윤
b34f1adbcc
build(cargo): Update rustc to 2023-07-03 (#7623) 2023-07-05 03:50:43 +00:00
Donny/강동윤
40ee26b2c9 chore: Publish crates 2023-07-05 10:08:41 +09:00
Donny/강동윤
be8a0e9a49
chore: Publish v1.3.68 with swc_core v0.79.9 (#7628) 2023-07-05 10:05:58 +09:00
SWC Bot
7544ea960b chore: Publish crates 2023-07-04 07:01:59 +00:00
Donny/강동윤
c087c82aa3
fix(es/compat): Visit transformed expression in optional chaining pass (#7614)
**Related issue:**

 - Closes #7612.
2023-07-04 06:59:58 +00:00
SWC Bot
984fdc8ef5 chore: Publish crates 2023-07-04 06:25:39 +00:00
Austaras
4f866de878
fix(es/minifier): Add usage to inlined ident eagerly (#7597)
**Related issue:**

 - Closes #7591.
2023-07-04 06:23:49 +00:00
SWC Bot
9214427667 chore: Publish crates 2023-07-04 05:49:44 +00:00
Austaras
ff1ad95b59
feat(es/minifier): Compress common sub expressions in sequences (#7587) 2023-07-04 05:47:37 +00:00
SWC Bot
9cb9f055ba chore: Publish crates 2023-07-04 05:13:14 +00:00
Donny/강동윤
47d2edd4dc
feat(es/minifier): Drop unused properties (#7534)
**Related issue:**

 - Closes #7472.
2023-07-04 05:11:33 +00:00
SWC Bot
cf902d3808 chore: Publish crates 2023-07-03 01:54:53 +00:00
David Sherret
0a26066b7b
refactor(es/compat): Remove usage of box_patterns (#7613) 2023-07-03 01:52:51 +00:00
SWC Bot
cba986807a chore: Publish crates 2023-06-30 07:43:11 +00:00
Donny/강동윤
68503726a7
fix(es/parser): Re-lex << as two <-s if required (#7439)
**Related issue:**

 - Closes #7187.
2023-06-30 07:41:19 +00:00
SWC Bot
af3654c0c3 chore: Publish crates 2023-06-30 03:30:23 +00:00
OJ Kwon
8209594a8c
fix(plugin/runner): Disable wasi env cleanup (#7607)
**Description:**

Even after setting shared runtime for the wasi env, `cleanup` still panics. I suspect something internal to cleanup doesn't honor those handles correctly; for now, disable it and try to see if this works.

As commented, this is not a huge issue as the plugin usually doesn't have resources to be cleaned up anyway.
2023-06-30 03:28:35 +00:00
SWC Bot
efcad6a499 chore: Publish crates 2023-06-30 02:55:28 +00:00
suxin2017
f0ab5b39f7
fix(css/modules): Fix :local and :global (#7600)
**Related issue:**

 - Close #7599.
2023-06-30 02:53:10 +00:00
SWC Bot
3aee9a23aa chore: Publish crates 2023-06-30 02:15:04 +00:00
廖应龙
ac02b84918
feat(es/optimization): Support default imports for const modules (#7604) 2023-06-30 02:12:45 +00:00
SWC Bot
efc1afd96a chore: Publish crates 2023-06-29 14:15:31 +00:00
Donny/강동윤
bcd5a1d666
feat(es/compat): Implement transform for explicit resource management (#7376)
**Related issue:**

 - Closes #7316.
 - Closes #7369.
2023-06-29 14:13:43 +00:00
SWC Bot
be33efaecd chore: Publish crates 2023-06-29 07:52:19 +00:00
underfin
e2725451aa
fix(es/fixer): Don't change default decls to default expr exports (#7585)
**Related issue:**

 - Closes #7584.
2023-06-29 07:50:25 +00:00
SWC Bot
ae0d81b48d chore: Publish crates 2023-06-29 06:13:42 +00:00
Cong-Cong Pan
769d6516a5
fix(xml/codegen): Fix wrong minification of spaces in a self-closing tag (#7595)
**Description:**

xml codegen with option `minify: true`.

input:
```xml
<foo attributeName="OK" />
```

expected:
```xml
<foo attributeName="OK"/>
```

actual:

```xml
<foo attributeName="OK" />
```

---

We already escape the attribute value in `escape_string` function, so we
do not need to check whether it contains a specific string.
2023-06-29 06:11:34 +00:00