Skip to content

Commit

Permalink
chore: bump up oxlint version to v0.3.2 (toeverything#6763)
Browse files Browse the repository at this point in the history
[![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://togithub.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://togithub.com/oxc-project/oxc/releases/tag/oxlint_v0.3.2): oxlint v0.3.2

[Compare Source](https://togithub.com/oxc-project/oxc/compare/99d46f9e489663935780f434f52711787ff1de19...a7940868c6e66d16814ebef5c8dbbfd9b948a0cd)

#### What's Changed

[Oxlint Import Plugin Alpha Release](http:https://localhost:5173/blog/2024-05-04-import-plugin-alpha.html)

-   feat(linter): [@&#8203;typescript-eslint/prefer-literal-enum-member](https://togithub.com/typescript-eslint/prefer-literal-enum-member) by [@&#8203;kaykdm](https://togithub.com/kaykdm) in [oxc-project/oxc#3134
-   feat(linter): add more "ban-ts-comment" test cases. by [@&#8203;woai3c](https://togithub.com/woai3c) in [oxc-project/oxc#3107
-   feat(linter): eslint-plugin-jest/require-hook by [@&#8203;eryue0220](https://togithub.com/eryue0220) in [oxc-project/oxc#3110
-   feat(linter): eslint/no-await-in-loop by [@&#8203;woai3c](https://togithub.com/woai3c) in [oxc-project/oxc#3070
-   feat(linter): typescript-eslint/prefer-enum-initializers by [@&#8203;todor-a](https://togithub.com/todor-a) in [oxc-project/oxc#3097
-   feat(linter/jsdoc): Implement `implements-on-classes` rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [oxc-project/oxc#3081
-   feat(linter/jsdoc): Implement check-tag-names rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [oxc-project/oxc#3029
-   feat(linter/jsdoc): Implement no-defaults rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [oxc-project/oxc#3098
-   feat(linter/jsdoc): Implement require-yields rule by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [oxc-project/oxc#3150
-   feat(linter/jsdoc): Support settings.ignore(Private|Internal) by [@&#8203;leaysgur](https://togithub.com/leaysgur) in [oxc-project/oxc#3147

#### New Contributors

-   [@&#8203;vsn4ik](https://togithub.com/vsn4ik) made their first contribution in [oxc-project/oxc#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==-->
  • Loading branch information
renovate[bot] committed May 7, 2024
1 parent 269060d commit 0912fe1
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint:eslint:fix": "yarn lint:eslint --fix",
"lint:prettier": "prettier --ignore-unknown --cache --check .",
"lint:prettier:fix": "prettier --ignore-unknown --cache --write .",
"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",
"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",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
"test": "vitest --run",
Expand Down Expand Up @@ -95,7 +95,7 @@
"nanoid": "^5.0.7",
"nx": "^19.0.0",
"nyc": "^15.1.0",
"oxlint": "0.3.1",
"oxlint": "0.3.2",
"prettier": "^3.2.5",
"semver": "^7.6.0",
"serve": "^14.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/src/core/workspaces/permission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class PermissionService {
// if workspace is public or have any public page, then allow to access
const [isPublicWorkspace, publicPages] = await Promise.all([
this.tryCheckWorkspace(ws, user, Permission.Read),
await this.prisma.workspacePage.count({
this.prisma.workspacePage.count({
where: {
workspaceId: ws,
public: true,
Expand Down
76 changes: 38 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ __metadata:
nanoid: "npm:^5.0.7"
nx: "npm:^19.0.0"
nyc: "npm:^15.1.0"
oxlint: "npm:0.3.1"
oxlint: "npm:0.3.2"
prettier: "npm:^3.2.5"
semver: "npm:^7.6.0"
serve: "npm:^14.2.1"
Expand Down Expand Up @@ -9851,58 +9851,58 @@ __metadata:
languageName: node
linkType: hard

"@oxlint/darwin-arm64@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/darwin-arm64@npm:0.3.1"
"@oxlint/darwin-arm64@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/darwin-arm64@npm:0.3.2"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@oxlint/darwin-x64@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/darwin-x64@npm:0.3.1"
"@oxlint/darwin-x64@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/darwin-x64@npm:0.3.2"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@oxlint/linux-arm64-gnu@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/linux-arm64-gnu@npm:0.3.1"
"@oxlint/linux-arm64-gnu@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/linux-arm64-gnu@npm:0.3.2"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@oxlint/linux-arm64-musl@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/linux-arm64-musl@npm:0.3.1"
"@oxlint/linux-arm64-musl@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/linux-arm64-musl@npm:0.3.2"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@oxlint/linux-x64-gnu@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/linux-x64-gnu@npm:0.3.1"
"@oxlint/linux-x64-gnu@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/linux-x64-gnu@npm:0.3.2"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@oxlint/linux-x64-musl@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/linux-x64-musl@npm:0.3.1"
"@oxlint/linux-x64-musl@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/linux-x64-musl@npm:0.3.2"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@oxlint/win32-arm64@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/win32-arm64@npm:0.3.1"
"@oxlint/win32-arm64@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/win32-arm64@npm:0.3.2"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@oxlint/win32-x64@npm:0.3.1":
version: 0.3.1
resolution: "@oxlint/win32-x64@npm:0.3.1"
"@oxlint/win32-x64@npm:0.3.2":
version: 0.3.2
resolution: "@oxlint/win32-x64@npm:0.3.2"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -29785,18 +29785,18 @@ __metadata:
languageName: node
linkType: hard

"oxlint@npm:0.3.1":
version: 0.3.1
resolution: "oxlint@npm:0.3.1"
dependencies:
"@oxlint/darwin-arm64": "npm:0.3.1"
"@oxlint/darwin-x64": "npm:0.3.1"
"@oxlint/linux-arm64-gnu": "npm:0.3.1"
"@oxlint/linux-arm64-musl": "npm:0.3.1"
"@oxlint/linux-x64-gnu": "npm:0.3.1"
"@oxlint/linux-x64-musl": "npm:0.3.1"
"@oxlint/win32-arm64": "npm:0.3.1"
"@oxlint/win32-x64": "npm:0.3.1"
"oxlint@npm:0.3.2":
version: 0.3.2
resolution: "oxlint@npm:0.3.2"
dependencies:
"@oxlint/darwin-arm64": "npm:0.3.2"
"@oxlint/darwin-x64": "npm:0.3.2"
"@oxlint/linux-arm64-gnu": "npm:0.3.2"
"@oxlint/linux-arm64-musl": "npm:0.3.2"
"@oxlint/linux-x64-gnu": "npm:0.3.2"
"@oxlint/linux-x64-musl": "npm:0.3.2"
"@oxlint/win32-arm64": "npm:0.3.2"
"@oxlint/win32-x64": "npm:0.3.2"
dependenciesMeta:
"@oxlint/darwin-arm64":
optional: true
Expand All @@ -29816,7 +29816,7 @@ __metadata:
optional: true
bin:
oxlint: bin/oxlint
checksum: 10/fbe6f45d1ea56afa70c689e36c593796d3eefbcb901383eafad17994c89e7cfdf49cda390a52dc2918786bf90e0e597d17e7b25191eda2b5c337d4568ed6fb54
checksum: 10/e31116e2c3931eff589cf38b5421f266a475f514639350b45bc75c901229ab483863ad43e3c6479f8bbfe3df50df9ebc019f22df864650e855f7218b3bd874f6
languageName: node
linkType: hard

Expand Down

0 comments on commit 0912fe1

Please sign in to comment.