chore(deps): update dependency oxc-parser to v0.73.2 (#17611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
1 parent
c428b21bb3
commit
5314d8fdb9
5 files changed
+116
-93
No files matched your search
+1
-1
@@ -82,7 +82,7 @@
|
||||
"minimist": "1.2.8",
|
||||
"n-readlines": "1.0.1",
|
||||
"outdent": "0.8.0",
|
||||
"oxc-parser": "0.73.0",
|
||||
"oxc-parser": "0.73.2",
|
||||
"parse-json": "8.3.0",
|
||||
"picocolors": "1.1.1",
|
||||
"please-upgrade-node": "3.2.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||
|
||||
exports[`11662.ts format 1`] = `
|
||||
====================================options=====================================
|
||||
@@ -1189,6 +1189,17 @@ type Props3 = {
|
||||
================================================================================
|
||||
`;
|
||||
|
||||
exports[`type-parameters.ts [oxc-ts] format 1`] = `
|
||||
"Type parameter list cannot be empty. (4:13)
|
||||
2 | const a: T</* comment */> = 1;
|
||||
3 | functionName</* comment */>();
|
||||
> 4 | function foo</* comment */>() {}
|
||||
| ^^^^^^^^^^^^^^^
|
||||
5 | interface Foo {
|
||||
6 | </* comment */>(arg): any;
|
||||
7 | }"
|
||||
`;
|
||||
|
||||
exports[`type-parameters.ts format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
runFormatTest(import.meta, ["typescript"]);
|
||||
runFormatTest(import.meta, ["typescript"], {
|
||||
errors: { "oxc-ts": ["type-parameters.ts"] },
|
||||
});
|
||||
@@ -1,25 +1,25 @@
|
||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||
|
||||
exports[`generic.ts [oxc-ts] format 1`] = `
|
||||
"Type parameters cannot appear on a constructor declaration (8:16)
|
||||
6 |
|
||||
7 | class f4 {
|
||||
> 8 | constructor<>() {}
|
||||
| ^^
|
||||
9 | }
|
||||
10 |
|
||||
11 | const f5 = function<>() {}"
|
||||
"Type parameter list cannot be empty. (5:12)
|
||||
3 | new f2<>();
|
||||
4 |
|
||||
> 5 | function f3<>() {}
|
||||
| ^^
|
||||
6 |
|
||||
7 | class f4 {
|
||||
8 | constructor<>() {}"
|
||||
`;
|
||||
|
||||
exports[`generic.ts - {"trailingComma":"all"} [oxc-ts] format 1`] = `
|
||||
"Type parameters cannot appear on a constructor declaration (8:16)
|
||||
6 |
|
||||
7 | class f4 {
|
||||
> 8 | constructor<>() {}
|
||||
| ^^
|
||||
9 | }
|
||||
10 |
|
||||
11 | const f5 = function<>() {}"
|
||||
"Type parameter list cannot be empty. (5:12)
|
||||
3 | new f2<>();
|
||||
4 |
|
||||
> 5 | function f3<>() {}
|
||||
| ^^
|
||||
6 |
|
||||
7 | class f4 {
|
||||
8 | constructor<>() {}"
|
||||
`;
|
||||
|
||||
exports[`generic.ts - {"trailingComma":"all"} format 1`] = `
|
||||
@@ -74,14 +74,14 @@ class f7<> {
|
||||
`;
|
||||
|
||||
exports[`generic.ts - {"trailingComma":"es5"} [oxc-ts] format 1`] = `
|
||||
"Type parameters cannot appear on a constructor declaration (8:16)
|
||||
6 |
|
||||
7 | class f4 {
|
||||
> 8 | constructor<>() {}
|
||||
| ^^
|
||||
9 | }
|
||||
10 |
|
||||
11 | const f5 = function<>() {}"
|
||||
"Type parameter list cannot be empty. (5:12)
|
||||
3 | new f2<>();
|
||||
4 |
|
||||
> 5 | function f3<>() {}
|
||||
| ^^
|
||||
6 |
|
||||
7 | class f4 {
|
||||
8 | constructor<>() {}"
|
||||
`;
|
||||
|
||||
exports[`generic.ts - {"trailingComma":"es5"} format 1`] = `
|
||||
|
||||
@@ -1990,110 +1990,117 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-darwin-arm64@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-darwin-arm64@npm:0.73.0"
|
||||
"@oxc-parser/binding-android-arm64@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-android-arm64@npm:0.73.2"
|
||||
conditions: os=android & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-darwin-arm64@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-darwin-arm64@npm:0.73.2"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-darwin-x64@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-darwin-x64@npm:0.73.0"
|
||||
"@oxc-parser/binding-darwin-x64@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-darwin-x64@npm:0.73.2"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-freebsd-x64@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-freebsd-x64@npm:0.73.0"
|
||||
"@oxc-parser/binding-freebsd-x64@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-freebsd-x64@npm:0.73.2"
|
||||
conditions: os=freebsd & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-arm-gnueabihf@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-arm-gnueabihf@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm-gnueabihf@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-arm-gnueabihf@npm:0.73.2"
|
||||
conditions: os=linux & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-arm-musleabihf@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-arm-musleabihf@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm-musleabihf@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-arm-musleabihf@npm:0.73.2"
|
||||
conditions: os=linux & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-arm64-gnu@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-arm64-gnu@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm64-gnu@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-arm64-gnu@npm:0.73.2"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-arm64-musl@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-arm64-musl@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm64-musl@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-arm64-musl@npm:0.73.2"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-riscv64-gnu@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-riscv64-gnu@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-riscv64-gnu@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-riscv64-gnu@npm:0.73.2"
|
||||
conditions: os=linux & cpu=riscv64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-s390x-gnu@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-s390x-gnu@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-s390x-gnu@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-s390x-gnu@npm:0.73.2"
|
||||
conditions: os=linux & cpu=s390x & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-x64-gnu@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-x64-gnu@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-x64-gnu@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-x64-gnu@npm:0.73.2"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-linux-x64-musl@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-linux-x64-musl@npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-x64-musl@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-linux-x64-musl@npm:0.73.2"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-wasm32-wasi@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-wasm32-wasi@npm:0.73.0"
|
||||
"@oxc-parser/binding-wasm32-wasi@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-wasm32-wasi@npm:0.73.2"
|
||||
dependencies:
|
||||
"@napi-rs/wasm-runtime": "npm:^0.2.11"
|
||||
conditions: cpu=wasm32
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-win32-arm64-msvc@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-win32-arm64-msvc@npm:0.73.0"
|
||||
"@oxc-parser/binding-win32-arm64-msvc@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-win32-arm64-msvc@npm:0.73.2"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-parser/binding-win32-x64-msvc@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-parser/binding-win32-x64-msvc@npm:0.73.0"
|
||||
"@oxc-parser/binding-win32-x64-msvc@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-parser/binding-win32-x64-msvc@npm:0.73.2"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxc-project/types@npm:^0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "@oxc-project/types@npm:0.73.0"
|
||||
checksum: 10/4894411c018526fe3dde9ad4fc0a5a2925b25b1f456e23ec71bcb4e3b11e612791756b08808179b61f6519119e67a4c7e0ef93d2b2b3701c266e50b4460f0466
|
||||
"@oxc-project/types@npm:^0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "@oxc-project/types@npm:0.73.2"
|
||||
checksum: 10/765fcfa2ae3622918f08943ce8bb14565e6f7b180cc40d793c00868a0a0f21de8345c3b0550bd9342ccaa44f5a59110d337028b2a87ae19fe77b2cea624bea2c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -6919,26 +6926,29 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"oxc-parser@npm:0.73.0":
|
||||
version: 0.73.0
|
||||
resolution: "oxc-parser@npm:0.73.0"
|
||||
"oxc-parser@npm:0.73.2":
|
||||
version: 0.73.2
|
||||
resolution: "oxc-parser@npm:0.73.2"
|
||||
dependencies:
|
||||
"@oxc-parser/binding-darwin-arm64": "npm:0.73.0"
|
||||
"@oxc-parser/binding-darwin-x64": "npm:0.73.0"
|
||||
"@oxc-parser/binding-freebsd-x64": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm-gnueabihf": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm-musleabihf": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm64-gnu": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-arm64-musl": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-riscv64-gnu": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-s390x-gnu": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-x64-gnu": "npm:0.73.0"
|
||||
"@oxc-parser/binding-linux-x64-musl": "npm:0.73.0"
|
||||
"@oxc-parser/binding-wasm32-wasi": "npm:0.73.0"
|
||||
"@oxc-parser/binding-win32-arm64-msvc": "npm:0.73.0"
|
||||
"@oxc-parser/binding-win32-x64-msvc": "npm:0.73.0"
|
||||
"@oxc-project/types": "npm:^0.73.0"
|
||||
"@oxc-parser/binding-android-arm64": "npm:0.73.2"
|
||||
"@oxc-parser/binding-darwin-arm64": "npm:0.73.2"
|
||||
"@oxc-parser/binding-darwin-x64": "npm:0.73.2"
|
||||
"@oxc-parser/binding-freebsd-x64": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-arm-gnueabihf": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-arm-musleabihf": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-arm64-gnu": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-arm64-musl": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-riscv64-gnu": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-s390x-gnu": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-x64-gnu": "npm:0.73.2"
|
||||
"@oxc-parser/binding-linux-x64-musl": "npm:0.73.2"
|
||||
"@oxc-parser/binding-wasm32-wasi": "npm:0.73.2"
|
||||
"@oxc-parser/binding-win32-arm64-msvc": "npm:0.73.2"
|
||||
"@oxc-parser/binding-win32-x64-msvc": "npm:0.73.2"
|
||||
"@oxc-project/types": "npm:^0.73.2"
|
||||
dependenciesMeta:
|
||||
"@oxc-parser/binding-android-arm64":
|
||||
optional: true
|
||||
"@oxc-parser/binding-darwin-arm64":
|
||||
optional: true
|
||||
"@oxc-parser/binding-darwin-x64":
|
||||
@@ -6967,7 +6977,7 @@ __metadata:
|
||||
optional: true
|
||||
"@oxc-parser/binding-win32-x64-msvc":
|
||||
optional: true
|
||||
checksum: 10/f00d66c0c2b477902d2fbdcf031f5d91c6f87ddb6f2ffaf1efeac071292ae32bf291692c8b3161795a1f06e60be3e23326846e52306d922200d57c88b9894255
|
||||
checksum: 10/389dbeb64e80bc5101222fc33de564cd1c430d3365a8c46a646baf6cc4e3289ac95d6240fb33b77238980cdb07f7116909d037c9ce2102290b0e13ca238fcc12
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -7413,7 +7423,7 @@ __metadata:
|
||||
node-style-text: "npm:0.0.8"
|
||||
npm-run-all2: "npm:8.0.4"
|
||||
outdent: "npm:0.8.0"
|
||||
oxc-parser: "npm:0.73.0"
|
||||
oxc-parser: "npm:0.73.2"
|
||||
parse-json: "npm:8.3.0"
|
||||
picocolors: "npm:1.1.1"
|
||||
please-upgrade-node: "npm:3.2.0"
|
||||
|
||||
Reference in new issue
Block a user