@swc/core 1.2.120 → 1.2.121

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 CHANGED
@@ -5,6 +5,65 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/compat)** Fix `block_scoping` (#3058) ([a381fb8](https://github.com/swc-project/swc/commit/a381fb8bce0ed82e7b0a201bb175acb13ce90205))
9
+
10
+
11
+ - **(es/compat)** Transform an optional eval call as an indirect eval call (#3068) ([ff1aab7](https://github.com/swc-project/swc/commit/ff1aab710c3593ca127032b41b419ecc1a4038d5))
12
+
13
+
14
+ - **(es/lexer)** Don't report lexer errors while backtracking (#3051) ([61e9b5f](https://github.com/swc-project/swc/commit/61e9b5f84115ded8c5361e6674d10e5826fd1635))
15
+
16
+
17
+ - **(es/lexer)** Fix lexing of numbers with large exponent (#3061) ([0c813ae](https://github.com/swc-project/swc/commit/0c813ae4530b34b4203ae844b470786c0305d268))
18
+
19
+
20
+ - **(es/loader)** Support fully-specified ESM import specifiers (#3050) ([d5c7fb8](https://github.com/swc-project/swc/commit/d5c7fb898fd0f92c51e04b09e8a77098dbd098ac))
21
+
22
+
23
+ - **(es/parser)** Allow assignment assertions in typescript classes (#3047) ([23a59db](https://github.com/swc-project/swc/commit/23a59db9bbbeee2ec8ccd3cdfe681e704480f97a))
24
+
25
+
26
+ - **(webpack/ast)** Fix `webpackAST` (#3040) ([15ea98b](https://github.com/swc-project/swc/commit/15ea98bf65c9993f07e226b1490bd31e81f09663))
27
+
28
+
29
+ - **(webpack/ast)** Handle typescript (#3045) ([24179bd](https://github.com/swc-project/swc/commit/24179bd9beeb8ac519186db4a71a6919852afa43))
30
+
31
+
32
+ - **(webpack/ast)** Expose fields of `AstOutput` (#3046) ([0892018](https://github.com/swc-project/swc/commit/08920189ba62cee4f836a417bffcef014e97becb))
33
+
34
+ ### Features
35
+
36
+
37
+
38
+ - **(es/parser)** Report an error for `export type * from "mod";` (#3064) ([f1a2832](https://github.com/swc-project/swc/commit/f1a28329cbfa6cdda275ca16615c82472bda5121))
39
+
40
+ ### Miscellaneous Tasks
41
+
42
+
43
+
44
+ - **(crates)** Use interactive bump ([276d74f](https://github.com/swc-project/swc/commit/276d74f2e9b508cd96e53c6798f28a7bb47afaed))
45
+
46
+ ### Performance
47
+
48
+
49
+
50
+ - **(es/compat)** Migrate `regenerator` to `VisitMut` (#3037) ([29eb71a](https://github.com/swc-project/swc/commit/29eb71aaf9b1154aba1a28c408aaa1a2bd7a8ec7))
51
+
52
+
53
+ - **(es/parser)** Improve performance (#3059) ([b4d95b4](https://github.com/swc-project/swc/commit/b4d95b44a7465941e58ec66a13c800e00409b188))
54
+
55
+ ### Refactor
56
+
57
+
58
+
59
+ - **(es/ast)** Change type or the `key` of `ClassProp` to `PropName` (#3038) ([38955c0](https://github.com/swc-project/swc/commit/38955c0c8d687866755e0d594871da449faf1da1))
60
+
61
+ ## [1.2.120] - 2021-12-13
62
+
63
+ ### Bug Fixes
64
+
65
+
66
+
8
67
  - **(css/parser)** Fix lexing of value starting with `-` (#3011) ([e0c8bbf](https://github.com/swc-project/swc/commit/e0c8bbf7a0b24f3fe36f04886346a4709b5e09d9))
9
68
 
10
69
 
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.120",
3
+ "version": "1.2.121",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -50,18 +50,18 @@
50
50
  "@node-rs/helper": "^1.0.0"
51
51
  },
52
52
  "optionalDependencies": {
53
- "@swc/core-win32-x64-msvc": "^1.2.120",
54
- "@swc/core-darwin-x64": "^1.2.120",
55
- "@swc/core-linux-x64-gnu": "^1.2.120",
56
- "@swc/core-linux-x64-musl": "^1.2.120",
57
- "@swc/core-freebsd-x64": "^1.2.120",
58
- "@swc/core-win32-ia32-msvc": "^1.2.120",
59
- "@swc/core-linux-arm64-gnu": "^1.2.120",
60
- "@swc/core-linux-arm-gnueabihf": "^1.2.120",
61
- "@swc/core-darwin-arm64": "^1.2.120",
62
- "@swc/core-android-arm64": "^1.2.120",
63
- "@swc/core-linux-arm64-musl": "^1.2.120",
64
- "@swc/core-win32-arm64-msvc": "^1.2.120"
53
+ "@swc/core-win32-x64-msvc": "^1.2.121",
54
+ "@swc/core-darwin-x64": "^1.2.121",
55
+ "@swc/core-linux-x64-gnu": "^1.2.121",
56
+ "@swc/core-linux-x64-musl": "^1.2.121",
57
+ "@swc/core-freebsd-x64": "^1.2.121",
58
+ "@swc/core-win32-ia32-msvc": "^1.2.121",
59
+ "@swc/core-linux-arm64-gnu": "^1.2.121",
60
+ "@swc/core-linux-arm-gnueabihf": "^1.2.121",
61
+ "@swc/core-darwin-arm64": "^1.2.121",
62
+ "@swc/core-android-arm64": "^1.2.121",
63
+ "@swc/core-linux-arm64-musl": "^1.2.121",
64
+ "@swc/core-win32-arm64-msvc": "^1.2.121"
65
65
  },
66
66
  "types": "./index.d.ts",
67
67
  "scripts": {
package/LICENSE-MIT DELETED
@@ -1,25 +0,0 @@
1
- Copyright (c) 2017 The swc Project Developers
2
-
3
- Permission is hereby granted, free of charge, to any
4
- person obtaining a copy of this software and associated
5
- documentation files (the "Software"), to deal in the
6
- Software without restriction, including without
7
- limitation the rights to use, copy, modify, merge,
8
- publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software
10
- is furnished to do so, subject to the following
11
- conditions:
12
-
13
- The above copyright notice and this permission notice
14
- shall be included in all copies or substantial portions
15
- of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
- DEALINGS IN THE SOFTWARE.