@swc/core 1.2.157 → 1.2.160

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 +135 -0
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,141 @@
5
5
 
6
6
 
7
7
 
8
+ - **(common)** Fix the line number of errors (#4082) ([57802cf](https://github.com/swc-project/swc/commit/57802cfcce6293fb6c4591987c39c6141fdd9390))
9
+
10
+
11
+ - **(es/codegen)** Support multiline comments in return stmt (#4102) ([552f16d](https://github.com/swc-project/swc/commit/552f16dba6c91876529354f3f5e155a3360a74ea))
12
+
13
+
14
+ - **(es/codegen)** Emit decorators on class methods (#4103) ([9b64a69](https://github.com/swc-project/swc/commit/9b64a6960fc413d5aac000d0868d836d881ca895))
15
+
16
+
17
+ - **(es/codegen)** Fix codes related to sourcemap (#4106) ([61f1a37](https://github.com/swc-project/swc/commit/61f1a374928a0c0dd314fdbc4decdee421121abb))
18
+
19
+
20
+ - **(es/compat)** Visit non-method properties in a nested object literal (#4094) ([f5b9600](https://github.com/swc-project/swc/commit/f5b9600b2befe0053bec2d3e6210bf35dd824dfb))
21
+
22
+
23
+ - **(es/compat)** Fix regression of `es2015` (#4119) ([154d443](https://github.com/swc-project/swc/commit/154d443c88d7e08bd8a51da190a06a312976c6e2))
24
+
25
+
26
+ - **(es/minifier)** Consider side effects while lifting sequences (#4116) ([4a9817f](https://github.com/swc-project/swc/commit/4a9817f003d5ce053c0eeaa5cd47c46bd30548a1))
27
+
28
+
29
+ - **(es/parser)** Allow parentheses in assignment target (#4105) ([d38117d](https://github.com/swc-project/swc/commit/d38117d4cb6fb2819efc18dae843546018c39362))
30
+
31
+
32
+ - **(es/parser)** Make `let` a reserved word in strict mode (#4113) ([9a8fc27](https://github.com/swc-project/swc/commit/9a8fc2776e8bbd349a0a86eb558e2e96f33c0242))
33
+
34
+
35
+ - **(es/typescript)** Collect all bindings in `strip` (#4118) ([13b2f38](https://github.com/swc-project/swc/commit/13b2f38cdd9b11b5a4e021ef3340458071d4a926))
36
+
37
+ ### Features
38
+
39
+
40
+
41
+ - **(es/ast)** Add `raw` to `Str` (#4071) ([634d732](https://github.com/swc-project/swc/commit/634d7328030e44be0376019c156624e073d56fde))
42
+
43
+
44
+ - **(es/lints)** Implement `valid-typeof` rule (#4095) ([9ceefa7](https://github.com/swc-project/swc/commit/9ceefa734f1193cb7379404132ffd89417b4ed8f))
45
+
46
+
47
+ - **(es/lints)** Implement `use-isnan` rule (#4080) ([dd862ba](https://github.com/swc-project/swc/commit/dd862ba9f8c50242f0f508aecfe29aef3f6052f0))
48
+
49
+
50
+ - **(es/minifier)** Implement more evaluation rules (#4030) ([c6f8742](https://github.com/swc-project/swc/commit/c6f8742669a4161efec07e8c6fce493139e04cc5))
51
+
52
+ ### Miscellaneous Tasks
53
+
54
+
55
+
56
+ - **(issues)** Add some links ([69f16da](https://github.com/swc-project/swc/commit/69f16da7369c3c001d01a9581d1e574f28e460f4))
57
+
58
+
59
+ - **(issues)** Typo ([ea0bbc6](https://github.com/swc-project/swc/commit/ea0bbc6f5fb3cb728e0bfa93fabca0d49cebc95e))
60
+
61
+
62
+ - **(plugin/runner)** Update `wasmer-*` (#4111) ([f41a717](https://github.com/swc-project/swc/commit/f41a717c457d7ca3e9b5cd6a24ce0fa48040b6f4))- **general**: Typo ([3f78053](https://github.com/swc-project/swc/commit/3f78053227f2d286940e9b118f27aa9474b0c838))- **general**: Fix CI ([565a720](https://github.com/swc-project/swc/commit/565a7202eda1435498f7d98a1f9ec1b34d9fdf33))- **general**: Fix CI ([b31ead5](https://github.com/swc-project/swc/commit/b31ead5cbed61b201991cf55e227a6de52365a24))
63
+
64
+ ### Testing
65
+
66
+
67
+
68
+ - **(es/codegen)** Add a test for fixed issue (#4121) ([95c572f](https://github.com/swc-project/swc/commit/95c572f20710e4770a58d99d8028be1651099bb2))
69
+
70
+ ## [1.2.159] - 2022-03-19
71
+
72
+ ### Bug Fixes
73
+
74
+
75
+
76
+ - **(api/rust)** Exclude test files from rust packages (#4091) ([533f756](https://github.com/swc-project/swc/commit/533f75627405fbb05fcebf42a49105d019093ffe))
77
+
78
+
79
+ - **(common)** Fix handling of input source maps (#4086) ([b716210](https://github.com/swc-project/swc/commit/b716210de1495d11f45f74bdc3941826a9dd5d6a))
80
+
81
+
82
+ - **(es/compat)** Visit generated codes from `arrow` (#4090) ([cb0881c](https://github.com/swc-project/swc/commit/cb0881cc3dd4ea8fb880e7cbd9eb6a11031a8e9b))
83
+
84
+
85
+ - **(es/compat)** Revert wrong fix of `arrow` (#4093) ([0d6bd81](https://github.com/swc-project/swc/commit/0d6bd813b209155fcf45baa6f0195657ee383845))
86
+
87
+
88
+ - **(es/module/cjs)** Fix conflict of a local export and exports-alls (#4089) ([6ac7934](https://github.com/swc-project/swc/commit/6ac793401769028f7e18b642303de46592d39598))
89
+
90
+
91
+ - **(es/resolver)** Fix handling of decorators (#4084) ([f662298](https://github.com/swc-project/swc/commit/f66229822c2e44d35854cd9a1ecbdae82242a08c))
92
+
93
+ ### Features
94
+
95
+
96
+
97
+ - **(es/lints)** Implement `no-new-symbol` rule (#4076) ([b39e345](https://github.com/swc-project/swc/commit/b39e345d8e43c3e6c1491f7b75448e3b091d7b0d))
98
+
99
+
100
+ - **(es/module/cjs)** Support `import.meta.url` (#4087) ([d0f687b](https://github.com/swc-project/swc/commit/d0f687bf44862e737e189dc585e9f1b789291685))
101
+
102
+ ### Testing
103
+
104
+
105
+
106
+ - **(es/parser)** Add a test for a fixed issue (#4085) ([792ab2c](https://github.com/swc-project/swc/commit/792ab2ca251eadd5a85e496a35af31acada7cf9f))
107
+
108
+ ## [1.2.158] - 2022-03-18
109
+
110
+ ### Bug Fixes
111
+
112
+
113
+
114
+ - **(css/prefixer)** Reduce the number of vars in debug build (#4078) ([4af5e6d](https://github.com/swc-project/swc/commit/4af5e6d77bff7bf6bf247b18185b22754c3ceceb))
115
+
116
+
117
+ - **(es/helpers)** Fix decorator helper script (#4072) ([55cfad1](https://github.com/swc-project/swc/commit/55cfad152d52e7f818fc4e71913e94ce84ab91a2))
118
+
119
+
120
+ - **(es/modules)** Fix sourcemap, really (#4074) ([22d005e](https://github.com/swc-project/swc/commit/22d005e2246505ad01ee1aef0be714f98ff7b577))
121
+
122
+
123
+ - **(es/react)** Fix `_createElement` (#4070) ([bb08354](https://github.com/swc-project/swc/commit/bb08354950beb8155fbe27abcc391e43e1c15e2b))
124
+
125
+ ### Features
126
+
127
+
128
+
129
+ - **(es/modules)** Support namespaced reexports (#4073) ([9458f08](https://github.com/swc-project/swc/commit/9458f08092e544cf051a88001b195f8543035d1c))
130
+
131
+ ### Miscellaneous Tasks
132
+
133
+
134
+
135
+ - **(repo)** Auto-lock outdated issues and PRs (#4066) ([ed7a5e5](https://github.com/swc-project/swc/commit/ed7a5e54ccdf7f6835082286fa9892f0cf3ac270))
136
+
137
+ ## [1.2.157] - 2022-03-17
138
+
139
+ ### Bug Fixes
140
+
141
+
142
+
8
143
  - **(es/ast)** Revert removal of `definite` in `PrivateProp` (#4051) ([bbe8f3d](https://github.com/swc-project/swc/commit/bbe8f3d8fe0a5a62fa2624c5cbe46980ad6264ac))
9
144
 
10
145
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.157",
3
+ "version": "1.2.160",
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.157",
125
- "@swc/core-darwin-x64": "1.2.157",
126
- "@swc/core-linux-x64-gnu": "1.2.157",
127
- "@swc/core-linux-x64-musl": "1.2.157",
128
- "@swc/core-freebsd-x64": "1.2.157",
129
- "@swc/core-win32-ia32-msvc": "1.2.157",
130
- "@swc/core-linux-arm64-gnu": "1.2.157",
131
- "@swc/core-linux-arm-gnueabihf": "1.2.157",
132
- "@swc/core-darwin-arm64": "1.2.157",
133
- "@swc/core-android-arm64": "1.2.157",
134
- "@swc/core-linux-arm64-musl": "1.2.157",
135
- "@swc/core-win32-arm64-msvc": "1.2.157",
136
- "@swc/core-android-arm-eabi": "1.2.157"
124
+ "@swc/core-win32-x64-msvc": "1.2.160",
125
+ "@swc/core-darwin-x64": "1.2.160",
126
+ "@swc/core-linux-x64-gnu": "1.2.160",
127
+ "@swc/core-linux-x64-musl": "1.2.160",
128
+ "@swc/core-freebsd-x64": "1.2.160",
129
+ "@swc/core-win32-ia32-msvc": "1.2.160",
130
+ "@swc/core-linux-arm64-gnu": "1.2.160",
131
+ "@swc/core-linux-arm-gnueabihf": "1.2.160",
132
+ "@swc/core-darwin-arm64": "1.2.160",
133
+ "@swc/core-android-arm64": "1.2.160",
134
+ "@swc/core-linux-arm64-musl": "1.2.160",
135
+ "@swc/core-win32-arm64-msvc": "1.2.160",
136
+ "@swc/core-android-arm-eabi": "1.2.160"
137
137
  }
138
138
  }