Commit Graph

8544 Commits

Author SHA1 Message Date
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
8eac0bec49 chore: Publish 1.4.12-nightly-20240401.1 2024-04-01 00:07:47 +00:00
SWC Bot
acaaa5d594 chore: Publish 1.4.12-nightly-20240331.1 2024-03-31 00:08:11 +00:00
강동윤 (Donny)
10ece99e0f chore: Publish @swc/helpers@v0.5.8 2024-03-28 16:50:04 +09:00
SWC Bot
9ee0be09b1 chore: Bump crates 2024-03-28 07:46:33 +00:00
sschen86
263ce6e22b
fix(es/helpers): Fix metadata of decorators being undefined (#8768) 2024-03-28 07:44:55 +00:00
강동윤 (Donny)
b798632a82 chore: Use --all-features from update script 2024-03-28 15:29:59 +09:00
강동윤 (Donny)
00647ce227 chore: Publish crates 2024-03-28 15:27:11 +09:00
강동윤 (Donny)
ecd878c531 chore: Fix crate update script 2024-03-28 12:47:59 +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
강동윤 (Donny)
5a619ebf0a chore: Update changelog 2024-03-26 14:47:04 +09:00
강동윤 (Donny)
4936c37722 chore: Publish 1.4.11 with swc_core v0.90.26 2024-03-26 14:47:03 +09:00
강동윤 (Donny)
2b8aa63bd0 chore: Fix update script 2024-03-26 14:46:44 +09:00
강동윤 (Donny)
e507a18f7d chore: Update changelog 2024-03-26 14:44:43 +09:00
강동윤 (Donny)
9ef3397252 chore: Publish 1.4.10 with swc_core v0.90.26 2024-03-26 14:44:42 +09:00
강동윤 (Donny)
c4b905225d chore: Fix publish script 2024-03-26 14:44:30 +09:00
강동윤 (Donny)
7b6ba82e3d chore: Update changelog 2024-03-26 14:41:56 +09:00
강동윤 (Donny)
34c0b5c838 chore: Publish 1.4.9 with swc_core v0.90.26 2024-03-26 14:41:54 +09: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
eec697f458 chore: Publish 1.4.9-nightly-20240326.2 2024-03-26 02:27:03 +00:00
SWC Bot
2377e00518 chore: Bump crates 2024-03-26 01:56:57 +00:00
Donny/강동윤
2920a88cf7
build(bindings/node): Update sourcemap (#8777) 2024-03-26 01:55:18 +00:00
SWC Bot
a05b2ee27b chore: Publish 1.4.9-nightly-20240326.1 2024-03-26 00:08:47 +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
강동윤 (Donny)
ad932f0921 chore: Improve update script 2024-03-21 11:02:48 +09:00
SWC Bot
45c11f6e4a chore: Publish 1.4.9-nightly-20240321.1 2024-03-21 00:07:23 +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
SWC Bot
2067677e49 chore: Bump crates 2024-03-18 14:41:15 +00: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
SWC Bot
32ed69227a chore: Bump crates 2024-03-18 06:25:49 +00:00
Donny/강동윤
7c896e5902
chore: Provide a script to update all SWC crates (#8759) 2024-03-18 15:23:54 +09:00
SWC Bot
8263c6fafe chore: Bump crates 2024-03-18 05:40:18 +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
강동윤 (Donny)
4c83dcc370 chore: Publish @swc/helpers@v0.5.7 2024-03-18 10:46:12 +09:00
강동윤 (Donny)
5f2ea762a1 chore: Publish @swc/types@v0.1.6 2024-03-18 10:45:42 +09:00
SWC Bot
82d1b8e49a chore: Bump crates 2024-03-17 13:04:54 +00:00