Commit Graph

945 Commits

Author SHA1 Message Date
SWC Bot
9c23f1cf38 chore: Bump crates 2024-01-21 12:37:38 +00:00
SWC Bot
6210bf19de chore: Bump crates 2024-01-21 03:08:11 +00:00
SWC Bot
1ca0d65c29 chore: Bump crates 2024-01-21 02:34:11 +00:00
SWC Bot
e63a5c7e95 chore: Bump crates 2024-01-19 02:14:55 +00:00
SWC Bot
fefe9636f0 chore: Publish crates 2024-01-19 01:27:20 +00:00
SWC Bot
3c00098dbe chore: Publish crates 2024-01-19 00:45:54 +00:00
SWC Bot
0763e7e6d6 chore: Publish crates 2024-01-16 04:43:01 +00:00
SWC Bot
99d74f319f chore: Publish crates 2024-01-16 04:01:42 +00:00
SWC Bot
37d36eb24b chore: Publish crates 2024-01-14 08:12:45 +00:00
SWC Bot
9cf91a375b chore: Publish crates 2024-01-09 18:56:56 +00:00
SWC Bot
a73ddc221e chore: Publish crates 2024-01-09 18:27:36 +00:00
SWC Bot
d9a79a0a39 chore: Publish crates 2024-01-04 12:28:02 +00:00
SWC Bot
4e860c988d chore: Publish crates 2024-01-04 04:49:50 +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
f00ff72b95 chore: Publish crates 2024-01-03 20:42:53 +00:00
SWC Bot
68b9646681 chore: Publish crates 2024-01-03 20:18:10 +00:00
SWC Bot
f2ede40e38 chore: Publish crates 2024-01-03 06:58:23 +00:00
SWC Bot
cddb0165bb chore: Publish crates 2024-01-03 05:41:28 +00:00
SWC Bot
a4e91af934 chore: Publish crates 2024-01-03 04:45:13 +00:00
SWC Bot
98920ca78d chore: Publish crates 2024-01-02 02:10:29 +00:00
SWC Bot
e3f25c2011 chore: Publish crates 2023-12-29 12:26:47 +00:00
SWC Bot
4229e7b99b chore: Publish crates 2023-12-29 08:49:51 +00:00
SWC Bot
3492e6f13e chore: Publish crates 2023-12-28 23:58:04 +00:00
SWC Bot
d6dd1f9240 chore: Publish crates 2023-12-24 01:32:20 +00:00
SWC Bot
a611932dd5 chore: Publish crates 2023-12-23 06:46:40 +00:00
SWC Bot
4564a01927 chore: Publish crates 2023-12-23 03:41:17 +00:00
SWC Bot
611d7175d4 chore: Publish crates 2023-12-22 03:27:18 +00:00
SWC Bot
37bb0e3bde chore: Publish crates 2023-12-21 09:19:08 +00:00
SWC Bot
d6cd2146fa chore: Publish crates 2023-12-17 08:43:12 +00:00
SWC Bot
45f62f7886 chore: Publish crates 2023-12-17 06:48:43 +00:00
SWC Bot
dd9ed9c565 chore: Publish crates 2023-12-12 06:14:41 +00:00
SWC Bot
f736c3c2df chore: Publish crates 2023-12-12 05:55:01 +00:00
SWC Bot
f202a2839f chore: Publish crates 2023-12-12 04:39:47 +00:00
SWC Bot
602584dd62 chore: Publish crates 2023-12-11 03:07:28 +00:00
SWC Bot
2aebd5fa2f chore: Publish crates 2023-12-08 14:01:33 +00:00
SWC Bot
595f13c019 chore: Publish crates 2023-12-08 07:18:16 +00:00
SWC Bot
dbeb869463 chore: Publish crates 2023-12-08 06:00:21 +00:00
SWC Bot
0bde652b5c chore: Publish crates 2023-12-08 01:58:57 +00:00
SWC Bot
35fb6528f5 chore: Publish crates 2023-12-07 20:20:49 +00:00
SWC Bot
6ef6cf6f35 chore: Publish crates 2023-12-07 16:22:39 +00:00
SWC Bot
c5ac93a9df chore: Publish crates 2023-12-04 18:52:58 +00:00
SWC Bot
7327f257d2 chore: Publish crates 2023-12-04 09:00:34 +00:00
SWC Bot
c6e64148b0 chore: Publish crates 2023-12-03 01:14:41 +00:00
SWC Bot
c73abc8319 chore: Publish crates 2023-12-03 00:44:55 +00:00
SWC Bot
9a41fac89f chore: Publish crates 2023-12-02 23:25:06 +00:00
SWC Bot
c77f987b9b chore: Publish crates 2023-12-02 11:43:08 +00:00
SWC Bot
98c47df37a chore: Publish crates 2023-12-01 20:08:13 +00:00
SWC Bot
0845693536 chore: Publish crates 2023-11-29 14:11:49 +00:00
SWC Bot
655e95a24d chore: Publish crates 2023-11-29 13:41:46 +00:00