@swc/core 1.3.26 → 1.3.27

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 +59 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,65 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/codegen)** Skip space if jsx attrs is empty (#6823) ([e9fdac2](https://github.com/swc-project/swc/commit/e9fdac216c0a578f266a7a16000e2675d722068c))
9
+
10
+
11
+ - **(es/compat)** Ignore `this` in nested scopes in `classes` pass (#6796) ([07676d5](https://github.com/swc-project/swc/commit/07676d5515321c50206b3f0ea9f1473b6b2c3192))
12
+
13
+
14
+ - **(es/plugin)** Fix starter template (#6815) ([38fb70c](https://github.com/swc-project/swc/commit/38fb70c237f122a8d8f8fdf187bd341326e39f22))
15
+
16
+
17
+ - **(es/renamer)** Handle rest params correctly (#6821) ([ebce18b](https://github.com/swc-project/swc/commit/ebce18b221c50dedba9e3a4078148473822be949))
18
+
19
+
20
+ - **(es/transform)** Apply `hygiene` and `resolver` if minify is specified (#6793) ([c145409](https://github.com/swc-project/swc/commit/c14540905f81e1c1677e7c9d723e71b1b6a9740b))
21
+
22
+ ### Features
23
+
24
+
25
+
26
+ - **(css/parser)** Normalize at-rules (#6705) ([43e7519](https://github.com/swc-project/swc/commit/43e75194e546997d6524bbfb7f0a7ff531bb443f))
27
+
28
+
29
+ - **(es/ast)** Add `EsNext` to `EsVersion` (#6816) ([ff78b8f](https://github.com/swc-project/swc/commit/ff78b8f7e077bad599f9b740ca4e831f835a347b))
30
+
31
+
32
+ - **(es/helper)** Use `require` to load polyfills and helpers in Script (#6778) ([ad8d043](https://github.com/swc-project/swc/commit/ad8d043f1d75b2df5a5e2fe43fba1ec843d2fad4))
33
+
34
+
35
+ - **(es/minifier)** Remove noop spreads (#6803) ([8f683e3](https://github.com/swc-project/swc/commit/8f683e3f77fe9f4fd84a5bf64c067ae9526fb330))
36
+
37
+
38
+ - **(es/quote)** Allow using `Str` as a var (#6797) ([224eff9](https://github.com/swc-project/swc/commit/224eff91eb06808e2c79bb4fbe06ccf46121758f))
39
+
40
+
41
+ - **(es/renamer)** Support `safari10` from the name mangler (#6801) ([631dd78](https://github.com/swc-project/swc/commit/631dd7872b78b8698bb4923c1e81a9a8770c1fea))
42
+
43
+
44
+ - **(es/renamer)** Rename synthesized identifiers even on `eval` (#6818) ([82bd5c2](https://github.com/swc-project/swc/commit/82bd5c2041ba95f6d0260e03c446496b7eb37cb4))
45
+
46
+ ### Testing
47
+
48
+
49
+
50
+ - **(es)** Enable execution tests for fixed issues (#6805) ([e7ea054](https://github.com/swc-project/swc/commit/e7ea054c6389b43b0e7b104e9337e11a82bb23f7))
51
+
52
+
53
+ - **(es/compat)** Add a test to verify parameters passs (#6792) ([7dc5ccb](https://github.com/swc-project/swc/commit/7dc5ccb0fc217abdb7ab4e76ac7f646c5087b3a8))
54
+
55
+
56
+ - **(es/minifier)** Add a test for an invalid issue (#6802) ([a299fd0](https://github.com/swc-project/swc/commit/a299fd04180c77a97817d9e817b247efa1973e06))
57
+
58
+
59
+ - **(es/preset-env)** Add a test for a wrong issue (#6794) ([b29aa5b](https://github.com/swc-project/swc/commit/b29aa5b5a0d4f78795eaf3784c84a18ba1b88bfa))
60
+
61
+ ## [1.3.26] - 2023-01-11
62
+
63
+ ### Bug Fixes
64
+
65
+
66
+
8
67
  - **(common)** Mark `\r` as a line ending (#6752) ([26a0c13](https://github.com/swc-project/swc/commit/26a0c135896098e1e1a8fbb99a623311828af5b2))
9
68
 
10
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.26",
3
+ "version": "1.3.27",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -138,16 +138,16 @@
138
138
  "url": "https://opencollective.com/swc"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@swc/core-win32-x64-msvc": "1.3.26",
142
- "@swc/core-darwin-x64": "1.3.26",
143
- "@swc/core-linux-x64-gnu": "1.3.26",
144
- "@swc/core-linux-x64-musl": "1.3.26",
145
- "@swc/core-win32-ia32-msvc": "1.3.26",
146
- "@swc/core-linux-arm64-gnu": "1.3.26",
147
- "@swc/core-linux-arm-gnueabihf": "1.3.26",
148
- "@swc/core-darwin-arm64": "1.3.26",
149
- "@swc/core-linux-arm64-musl": "1.3.26",
150
- "@swc/core-win32-arm64-msvc": "1.3.26"
141
+ "@swc/core-win32-x64-msvc": "1.3.27",
142
+ "@swc/core-darwin-x64": "1.3.27",
143
+ "@swc/core-linux-x64-gnu": "1.3.27",
144
+ "@swc/core-linux-x64-musl": "1.3.27",
145
+ "@swc/core-win32-ia32-msvc": "1.3.27",
146
+ "@swc/core-linux-arm64-gnu": "1.3.27",
147
+ "@swc/core-linux-arm-gnueabihf": "1.3.27",
148
+ "@swc/core-darwin-arm64": "1.3.27",
149
+ "@swc/core-linux-arm64-musl": "1.3.27",
150
+ "@swc/core-win32-arm64-msvc": "1.3.27"
151
151
  },
152
152
  "files": [
153
153
  "CHANGELOG.md",