@swc/core 1.2.163 → 1.2.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +104 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,110 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/codegen)** Commit `;` before a template literal (#4252) ([8cd903b](https://github.com/swc-project/swc/commit/8cd903b3b006b823cc5d3a61d40a1311fc97276c))
9
+
10
+
11
+ - **(es/codegen)** Handle comments on the argument of `throw` (#4254) ([ccd3188](https://github.com/swc-project/swc/commit/ccd3188c8bbf9d80efaa632e283941ed6e1fc59c))
12
+
13
+
14
+ - **(es/minifier)** Remap variables on IIFE evaluation (#4230) ([55b98fc](https://github.com/swc-project/swc/commit/55b98fc87470cc5b2e2645ae8588c106c490fb3a))
15
+
16
+
17
+ - **(es/minifier)** Handle empty RegExp (#4235) ([6a51d04](https://github.com/swc-project/swc/commit/6a51d0471a53cfdd48c8426c9cdc5bfddf200b35))
18
+
19
+
20
+ - **(es/minifier)** Fix infinite loops (#4250) ([350a195](https://github.com/swc-project/swc/commit/350a19587e2220a134d9049b7afb19e35da236f0))
21
+
22
+
23
+ - **(es/optimizer/simplifier)** Collect idents in init first (#4239) ([b1645f6](https://github.com/swc-project/swc/commit/b1645f606d1334eadb7ebf912c847bb5bdff6b96))
24
+
25
+
26
+ - **(es/parser)** Support error reporting for TS1274 (#4232) ([6d380ea](https://github.com/swc-project/swc/commit/6d380ea6faf1bde18c6f92c87ed0395c674a1ead))
27
+
28
+
29
+ - **(es/parser)** Adjust context in a function block (#4264) ([b89937c](https://github.com/swc-project/swc/commit/b89937c3c081132e3cf126467476080f29272cdd))
30
+
31
+
32
+ - **(html/parser)** Support cdata (#4259) ([3f6037b](https://github.com/swc-project/swc/commit/3f6037b467a378357051a7de6002e34d36b640d4))
33
+
34
+
35
+ - **(html/parser)** Fix bugs (#4265) ([105a0cc](https://github.com/swc-project/swc/commit/105a0cccf7dec630824e2e0f8ee77bf31645aa28))
36
+
37
+ ### Features
38
+
39
+
40
+
41
+ - **(css/parser)** Improve error recovery for unknown at-rules (#4257) ([8b6647c](https://github.com/swc-project/swc/commit/8b6647cf8571fabb820d0a5dae7a3b69e561202d))
42
+
43
+
44
+ - **(es)** Support jsonc for `.swcrc` (#4236) ([8008b79](https://github.com/swc-project/swc/commit/8008b79f8c69f9abc1cdd7be299f5580be8c3c0f))
45
+
46
+
47
+ - **(es/ast)** Add `raw` to `Num` (#4245) ([f39d3ac](https://github.com/swc-project/swc/commit/f39d3aca4db25db2880f447fe738375ad5307c86))
48
+
49
+
50
+ - **(es/minifier)** Improve sequential inlining (#4231) ([fe358ad](https://github.com/swc-project/swc/commit/fe358ad0b93d6f3bd2150fc9ce888f798875beed))
51
+
52
+
53
+ - **(es/minifier)** Improve inliner and evaluator (#4216) ([4701da5](https://github.com/swc-project/swc/commit/4701da576f0b12b656cf1baa57174a787b590742))
54
+
55
+
56
+ - **(es/minifier)** Exclude local bindings from aliases (#4261) ([ab1f440](https://github.com/swc-project/swc/commit/ab1f4401037803ae230148f9e189b1835b92dcd9))
57
+
58
+
59
+ - **(es/minifier)** Implement more rules for `hoist_props` (#4262) ([1f5cac4](https://github.com/swc-project/swc/commit/1f5cac4d413bc8d035e137d74470469dfd886fa3))
60
+
61
+
62
+ - **(es/parser)** Report more errors (#4244) ([674275c](https://github.com/swc-project/swc/commit/674275c8242df111bb9391da13b9869d7e6b6405))
63
+
64
+
65
+ - **(html)** Initialize (#4240) ([3e7872c](https://github.com/swc-project/swc/commit/3e7872c8de05ac46ef6ffb99f778ef5b64e47f1b))
66
+
67
+
68
+ - **(html)** Support boolean attributes (#4258) ([8640c8b](https://github.com/swc-project/swc/commit/8640c8bd43a164eb185733b5294342ff01c858f6))
69
+
70
+
71
+ - **(plugin)** Implement proxy for `dummy_with_cmt` (#4268) ([b15e984](https://github.com/swc-project/swc/commit/b15e984317ae6eb03597e9236f637fee205dd8a5))
72
+
73
+
74
+ - **(plugin/api)** Expose `swc_ecma_utils` (#4256) ([7bc04a6](https://github.com/swc-project/swc/commit/7bc04a67918374b1b2d02ed5034330cd6dd78d57))
75
+
76
+ ### Miscellaneous Tasks
77
+
78
+
79
+
80
+ - **(bench)** Migrate to criterion (#4237) ([06d0891](https://github.com/swc-project/swc/commit/06d0891e7cae751dfc62ac4607675e872ac12304))
81
+
82
+
83
+ - **(build)** Dedup `swc_common` (#4247) ([4093814](https://github.com/swc-project/swc/commit/4093814895a4c473d13852d2edeee17d06d7421f))
84
+
85
+
86
+ - **(ci)** Fix benchmark action (#4242) ([1f466e1](https://github.com/swc-project/swc/commit/1f466e1d2f10193b45c09ced2b6384d85ea8f333))
87
+
88
+
89
+ - **(es/preset-env)** Typo (#4243) ([06020bb](https://github.com/swc-project/swc/commit/06020bb76d5009f693cc702a70ac3add1ef0fe4a))
90
+
91
+ ### Refactor
92
+
93
+
94
+
95
+ - **(plugin)** Consolidate exported namespaces (#4263) ([8706c17](https://github.com/swc-project/swc/commit/8706c17c4f20fb508e685cb81945cd51672eaba5))
96
+
97
+ ### Testing
98
+
99
+
100
+
101
+ - **(es)** Organize tests (#4251) ([c32f42b](https://github.com/swc-project/swc/commit/c32f42b374a4964e858d05106eaa1b8fcd446cad))
102
+
103
+
104
+ - **(es/parser)** Add a test for a fixed issue (#4255) ([1f0039f](https://github.com/swc-project/swc/commit/1f0039f2c31778acf01a10807ca54be6d3ebac08))
105
+
106
+ ## [1.2.163] - 2022-04-03
107
+
108
+ ### Bug Fixes
109
+
110
+
111
+
8
112
  - **(cli)** Update plugin template (#4222) ([69cb512](https://github.com/swc-project/swc/commit/69cb512e571de1f8b245fdc538cf9a09c51823f2))
9
113
 
10
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.163",
3
+ "version": "1.2.164",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -121,18 +121,18 @@
121
121
  "url": "https://opencollective.com/swc"
122
122
  },
123
123
  "optionalDependencies": {
124
- "@swc/core-win32-x64-msvc": "1.2.163",
125
- "@swc/core-darwin-x64": "1.2.163",
126
- "@swc/core-linux-x64-gnu": "1.2.163",
127
- "@swc/core-linux-x64-musl": "1.2.163",
128
- "@swc/core-freebsd-x64": "1.2.163",
129
- "@swc/core-win32-ia32-msvc": "1.2.163",
130
- "@swc/core-linux-arm64-gnu": "1.2.163",
131
- "@swc/core-linux-arm-gnueabihf": "1.2.163",
132
- "@swc/core-darwin-arm64": "1.2.163",
133
- "@swc/core-android-arm64": "1.2.163",
134
- "@swc/core-linux-arm64-musl": "1.2.163",
135
- "@swc/core-win32-arm64-msvc": "1.2.163",
136
- "@swc/core-android-arm-eabi": "1.2.163"
124
+ "@swc/core-win32-x64-msvc": "1.2.164",
125
+ "@swc/core-darwin-x64": "1.2.164",
126
+ "@swc/core-linux-x64-gnu": "1.2.164",
127
+ "@swc/core-linux-x64-musl": "1.2.164",
128
+ "@swc/core-freebsd-x64": "1.2.164",
129
+ "@swc/core-win32-ia32-msvc": "1.2.164",
130
+ "@swc/core-linux-arm64-gnu": "1.2.164",
131
+ "@swc/core-linux-arm-gnueabihf": "1.2.164",
132
+ "@swc/core-darwin-arm64": "1.2.164",
133
+ "@swc/core-android-arm64": "1.2.164",
134
+ "@swc/core-linux-arm64-musl": "1.2.164",
135
+ "@swc/core-win32-arm64-msvc": "1.2.164",
136
+ "@swc/core-android-arm-eabi": "1.2.164"
137
137
  }
138
138
  }