fix: update binary package lock, remove security checks from gui
This commit is contained in:
18
binary/package-lock.json
generated
18
binary/package-lock.json
generated
@@ -40,7 +40,7 @@
|
||||
"pkg": "^5.8.1",
|
||||
"rimraf": "^5.0.7",
|
||||
"ts-jest": "^29.1.4",
|
||||
"typescript": "^5.3.3"
|
||||
"typescript": "^5.6.3"
|
||||
}
|
||||
},
|
||||
"../core": {
|
||||
@@ -59,6 +59,11 @@
|
||||
"@modelcontextprotocol/sdk": "^1.12.0",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
"@octokit/rest": "^20.1.1",
|
||||
"@sentry/cli": "^2.50.2",
|
||||
"@sentry/core": "^9.43.0",
|
||||
"@sentry/esbuild-plugin": "^4.0.2",
|
||||
"@sentry/node": "^9.43.0",
|
||||
"@sentry/vite-plugin": "^4.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
||||
"@xenova/transformers": "2.14.0",
|
||||
"adf-to-md": "^1.1.0",
|
||||
@@ -78,7 +83,7 @@
|
||||
"http-proxy-agent": "^7.0.1",
|
||||
"https-proxy-agent": "^7.0.3",
|
||||
"iconv-lite": "^0.6.3",
|
||||
"ignore": "^5.3.1",
|
||||
"ignore": "^7.0.5",
|
||||
"is-localhost-ip": "^2.0.0",
|
||||
"jinja-js": "0.1.8",
|
||||
"js-tiktoken": "^1.0.8",
|
||||
@@ -91,7 +96,7 @@
|
||||
"node-html-markdown": "^1.3.0",
|
||||
"ollama": "^0.4.6",
|
||||
"onnxruntime-node": "1.14.0",
|
||||
"openai": "^4.104.0",
|
||||
"openai": "^5.13.1",
|
||||
"p-limit": "^6.1.0",
|
||||
"partial-json": "^0.1.7",
|
||||
"pg": "^8.11.3",
|
||||
@@ -6758,10 +6763,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.4.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
||||
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
||||
"version": "5.9.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
|
||||
"integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
|
||||
@@ -21,18 +21,5 @@
|
||||
"inlineSources": true,
|
||||
"jsx": "react"
|
||||
},
|
||||
|
||||
"include": [
|
||||
"src/**/*",
|
||||
"vitest.setup.ts",
|
||||
"../../core/**/*.ts",
|
||||
"../../core/**/*.d.ts"
|
||||
],
|
||||
// core/test uses @types/jest, which conflicts with @types/mocha
|
||||
"exclude": [
|
||||
"../../core/dist/**/*",
|
||||
"../../core/**/*.test.ts",
|
||||
"../../core/**/test/**/*",
|
||||
"../../core/**/*.skip.ts"
|
||||
]
|
||||
"include": ["src/**/*", "vitest.setup.ts"]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { findSearchMatch } from "core/edit/searchAndReplace/findSearchMatch";
|
||||
import { parseAllSearchReplaceBlocks } from "core/edit/searchAndReplace/parseSearchReplaceBlock";
|
||||
import { throwIfFileIsSecurityConcern } from "core/indexing/ignore";
|
||||
import { resolveRelativePathInDir } from "core/util/ideUtils";
|
||||
import posthog from "posthog-js";
|
||||
import { v4 as uuid } from "uuid";
|
||||
@@ -18,8 +17,6 @@ export const searchReplaceToolImpl: ClientToolImpl = async (
|
||||
|
||||
const streamId = uuid();
|
||||
|
||||
throwIfFileIsSecurityConcern(filepath);
|
||||
|
||||
// Resolve the file path
|
||||
const resolvedFilepath = await resolveRelativePathInDir(
|
||||
filepath,
|
||||
|
||||
Reference in New Issue
Block a user