From 8260fcf8c036a49dd519be47339aeb478b5216d2 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sat, 6 Sep 2025 16:46:23 +0000 Subject: [PATCH] yarn: Bump @types/w3c-web-usb from 1.0.10 to 1.0.11 Patch got merged upstream, so we no longer need it. --- ...es-w3c-web-usb-npm-1.0.10-82b33e05cb.patch | 54 ------------------- package.json | 5 +- yarn.lock | 17 ++---- 3 files changed, 7 insertions(+), 69 deletions(-) delete mode 100644 .yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch diff --git a/.yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch b/.yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch deleted file mode 100644 index 02ae4bdf9..000000000 --- a/.yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/index.d.ts b/index.d.ts -index b59810ce0fcaaf647830359010987348e11b0479..0f9d24ab390ac12010b671bc8aab02909e93fa89 100644 ---- a/index.d.ts -+++ b/index.d.ts -@@ -39,7 +39,7 @@ interface USBConnectionEventInit extends EventInit { - - declare class USBConfiguration { - readonly configurationValue: number; -- readonly configurationName?: string | undefined; -+ readonly configurationName: string | null; - readonly interfaces: USBInterface[]; - } - -@@ -57,14 +57,14 @@ declare class USBAlternateInterface { - readonly interfaceClass: number; - readonly interfaceSubclass: number; - readonly interfaceProtocol: number; -- readonly interfaceName?: string | undefined; -+ readonly interfaceName: string | null; - readonly endpoints: USBEndpoint[]; - } - - declare class USBInTransferResult { - constructor(status: USBTransferStatus, data?: DataView); - readonly data?: DataView | undefined; -- readonly status?: USBTransferStatus | undefined; -+ readonly status: USBTransferStatus; - } - - declare class USBOutTransferResult { -@@ -76,7 +76,7 @@ declare class USBOutTransferResult { - declare class USBIsochronousInTransferPacket { - constructor(status: USBTransferStatus, data?: DataView); - readonly data?: DataView | undefined; -- readonly status?: USBTransferStatus | undefined; -+ readonly status: USBTransferStatus; - } - - declare class USBIsochronousInTransferResult { -@@ -140,10 +140,10 @@ declare class USBDevice { - readonly deviceVersionMajor: number; - readonly deviceVersionMinor: number; - readonly deviceVersionSubminor: number; -- readonly manufacturerName?: string | undefined; -- readonly productName?: string | undefined; -- readonly serialNumber?: string | undefined; -- readonly configuration?: USBConfiguration | undefined; -+ readonly manufacturerName: string | null; -+ readonly productName: string | null; -+ readonly serialNumber: string | null; -+ readonly configuration: USBConfiguration | null; - readonly configurations: USBConfiguration[]; - readonly opened: boolean; - open(): Promise; diff --git a/package.json b/package.json index 0164f6e30..d3c52450e 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@types/redux-logger": "^3.0.12", "@types/semver": "^7.5.6", "@types/w3c-web-hid": "^1.0.6", - "@types/w3c-web-usb": "^1.0.10", + "@types/w3c-web-usb": "^1.0.11", "@types/web-bluetooth": "^0.0.20", "@types/web-locks-api": "^0.0.5", "@types/wicg-file-system-access": "^2023.10.4", @@ -173,8 +173,7 @@ "react-error-overlay": "6.0.9", "react-dev-utils@^12.0.1": "patch:react-dev-utils@npm:12.0.1#.yarn/patches/react-dev-utils-npm-12.0.1-83ba06e3ee.patch", "jsdom@^20.0.0": "patch:jsdom@npm%3A20.0.0#./.yarn/patches/jsdom-npm-20.0.0-9c1ad43ab8.patch", - "pyodide@0.23.0": "patch:pyodide@npm%3A0.23.0#./.yarn/patches/pyodide-npm-0.23.0-64dc9bd6f1.patch", - "@types/w3c-web-usb@^1.0.10": "patch:@types/w3c-web-usb@npm%3A1.0.10#./.yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch" + "pyodide@0.23.0": "patch:pyodide@npm%3A0.23.0#./.yarn/patches/pyodide-npm-0.23.0-64dc9bd6f1.patch" }, "jest": { "roots": [ diff --git a/yarn.lock b/yarn.lock index 002bca243..9c3e255ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2999,7 +2999,7 @@ __metadata: "@types/redux-logger": ^3.0.12 "@types/semver": ^7.5.6 "@types/w3c-web-hid": ^1.0.6 - "@types/w3c-web-usb": ^1.0.10 + "@types/w3c-web-usb": ^1.0.11 "@types/web-bluetooth": ^0.0.20 "@types/web-locks-api": ^0.0.5 "@types/wicg-file-system-access": ^2023.10.4 @@ -5472,17 +5472,10 @@ __metadata: languageName: node linkType: hard -"@types/w3c-web-usb@npm:1.0.10": - version: 1.0.10 - resolution: "@types/w3c-web-usb@npm:1.0.10" - checksum: 6ac6786a0788f0846a48b103ab06ca5fde5eb95674217b522420a2f6157bee3e181a961c1b7011940f497c55f4f5cc46129657d881fdd8112b48764089679ad6 - languageName: node - linkType: hard - -"@types/w3c-web-usb@patch:@types/w3c-web-usb@npm%3A1.0.10#./.yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch::locator=%40pybricks%2Fpybricks-code%40workspace%3A.": - version: 1.0.10 - resolution: "@types/w3c-web-usb@patch:@types/w3c-web-usb@npm%3A1.0.10#./.yarn/patches/@types-w3c-web-usb-npm-1.0.10-82b33e05cb.patch::version=1.0.10&hash=171f12&locator=%40pybricks%2Fpybricks-code%40workspace%3A." - checksum: 9528b1c501a5a21f05e36998b58501f8e2a4790af82c41b88e86bed8a618dc3135d486ffd55771532837a4e4112c1093ada293986451fe665f937081c9f2b7d7 +"@types/w3c-web-usb@npm:^1.0.11": + version: 1.0.11 + resolution: "@types/w3c-web-usb@npm:1.0.11" + checksum: 17fb44f266bcb4ecf9720503262b3ab5d91b00de567faad20d950b67f0963d44c2cad0f870e17d6cd6eb3ea7d2c6f9cc093c29b171ba09c65fbb17372b649fa8 languageName: node linkType: hard