From f41504534235ca3d0b45ff854b20ca4ddda1f089 Mon Sep 17 00:00:00 2001 From: Victor Date: Sun, 3 Mar 2024 16:52:12 +0100 Subject: [PATCH] patch windows-focus-assist --- ...dows-focus-assist-npm-1.3.0-e02310a164.patch | 12 ++++++++++++ package.json | 2 +- packages/app/package.json | 2 +- yarn.lock | 17 ++++++++++++++--- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 .yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch diff --git a/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch b/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch new file mode 100644 index 00000000..af6ac744 --- /dev/null +++ b/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch @@ -0,0 +1,12 @@ +diff --git a/package.json b/package.json +index fd83201677304175cd888e0f9935ca8059e4e52c..e0337b0df6e3fb8d4135b40962d1e6ad7651e9e4 100644 +--- a/package.json ++++ b/package.json +@@ -4,6 +4,7 @@ + "description": "Gets the Focus Assist status in Windows 10 CU or later.", + "main": "lib/index.js", + "scripts": { ++ "install": "", + "test": "node sample/index.js" + }, + "repository": { diff --git a/package.json b/package.json index 59accab7..1349d32f 100644 --- a/package.json +++ b/package.json @@ -224,7 +224,7 @@ "use-timeout": "^1.1.0", "utility-types": "^3.7.0", "uuid": "^3.3.3", - "windows-focus-assist": "^1.3.0", + "windows-focus-assist": "patch:windows-focus-assist@npm%3A1.3.0#~/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch", "ws": "^5.2.2" }, "devEngines": { diff --git a/packages/app/package.json b/packages/app/package.json index 2d82da62..1a1741b9 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -349,7 +349,7 @@ "use-timeout": "^1.1.0", "utility-types": "^3.7.0", "uuid": "^3.3.3", - "windows-focus-assist": "^1.3.0", + "windows-focus-assist": "patch:windows-focus-assist@npm%3A1.3.0#~/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch", "ws": "^5.2.2" }, "jest": { diff --git a/yarn.lock b/yarn.lock index e6112bb8..0a7b50bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29071,7 +29071,7 @@ __metadata: webpack: "npm:^4.46.0" webpack-cli: "npm:^3.3.12" webpack-merge: "npm:^4.2.2" - windows-focus-assist: "npm:^1.3.0" + windows-focus-assist: "patch:windows-focus-assist@npm%3A1.3.0#~/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch" write-file-webpack-plugin: "npm:^4.5.1" ws: "npm:^5.2.2" xvfb-maybe: "npm:^0.2.1" @@ -29270,7 +29270,7 @@ __metadata: use-timeout: "npm:^1.1.0" utility-types: "npm:^3.7.0" uuid: "npm:^3.3.3" - windows-focus-assist: "npm:^1.3.0" + windows-focus-assist: "patch:windows-focus-assist@npm%3A1.3.0#~/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch" ws: "npm:^5.2.2" xvfb-maybe: "npm:^0.2.1" yargs: "npm:^13.3.0" @@ -32416,7 +32416,7 @@ __metadata: languageName: node linkType: hard -"windows-focus-assist@npm:^1.3.0": +"windows-focus-assist@npm:1.3.0": version: 1.3.0 resolution: "windows-focus-assist@npm:1.3.0" dependencies: @@ -32427,6 +32427,17 @@ __metadata: languageName: node linkType: hard +"windows-focus-assist@patch:windows-focus-assist@npm%3A1.3.0#~/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch": + version: 1.3.0 + resolution: "windows-focus-assist@patch:windows-focus-assist@npm%3A1.3.0#~/.yarn/patches/windows-focus-assist-npm-1.3.0-e02310a164.patch::version=1.3.0&hash=bc7fcd" + dependencies: + bindings: "npm:^1.5.0" + node-addon-api: "npm:*" + node-gyp: "npm:latest" + checksum: 10c0/b937c8b694f1f9663cdb71f6c5337c180ea97ad2abda8a72092ed0c0706d1e2b37fc88e8cffd3fdc27533418d2f5149b132396f2943482308a59aea3a9a351b7 + languageName: node + linkType: hard + "winreg@npm:1.2.4": version: 1.2.4 resolution: "winreg@npm:1.2.4"