fix(SelectionHook): improve validation for selected text range to handle empty strings and ensure valid extraction (#9329)

chore: update selection-hook dependency to version 1.0.10 in package.json and yarn.lock
This commit is contained in:
fullex 2025-08-20 13:00:56 +08:00 committed by GitHub
parent 4f2b1e23a9
commit cdca8c0ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -78,7 +78,7 @@
"node-stream-zip": "^1.15.0",
"officeparser": "^4.2.0",
"os-proxy-config": "^1.1.2",
"selection-hook": "^1.0.9",
"selection-hook": "^1.0.10",
"turndown": "7.2.0"
},
"devDependencies": {

View File

@ -8630,7 +8630,7 @@ __metadata:
remove-markdown: "npm:^0.6.2"
rollup-plugin-visualizer: "npm:^5.12.0"
sass: "npm:^1.88.0"
selection-hook: "npm:^1.0.9"
selection-hook: "npm:^1.0.10"
shiki: "npm:^3.9.1"
strict-url-sanitise: "npm:^0.0.1"
string-width: "npm:^7.2.0"
@ -20089,14 +20089,14 @@ __metadata:
languageName: node
linkType: hard
"selection-hook@npm:^1.0.9":
version: 1.0.9
resolution: "selection-hook@npm:1.0.9"
"selection-hook@npm:^1.0.10":
version: 1.0.10
resolution: "selection-hook@npm:1.0.10"
dependencies:
node-addon-api: "npm:^8.4.0"
node-gyp: "npm:latest"
node-gyp-build: "npm:^4.8.4"
checksum: 10c0/5f3114b528d9e1545a5dc4b99927a0ab441570063bb348b52784d757c8f250f0d6a875175d371adf5dc2bfc82bf6bb86f99d3ee66fefe0749040c0b50f3217c3
checksum: 10c0/263f33d59de4ba0643f783ed39b95813fb5e685dc517abc8aadde6ad6749d946de1b61382d153359cb6592abd23849cb3e2177cd39334e87aff34ed9239649e9
languageName: node
linkType: hard