Commit Graph

188 Commits

Author SHA1 Message Date
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
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
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/강동윤
7073e83f65
fix(ci): Fix CI (#8079) 2023-10-08 02:03:50 +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/강동윤
020027d5d9
chore: Publish v1.3.91 with swc_core v0.83.34 (#8040) 2023-10-01 11:51:50 +00:00
Donny/강동윤
724b83b05d
chore: Publish v1.3.90 with swc_core v0.83.26 (#8013) 2023-09-27 01:12:23 +00:00
Donny/강동윤
98d283cb34
chore: Publish v1.3.89 with swc_core v0.83.22 (#8002) 2023-09-25 13:24:09 +00:00
magic-akari
9c9a538f23
refactor(es/typescript): Reimplement TypeScript pass (#7202)
**Description:**

## Bugfixes
- Exported `let`/`var` declarations in TypeScript namespaces should be mutable.
- Fix missing declaration of complex exported patterns in TypeScript namespaces.
- Preserve concrete TS namespaces.

## New Features
- Introducing [Verbatim Module Syntax](https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax).
- Enum value will now be inlined whenever possible within a single module, optimizing runtime performance.
- Constant enums will be automatically eliminated when feasible, This can reduce bundle size.
- Added support for cross-referencing enum values.

## Deprecated
`TsEnumConfig` is deprecated
  - The `treat_const_enum_as_enum` transform option is deprecated.
  - The `ts_enum_is_readonly` assumption option is deprecated.

**BREAKING CHANGE:**

TypeScript Config is changed.


**Related issue:**

 - Closes #5197
 - Closes #5259 
 - Closes #7177
 - Closes #7453
 - Closes #7676 
 - Closes #7681
 - Closes #7791 
 - Closes #7961
2023-09-25 01:41:00 +00:00
Donny/강동윤
dff9e15b72
chore: Publish v1.3.88 with swc_core v0.83.19 (#7997) 2023-09-24 04:57:46 +00:00
Donny/강동윤
866f34d278
chore: Publish v1.3.87 with swc_core v0.83.18 (#7986) 2023-09-22 02:10:47 +00:00
Donny/강동윤
6b1216e9e8
chore: Publish v1.3.86 with swc_core v0.83.16 (#7970) 2023-09-18 21:37:45 +00:00
Donny/강동윤
94b45e92a4
chore: Publish v1.3.85 with swc_core v0.83.10 (#7954) 2023-09-15 06:03:20 +00:00
Anders Kaseorg
b87ac646f8
fix(es/minifier): Parse a file as a module only if opts.module is true (#7943)
**Description:**

Previously it was impossible to minify non-strict code (e.g. `delete identifier;`) because `minify()` unconditionally parsed the input as a module regardless of the `module` setting.

**BREAKING CHANGE:**

`minify()` now respects the `module` parameter instead of ignoring it, so users who had been processing modules with `minify()` without passing `{ module: true }` will now need to pass it.

**Related issue**

 - Closes #6130.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-09-13 05:55:34 +00:00
Donny/강동윤
c8ac13e60c
chore: Publish v1.3.84 with swc_core v0.83.5 (#7937) 2023-09-11 23:21:02 +09:00
Donny/강동윤
3b10b7532d
chore: Publish v1.3.83 with swc_core v0.83.2 (#7920) 2023-09-07 10:20:12 +09:00