mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
ci: fix lint and audit regressions on main
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"google-auth-library": "^10.6.1"
|
"google-auth-library": "^10.6.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"openclaw": ">=2026.1.26"
|
"openclaw": ">=2026.3.1"
|
||||||
},
|
},
|
||||||
"openclaw": {
|
"openclaw": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"description": "OpenClaw core memory search plugin",
|
"description": "OpenClaw core memory search plugin",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"openclaw": ">=2026.1.26"
|
"openclaw": ">=2026.3.1"
|
||||||
},
|
},
|
||||||
"openclaw": {
|
"openclaw": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
|||||||
680
pnpm-lock.yaml
generated
680
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -377,8 +377,8 @@ async function readAllowFromStateForPathWithExists(
|
|||||||
// stat is guaranteed non-null here: resolveAllowFromReadCacheOrMissing returns early when stat is null.
|
// stat is guaranteed non-null here: resolveAllowFromReadCacheOrMissing returns early when stat is null.
|
||||||
setAllowFromReadCache(filePath, {
|
setAllowFromReadCache(filePath, {
|
||||||
exists,
|
exists,
|
||||||
mtimeMs: stat!.mtimeMs,
|
mtimeMs: stat.mtimeMs,
|
||||||
size: stat!.size,
|
size: stat.size,
|
||||||
entries,
|
entries,
|
||||||
});
|
});
|
||||||
return { entries, exists };
|
return { entries, exists };
|
||||||
@@ -426,8 +426,8 @@ function readAllowFromStateForPathSyncWithExists(
|
|||||||
const entries = normalizeAllowFromList(channel, parsed);
|
const entries = normalizeAllowFromList(channel, parsed);
|
||||||
setAllowFromReadCache(filePath, {
|
setAllowFromReadCache(filePath, {
|
||||||
exists: true,
|
exists: true,
|
||||||
mtimeMs: stat!.mtimeMs,
|
mtimeMs: stat.mtimeMs,
|
||||||
size: stat!.size,
|
size: stat.size,
|
||||||
entries,
|
entries,
|
||||||
});
|
});
|
||||||
return { entries, exists: true };
|
return { entries, exists: true };
|
||||||
@@ -435,8 +435,8 @@ function readAllowFromStateForPathSyncWithExists(
|
|||||||
// Keep parity with async reads: malformed JSON still means the file exists.
|
// Keep parity with async reads: malformed JSON still means the file exists.
|
||||||
setAllowFromReadCache(filePath, {
|
setAllowFromReadCache(filePath, {
|
||||||
exists: true,
|
exists: true,
|
||||||
mtimeMs: stat!.mtimeMs,
|
mtimeMs: stat.mtimeMs,
|
||||||
size: stat!.size,
|
size: stat.size,
|
||||||
entries: [],
|
entries: [],
|
||||||
});
|
});
|
||||||
return { entries: [], exists: true };
|
return { entries: [], exists: true };
|
||||||
|
|||||||
@@ -290,7 +290,7 @@ function addModelConfigIds(target: Set<string>, modelConfig: unknown) {
|
|||||||
|
|
||||||
export function sortLocaleStrings(values: Iterable<string>): string[] {
|
export function sortLocaleStrings(values: Iterable<string>): string[] {
|
||||||
const sorted = Array.from(values);
|
const sorted = Array.from(values);
|
||||||
const buffer = new Array<string>(sorted.length);
|
const buffer = Array.from({ length: sorted.length }, () => "");
|
||||||
|
|
||||||
const merge = (left: number, middle: number, right: number): void => {
|
const merge = (left: number, middle: number, right: number): void => {
|
||||||
let i = left;
|
let i = left;
|
||||||
|
|||||||
Reference in New Issue
Block a user