@swc/core 1.3.76 → 1.3.78

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 +61 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,67 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/codegen)** Add quotes to property names when `ascii_only` is `true` (#7820) ([04921f3](https://github.com/swc-project/swc/commit/04921f301afbc2dc74bed4cb24e7656b60e54327))
9
+
10
+
11
+ - **(es/compat)** Remove wrong logic for object patterns in `object_rest` (#7788) ([3766a7c](https://github.com/swc-project/swc/commit/3766a7c776b63e159be3f11f5f931c5e5f968cdb))
12
+
13
+
14
+ - **(es/minifier)** Preserve `cooked` while compressing template literals (#7773) ([05990a9](https://github.com/swc-project/swc/commit/05990a98fd3f06a3c03bd1e795800acf22f16035))
15
+
16
+
17
+ - **(es/minifier)** Abort seq inliner if var is not fn_local or reassigned (#7804) ([f8ca366](https://github.com/swc-project/swc/commit/f8ca366cc179d2d83d35148c3600b8faa2e7f801))
18
+
19
+
20
+ - **(es/minifier)** Preserve more analysis data upon inlining (#7823) ([31de19e](https://github.com/swc-project/swc/commit/31de19ece22663623b1fc1fe48c90b7aa41e41e0))
21
+
22
+ ### Features
23
+
24
+
25
+
26
+ - **(es/module)** Improve error message about relative `jsc.baseUrl` (#7827) ([9099883](https://github.com/swc-project/swc/commit/9099883175c590106109670de01ab32b33303bfd))
27
+
28
+ ### Refactor
29
+
30
+
31
+
32
+ - **(common)** Make `ahash` optional (#7816) ([981d7b1](https://github.com/swc-project/swc/commit/981d7b152b2f488a67d42052152db22225f1d094))
33
+
34
+
35
+ - **(es/parser)** Remove needless `unsafe` (#7818) ([8b809db](https://github.com/swc-project/swc/commit/8b809dbe23cab3db2159979cf1852a69c109f1e0))- **general**: Use `ahash` from `swc_common` in more places (#7815) ([b43e38d](https://github.com/swc-project/swc/commit/b43e38d3f92bc889e263b741dbe173a6f2206d88))
36
+
37
+ ## [1.3.77] - 2023-08-16
38
+
39
+ ### Bug Fixes
40
+
41
+
42
+
43
+ - **(es)** Resolve `jsc.baseUrl` for `.swcrc` specified by `--config-file` (#7801) ([fe1ca26](https://github.com/swc-project/swc/commit/fe1ca26218493d2e7d4121433c365a37e13285e6))
44
+
45
+
46
+ - **(es/compat)** Revert #7610 (#7813) ([42dec55](https://github.com/swc-project/swc/commit/42dec557ed2e8fd829aba7847b354003cfea1b18))
47
+
48
+
49
+ - **(es/parser)** Revert lexer fix for `<<` (#7807) ([e527c12](https://github.com/swc-project/swc/commit/e527c12a82740397ed4e909f242326f8e92624a8))
50
+
51
+ ### Features
52
+
53
+
54
+
55
+ - **(es/ast)** Expose `Archived` types (#7811) ([478fa47](https://github.com/swc-project/swc/commit/478fa4736f355555c7a19e7b674db5d7bd81c0e2))
56
+
57
+ ### Refactor
58
+
59
+
60
+
61
+ - **(es/parser)** Don't attempt to handle shebangs in `read_token_number_sign` (#7803) ([5e7834a](https://github.com/swc-project/swc/commit/5e7834aa2ecb0cd01b72979f393a517f1c1e5add))
62
+
63
+ ## [1.3.76] - 2023-08-10
64
+
65
+ ### Bug Fixes
66
+
67
+
68
+
8
69
  - **(es/ast)** Bump version (#7793) ([13bedc0](https://github.com/swc-project/swc/commit/13bedc084e46db193b3fd0b7930046b2f013742b))
9
70
 
10
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.76",
3
+ "version": "1.3.78",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -96,7 +96,7 @@
96
96
  "@swc/plugin-jest": "latest",
97
97
  "@taplo/cli": "^0.3.2",
98
98
  "@types/jest": "^28.1.4",
99
- "@types/node": "^14.14.41",
99
+ "@types/node": "^20.5.0",
100
100
  "@types/terser": "^3.12.0",
101
101
  "acorn": "^8.6.0",
102
102
  "acorn-jsx": "^5.3.2",
@@ -145,16 +145,16 @@
145
145
  "url": "https://opencollective.com/swc"
146
146
  },
147
147
  "optionalDependencies": {
148
- "@swc/core-win32-x64-msvc": "1.3.76",
149
- "@swc/core-darwin-x64": "1.3.76",
150
- "@swc/core-linux-x64-gnu": "1.3.76",
151
- "@swc/core-linux-x64-musl": "1.3.76",
152
- "@swc/core-win32-ia32-msvc": "1.3.76",
153
- "@swc/core-linux-arm64-gnu": "1.3.76",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.76",
155
- "@swc/core-darwin-arm64": "1.3.76",
156
- "@swc/core-linux-arm64-musl": "1.3.76",
157
- "@swc/core-win32-arm64-msvc": "1.3.76"
148
+ "@swc/core-win32-x64-msvc": "1.3.78",
149
+ "@swc/core-darwin-x64": "1.3.78",
150
+ "@swc/core-linux-x64-gnu": "1.3.78",
151
+ "@swc/core-linux-x64-musl": "1.3.78",
152
+ "@swc/core-win32-ia32-msvc": "1.3.78",
153
+ "@swc/core-linux-arm64-gnu": "1.3.78",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.78",
155
+ "@swc/core-darwin-arm64": "1.3.78",
156
+ "@swc/core-linux-arm64-musl": "1.3.78",
157
+ "@swc/core-win32-arm64-msvc": "1.3.78"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",