Commit Graph

245 Commits

Author SHA1 Message Date
SWC Bot
c8379c27a0 chore: Publish 1.3.98-nightly-20231111.1 2023-11-11 00:07:33 +00:00
SWC Bot
981ab771af chore: Publish 1.3.98-nightly-20231110.1 2023-11-10 00:07:08 +00:00
Donny/강동윤
05313ecd8f
chore: Publish v1.3.97 with swc_core v0.86.46 (#8250) 2023-11-09 15:09:41 +09:00
SWC Bot
5472afb40e chore: Publish 1.3.97-nightly-20231109.1 2023-11-09 00:06:57 +00:00
SWC Bot
501f72a1d4 chore: Publish 1.3.97-nightly-20231108.1 2023-11-08 00:06:51 +00:00
SWC Bot
d1c6d6ea7b chore: Publish 1.3.97-nightly-20231107.1 2023-11-07 00:07:01 +00:00
SWC Bot
6c59d53815 chore: Publish 1.3.97-nightly-20231106.1 2023-11-06 00:07:38 +00:00
SWC Bot
7ebdfd18f8 chore: Publish 1.3.97-nightly-20231105.1 2023-11-05 00:10:36 +00:00
SWC Bot
cb29fdd1f4 chore: Publish 1.3.97-nightly-20231104.1 2023-11-04 00:06:40 +00:00
Donny/강동윤
93bb69d14e
chore: Publish v1.3.96 with swc_core v0.86.29 (#8216) 2023-11-04 06:41:56 +09:00
SWC Bot
f2c1da891b chore: Publish 1.3.96-nightly-20231103.1 2023-11-03 00:07:43 +00:00
SWC Bot
aefa70159a chore: Publish 1.3.96-nightly-20231102.1 2023-11-02 00:07:27 +00:00
SWC Bot
5243cdb035 chore: Publish 1.3.96-nightly-20231101.1 2023-11-01 00:07:05 +00:00
SWC Bot
2503e720cc chore: Publish 1.3.96-nightly-20231031.1 2023-10-31 00:06:54 +00:00
SWC Bot
769bc5b725 chore: Publish 1.3.96-nightly-20231030.1 2023-10-30 00:06:53 +00:00
SWC Bot
5ba6150088 chore: Publish 1.3.96-nightly-20231029.1 2023-10-29 00:07:44 +00:00
SWC Bot
257eefbbb1 chore: Publish 1.3.96-nightly-20231028.1 2023-10-28 00:07:03 +00:00
SWC Bot
cb1fa02b99 chore: Publish 1.3.96-nightly-20231026.1 2023-10-26 00:06:58 +00:00
SWC Bot
1e70ccc224 chore: Publish 1.3.96-nightly-20231025.1 2023-10-25 00:07:01 +00:00
Donny/강동윤
fb96b154bd
chore: Publish v1.3.95 with swc_core v0.86.16 (#8176) 2023-10-24 04:29:53 -07:00
SWC Bot
ed9bfa9faf chore: Publish 1.3.95-nightly-20231024.2 2023-10-24 00:22:32 +00:00
SWC Bot
b070885e37 chore: Publish 1.3.95-nightly-20231024.1 2023-10-24 00:07:12 +00:00
SWC Bot
7932111fb9 chore: Publish 1.3.95-nightly-20231023.1 2023-10-23 00:06:49 +00:00
SWC Bot
c9a4b563cd chore: Publish 1.3.95-nightly-20231022.1 2023-10-22 00:07:22 +00:00
Donny/강동윤
ff39d6452f
chore: Publish v1.3.94 with swc_core v0.86.12 (#8165) 2023-10-21 04:33:25 -07:00
SWC Bot
f5b10dac1a chore: Publish 1.3.94-nightly-20231021.1 2023-10-21 00:07:40 +00:00
SWC Bot
10e523d667 chore: Publish 1.3.94-nightly-20231020.2 2023-10-20 12:49:10 +00:00
SWC Bot
401219451f chore: Publish 1.3.94-nightly-20231020.1 2023-10-20 00:07:27 +00:00
SWC Bot
5dacaa174b chore: Publish 1.3.94-nightly-20231019.1 2023-10-19 00:07:16 +00:00
SWC Bot
748a7feae3 chore: Publish 1.3.94-nightly-20231018.1 2023-10-18 00:07:02 +00:00
SWC Bot
075756587b chore: Publish 1.3.94-nightly-20231017.1 2023-10-17 00:07:16 +00:00
Alessandro Chitolina
9c029ef095
feat(es/compat): Implement decorator metadata proposal (#8097)
**Description:**

This PR implements the [decorator
metadata](https://github.com/tc39/proposal-decorator-metadata) proposal,
that is now at Stage 3.

As the decorator metadata proposal is a small extension of the decorator
proposal and is not possible to compile the metadata without transpiling
decorators, I opted to implement it into the existing decorator
transformer (and helper)

**Related issue:**

 - Closes #7957
2023-10-16 20:38:53 +00:00
SWC Bot
7fe9c76c37 chore: Publish 1.3.94-nightly-20231016.1 2023-10-16 00:07:24 +00:00
SWC Bot
ad3006ed1a chore: Publish 1.3.94-nightly-20231015.1 2023-10-15 00:07:17 +00:00
SWC Bot
1c67df55f5 chore: Publish 1.3.94-nightly-20231014.1 2023-10-14 00:06:43 +00:00
Donny/강동윤
06b733ddc1
chore: Publish v1.3.93 with swc_core v0.85.7 (#8112) 2023-10-13 12:26:21 +09:00
SWC Bot
def2bb1efc chore: Publish 1.3.93-nightly-20231013.1 2023-10-13 00:07:16 +00:00
SWC Bot
ee21b4e8e5 chore: Publish 1.3.93-nightly-20231012.2 2023-10-12 05:23:00 +00:00
SWC Bot
70b65fb91f chore: Publish 1.3.93-nightly-20231012.1 2023-10-12 00:52:45 +00:00
SWC Bot
c4a1a06580 chore: Publish 1.3.93-nightly.20231011.1 2023-10-11 23:23:02 +00:00
강동윤 (Donny)
ff65a5cd20 chore: Restore versions 2023-10-12 08:11:05 +09:00
강동윤 (Donny)
e0c07e25a1 chore(xtask): Preaerve version 2023-10-12 08:05:16 +09:00
SWC Bot
e228724b05 chore: Publish 1.3.95-nightly.20231011.1 2023-10-11 23:02:59 +00:00
SWC Bot
f31d6552f3 chore: Publish 1.3.94-nightly.20231011.1 2023-10-11 22:58:00 +00:00
강동윤 (Donny)
2da1037748 chore: Publish @swc/helpers@v0.5.3 2023-10-07 23:37:18 +09:00
magic-akari
1346528477
fix(es/helpers): Override mistake in _interop_require_wildcard (#8076)
**Related issue:**

 - https://github.com/babel/babel/issues/15995
2023-10-07 14:20:39 +00:00
Donny/강동윤
28af875811
chore: Publish v1.3.92 with swc_core v0.83.38 (#8067) 2023-10-05 07:27:16 +00:00
강동윤 (Donny)
9c9c03b76b chore: Fix CI condition 2023-10-03 01:06:49 +09:00
강동윤 (Donny)
77b8591d86 chore(ci): Fix publish action for minifier 2023-10-02 14:09:02 +09:00
Donny/강동윤
020027d5d9
chore: Publish v1.3.91 with swc_core v0.83.34 (#8040) 2023-10-01 11:51:50 +00:00
강동윤 (Donny)
c0625361a1 chore: Fix yarn lockfile 2023-09-30 06:43:54 +09:00
강동윤 (Donny)
7f91274208 chore: Fix yarn lockfile 2023-09-30 05:57:06 +09:00
Donny/강동윤
186ecfadb5
chore(ci): Expose more crates to JS (#8033) 2023-09-29 20:52:40 +00:00
Donny/강동윤
8214b9ed4e
chore(ci): Prepare @swc/minifier (#8027) 2023-09-29 19:51:00 +00:00
Donny/강동윤
b6b5a4d3a6
doc(counter): Document the purpose of the package (#8032) 2023-09-29 19:46:15 +00:00
Donny/강동윤
64d8f4b59f
feat(bindings): Create a minifier-only package (#7993) 2023-09-29 08:47:59 +00:00
Donny/강동윤
0acbb5f78d
refactor(bindingins): Create @swc/counter (#7991) 2023-09-22 23:48:27 +00:00
강동윤 (Donny)
1c89e81544 chore: Publish @swc/types@v0.1.5 2023-09-19 12:27:45 +09:00
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