Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: bump up oxlint version to v0.15.9 (#9922)

renovate14fbb8b05946
diff --git a/blocksuite/framework/block-std/src/scope/block-std-scope.ts b/blocksuite/framework/block-std/src/scope/block-std-scope.ts
index 11c451611a..bb1d0d13bd 100644
--- a/blocksuite/framework/block-std/src/scope/block-std-scope.ts
+++ b/blocksuite/framework/block-std/src/scope/block-std-scope.ts
@@ -135,7 +135,7 @@ export class BlockStdScope {
this.provider = this.container.provider(undefined, this.store.provider);
this._lifeCycleWatchers.forEach(watcher => {
- watcher.created.call(watcher);
+ watcher.created();
});
}
@@ -183,7 +183,7 @@ export class BlockStdScope {
mount() {
this._lifeCycleWatchers.forEach(watcher => {
- watcher.mounted.call(watcher);
+ watcher.mounted();
});
}
@@ -193,7 +193,7 @@ export class BlockStdScope {
element.doc = this.store;
this._host = element;
this._lifeCycleWatchers.forEach(watcher => {
- watcher.rendered.call(watcher);
+ watcher.rendered();
});
return element;
@@ -201,7 +201,7 @@ export class BlockStdScope {
unmount() {
this._lifeCycleWatchers.forEach(watcher => {
- watcher.unmounted.call(watcher);
+ watcher.unmounted();
});
}
}
diff --git a/package.json b/package.json
index 27e773803c..6311d0bdda 100644
--- a/package.json
+++ b/package.json
@@ -82,7 +82,7 @@
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"msw": "^2.6.8",
- "oxlint": "0.15.8",
+ "oxlint": "0.15.9",
"prettier": "^3.4.2",
"semver": "^7.6.3",
"serve": "^14.2.4",
diff --git a/packages/frontend/core/src/components/affine/ai-onboarding/apis.ts b/packages/frontend/core/src/components/affine/ai-onboarding/apis.ts
index 2150df330a..a6f9d004b7 100644
--- a/packages/frontend/core/src/components/affine/ai-onboarding/apis.ts
+++ b/packages/frontend/core/src/components/affine/ai-onboarding/apis.ts
@@ -12,7 +12,7 @@ function createStorageEvent(key: string, newValue: string) {
const setItem = function (key: string, value: string) {
const oldValue = localStorage.getItem(key);
- localStorage.setItem.call(localStorage, key, value);
+ localStorage.setItem(key, value);
if (oldValue !== value) createStorageEvent(key, value);
};
diff --git a/yarn.lock b/yarn.lock
index 16c0d0b1b4..907f0ace5b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -688,7 +688,7 @@ __metadata:
husky: "npm:^9.1.7"
lint-staged: "npm:^15.2.11"
msw: "npm:^2.6.8"
- oxlint: "npm:0.15.8"
+ oxlint: "npm:0.15.9"
prettier: "npm:^3.4.2"
semver: "npm:^7.6.3"
serve: "npm:^14.2.4"
@@ -10754,58 +10754,58 @@ __metadata:
languageName: node
linkType: hard
-"@oxlint/darwin-arm64@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/darwin-arm64@npm:0.15.8"
+"@oxlint/darwin-arm64@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/darwin-arm64@npm:0.15.9"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
-"@oxlint/darwin-x64@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/darwin-x64@npm:0.15.8"
+"@oxlint/darwin-x64@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/darwin-x64@npm:0.15.9"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
-"@oxlint/linux-arm64-gnu@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/linux-arm64-gnu@npm:0.15.8"
+"@oxlint/linux-arm64-gnu@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/linux-arm64-gnu@npm:0.15.9"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
-"@oxlint/linux-arm64-musl@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/linux-arm64-musl@npm:0.15.8"
+"@oxlint/linux-arm64-musl@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/linux-arm64-musl@npm:0.15.9"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
-"@oxlint/linux-x64-gnu@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/linux-x64-gnu@npm:0.15.8"
+"@oxlint/linux-x64-gnu@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/linux-x64-gnu@npm:0.15.9"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
-"@oxlint/linux-x64-musl@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/linux-x64-musl@npm:0.15.8"
+"@oxlint/linux-x64-musl@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/linux-x64-musl@npm:0.15.9"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
-"@oxlint/win32-arm64@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/win32-arm64@npm:0.15.8"
+"@oxlint/win32-arm64@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/win32-arm64@npm:0.15.9"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
-"@oxlint/win32-x64@npm:0.15.8":
- version: 0.15.8
- resolution: "@oxlint/win32-x64@npm:0.15.8"
+"@oxlint/win32-x64@npm:0.15.9":
+ version: 0.15.9
+ resolution: "@oxlint/win32-x64@npm:0.15.9"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
@@ -28750,18 +28750,18 @@ __metadata:
languageName: node
linkType: hard
-"oxlint@npm:0.15.8":
- version: 0.15.8
- resolution: "oxlint@npm:0.15.8"
+"oxlint@npm:0.15.9":
+ version: 0.15.9
+ resolution: "oxlint@npm:0.15.9"
dependencies:
- "@oxlint/darwin-arm64": "npm:0.15.8"
- "@oxlint/darwin-x64": "npm:0.15.8"
- "@oxlint/linux-arm64-gnu": "npm:0.15.8"
- "@oxlint/linux-arm64-musl": "npm:0.15.8"
- "@oxlint/linux-x64-gnu": "npm:0.15.8"
- "@oxlint/linux-x64-musl": "npm:0.15.8"
- "@oxlint/win32-arm64": "npm:0.15.8"
- "@oxlint/win32-x64": "npm:0.15.8"
+ "@oxlint/darwin-arm64": "npm:0.15.9"
+ "@oxlint/darwin-x64": "npm:0.15.9"
+ "@oxlint/linux-arm64-gnu": "npm:0.15.9"
+ "@oxlint/linux-arm64-musl": "npm:0.15.9"
+ "@oxlint/linux-x64-gnu": "npm:0.15.9"
+ "@oxlint/linux-x64-musl": "npm:0.15.9"
+ "@oxlint/win32-arm64": "npm:0.15.9"
+ "@oxlint/win32-x64": "npm:0.15.9"
dependenciesMeta:
"@oxlint/darwin-arm64":
optional: true
@@ -28782,7 +28782,7 @@ __metadata:
bin:
oxc_language_server: bin/oxc_language_server
oxlint: bin/oxlint
- checksum: 10/4b1457297207bc000a6ad3eba8263b78a43ddb960194d745c8a0642828bd0f4c077278a3d7195cf7166767a75c272009d66188b4f0c9b45603e2aed79b9394f7
+ checksum: 10/c4e553cc0200eef787c2ba9b6a6932ab96c6a97652832c5fa024e7591939250c3f69d7b9c5be4a5bedc9d4527c26a0dc6a8dfd2bc11158ed50965fc9e984ef9e
languageName: node
linkType: hard