fix[SelectionAssistant]: shift+click behavior in macOS and clipboard behavior in Windows (#8390)

chore: update selection-hook to v1.0.8 and add finder to mac blacklist
This commit is contained in:
fullex 2025-07-23 17:24:26 +08:00 committed by GitHub
parent 2b7dfc0e88
commit 08d6dac4e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -76,7 +76,7 @@
"os-proxy-config": "^1.1.2",
"pdfjs-dist": "4.10.38",
"react-json-view": "^1.21.3",
"selection-hook": "^1.0.7",
"selection-hook": "^1.0.8",
"turndown": "7.2.0"
},
"devDependencies": {

View File

@ -46,7 +46,7 @@ export const SELECTION_PREDEFINED_BLACKLIST: IFilterList = {
// Remote Desktop
'mstsc.exe'
],
MAC: []
MAC: ['com.apple.finder']
}
export const SELECTION_FINETUNED_LIST: IFinetunedList = {

View File

@ -7287,7 +7287,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.7"
selection-hook: "npm:^1.0.8"
shiki: "npm:^3.7.0"
strict-url-sanitise: "npm:^0.0.1"
string-width: "npm:^7.2.0"
@ -18480,14 +18480,14 @@ __metadata:
languageName: node
linkType: hard
"selection-hook@npm:^1.0.7":
version: 1.0.7
resolution: "selection-hook@npm:1.0.7"
"selection-hook@npm:^1.0.8":
version: 1.0.8
resolution: "selection-hook@npm:1.0.8"
dependencies:
node-addon-api: "npm:^8.4.0"
node-gyp: "npm:latest"
node-gyp-build: "npm:^4.8.4"
checksum: 10c0/d1fd7bc0a8dcbd3272b97ead7884777a073ff21054ed2d689df1c3fcfbfff450ce7b2ad09ad2e6d790ee364ff1fa146ad2cf9e94d3725a165fd11af544293738
checksum: 10c0/ed7e230ddf10fcd1974b166c5e73170900260664e40454e4e1fcdf0ba21d2a08cf95824c085fa07069aa99b663e0ee3f2aed74c3fbdba0f4e99abe6956bd51dc
languageName: node
linkType: hard