Commit Graph

38 Commits

Author SHA1 Message Date
magic-akari
1d147602c0
fix(es/helpers): Make _classPrivateFieldLooseBase return receiver (#6770) 2023-01-09 10:58:29 +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
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/강동윤
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/강동윤
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/강동윤
d483eb12f4
fix(es/helpers): Fix _classStaticPrivateFieldUpdate (#5620) 2022-08-25 14:54:39 +09:00
Donny/강동윤
2aa009018f
feat(es/generator): Replace generator implementation with one from tsc (#5173) 2022-08-25 04:50:00 +00:00
Donny/강동윤
0533d56155
fix(es/helpers): Fix _classStaticPrivateFieldSpecSet (#5597) 2022-08-23 10:28:49 +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
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
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
magic-akari
fa68cbd74a
refactor(es/module): Implement new module transformer (#4758) 2022-06-27 12:32:06 +00:00
Devon Govett
9484cf81a1
fix(es/helpers): Use .mjs extension in helper imports (#4979) 2022-06-16 16:23:02 +09:00
Donny/강동윤
4a27e6f84a
fix(es/helpers): Allow using external helpers with type: module (#4962) 2022-06-13 18:41:35 +00: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
magic-akari
1e1d081805
fix(es/compat): Support updating a private field with bigint value (#4136) 2022-05-02 13:34:46 +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
troy351
025c921409
fix(es/helpers): Export classPrivateFieldLooseKey as default (#4047) 2022-03-16 20:30:50 +09:00
troy351
3125bbacbe
fix(es/helpers): Add missing export for classPrivateFieldLooseKey (#4045) 2022-03-16 10:23:38 +00:00
Austaras
14155eb0e7
feat(es/compat): Implement loose mode for class_properties (#3722) 2022-02-27 00:09:02 +09:00
Austaras
05de029cfa
fix(es/compat): Fix handling of private getters and setters (#3695) 2022-02-25 06:08:35 +00: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
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
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