@swc/core 1.2.154 → 1.2.155
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.
- package/CHANGELOG.md +77 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,83 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(common)** Don't use `None` as source while generating source maps (#4007) ([0ad13d9](https://github.com/swc-project/swc/commit/0ad13d93f288e54f245b249920d74cfe13d1e969))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(css/codegen)** Fix source maps (#3997) ([ece8d96](https://github.com/swc-project/swc/commit/ece8d962f86a9adadf02b425288308a2a06851fb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es)** Merge `jsc.loose` and `jsc.assumptions` (#3990) ([3590ea2](https://github.com/swc-project/swc/commit/3590ea22779fa3ca57fc9eab55cd203f9fb23f29))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/resolver)** Use correct context for identifiers after type parameters (#4000) ([87a3c1c](https://github.com/swc-project/swc/commit/87a3c1c91673c2609e71eda12f969a1fd4e56294))
|
|
18
|
+
|
|
19
|
+
### Documentation
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(api/rust)** Add examples (#4002) ([dac84b9](https://github.com/swc-project/swc/commit/dac84b98e38bd546cb9c9df72e3ad8d08b9550d9))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(api/rust)** Add an example for generating code and sourcemap (#4005) ([f650ca6](https://github.com/swc-project/swc/commit/f650ca6bb91845558d66c975d7c01c235eaa4ab1))
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(common)** Implement a pretty error reporter (#3946) ([40b8a4e](https://github.com/swc-project/swc/commit/40b8a4e596f0df33a325c93b75e5abab1336be11))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(css/parser)** Improve error reporting (#3999) ([96d6f37](https://github.com/swc-project/swc/commit/96d6f37c204f4962d0850a4ee2e38652d4833fa3))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/minifier)** Implement more rules for `arrows` (#3992) ([64ca5ba](https://github.com/swc-project/swc/commit/64ca5bae4d87b0aed82776d74e6aa5e2a712a35f))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Compress more comparisons (#3996) ([a23af2d](https://github.com/swc-project/swc/commit/a23af2dea243a16a12ce09c778f6fd3d56da0382))
|
|
42
|
+
|
|
43
|
+
### Miscellaneous Tasks
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(ci)** Invoke `yarn` before publishing ([743a5da](https://github.com/swc-project/swc/commit/743a5da1e5e6a3c9b8c59694e4f3cf04fa89006d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/preset-env)** Track `.json` files to make cargo happy ([bd0fcb9](https://github.com/swc-project/swc/commit/bd0fcb9ea491f713ab3c0ed2b6035d3438446e8e))- **general**: Update linguist (#3991) ([0312292](https://github.com/swc-project/swc/commit/0312292410e3e001906241f5a2ab88839995376f))
|
|
51
|
+
|
|
52
|
+
### Performance
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/minifier)** Refactor base54 (#3989) ([04db7e2](https://github.com/swc-project/swc/commit/04db7e2a9be00248e005deb0a9113bcba0039e8f))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/minifier)** Use `Vec<u8>` as a buffer for `base54` (#3993) ([f7b212b](https://github.com/swc-project/swc/commit/f7b212bfc4fe9cdc89b77b5639be52a586c220e0))
|
|
60
|
+
|
|
61
|
+
### Testing
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(*)** Print diagnostics to stderr while testing (#4003) ([ee9a841](https://github.com/swc-project/swc/commit/ee9a841f33005c1ae287151952cf132a18b26de6))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(es)** Add an execution test system (#3994) ([b22d084](https://github.com/swc-project/swc/commit/b22d084180b77508f5e940045eb1b7bb9cd5c99b))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(es)** Add auto-closable tests (#3995) ([dabc492](https://github.com/swc-project/swc/commit/dabc4920a813ab395a96f9f8f90b3c50163063f9))
|
|
72
|
+
|
|
73
|
+
### Build
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- **(cargo)** Set workspace default members (#3978) ([560c81b](https://github.com/swc-project/swc/commit/560c81b120043b1edc20702a3ccfe3d3336c489a))
|
|
78
|
+
|
|
79
|
+
## [1.2.154] - 2022-03-12
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
8
85
|
- **(es)** Change error message as it can be misleading (#3982) ([48f2fd8](https://github.com/swc-project/swc/commit/48f2fd8e1b723e3dfa1d54c25aa9f3c391c5ee74))
|
|
9
86
|
|
|
10
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.155",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -108,18 +108,18 @@
|
|
|
108
108
|
"url": "https://opencollective.com/swc"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
112
|
-
"@swc/core-darwin-x64": "1.2.
|
|
113
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
114
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
115
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
116
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
117
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
118
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
119
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
120
|
-
"@swc/core-android-arm64": "1.2.
|
|
121
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
122
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
123
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
111
|
+
"@swc/core-win32-x64-msvc": "1.2.155",
|
|
112
|
+
"@swc/core-darwin-x64": "1.2.155",
|
|
113
|
+
"@swc/core-linux-x64-gnu": "1.2.155",
|
|
114
|
+
"@swc/core-linux-x64-musl": "1.2.155",
|
|
115
|
+
"@swc/core-freebsd-x64": "1.2.155",
|
|
116
|
+
"@swc/core-win32-ia32-msvc": "1.2.155",
|
|
117
|
+
"@swc/core-linux-arm64-gnu": "1.2.155",
|
|
118
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.155",
|
|
119
|
+
"@swc/core-darwin-arm64": "1.2.155",
|
|
120
|
+
"@swc/core-android-arm64": "1.2.155",
|
|
121
|
+
"@swc/core-linux-arm64-musl": "1.2.155",
|
|
122
|
+
"@swc/core-win32-arm64-msvc": "1.2.155",
|
|
123
|
+
"@swc/core-android-arm-eabi": "1.2.155"
|
|
124
124
|
}
|
|
125
125
|
}
|