Commit Graph

287 Commits

Author SHA1 Message Date
Donny/강동윤
e40fccb9ce
fix(bindings/type): Update types of jsc.experimental (#7972)
**Related issue:**

 - Closes #7951
2023-09-19 02:57:52 +00:00
Donny/강동윤
d15eaf05cd chore: Publish @swc/helpers@0.5.2
- Fixes #7919.
2023-09-07 16:08:44 +09:00
Donny/강동윤
a86e9f3bb5
fix(es/module): Fix jsc.paths for projects using pnpm (#7918)
**Related issue:**

- x-ref: https://vercel.slack.com/archives/C04DUD7EB1B/p1693911653100299?thread_ts=1693819683.070959&cid=C04DUD7EB1B
2023-09-06 17:29:47 +00:00
Donny/강동윤
71d01ec127
feat(es): Add an option to disable builtin transforms (#7873) 2023-08-26 01:12:36 +00:00
Donny/강동윤
67afaf1f2d
fix(swc-info): Use correct path while getting local package versions (#7872) 2023-08-26 07:27:09 +09:00
Donny/강동윤
d6952ea687
feat(swc-info): Add a CLI to help issue reporting (#7871) 2023-08-26 07:11:34 +09:00
Donny/강동윤
e47f1c2bf7 chore: Remove unused files 2023-08-25 15:22:53 +09:00
Donny/강동윤
c18051fb0b chore: Publish crates 2023-08-25 15:21:54 +09:00
Donny/강동윤
f713f1b2f6
refactor(es/types): Extract @swc/types as a small, reusable package (#7834)
**Related issue:**

 - Closes #7828
2023-08-18 06:24:49 +00:00
Donny/강동윤
1ab406cd7a
refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +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
David Sherret
064bcf4854
fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2023-06-07 05:08:35 +00:00
Donny/강동윤
c77f175ace chore: Publish @swc/helpers@v0.5.1 2023-04-25 12:43:09 +09:00
magic-akari
84af85563f
fix(es/helpers): Add src/*.mjs entry back (#7328)
**Related issue:**

 - https://github.com/vercel/next.js/issues/48593
2023-04-25 12:41:39 +09:00
magic-akari
38dfb91ebc
fix(es/helpers): Remove unnecessary parameters in helper_expr! macro (#7296)
**Description:**

We have moved to snake_case, so the last parameter of helper_expr is unnecessary.
2023-04-20 08:26:34 +00:00
magic-akari
30a4e52f74
fix(es/helpers): Do not duplicate property names (#7266)
**Related issue:**

 - Closes #7264.
2023-04-15 01:30:43 +00:00
Donny/강동윤
b7d9fc5535 chore: Publish @swc/helpers@v0.5.0 2023-04-04 14:47:19 +09:00
magic-akari
a13a78e3fe
feat(es/helpers): Use named export and unify import path (#7182)
**BREAKING CHANGE:**

Breaking changes for `@swc/helpers`. A new major version `0.5.0` is required.


**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7157
2023-04-04 03:05:47 +00:00
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers (#7147)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7144.
 - Closes https://github.com/swc-project/swc/issues/7118.
2023-03-31 15:15:21 +09:00
magic-akari
1d147602c0
fix(es/helpers): Make _classPrivateFieldLooseBase return receiver (#6770) 2023-01-09 10:58:29 +00:00
Donny/강동윤
8a71dbca6d
chore(helpers): Fix license (#6690)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6684
2022-12-20 12:09:51 +00:00
Donny/강동윤
5016ebed8f
fix(es/helpers): Fix loose mode (#6691)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6581.
2022-12-20 10:11:12 +00:00
Donny/강동윤
e59ccfc800 chore: Publish @swc/helpers@v0.4.14 2022-11-19 21:20:44 +09:00
Donny/강동윤
520c5ca0e8 chore: Publish @swc/helpers@v0.4.13 2022-11-16 12:03:19 +09:00
magic-akari
67286032b1
fix(es/compat): Improve destructuring pass (#6412) 2022-11-13 23:52:34 +00:00
Ahab
25333b989e
fix(es/helpers): Fix import _typeof in __decorate (#6377) 2022-11-09 01:19:42 +00:00
Donny/강동윤
6094994629
chore(ci): Fix CI (#6340) 2022-11-03 04:20:20 +00:00
Donny/강동윤
e34c25e40d
fix(es/helpers): Fix toArray (#6318)
**Related issue (if exists):**

 - Closes https://github.com/swc-project/swc/issues/6302.
2022-11-02 09:30:02 +00:00
Austaras
aefc11b8a7
feat(es/compat): Support readonly and writeonly for private fields (#6182) 2022-10-18 05:38:36 +00:00
Donny/강동윤
4f92225db7 chore: Publish @swc/helpers@0.4.12 2022-10-09 09:49:52 +09:00
Donny/강동윤
80da0981bd
feat(es/compat): Support iterator protocol on loose mode (#6034) 2022-10-04 21:42:39 +09:00
Donny/강동윤
83fec33359
feat(es/generator): Use new generator implementation (#5627) 2022-08-25 16:10:47 +00:00
Donny/강동윤
927ae7e8d3
fix(es/compat): Revert generator reimplementation (#5624) 2022-08-25 17:58:37 +09:00
Donny/강동윤
a9aed171f8 chore: Publish @swc/helpers@0.4.11 2022-08-25 14:58:37 +09:00
Donny/강동윤
d483eb12f4
fix(es/helpers): Fix _classStaticPrivateFieldUpdate (#5620) 2022-08-25 14:54:39 +09:00
Donny/강동윤
d17a6653c4 chore: Publish @swc/helpers@0.4.10 2022-08-25 14:12:29 +09:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc (#5173) 2022-08-25 04:50:00 +00:00
Donny/강동윤
13b0476da3 chore: Publish @swc/helpers@0.4.9 2022-08-23 10:32:31 +09:00
Donny/강동윤
0533d56155
fix(es/helpers): Fix _classStaticPrivateFieldSpecSet (#5597) 2022-08-23 10:28:49 +09:00
Donny/강동윤
694e780592 chore: Publish @swc/helpers@0.4.8 2022-08-22 23:30:26 +09:00
Donny/강동윤
610296cfa4
fix(es/helpers): Fix an import (#5587) 2022-08-22 23:09:31 +09:00
magic-akari
bee26a9abb
fix(es/compat): Fix destructuring assignments and updates of super properties (#5576) 2022-08-22 00:42:50 +00:00
Donny/강동윤
2a97219e05 chore: Publish @swc/helpers@0.4.7 2022-08-18 20:03:29 +09:00
magic-akari
e930fea4ca
fix(es/helpers): Add a missing helper (#5551) 2022-08-18 10:40:59 +00:00
Donny/강동윤
b655bf473a
fix(es/helpers): Fix for await (#5458) 2022-08-14 05:46:07 +00:00
Donny/강동윤
89758940fb chore: Publish @swc/helpers@0.4.6 2022-08-12 17:13:15 +09:00
magic-akari
efb3d7035a
fix(es/helpers): Correct import path (#5460) 2022-08-12 17:05:28 +09:00
magic-akari
1e33dbab24
feat(es/modules): Support node interop (#5069) 2022-07-01 03:28:03 +00:00
Donny/강동윤
99da95a669 chore: Publish @swc/helpers@v0.4.3 2022-06-27 21:33:41 +09:00
magic-akari
fa68cbd74a
refactor(es/module): Implement new module transformer (#4758) 2022-06-27 12:32:06 +00:00
Donny/강동윤
2824386e2b chore: Publish @swc/helpers@v0.4.2 2022-06-16 16:26:06 +09:00
Devon Govett
9484cf81a1
fix(es/helpers): Use .mjs extension in helper imports (#4979) 2022-06-16 16:23:02 +09:00
Donny/강동윤
4b340e2c1b chore: Publish @swc/helpers@v0.4.1 2022-06-15 23:52:58 +09:00
Devon Govett
5123c20b5d
fix(es/helpers): Fix module field in package.json of @swc/helpers (#4978) 2022-06-15 23:52:05 +09:00
Donny/강동윤
61d7d881c9 chore: Publish @swc/helpers@v0.4.0 2022-06-14 04:01:04 +09:00
Donny/강동윤
4a27e6f84a
fix(es/helpers): Allow using external helpers with type: module (#4962) 2022-06-13 18:41:35 +00:00
Donny/강동윤
a239a7b348 chore: Publish @swc/helpers@v0.3.17 2022-06-01 12:17:04 +09:00
Donny/강동윤
a4bffcf186
fix(es/helpers): Update @swc/core of @swc/helpers (#4861) 2022-06-01 12:16:25 +09:00
Donny/강동윤
5d7545846b chore: Publish @swc/helpers@v0.3.16 2022-05-26 20:36:02 +09:00
Austaras
573bcb5b49
fix(es/compat): Use define for non-spread props (#4754) 2022-05-26 20:32:41 +09:00
Donny/강동윤
b8d2fb8546
feat(es/helpers): Import only used helpers (#4767) 2022-05-24 04:09:59 +00:00
Donny/강동윤
f30ffdf200
fix(es/decorators): Make legacy decorator identical to tsc (#4496) 2022-05-03 07:48:09 +00:00
Donny/강동윤
776b4fbb8a chore: Publish @swc/helpers@v0.3.10 2022-05-02 15:07:31 +09:00
magic-akari
1e1d081805
fix(es/compat): Support updating a private field with bigint value (#4136) 2022-05-02 13:34:46 +09:00
Donny/강동윤
6a570cd8dc chore: Publish @swc/helpers@v0.3.9 2022-04-30 21:36:20 +09:00
RiESAEX
7d40208377
fix(es/helpers): Update _interopRequireWildcard (#4479) 2022-04-30 00:56:48 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting (#4304) 2022-04-11 18:45:58 +00:00
Donny/강동윤
55cfad152d
fix(es/helpers): Fix decorator helper script (#4072) 2022-03-18 01:44:13 +00:00
Donny/강동윤
48cbf5d235 chore: Publish @swc/helpers@v0.3.8 2022-03-16 20:31:38 +09:00
troy351
025c921409
fix(es/helpers): Export classPrivateFieldLooseKey as default (#4047) 2022-03-16 20:30:50 +09:00
Donny/강동윤
8fc902d6a3 chore: Publish helpers 2022-03-16 19:28:00 +09:00
troy351
3125bbacbe
fix(es/helpers): Add missing export for classPrivateFieldLooseKey (#4045) 2022-03-16 10:23:38 +00:00
Donny/강동윤
7974f51c13 chore: Publish @swc/helpers@v0.3.6 2022-02-27 14:15:13 +09:00
Austaras
14155eb0e7
feat(es/compat): Implement loose mode for class_properties (#3722) 2022-02-27 00:09:02 +09:00
Donny/강동윤
65637e7419 chore: Publish @swc/helpers@v0.3.5 2022-02-25 15:20:30 +09:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters (#3695) 2022-02-25 06:08:35 +00:00
Donny/강동윤
f87a2fe110 chore: Publish @swc/helpers 2022-02-25 12:32:28 +09:00
Bryan Lee
72c9e6ca2b
fix(es/helpers): Cast the result of the instanceof helper to boolean (#3728)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-25 03:22:40 +00:00
Austaras
b6434e52e7
fix(es/compat): Throw an error if a private property is initialized multiple times (#3665) 2022-02-23 07:03:13 +00:00
Donny/강동윤
907157eaad chore: Publish @swc/helpers@v0.3.3 2022-02-11 19:30:31 +09:00
sweetliquid
d14d3ebbc8
fix(node/helpers): Fix isNativeReflectConstruct (#3530) 2022-02-11 19:29:39 +09:00
Donny/강동윤
54353a6fb5
fix(es/helpers): Don't transpile _typeof helper (#3208)
swc_ecma_transforms_base:
 - Add a directive to `_typeof` helper.

swc_ecma_transforms_compat:
 - Don't transpile `_typeof` helper. (Closes #3201)

swc_ecma_minifier:
 - Drop swc/babel directives.
2022-01-07 14:48:08 +09:00
Donny
144754a3ea chore: Publish @swc/helpers@0.3.2 2021-12-07 19:14:15 +09:00
Donny
6996d7cdd7 chore: Fix @swc/helpers 2021-12-07 19:04:06 +09:00
Donny
20179a6acf chore: Publish @swc/helpers 2021-12-07 15:22:07 +09:00
RiESAEX
ae4bb420ae
fix(es/transforms): Update helpers about array (#2970)
swc_ecma_transforms_base:
 - Update helpers. (Closes #2689)
2021-12-07 06:12:54 +00:00
Donny/강동윤
ffec782a41
chore: Inline @swc/helpers (#2972) 2021-12-05 15:46:09 +09:00