SWC Bot
4e1adfcc88
chore: Publish 1.5.11-nightly-20240531.1
2024-05-31 00:08:16 +00:00
SWC Bot
b534d03591
chore: Bump crates
2024-05-30 14:02:56 +00:00
Donny/강동윤
cc8c1550dd
feat(es/minifier): Detect TypeScript enum initialization pattern ( #8986 )
...
**Description:**
We can optimize
```js
var Foo;
Foo || Foo = {};
```
This code looks strange, but
```ts
enum Foo {
a = 1,
b = 2,
}
```
transpiles to
```js
var Foo;
(function(Foo) {
Foo[Foo["a"] = 1] = "a";
Foo[Foo["b"] = 2] = "b";
})(Foo || (Foo = {}));
```
and after minification it becomes
```js
var Foo, Foo1;
(Foo1 = Foo || (Foo = {}))[Foo1.a = 1] = "a", Foo1[Foo1.b = 2] = "b";
```
2024-05-30 14:01:07 +00:00
강동윤 (Donny)
ffc74b8e70
chore: Update changelog
2024-05-30 20:57:07 +09:00
강동윤 (Donny)
a1084695ae
chore: Publish 1.5.24
with swc_core
v0.92.7
2024-05-30 20:57:04 +09:00
강동윤 (Donny)
a7772a6853
chore: Remove src/
prefix
2024-05-30 20:56:14 +09:00
강동윤 (Donny)
14dbe6a266
chore: Update changelog
2024-05-30 18:50:35 +09:00
강동윤 (Donny)
715e87ccbd
chore: Publish 1.5.23
with swc_core
v0.92.7
2024-05-30 18:50:32 +09:00
SWC Bot
e07be900b9
chore: Bump crates
2024-05-30 09:49:05 +00:00
Donny/강동윤
125ddd2dd9
fix(bindings/node): Fix regression of JS APIs ( #8998 )
...
**Related issue:**
- Closes #8997
2024-05-30 18:47:24 +09:00
SWC Bot
1267e3ecd4
chore: Bump crates
2024-05-30 06:32:29 +00:00
Donny/강동윤
a81a01f629
fix(es/jest): Handle @jest/globals
( #8994 )
...
**Description:**
- We have two `jest` pass. One in `@swc/core` (via _hidden.jest flag), and one in the plugin. This PR fixes only the core one.
However, the linked issue is wrong because the code tries to break the rules of ESM specification. So, although this PR closes the issue, the final form is not the issue the author wanted.
**Related issue:**
- Closes https://github.com/swc-project/plugins/issues/310
2024-05-30 15:30:45 +09:00
강동윤 (Donny)
f02be9f6a4
chore: Update changelog
2024-05-30 13:53:33 +09:00
강동윤 (Donny)
797b90bc88
chore: Publish 1.5.22
with swc_core
v0.92.6
2024-05-30 13:53:30 +09:00
강동윤 (Donny)
2de4099b74
chore: Publish 1.5.21
with swc_core
v0.92.6
2024-05-30 13:51:33 +09:00
강동윤 (Donny)
f94faf981e
chore: Update changelog
2024-05-30 13:00:46 +09:00
강동윤 (Donny)
1d87db555a
chore: Publish 1.5.21-nightly-20240530.2
with swc_core
v0.92.6
2024-05-30 13:00:44 +09:00
강동윤 (Donny)
69a1fd652f
chore: Disable some tests
2024-05-30 12:59:57 +09:00
강동윤 (Donny)
fed749ae4e
chore: Publish 1.5.21-nightly-20240530.1
with swc_core
v0.92.6
2024-05-30 11:16:19 +09:00
강동윤 (Donny)
da433862d4
chore: Use .npmrc
2024-05-30 11:15:32 +09:00
강동윤 (Donny)
48fd8ecb46
chore: Publish 1.5.21-nightly-20240529.4
with swc_core
v0.92.6
2024-05-29 23:08:24 +09:00
강동윤 (Donny)
482fcf55c7
chore: Use yarn workspaces
2024-05-29 23:07:38 +09:00
강동윤 (Donny)
ebb135b39e
chore: Use prepack
instead of prepublish
2024-05-29 23:00:19 +09:00
강동윤 (Donny)
3003cdf003
chore: Update changelog
2024-05-29 22:18:57 +09:00
강동윤 (Donny)
7d881fb203
chore: Publish 1.5.21-nightly-20240529.2
with swc_core
v0.92.6
2024-05-29 22:18:54 +09:00
강동윤 (Donny)
626f13eff9
chore: Use prepublish
instead of prepublishOnly
2024-05-29 22:18:09 +09:00
강동윤 (Donny)
f91e09ec51
chore: Update changelog
2024-05-29 15:40:38 +09:00
강동윤 (Donny)
d7021d318f
chore: Publish 1.5.21-nightly-20240529.1
with swc_core
v0.92.6
2024-05-29 15:40:35 +09:00
강동윤 (Donny)
4c0b2e81d9
chore: Include binding.js
2024-05-29 15:35:15 +09:00
강동윤 (Donny)
6c80244173
chore: Update changelog
2024-05-29 14:34:40 +09:00
강동윤 (Donny)
5cfa31ee7c
chore: Publish 1.5.20
with swc_core
v0.92.6
2024-05-29 14:34:39 +09:00
강동윤 (Donny)
b24c44b088
chore: Include postinstall.js
2024-05-29 14:33:53 +09:00
강동윤 (Donny)
23a41a9009
chore: Publish 1.5.19
with swc_core
v0.92.6
2024-05-29 13:30:33 +09:00
강동윤 (Donny)
e1488a62c4
chore: Disable node@20
for some jobs
2024-05-29 13:29:50 +09:00
강동윤 (Donny)
7ccd27a80e
chore: Revert bd6a86a8b5
2024-05-29 13:28:11 +09:00
강동윤 (Donny)
169d2431d0
chore: Publish 1.5.18
with swc_core
v0.92.6
2024-05-29 10:14:04 +09:00
강동윤 (Donny)
bd6a86a8b5
chore: Enable corepack
for all publish actions
2024-05-29 10:10:21 +09:00
강동윤 (Donny)
287f14e21f
chore: Update changelog
2024-05-29 07:44:51 +09:00
강동윤 (Donny)
255d1004b1
chore: Publish 1.5.17
with swc_core
v0.92.6
2024-05-29 07:44:50 +09:00
강동윤 (Donny)
69cac24cc9
chore: Fix publish command by using cd
2024-05-29 07:44:05 +09:00
강동윤 (Donny)
c712ab747d
chore: Update changelog
2024-05-29 00:36:42 +09:00
강동윤 (Donny)
cd8d14a965
chore: Publish 1.5.16
with swc_core
v0.92.6
2024-05-29 00:36:41 +09:00
강동윤 (Donny)
82d82356d5
chore: Use static .yarnrc
2024-05-29 00:35:29 +09:00
강동윤 (Donny)
5781d44267
chore: Update changelog
2024-05-29 00:23:51 +09:00
강동윤 (Donny)
1cac494d3e
chore: Publish 1.5.15
with swc_core
v0.92.6
2024-05-29 00:23:50 +09:00
강동윤 (Donny)
4c78c75700
chore: Use token while publishing
2024-05-29 00:23:14 +09:00
강동윤 (Donny)
bdaef18ca8
chore: Update changelog
2024-05-29 00:00:50 +09:00
강동윤 (Donny)
ef4b58fc76
chore: Publish 1.5.14
with swc_core
v0.92.6
2024-05-29 00:00:49 +09:00
강동윤 (Donny)
2406b8873d
chore: Fix yarn workspace
2024-05-28 23:59:47 +09:00
강동윤 (Donny)
717588d7d6
chore: Update changelog
2024-05-28 23:50:16 +09:00