Skip to content

Commit 0912fe1

Browse files
committed
chore: bump up oxlint version to v0.3.2 (#6763)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [oxlint](https://oxc-project.github.io) ([source](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`0.3.1` -> `0.3.2`](https://renovatebot.com/diffs/npm/oxlint/0.3.1/0.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/0.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/0.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/0.3.1/0.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/0.3.1/0.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v0.3.2`](https://github.com/oxc-project/oxc/releases/tag/oxlint_v0.3.2): oxlint v0.3.2 [Compare Source](https://github.com/oxc-project/oxc/compare/99d46f9e489663935780f434f52711787ff1de19...a7940868c6e66d16814ebef5c8dbbfd9b948a0cd) #### What's Changed [Oxlint Import Plugin Alpha Release](http://localhost:5173/blog/2024-05-04-import-plugin-alpha.html) - feat(linter): [@&#8203;typescript-eslint/prefer-literal-enum-member](https://github.com/typescript-eslint/prefer-literal-enum-member) by [@&#8203;kaykdm](https://github.com/kaykdm) in [https://github.com/oxc-project/oxc/pull/3134](https://github.com/oxc-project/oxc/pull/3134) - feat(linter): add more "ban-ts-comment" test cases. by [@&#8203;woai3c](https://github.com/woai3c) in [https://github.com/oxc-project/oxc/pull/3107](https://github.com/oxc-project/oxc/pull/3107) - feat(linter): eslint-plugin-jest/require-hook by [@&#8203;eryue0220](https://github.com/eryue0220) in [https://github.com/oxc-project/oxc/pull/3110](https://github.com/oxc-project/oxc/pull/3110) - feat(linter): eslint/no-await-in-loop by [@&#8203;woai3c](https://github.com/woai3c) in [https://github.com/oxc-project/oxc/pull/3070](https://github.com/oxc-project/oxc/pull/3070) - feat(linter): typescript-eslint/prefer-enum-initializers by [@&#8203;todor-a](https://github.com/todor-a) in [https://github.com/oxc-project/oxc/pull/3097](https://github.com/oxc-project/oxc/pull/3097) - feat(linter/jsdoc): Implement `implements-on-classes` rule by [@&#8203;leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3081](https://github.com/oxc-project/oxc/pull/3081) - feat(linter/jsdoc): Implement check-tag-names rule by [@&#8203;leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3029](https://github.com/oxc-project/oxc/pull/3029) - feat(linter/jsdoc): Implement no-defaults rule by [@&#8203;leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3098](https://github.com/oxc-project/oxc/pull/3098) - feat(linter/jsdoc): Implement require-yields rule by [@&#8203;leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3150](https://github.com/oxc-project/oxc/pull/3150) - feat(linter/jsdoc): Support settings.ignore(Private|Internal) by [@&#8203;leaysgur](https://github.com/leaysgur) in [https://github.com/oxc-project/oxc/pull/3147](https://github.com/oxc-project/oxc/pull/3147) #### New Contributors - [@&#8203;vsn4ik](https://github.com/vsn4ik) made their first contribution in [https://github.com/oxc-project/oxc/pull/3118](https://github.com/oxc-project/oxc/pull/3118) **Full Changelog**: oxc-project/oxc@oxlint_v0.3.1...oxlint_v0.3.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
1 parent 269060d commit 0912fe1

File tree

3 files changed

+41
-41
lines changed

3 files changed

+41
-41
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lint:eslint:fix": "yarn lint:eslint --fix",
2929
"lint:prettier": "prettier --ignore-unknown --cache --check .",
3030
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
31-
"lint:ox": "oxlint -c oxlint.json --import-plugin --deny-warnings -D correctness -D nursery -D prefer-array-some -D no-useless-promise-resolve-reject -D perf -A no-undef -A consistent-type-exports -A default -A named -A ban-ts-comment -A export -A no-unresolved -A no-default-export -A no-duplicates -A no-side-effects-in-initialization -A no-named-as-default -A getter-return",
31+
"lint:ox": "oxlint -c oxlint.json --import-plugin --deny-warnings -D correctness -D nursery -D prefer-array-some -D no-useless-promise-resolve-reject -D perf -A no-undef -A consistent-type-exports -A default -A named -A ban-ts-comment -A export -A no-unresolved -A no-default-export -A no-duplicates -A no-side-effects-in-initialization -A no-named-as-default -A getter-return -A no-barrel-file -A no-await-in-loop",
3232
"lint": "yarn lint:eslint && yarn lint:prettier",
3333
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
3434
"test": "vitest --run",
@@ -95,7 +95,7 @@
9595
"nanoid": "^5.0.7",
9696
"nx": "^19.0.0",
9797
"nyc": "^15.1.0",
98-
"oxlint": "0.3.1",
98+
"oxlint": "0.3.2",
9999
"prettier": "^3.2.5",
100100
"semver": "^7.6.0",
101101
"serve": "^14.2.1",

packages/backend/server/src/core/workspaces/permission.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class PermissionService {
9393
// if workspace is public or have any public page, then allow to access
9494
const [isPublicWorkspace, publicPages] = await Promise.all([
9595
this.tryCheckWorkspace(ws, user, Permission.Read),
96-
await this.prisma.workspacePage.count({
96+
this.prisma.workspacePage.count({
9797
where: {
9898
workspaceId: ws,
9999
public: true,

yarn.lock

+38-38
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ __metadata:
610610
nanoid: "npm:^5.0.7"
611611
nx: "npm:^19.0.0"
612612
nyc: "npm:^15.1.0"
613-
oxlint: "npm:0.3.1"
613+
oxlint: "npm:0.3.2"
614614
prettier: "npm:^3.2.5"
615615
semver: "npm:^7.6.0"
616616
serve: "npm:^14.2.1"
@@ -9851,58 +9851,58 @@ __metadata:
98519851
languageName: node
98529852
linkType: hard
98539853

9854-
"@oxlint/darwin-arm64@npm:0.3.1":
9855-
version: 0.3.1
9856-
resolution: "@oxlint/darwin-arm64@npm:0.3.1"
9854+
"@oxlint/darwin-arm64@npm:0.3.2":
9855+
version: 0.3.2
9856+
resolution: "@oxlint/darwin-arm64@npm:0.3.2"
98579857
conditions: os=darwin & cpu=arm64
98589858
languageName: node
98599859
linkType: hard
98609860

9861-
"@oxlint/darwin-x64@npm:0.3.1":
9862-
version: 0.3.1
9863-
resolution: "@oxlint/darwin-x64@npm:0.3.1"
9861+
"@oxlint/darwin-x64@npm:0.3.2":
9862+
version: 0.3.2
9863+
resolution: "@oxlint/darwin-x64@npm:0.3.2"
98649864
conditions: os=darwin & cpu=x64
98659865
languageName: node
98669866
linkType: hard
98679867

9868-
"@oxlint/linux-arm64-gnu@npm:0.3.1":
9869-
version: 0.3.1
9870-
resolution: "@oxlint/linux-arm64-gnu@npm:0.3.1"
9868+
"@oxlint/linux-arm64-gnu@npm:0.3.2":
9869+
version: 0.3.2
9870+
resolution: "@oxlint/linux-arm64-gnu@npm:0.3.2"
98719871
conditions: os=linux & cpu=arm64 & libc=glibc
98729872
languageName: node
98739873
linkType: hard
98749874

9875-
"@oxlint/linux-arm64-musl@npm:0.3.1":
9876-
version: 0.3.1
9877-
resolution: "@oxlint/linux-arm64-musl@npm:0.3.1"
9875+
"@oxlint/linux-arm64-musl@npm:0.3.2":
9876+
version: 0.3.2
9877+
resolution: "@oxlint/linux-arm64-musl@npm:0.3.2"
98789878
conditions: os=linux & cpu=arm64 & libc=musl
98799879
languageName: node
98809880
linkType: hard
98819881

9882-
"@oxlint/linux-x64-gnu@npm:0.3.1":
9883-
version: 0.3.1
9884-
resolution: "@oxlint/linux-x64-gnu@npm:0.3.1"
9882+
"@oxlint/linux-x64-gnu@npm:0.3.2":
9883+
version: 0.3.2
9884+
resolution: "@oxlint/linux-x64-gnu@npm:0.3.2"
98859885
conditions: os=linux & cpu=x64 & libc=glibc
98869886
languageName: node
98879887
linkType: hard
98889888

9889-
"@oxlint/linux-x64-musl@npm:0.3.1":
9890-
version: 0.3.1
9891-
resolution: "@oxlint/linux-x64-musl@npm:0.3.1"
9889+
"@oxlint/linux-x64-musl@npm:0.3.2":
9890+
version: 0.3.2
9891+
resolution: "@oxlint/linux-x64-musl@npm:0.3.2"
98929892
conditions: os=linux & cpu=x64 & libc=musl
98939893
languageName: node
98949894
linkType: hard
98959895

9896-
"@oxlint/win32-arm64@npm:0.3.1":
9897-
version: 0.3.1
9898-
resolution: "@oxlint/win32-arm64@npm:0.3.1"
9896+
"@oxlint/win32-arm64@npm:0.3.2":
9897+
version: 0.3.2
9898+
resolution: "@oxlint/win32-arm64@npm:0.3.2"
98999899
conditions: os=win32 & cpu=arm64
99009900
languageName: node
99019901
linkType: hard
99029902

9903-
"@oxlint/win32-x64@npm:0.3.1":
9904-
version: 0.3.1
9905-
resolution: "@oxlint/win32-x64@npm:0.3.1"
9903+
"@oxlint/win32-x64@npm:0.3.2":
9904+
version: 0.3.2
9905+
resolution: "@oxlint/win32-x64@npm:0.3.2"
99069906
conditions: os=win32 & cpu=x64
99079907
languageName: node
99089908
linkType: hard
@@ -29785,18 +29785,18 @@ __metadata:
2978529785
languageName: node
2978629786
linkType: hard
2978729787

29788-
"oxlint@npm:0.3.1":
29789-
version: 0.3.1
29790-
resolution: "oxlint@npm:0.3.1"
29791-
dependencies:
29792-
"@oxlint/darwin-arm64": "npm:0.3.1"
29793-
"@oxlint/darwin-x64": "npm:0.3.1"
29794-
"@oxlint/linux-arm64-gnu": "npm:0.3.1"
29795-
"@oxlint/linux-arm64-musl": "npm:0.3.1"
29796-
"@oxlint/linux-x64-gnu": "npm:0.3.1"
29797-
"@oxlint/linux-x64-musl": "npm:0.3.1"
29798-
"@oxlint/win32-arm64": "npm:0.3.1"
29799-
"@oxlint/win32-x64": "npm:0.3.1"
29788+
"oxlint@npm:0.3.2":
29789+
version: 0.3.2
29790+
resolution: "oxlint@npm:0.3.2"
29791+
dependencies:
29792+
"@oxlint/darwin-arm64": "npm:0.3.2"
29793+
"@oxlint/darwin-x64": "npm:0.3.2"
29794+
"@oxlint/linux-arm64-gnu": "npm:0.3.2"
29795+
"@oxlint/linux-arm64-musl": "npm:0.3.2"
29796+
"@oxlint/linux-x64-gnu": "npm:0.3.2"
29797+
"@oxlint/linux-x64-musl": "npm:0.3.2"
29798+
"@oxlint/win32-arm64": "npm:0.3.2"
29799+
"@oxlint/win32-x64": "npm:0.3.2"
2980029800
dependenciesMeta:
2980129801
"@oxlint/darwin-arm64":
2980229802
optional: true
@@ -29816,7 +29816,7 @@ __metadata:
2981629816
optional: true
2981729817
bin:
2981829818
oxlint: bin/oxlint
29819-
checksum: 10/fbe6f45d1ea56afa70c689e36c593796d3eefbcb901383eafad17994c89e7cfdf49cda390a52dc2918786bf90e0e597d17e7b25191eda2b5c337d4568ed6fb54
29819+
checksum: 10/e31116e2c3931eff589cf38b5421f266a475f514639350b45bc75c901229ab483863ad43e3c6479f8bbfe3df50df9ebc019f22df864650e855f7218b3bd874f6
2982029820
languageName: node
2982129821
linkType: hard
2982229822

0 commit comments

Comments
 (0)