@swc/core 1.2.183 → 1.2.185

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 +88 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,94 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/modules)** Fix handling of `import.meta.url` (#4670) ([49c40af](https://github.com/swc-project/swc/commit/49c40afb7e092655578ee4d991ddf1f3fd20ff6a))
9
+
10
+ ### Features
11
+
12
+
13
+
14
+ - **(dbg-swc)** Add a command to diff semantics (#4671) ([e3cda26](https://github.com/swc-project/swc/commit/e3cda264bbc3607232f75db13e11d7bbd2634cdf))
15
+
16
+
17
+ - **(es/minifier)** Improve `ignore_return_value` (#4673) ([e57123e](https://github.com/swc-project/swc/commit/e57123e61ce4d07bd10c2e56f6e809b90a9d43f2))
18
+
19
+ ### Build
20
+
21
+
22
+
23
+ - **(repo)** Downgrade `rustc` (#4674) ([50db276](https://github.com/swc-project/swc/commit/50db276d826e80071f7347826673ea481f33bfed))
24
+
25
+ ## [1.2.184] - 2022-05-15
26
+
27
+ ### Bug Fixes
28
+
29
+
30
+
31
+ - **(es/minifier)** Don't inline a function if we need referential equality (#4665) ([96cec97](https://github.com/swc-project/swc/commit/96cec97b2c2192b4d5059dc05d1a3971e78f9cd5))
32
+
33
+
34
+ - **(html/parser)** Fix error reporting (#4644) ([1f945b9](https://github.com/swc-project/swc/commit/1f945b9277e564e393505b0baeaf3526d8a34d64))
35
+
36
+ ### Documentation
37
+
38
+
39
+
40
+ - **(es/codegen)** Document `ascii_only` (#4669) ([bfb6be7](https://github.com/swc-project/swc/commit/bfb6be7075a57238ffe0e8c11edcf32b115b756b))
41
+
42
+ ### Features
43
+
44
+
45
+
46
+ - **(dbg-swc)** Add command to compare minifier (#4653) ([af1d195](https://github.com/swc-project/swc/commit/af1d19554f250201856fda0c5d356cb27df52791))
47
+
48
+
49
+ - **(dbg-swc)** Add auto-reducer for the minifier (#4654) ([c8818b0](https://github.com/swc-project/swc/commit/c8818b049987e03c1ca974311bf82afde9a5227b))
50
+
51
+
52
+ - **(es)** Add an option to omit columns from sourcemaps (#4646) ([b6f904b](https://github.com/swc-project/swc/commit/b6f904b8f0fbe8bffb25ab432006f8195d585bf7))
53
+
54
+
55
+ - **(es/codegen)** Implement ascii-only (#4660) ([eb8508f](https://github.com/swc-project/swc/commit/eb8508f88cf532d883bb22446195281f009863c5))
56
+
57
+
58
+ - **(es/lints)** Implement `no-sparse-arrays` rule (#4652) ([9b226a7](https://github.com/swc-project/swc/commit/9b226a7026f06729904ef1fdc0e4a17aa631e5e4))
59
+
60
+
61
+ - **(es/minifier)** Improve minifier (#4655) ([053f42b](https://github.com/swc-project/swc/commit/053f42b3aa80ac6334b720365b8f9b05d9b333ff))
62
+
63
+
64
+ - **(es/minifier)** Implement `directives` (#4668) ([8a40b58](https://github.com/swc-project/swc/commit/8a40b583a56b1ffd815c9be35ae4b0351bc1e711))
65
+
66
+
67
+ - **(html)** Support `iframe_srcdoc` (#4658) ([69ca949](https://github.com/swc-project/swc/commit/69ca9497d02cd50ad245e4415009a221b64914ee))
68
+
69
+
70
+ - **(html/parser)** Improve error reporting (#4663) ([a8467c6](https://github.com/swc-project/swc/commit/a8467c64e8c3810a2ed9f449ee1b12029eca154c))
71
+
72
+ ### Performance
73
+
74
+
75
+
76
+ - **(es/parser)** Optimize for cpu code cache (#4666) ([11726cc](https://github.com/swc-project/swc/commit/11726cc0e1cf847bd9cd6648c5e55f61086ac970))
77
+
78
+ ### Refactor
79
+
80
+
81
+
82
+ - **(es/react)** Use proper ident scope for react refresh (#4649) ([1150e84](https://github.com/swc-project/swc/commit/1150e842ed4f6ea4216f6b54706abffc52449c9f))
83
+
84
+ ### Build
85
+
86
+
87
+
88
+ - **(repo)** Update `rustc` (#4667) ([98e4845](https://github.com/swc-project/swc/commit/98e4845fcec8990482f2fd353ae7ae25ce7aeeca))
89
+
90
+ ## [1.2.183] - 2022-05-13
91
+
92
+ ### Bug Fixes
93
+
94
+
95
+
8
96
  - **(css/parser)** Remove a wrong assertion (#4641) ([84e4ca6](https://github.com/swc-project/swc/commit/84e4ca6c27034e8b965bb229115847afcfb0b5e8))
9
97
 
10
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.183",
3
+ "version": "1.2.185",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -134,18 +134,18 @@
134
134
  "url": "https://opencollective.com/swc"
135
135
  },
136
136
  "optionalDependencies": {
137
- "@swc/core-win32-x64-msvc": "1.2.183",
138
- "@swc/core-darwin-x64": "1.2.183",
139
- "@swc/core-linux-x64-gnu": "1.2.183",
140
- "@swc/core-linux-x64-musl": "1.2.183",
141
- "@swc/core-freebsd-x64": "1.2.183",
142
- "@swc/core-win32-ia32-msvc": "1.2.183",
143
- "@swc/core-linux-arm64-gnu": "1.2.183",
144
- "@swc/core-linux-arm-gnueabihf": "1.2.183",
145
- "@swc/core-darwin-arm64": "1.2.183",
146
- "@swc/core-android-arm64": "1.2.183",
147
- "@swc/core-linux-arm64-musl": "1.2.183",
148
- "@swc/core-win32-arm64-msvc": "1.2.183",
149
- "@swc/core-android-arm-eabi": "1.2.183"
137
+ "@swc/core-win32-x64-msvc": "1.2.185",
138
+ "@swc/core-darwin-x64": "1.2.185",
139
+ "@swc/core-linux-x64-gnu": "1.2.185",
140
+ "@swc/core-linux-x64-musl": "1.2.185",
141
+ "@swc/core-freebsd-x64": "1.2.185",
142
+ "@swc/core-win32-ia32-msvc": "1.2.185",
143
+ "@swc/core-linux-arm64-gnu": "1.2.185",
144
+ "@swc/core-linux-arm-gnueabihf": "1.2.185",
145
+ "@swc/core-darwin-arm64": "1.2.185",
146
+ "@swc/core-android-arm64": "1.2.185",
147
+ "@swc/core-linux-arm64-musl": "1.2.185",
148
+ "@swc/core-win32-arm64-msvc": "1.2.185",
149
+ "@swc/core-android-arm-eabi": "1.2.185"
150
150
  }
151
151
  }