@swc/core 1.2.173 → 1.2.174

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 +50 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,56 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/helpers)** Update `_interopRequireWildcard` (#4479) ([7d40208](https://github.com/swc-project/swc/commit/7d40208377133b0fcd153c5bfcf47f6b489113c1))
9
+
10
+
11
+ - **(es/minifier)** Disable some passes for `hoist_props` (#4468) ([effc85d](https://github.com/swc-project/swc/commit/effc85df572609a180f9a28177a5b37ed960c860))
12
+
13
+
14
+ - **(es/minifier)** Fix skipping logic of sequential inliner (#4469) ([233c4d5](https://github.com/swc-project/swc/commit/233c4d5b860d557710bfe654f76d7901e5d0b3a0))
15
+
16
+
17
+ - **(html)** Fix bugs of parser and codegen (#4461) ([8bdfcd9](https://github.com/swc-project/swc/commit/8bdfcd996aa5abde0e50743b90f4d36fd25003ba))
18
+
19
+
20
+ - **(html/parser)** Fix bugs (#4459) ([2098228](https://github.com/swc-project/swc/commit/20982288fb05dcb4e2c72e5ea4c0888a0e946580))
21
+
22
+ ### Features
23
+
24
+
25
+
26
+ - **(es/lints)** Implement `no-throw-literal` (#4477) ([3a8cade](https://github.com/swc-project/swc/commit/3a8cade2091bea83769b5140a92dad7b2a277ce0))
27
+
28
+
29
+ - **(es/minifier)** Drop more returns (#4471) ([2739546](https://github.com/swc-project/swc/commit/273954640aa2d22d0e65f4d186bcb6add0844cb1))
30
+
31
+
32
+ - **(es/minifier)** Consider cost of functions for inlining (#4470) ([7a584d7](https://github.com/swc-project/swc/commit/7a584d755aa0dc70c8c367f1c0c4b61e2dbc34df))
33
+
34
+
35
+ - **(es/minifier)** Drop pure `new` calls (#4478) ([918c9c8](https://github.com/swc-project/swc/commit/918c9c8a21c248617aef4474380c94f9f98df1dc))
36
+
37
+
38
+ - **(es/minifier)** Add `pristine_globals` (#4480) ([09ba3c0](https://github.com/swc-project/swc/commit/09ba3c0e688b2bd66e707836ecba23feee93fb8c))
39
+
40
+
41
+ - **(html/minifier)** Remove `javascript:` prefix (#4460) ([a1877e7](https://github.com/swc-project/swc/commit/a1877e740acf6bf51421b97c27236b0f208eaf9d))
42
+
43
+
44
+ - **(html/minifier)** Remove duplicate attributes (#4474) ([750d655](https://github.com/swc-project/swc/commit/750d6551fcbdf9c0664bfa6ad97d394ba6c641de))
45
+
46
+ ### Miscellaneous Tasks
47
+
48
+
49
+
50
+ - **(es/minifier)** Update debugging utils (#4467) ([c45b0df](https://github.com/swc-project/swc/commit/c45b0df8770727b84ede1c3348c9769f5d4367c2))
51
+
52
+ ## [1.2.173] - 2022-04-28
53
+
54
+ ### Bug Fixes
55
+
56
+
57
+
8
58
  - **(es)** Remove wrong debug assertion (#4445) ([962cf4a](https://github.com/swc-project/swc/commit/962cf4a08caaee6dc0579aed556df55bc60bf093))
9
59
 
10
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.173",
3
+ "version": "1.2.174",
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.173",
125
- "@swc/core-darwin-x64": "1.2.173",
126
- "@swc/core-linux-x64-gnu": "1.2.173",
127
- "@swc/core-linux-x64-musl": "1.2.173",
128
- "@swc/core-freebsd-x64": "1.2.173",
129
- "@swc/core-win32-ia32-msvc": "1.2.173",
130
- "@swc/core-linux-arm64-gnu": "1.2.173",
131
- "@swc/core-linux-arm-gnueabihf": "1.2.173",
132
- "@swc/core-darwin-arm64": "1.2.173",
133
- "@swc/core-android-arm64": "1.2.173",
134
- "@swc/core-linux-arm64-musl": "1.2.173",
135
- "@swc/core-win32-arm64-msvc": "1.2.173",
136
- "@swc/core-android-arm-eabi": "1.2.173"
124
+ "@swc/core-win32-x64-msvc": "1.2.174",
125
+ "@swc/core-darwin-x64": "1.2.174",
126
+ "@swc/core-linux-x64-gnu": "1.2.174",
127
+ "@swc/core-linux-x64-musl": "1.2.174",
128
+ "@swc/core-freebsd-x64": "1.2.174",
129
+ "@swc/core-win32-ia32-msvc": "1.2.174",
130
+ "@swc/core-linux-arm64-gnu": "1.2.174",
131
+ "@swc/core-linux-arm-gnueabihf": "1.2.174",
132
+ "@swc/core-darwin-arm64": "1.2.174",
133
+ "@swc/core-android-arm64": "1.2.174",
134
+ "@swc/core-linux-arm64-musl": "1.2.174",
135
+ "@swc/core-win32-arm64-msvc": "1.2.174",
136
+ "@swc/core-android-arm-eabi": "1.2.174"
137
137
  }
138
138
  }