SWC Bot
e63a5c7e95
chore: Bump crates
2024-01-19 02:14:55 +00:00
Donny/강동윤
9f1ce3acd6
fix(es/codegen): Fix codegen of \\0
( #8433 )
...
**Related issue:**
- Closes #8431
2024-01-19 02:11:05 +00:00
SWC Bot
fefe9636f0
chore: Publish crates
2024-01-19 01:27:20 +00:00
melbourne2991
f40f59bd70
fix(es/typescript): Fix panic on invalid jsx pragma ( #8513 )
...
**Description:**
Currently a jsx pragma with an invalid js identifier (eg, with dashes: `@jsx bad-pragma` causes a panic.
This PR prevents a panic and will ignore an invalid pragma in a comment.
(There may be an argument for showing an error or warning instead, but
given a jsx pragma is still valid ES I'm not sure whether that makes
sense?)
[Original (Deno) issue
here](https://github.com/denoland/deno/issues/21927 )
2024-01-19 01:25:46 +00:00
SWC Bot
3c00098dbe
chore: Publish crates
2024-01-19 00:45:54 +00:00
Donny/강동윤
4946a11137
fix(es/minifier): Fix a bug in tpl string <-> string logic ( #8510 )
...
**Related issue:**
- Closes #8496
2024-01-19 00:44:19 +00:00
SWC Bot
104f604e50
chore: Publish 1.3.105-nightly-20240119.1
2024-01-19 00:11:55 +00:00
Donny/강동윤
c7236cf077
chore: Add stackblitz.com
to nissuer.yml
2024-01-18 23:13:55 +09:00
SWC Bot
4520eca97a
chore: Publish crates
2024-01-18 14:05:51 +00:00
Donny/강동윤
3741448b1b
chore: Update dependencies ( #8514 )
2024-01-18 14:04:09 +00:00
SWC Bot
96b40a9d6a
chore: Publish 1.3.105-nightly-20240118.1
2024-01-18 00:10:23 +00:00
강동윤 (Donny)
585c24fc72
chore: Publish crates
2024-01-17 19:36:33 +09:00
Donny/강동윤
72e1383973
chore: Publish v1.3.104
with swc_core
v0.87.25
( #8512 )
2024-01-17 19:35:29 +09:00
SWC Bot
c9dfedf5ec
chore: Publish crates
2024-01-17 09:01:13 +00:00
Donny/강동윤
ba753f1288
fix(plugin): Set swc_common::errors::HANDLER
while invoking plugins ( #8511 )
...
**Description:**
- `swc_common::errors::handler::HANDLER` should be used, and `swc_core::plugin::errors::HANDLER` is now a simple alias.
**Related issue:**
- Closes #8502
2024-01-17 08:59:30 +00:00
SWC Bot
fa054817df
chore: Publish 1.3.104-nightly-20240117.1
2024-01-17 00:11:10 +00:00
SWC Bot
0763e7e6d6
chore: Publish crates
2024-01-16 04:43:01 +00:00
Donny/강동윤
10449e08d9
fix(es): Fix plugin template & restore test!
as test_inline!
( #8508 )
...
**Description:**
I made a bad decision while migrating tests in the core repository to snapshot testing. So, I'm adding the `test!` macro back with a slight renaming.
**Related issue:**
- Closes #8504
2024-01-16 04:41:18 +00:00
SWC Bot
99d74f319f
chore: Publish crates
2024-01-16 04:01:42 +00:00
magic-akari
0f94c8cf05
fix(es/systemjs): Handle top level this ( #8506 )
...
**Related issue:**
- Closes #8505
2024-01-16 04:00:08 +00:00
SWC Bot
64036d3302
chore: Publish 1.3.104-nightly-20240116.1
2024-01-16 00:10:22 +00:00
강동윤 (Donny)
97266313ed
chore: Publish crates
2024-01-15 12:32:43 +09:00
Donny/강동윤
cc48dc631a
chore: Publish v1.3.103
with swc_core
v0.87.22
( #8503 )
2024-01-15 12:31:48 +09:00
SWC Bot
a21b5f01b5
chore: Publish 1.3.103-nightly-20240115.1
2024-01-15 00:10:51 +00:00
SWC Bot
37d36eb24b
chore: Publish crates
2024-01-14 08:12:45 +00:00
Donny/강동윤
8d9bf4cfaa
fix(es/codegen): Fix codegen of a property key in ascii-only mode ( #8493 )
...
**Related issue:**
- Closes #8491
2024-01-14 08:11:08 +00:00
SWC Bot
0c28f7217a
chore: Publish 1.3.103-nightly-20240114.1
2024-01-14 00:10:52 +00:00
SWC Bot
9a9a332514
chore: Publish 1.3.103-nightly-20240113.1
2024-01-13 00:10:31 +00:00
SWC Bot
be3f4bc5c0
chore: Publish 1.3.103-nightly-20240112.1
2024-01-12 00:10:40 +00:00
SWC Bot
2cd08cfda1
chore: Publish 1.3.103-nightly-20240111.1
2024-01-11 00:09:55 +00:00
SWC Bot
ce69566812
chore: Publish 1.3.103-nightly-20240110.1
2024-01-10 00:09:53 +00:00
SWC Bot
9cf91a375b
chore: Publish crates
2024-01-09 18:56:56 +00:00
Donny/강동윤
f7c4934e59
fix(es/minifier): Correctly escape more characters ( #8490 )
...
**Related issue:**
- Closes #8484
2024-01-09 18:55:25 +00:00
SWC Bot
a73ddc221e
chore: Publish crates
2024-01-09 18:27:36 +00:00
magic-akari
52a8f05fe4
fix(es/compat): Correctly handle this
in arrow function parameters ( #8489 )
...
**Related issue:**
- Closes #8488
2024-01-09 18:25:57 +00:00
SWC Bot
46cfc5e60f
chore: Publish crates
2024-01-09 07:59:42 +00:00
takashimamorino
abd7c51583
doc: Replace string_cache
with hstr
in ARCHITECTURE.md
( #8487 )
2024-01-09 16:58:07 +09:00
SWC Bot
13c24b129b
chore: Publish 1.3.103-nightly-20240109.1
2024-01-09 00:10:10 +00:00
SWC Bot
9caa72250d
chore: Publish 1.3.103-nightly-20240108.1
2024-01-08 00:10:20 +00:00
SWC Bot
6bcce2a1f7
chore: Publish 1.3.103-nightly-20240107.1
2024-01-07 00:10:09 +00:00
SWC Bot
2c328fc806
chore: Publish 1.3.103-nightly-20240106.1
2024-01-06 00:09:52 +00:00
SWC Bot
1bdfbb5153
chore: Publish 1.3.103-nightly-20240105.1
2024-01-05 00:09:33 +00:00
SWC Bot
d9a79a0a39
chore: Publish crates
2024-01-04 12:28:02 +00:00
magic-akari
740e6f390a
fix(es/parser): Correctly parse the keyword ( #8483 )
...
**Related issue:**
- Closes #8482 .
2024-01-04 12:26:25 +00:00
SWC Bot
4e860c988d
chore: Publish crates
2024-01-04 04:49:50 +00:00
David Sherret
e0bdc0f7c2
fix(es/codegen): Emit ?
for an optional computed property ( #8481 )
...
**Description:**
Emits optional `?` for a computed property.
2024-01-04 04:48:07 +00:00
SWC Bot
8997ed1547
chore: Publish crates
2024-01-04 04:25:54 +00:00
Austaras
82bd8070cb
fix(es/resolver): Resolve top-level undefined
, NaN
, and Infinity
correctly ( #8471 )
...
**Description:**
For following code
```js
var NaN = 1
console.log(NaN)
```
Result would be
|Envirnoment|Result|
|-|-|
|Non strict script(browser, nodejs repl)|NaN|
|Non strict script(nodejs script)|1|
|Strict script(browser, nodejs repl)|runtime error|
|Strict script(nodejs script)|1|
|ESM|1|
So SWC choose to behave like browser in script mode and confirm to esm
standard.
**Related issue:**
- Closes #8465
2024-01-04 04:24:14 +00:00
SWC Bot
ce76159e98
chore: Publish 1.3.103-nightly-20240104.1
2024-01-04 00:09:19 +00:00
SWC Bot
f00ff72b95
chore: Publish crates
2024-01-03 20:42:53 +00:00