Commit Graph

5973 Commits

Author SHA1 Message Date
SWC Bot
bc9c90332f chore: Bump crates 2024-04-09 01:53:14 +00:00
David Sherret
9ed93c17cd
fix(es/decorators): Fix capacity overflow with decorators (#8818) 2024-04-09 01:51:21 +00:00
SWC Bot
8f9aadde38 chore: Bump crates 2024-04-09 01:22:59 +00:00
David Sherret
dc046572de
fix(visit): Improve Map implementation for Box (#8819)
**Related issue (if exists):**

 - Closes #8817
2024-04-09 01:21:03 +00:00
SWC Bot
e63b39bbcd chore: Bump crates 2024-04-08 16:06:33 +00:00
Donny/강동윤
e1f770463d
fix(es/module): Respect module.resolveFully in more cases (#8820)
**Related issue:**

 - Closes #8742
2024-04-08 16:04:15 +00:00
SWC Bot
b511cea273 chore: Bump crates 2024-04-08 15:21:09 +00:00
Donny/강동윤
089f61bc37
fix(plugin/runner): Pin version of virtual-fs (#8827) 2024-04-08 15:19:28 +00:00
SWC Bot
1871a76534 chore: Bump crates 2024-04-05 00:04:37 +00:00
Donny/강동윤
811308c352
fix(es/minifier): Respect top_retain for top-level functions (#8814) 2024-04-05 00:02:51 +00:00
SWC Bot
2a7a6e9522 chore: Bump crates 2024-04-04 23:19:09 +00:00
David Sherret
974f5c759c
fix(es/transforms): Fix capacity overflow with decorators (#8815)
**Description:**

Fixes an incorrect capacity (found while investigating a segfault).

More details: https://github.com/denoland/deno/pull/23187#issuecomment-2036266885
2024-04-05 08:17:28 +09:00
Donny/강동윤
47714c52ce
feat(es/minifier): Evaluate spread of arrays (#8811)
**Related issue:**

 - Closes #8808
2024-04-04 06:56:29 +00:00
Donny/강동윤
730ded2a26
fix(es/minifier): Abort fn inliner if there's a spread arg (#8809)
**Description:**


**Related issue:**

 - Closes #8806
2024-04-04 15:24:31 +09:00
SWC Bot
d1eb7b8136 chore: Bump crates 2024-04-04 06:12:30 +00:00
Donny/강동윤
207582ff25
chore(deps): Update dependencies (#8810) 2024-04-04 15:07:49 +09:00
SWC Bot
9e28254282 chore: Bump crates 2024-04-03 03:03:01 +00:00
Donny/강동윤
9ffcd1823c
fix(es): Change default value of inputSourceMap to true (#8801)
**Related issue:**

 - Closes #8795
2024-04-03 03:01:13 +00:00
SWC Bot
2091a06259 chore: Bump crates 2024-04-03 02:35:12 +00:00
Donny/강동윤
4f9ab8151d
fix(common): Fix source index for inputSourceMap (#8800)
**Related issue:**

 - Closes #8789
2024-04-03 02:33:25 +00:00
SWC Bot
34e12a2da7 chore: Bump crates 2024-04-02 07:32:06 +00:00
Donny/강동윤
0745624cb7
perf(atoms): Update hstr (#8799)
**Description:**


**Related issue:**

 - https://github.com/dudykr/ddbase/pull/27
 - https://github.com/dudykr/ddbase/pull/29
2024-04-02 07:30:26 +00:00
SWC Bot
a15455271a chore: Bump crates 2024-04-02 06:39:51 +00:00
Denis Homolík
7ad004e189
fix(es/bugfixes): Fix fn transform in nameless fns (#8796)
**Description:**

This pull request fixes
`bugfix/transform-safari-id-destructuring-collision-in-function-expression`
module. Previously the transform ignored code inside of function which
did not have specified identifier. Now the visitor should go through the
content of the nameless functions.

**Related issue:**

 - Closes #8788
2024-04-02 15:37:45 +09:00
SWC Bot
56e03a1960 chore: Bump crates 2024-04-01 05:27:57 +00:00
Donny/강동윤
571d29781a
feat(plugin/runner): Improve error message for Wasm plugin crashes (#8794)
**Related issue:**

 - Closes #4333
2024-04-01 05:26:18 +00:00
XiaoPi
95c822e7c4
fix(es/parser): Tweak msg of SyntaxError::UsingDeclNotEnabled (#8791) 2024-04-01 02:27:38 +00:00
SWC Bot
35264c5ce5 chore: Bump crates 2024-04-01 02:03:01 +00:00
Donny/강동윤
6f780ca749
perf(es/parser): Use faster unicode crate (#8785) 2024-04-01 02:01:23 +00:00
SWC Bot
25d6092e7a chore: Bump crates 2024-04-01 01:36:30 +00:00
Paolo Barbolini
37f0a7994b
chore(es/transforms): Add repository field to swc_ecma_ext_transforms (#8793) 2024-04-01 01:34:46 +00:00
SWC Bot
9ee0be09b1 chore: Bump crates 2024-03-28 07:46:33 +00:00
강동윤 (Donny)
00647ce227 chore: Publish crates 2024-03-28 15:27:11 +09:00
SWC Bot
85c3c3a3b1 chore: Bump crates 2024-03-28 02:43:49 +00:00
Donny/강동윤
4961bb055d
fix(es/module): Fix jsc.paths with resolveFully (#8784)
**Related issue:**

 - Closes #8782
2024-03-28 02:42:07 +00:00
SWC Bot
0aafd62ccd chore: Bump crates 2024-03-26 04:22:17 +00:00
magic-akari
53fd09cbd7
fix(es/parser): Parse await using in for head (#8775)
**Related issue:**
 
 - Closes #8774
2024-03-26 04:20:44 +00:00
SWC Bot
cd06af3ef7 chore: Bump crates 2024-03-26 03:56:14 +00:00
Donny/강동윤
e7bca10142
fix(es/minifier): Fix tpl-to-string conversion (#8778)
**Related issue:**

 - Closes #8773
2024-03-26 03:54:35 +00:00
SWC Bot
2377e00518 chore: Bump crates 2024-03-26 01:56:57 +00:00
SWC Bot
dbf930a2c9 chore: Bump crates 2024-03-25 04:20:57 +00:00
Donny/강동윤
f8681c9299
chore(deps): Update sourcemap to v8.0.0 (#8771)
**Related issue:**

 - https://github.com/getsentry/rust-sourcemap/pull/77
2024-03-25 13:18:49 +09:00
SWC Bot
44209386ca chore: Bump crates 2024-03-22 07:03:51 +00:00
pshu
f62097ca01
fix(es/utils): Mark ident of default fn/class as binding (#8764) 2024-03-22 07:02:08 +00:00
SWC Bot
df977a0bbd chore: Bump crates 2024-03-20 02:37:04 +00:00
Donny/강동윤
9f98a7026d
fix(es/minifier): Abort eval on valueOf or toString (#8763)
**Related issue:**

 - Closes #8704
 - Closes #8705
2024-03-20 02:35:24 +00:00
SWC Bot
6fba5f7c97 chore: Bump crates 2024-03-19 05:41:00 +00:00
pshu
c9c971a792
feat(es/lints): Detect duplicate bindings in export defaults (#8760)
**Description:**
add DefaultDecl's FnExpr and ClassExpr's ident to bindings. 
because all of them should be treated as hoisted Fn/Class Declare

```txt
  × the name `x` is defined multiple times
   ╭─[examples/all.js:1:1]
 1 │ export default class x{}
   ·                      ┬
   ·                      ╰── previous definition of `x` here
 2 │
 3 │ let x = 1;
   ·     ┬
   ·     ╰── `x` redefined here
 4 │ let t = function x(){};
   ╰────
```



**Related issue:**

 - Closes #8755
2024-03-19 14:39:06 +09:00
Donny/강동윤
2d6de94936
fix(es/parser): Fix parsing of TypeScript type instantiation (#8758)
**Related issue:**

 - Closes #8735
2024-03-18 14:39:31 +00:00
Donny/강동윤
e2c6db5226
fix(es/module): Fix interop of jsc.paths with symlinks (#8757)
**Related issue:**

 - Closes #8667
2024-03-18 05:38:31 +00:00