@swc/core 1.2.138 → 1.2.139

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 (3) hide show
  1. package/.kodiak.toml +1 -0
  2. package/CHANGELOG.md +128 -0
  3. package/package.json +14 -14
package/.kodiak.toml CHANGED
@@ -8,6 +8,7 @@ do_not_merge = true
8
8
 
9
9
  [update]
10
10
  autoupdate_label = "S-approved"
11
+ require_automerge_label = false
11
12
 
12
13
  # I want to use auto-merge feature of github
13
14
  [approve]
package/CHANGELOG.md CHANGED
@@ -5,6 +5,134 @@
5
5
 
6
6
 
7
7
 
8
+ - **(cli)** Update the plugin template for pinned dependencies (#3538) ([05cf2e9](https://github.com/swc-project/swc/commit/05cf2e92e690c72ca6d49fee1dd33c9e776ba304))
9
+
10
+
11
+ - **(css/ast)** Use `SimpleBlock` in more types (#3535) ([cfb2248](https://github.com/swc-project/swc/commit/cfb2248a2e7bf19d3bafb345c5c227d4615ee197))
12
+
13
+
14
+ - **(es/modules)** Use correct `StrKind` after rewriting import path (#3489) ([ff6eb27](https://github.com/swc-project/swc/commit/ff6eb272a00f0c11c9e916eb898e1b309bcb686c))
15
+
16
+
17
+ - **(es/modules)** Hoist named exports (#3479) ([fa0216d](https://github.com/swc-project/swc/commit/fa0216d908118ba008f4be2505590bbb09b7be46))
18
+
19
+
20
+ - **(node/helpers)** Fix `isNativeReflectConstruct` (#3530) ([d14d3eb](https://github.com/swc-project/swc/commit/d14d3ebbc8f24a6bed61ce9e534ab06b32c08e34))
21
+
22
+
23
+ - **(plugin)** Allow testing (#3542) ([fbe9196](https://github.com/swc-project/swc/commit/fbe91963bfb80976eebadc9f0e94e080ed81d624))
24
+
25
+ ### Documentation
26
+
27
+
28
+
29
+ - **(plugin)** Fix install command (#3541) ([72b3197](https://github.com/swc-project/swc/commit/72b31977e49417cf9e4c95ad1365e2e212cac4d4))
30
+
31
+ ### Features
32
+
33
+
34
+
35
+ - **(cli)** Add a command for scaffolding a new plugin (#3536) ([6ed089e](https://github.com/swc-project/swc/commit/6ed089e1cff8d1e3edbe67cfe5945e3ff121f5d2))
36
+
37
+
38
+ - **(css)** Support urange syntax (#3491) ([cbe302b](https://github.com/swc-project/swc/commit/cbe302b99d762a72d8522196cc05159791515e49))
39
+
40
+
41
+ - **(css/minifier)** Implement more rules (#3522) ([69cfe39](https://github.com/swc-project/swc/commit/69cfe395c7cc0de8ea5eb4bdf605f5c56b7cf69b))
42
+
43
+
44
+ - **(css/parser)** Improve error recovery (#3486) ([48e5b90](https://github.com/swc-project/swc/commit/48e5b903e2b82e8fc741d125662bbac825d5b0d0))
45
+
46
+
47
+ - **(css/parser)** Implement more parser logic for nth selectors (#3532) ([fcbc2ff](https://github.com/swc-project/swc/commit/fcbc2ff03f9eebbb5fed95dd082504a6b1a49af9))
48
+
49
+
50
+ - **(css/parser)** Implement more error recovery (#3534) ([547eba5](https://github.com/swc-project/swc/commit/547eba5e31745877be425ad14722adf6134caca7))
51
+
52
+
53
+ - **(es/lints)** Implement `dot-notation` rule (#3481) ([5bb6bd7](https://github.com/swc-project/swc/commit/5bb6bd71b6aa5dbdde62842c34e9ef6742968650))
54
+
55
+
56
+ - **(es/lints)** Implement `no-use-before-define` rule (#3456) ([205b76e](https://github.com/swc-project/swc/commit/205b76e78d238de3a5cb8ab64aa5c61799b77bd2))
57
+
58
+
59
+ - **(es/minifier)** Implement `reserved` mangle option (#3476) ([5488159](https://github.com/swc-project/swc/commit/5488159ba5dd124878ebdc50c390a51ab3b07f16))
60
+
61
+
62
+ - **(es/minifier)** Drop useless assignments (#3528) ([a7f0e84](https://github.com/swc-project/swc/commit/a7f0e84bbf986df0afc39f18ea7553f4a8c445f1))
63
+
64
+
65
+ - **(plugin)** Implement proxy for `Mark` and `SyntaxContext` (#3511) ([bc25026](https://github.com/swc-project/swc/commit/bc250262f2af38086eeed59e4d42d14ff44d5b83))
66
+
67
+
68
+ - **(swc/plugin)** Implement proxy for `Mark::fresh` (#3492) ([494b4c8](https://github.com/swc-project/swc/commit/494b4c8203514dd9f21b2bc3804ba8c44d46a4a1))
69
+
70
+ ### Miscellaneous Tasks
71
+
72
+
73
+
74
+ - **(build)** Disable LTO for local builds (#3514) ([80ed69d](https://github.com/swc-project/swc/commit/80ed69d67dfae44986c19c04ddff758fee98f8ff))
75
+
76
+
77
+ - **(build)** Remove version pinning of `parking_lot_core` (#3537) ([a4d914d](https://github.com/swc-project/swc/commit/a4d914dab5a4263a9f2ac396decd11b64dfc0714))
78
+
79
+
80
+ - **(crates)** Use bot account for publishing commits ([c10cbc4](https://github.com/swc-project/swc/commit/c10cbc4ecaaca8f5795de70c8bcf7feee455aaa4))
81
+
82
+
83
+ - **(crates)** Use bot account for commiitter ([edc46cc](https://github.com/swc-project/swc/commit/edc46ccf939f8fd3ac49300085daf3b42d4ce841))
84
+
85
+ ### Performance
86
+
87
+
88
+
89
+ - **(es/minifier)** Remove useless operations like eager call to `.span()` (#3512) ([8dab3d9](https://github.com/swc-project/swc/commit/8dab3d92b178b3ee1e1cb6a7288ce33b91793145))
90
+
91
+ ### Refactor
92
+
93
+
94
+
95
+ - **(common)** Cleanup & rustfmt (#3495) ([9b76783](https://github.com/swc-project/swc/commit/9b76783281af7c6b92e8185b44ebefae41648d3f))
96
+
97
+
98
+ - **(css/ast)** Rename types to match specification (#3484) ([460f846](https://github.com/swc-project/swc/commit/460f84693414c58d4aa116f9d4e630b1e32bffa4))
99
+
100
+
101
+ - **(css/ast)** Remove `Tokens` in favor of `Vec<TokenAndSpan>` (#3507) ([92a3cb9](https://github.com/swc-project/swc/commit/92a3cb9609b68e73a6a1f439186f09c15da8d570))
102
+
103
+
104
+ - **(css/ast)** Unify `SimpleBlock` and `Block` (#3519) ([57f6a58](https://github.com/swc-project/swc/commit/57f6a581fa730ae6763dc9db712514d1a72c764e))
105
+
106
+
107
+ - **(css/ast)** Unify `SimpleBlock` and `Block` completely (#3531) ([37c49e8](https://github.com/swc-project/swc/commit/37c49e876c123f4ee98a0499729998b3793037b2))
108
+
109
+
110
+ - **(css/parser)** Refactor codes related to simple blocks (#3506) ([4e124c7](https://github.com/swc-project/swc/commit/4e124c7bca85d70b6e4836038ea1aaa25b9ea663))
111
+
112
+
113
+ - **(css/parser)** Refactor code for error recovery (#3508) ([2d997b3](https://github.com/swc-project/swc/commit/2d997b38066ff01e2e84284ae3a1f79f8df8bb6b))
114
+
115
+ ### Testing
116
+
117
+
118
+
119
+ - **(css/codegen)** Add tests for multiple keyframe selectors (#3509) ([ebd71d5](https://github.com/swc-project/swc/commit/ebd71d565d0ac29d38cda195085be78dfdf3eaf0))
120
+
121
+
122
+ - **(css/parser)** Add tests from `postcss` (#3488) ([04782ae](https://github.com/swc-project/swc/commit/04782ae9f73193ec6cd15f7e7059c97143289169))
123
+
124
+
125
+ - **(css/parser)** Add some tests from `postcss` (#3501) ([8b438ea](https://github.com/swc-project/swc/commit/8b438ea024661f344cb4af1160c3102a5d880ae6))
126
+
127
+
128
+ - **(es/minifier)** Add snapshot testing for the analyzer (#3529) ([73e9185](https://github.com/swc-project/swc/commit/73e9185bbafa45f00d9222a9ad8a34229e079130))
129
+
130
+ ## [1.2.138] - 2022-02-08
131
+
132
+ ### Bug Fixes
133
+
134
+
135
+
8
136
  - **(es/minifier)** Make `sequences` less aggressive (#3480) ([292add7](https://github.com/swc-project/swc/commit/292add7d26a079a1da09ff94444124faea8e39fc))
9
137
 
10
138
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.138",
3
+ "version": "1.2.139",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -49,19 +49,19 @@
49
49
  },
50
50
  "dependencies": {},
51
51
  "optionalDependencies": {
52
- "@swc/core-win32-x64-msvc": "1.2.138",
53
- "@swc/core-darwin-x64": "1.2.138",
54
- "@swc/core-linux-x64-gnu": "1.2.138",
55
- "@swc/core-linux-x64-musl": "1.2.138",
56
- "@swc/core-freebsd-x64": "1.2.138",
57
- "@swc/core-win32-ia32-msvc": "1.2.138",
58
- "@swc/core-linux-arm64-gnu": "1.2.138",
59
- "@swc/core-linux-arm-gnueabihf": "1.2.138",
60
- "@swc/core-darwin-arm64": "1.2.138",
61
- "@swc/core-android-arm64": "1.2.138",
62
- "@swc/core-linux-arm64-musl": "1.2.138",
63
- "@swc/core-win32-arm64-msvc": "1.2.138",
64
- "@swc/core-android-arm-eabi": "1.2.138"
52
+ "@swc/core-win32-x64-msvc": "1.2.139",
53
+ "@swc/core-darwin-x64": "1.2.139",
54
+ "@swc/core-linux-x64-gnu": "1.2.139",
55
+ "@swc/core-linux-x64-musl": "1.2.139",
56
+ "@swc/core-freebsd-x64": "1.2.139",
57
+ "@swc/core-win32-ia32-msvc": "1.2.139",
58
+ "@swc/core-linux-arm64-gnu": "1.2.139",
59
+ "@swc/core-linux-arm-gnueabihf": "1.2.139",
60
+ "@swc/core-darwin-arm64": "1.2.139",
61
+ "@swc/core-android-arm64": "1.2.139",
62
+ "@swc/core-linux-arm64-musl": "1.2.139",
63
+ "@swc/core-win32-arm64-msvc": "1.2.139",
64
+ "@swc/core-android-arm-eabi": "1.2.139"
65
65
  },
66
66
  "types": "./index.d.ts",
67
67
  "scripts": {