From d78029dcba4159c0cb228dfff4607e1a3a5ea2a9 Mon Sep 17 00:00:00 2001 From: Alexandre Magaud Date: Fri, 21 Jul 2023 14:03:47 +0200 Subject: [PATCH 1/2] fix: attempt to roll back bump of usb package to 2.5.1 --- .../packages/hw-transport-node-hid-singleton/package.json | 2 +- libs/ledgerjs/packages/hw-transport-node-hid/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ledgerjs/packages/hw-transport-node-hid-singleton/package.json b/libs/ledgerjs/packages/hw-transport-node-hid-singleton/package.json index 559104204f4d..d7fcc17c3518 100644 --- a/libs/ledgerjs/packages/hw-transport-node-hid-singleton/package.json +++ b/libs/ledgerjs/packages/hw-transport-node-hid-singleton/package.json @@ -34,7 +34,7 @@ "@ledgerhq/logs": "workspace:^", "lodash": "^4.17.21", "node-hid": "^2.1.2", - "usb": "^2.9.0" + "usb": "2.5.1" }, "scripts": { "clean": "rimraf lib lib-es", diff --git a/libs/ledgerjs/packages/hw-transport-node-hid/package.json b/libs/ledgerjs/packages/hw-transport-node-hid/package.json index ce652bd7abd0..9f2bfa18acd2 100644 --- a/libs/ledgerjs/packages/hw-transport-node-hid/package.json +++ b/libs/ledgerjs/packages/hw-transport-node-hid/package.json @@ -34,7 +34,7 @@ "@ledgerhq/logs": "workspace:^", "lodash": "^4.17.21", "node-hid": "^2.1.2", - "usb": "^2.9.0" + "usb": "2.5.1" }, "scripts": { "clean": "rimraf lib lib-es", From f8fcdef8604d6444864d1a3cc691635eede0e8a3 Mon Sep 17 00:00:00 2001 From: Alexandre Magaud Date: Fri, 21 Jul 2023 14:08:50 +0200 Subject: [PATCH 2/2] chore: pnpm lock file --- pnpm-lock.yaml | 87 ++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 46 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0d51a228640..c53fe0b1e46d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3348,8 +3348,8 @@ importers: specifier: ^2.1.2 version: 2.1.2 usb: - specifier: ^2.9.0 - version: 2.9.0 + specifier: 2.5.1 + version: 2.5.1 devDependencies: '@types/jest': specifier: ^29.5.0 @@ -3446,8 +3446,8 @@ importers: specifier: ^2.1.2 version: 2.1.2 usb: - specifier: ^2.9.0 - version: 2.9.0 + specifier: 2.5.1 + version: 2.5.1 devDependencies: '@types/jest': specifier: ^29.5.0 @@ -6304,7 +6304,7 @@ packages: eslint: 8.41.0 eslint-scope: 5.1.1 eslint-visitor-keys: 2.1.0 - semver: 6.3.0 + semver: 6.3.1 dev: false /@babel/generator@7.12.1: @@ -6393,7 +6393,7 @@ packages: '@babel/helper-validator-option': 7.22.5 browserslist: 4.21.5 lru-cache: 5.1.1 - semver: 6.3.0 + semver: 6.3.1 /@babel/helper-compilation-targets@7.22.5(@babel/core@7.21.0): resolution: {integrity: sha512-Ji+ywpHeuqxB8WDxraCiqR0xfhYjiDE/e6k7FuIaANnoOFxAHskHChz4vA1mJC9Lbm01s1PVAGhQY4FUKSkGZw==} @@ -6419,7 +6419,7 @@ packages: '@babel/helper-validator-option': 7.22.5 browserslist: 4.21.5 lru-cache: 5.1.1 - semver: 6.3.0 + semver: 6.3.1 /@babel/helper-compilation-targets@7.22.5(@babel/core@7.22.9): resolution: {integrity: sha512-Ji+ywpHeuqxB8WDxraCiqR0xfhYjiDE/e6k7FuIaANnoOFxAHskHChz4vA1mJC9Lbm01s1PVAGhQY4FUKSkGZw==} @@ -6432,7 +6432,7 @@ packages: '@babel/helper-validator-option': 7.22.5 browserslist: 4.21.5 lru-cache: 5.1.1 - semver: 6.3.0 + semver: 6.3.1 /@babel/helper-compilation-targets@7.22.5(@babel/core@7.9.0): resolution: {integrity: sha512-Ji+ywpHeuqxB8WDxraCiqR0xfhYjiDE/e6k7FuIaANnoOFxAHskHChz4vA1mJC9Lbm01s1PVAGhQY4FUKSkGZw==} @@ -6445,7 +6445,7 @@ packages: '@babel/helper-validator-option': 7.22.5 browserslist: 4.21.5 lru-cache: 5.1.1 - semver: 6.3.0 + semver: 6.3.1 /@babel/helper-compilation-targets@7.22.9(@babel/core@7.22.8): resolution: {integrity: sha512-7qYrNM6HjpnPHJbopxmb8hSPoZ0gsX8IvUS32JGVoy+pU9e5N0nLr1VjJoR6kA4d9dmGLxNYOjeB8sUDal2WMw==} @@ -6539,7 +6539,7 @@ packages: '@babel/helper-replace-supers': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.5 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6558,7 +6558,7 @@ packages: '@babel/helper-replace-supers': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.5 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6577,7 +6577,7 @@ packages: '@babel/helper-replace-supers': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.5 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6596,7 +6596,7 @@ packages: '@babel/helper-replace-supers': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.5 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6682,7 +6682,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true @@ -6699,7 +6699,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6716,7 +6716,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6733,7 +6733,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color dev: false @@ -6748,7 +6748,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6763,7 +6763,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -6778,7 +6778,7 @@ packages: debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -18319,7 +18319,7 @@ packages: node-stream-zip: 1.15.0 ora: 5.4.1 prompts: 2.4.2 - semver: 6.3.0 + semver: 6.3.1 strip-ansi: 5.2.0 sudo-prompt: 9.2.1 wcwidth: 1.0.1 @@ -18555,7 +18555,7 @@ packages: node-fetch: 2.6.9 open: 6.4.0 ora: 5.4.1 - semver: 6.3.0 + semver: 6.3.1 shell-quote: 1.7.3 transitivePeerDependencies: - encoding @@ -27742,7 +27742,7 @@ packages: dependencies: '@babel/compat-data': 7.22.5 '@babel/helper-define-polyfill-provider': 0.3.3 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -27754,7 +27754,7 @@ packages: '@babel/compat-data': 7.22.5 '@babel/core': 7.22.8 '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.22.8) - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -27766,7 +27766,7 @@ packages: '@babel/compat-data': 7.22.5 '@babel/core': 7.22.9 '@babel/helper-define-polyfill-provider': 0.3.3(@babel/core@7.22.9) - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -27934,7 +27934,7 @@ packages: babel-plugin-syntax-jsx: 6.18.0 lodash: 4.17.21 picomatch: 2.3.1 - styled-components: 5.3.5(react-dom@17.0.2)(react-is@17.0.2)(react@17.0.2) + styled-components: 5.3.5(react-is@18.1.0)(react@18.0.0) /babel-plugin-syntax-jsx@6.18.0: resolution: {integrity: sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==} @@ -30522,7 +30522,7 @@ packages: json-stringify-safe: 5.0.1 lodash: 4.17.21 meow: 8.1.2 - semver: 6.3.0 + semver: 6.3.1 split: 1.0.1 through2: 4.0.2 dev: true @@ -31072,7 +31072,7 @@ packages: postcss-modules-values: 3.0.0 postcss-value-parser: 4.2.0 schema-utils: 2.7.1 - semver: 6.3.0 + semver: 6.3.1 webpack: 4.42.1 dev: true @@ -34139,7 +34139,7 @@ packages: object.values: 1.1.6 prop-types: 15.8.1 resolve: 1.22.1 - semver: 6.3.0 + semver: 6.3.1 string.prototype.matchall: 4.0.8 xregexp: 4.4.1 @@ -34289,7 +34289,7 @@ packages: optionator: 0.8.3 progress: 2.0.3 regexpp: 2.0.1 - semver: 6.3.0 + semver: 6.3.1 strip-ansi: 5.2.0 strip-json-comments: 3.1.1 table: 5.4.6 @@ -36991,7 +36991,7 @@ packages: hasBin: true dependencies: meow: 8.1.2 - semver: 6.3.0 + semver: 6.3.1 dev: true /git-up@4.0.5: @@ -39144,7 +39144,7 @@ packages: '@babel/traverse': 7.22.5 '@babel/types': 7.22.5 istanbul-lib-coverage: 2.0.5 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -41389,7 +41389,7 @@ packages: mkdirp: 0.5.6 natural-compare: 1.4.0 pretty-format: 24.9.0 - semver: 6.3.0 + semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -43936,7 +43936,7 @@ packages: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} dependencies: - semver: 6.3.0 + semver: 6.3.1 /make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} @@ -46229,10 +46229,6 @@ packages: resolution: {integrity: sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==} dev: false - /node-addon-api@6.1.0: - resolution: {integrity: sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==} - dev: false - /node-dir@0.1.17: resolution: {integrity: sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg==} engines: {node: '>= 0.10.5'} @@ -47106,7 +47102,7 @@ packages: got: 9.6.0 registry-auth-token: 3.4.0 registry-url: 5.1.0 - semver: 6.3.0 + semver: 6.3.1 /pako@1.0.11: resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} @@ -53118,7 +53114,7 @@ packages: loader-utils: 1.4.0 neo-async: 2.6.2 schema-utils: 2.7.1 - semver: 6.3.0 + semver: 6.3.1 webpack: 4.42.0 /sax@1.2.4: @@ -53281,7 +53277,7 @@ packages: resolution: {integrity: sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==} engines: {node: '>=8'} dependencies: - semver: 6.3.0 + semver: 6.3.1 /semver@2.3.2: resolution: {integrity: sha512-abLdIKCosKfpnmhS52NCTjO4RiLspDfsn37prjzGrp9im5DPJOgh82Os92vtwGh6XdQryKI/7SREZnV+aqiXrA==} @@ -54829,7 +54825,6 @@ packages: react-is: 18.1.0 shallowequal: 1.1.0 supports-color: 5.5.0 - dev: false /styled-system@5.1.5: resolution: {integrity: sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==} @@ -57369,13 +57364,13 @@ packages: dev: false optional: true - /usb@2.9.0: - resolution: {integrity: sha512-G0I/fPgfHUzWH8xo2KkDxTTFruUWfppgSFJ+bQxz/kVY2x15EQ/XDB7dqD1G432G4gBG4jYQuF3U7j/orSs5nw==} + /usb@2.5.1: + resolution: {integrity: sha512-/VNr4wUL32KVqyrVJ1HGBhDEvklhouVh+8ehIGKv6FsOKz6MWlkYLLAEyXbRo72HXhhiFNj6bwz6L+bIk8F0Yw==} engines: {node: '>=10.20.0 <11.x || >=12.17.0 <13.0 || >=14.0.0'} requiresBuild: true dependencies: '@types/w3c-web-usb': 1.0.6 - node-addon-api: 6.1.0 + node-addon-api: 4.3.0 node-gyp-build: 4.6.0 dev: false @@ -58957,7 +58952,7 @@ packages: portfinder: 1.0.28(supports-color@6.1.0) schema-utils: 1.0.0 selfsigned: 1.10.14 - semver: 6.3.0 + semver: 6.3.1 serve-index: 1.9.1(supports-color@6.1.0) sockjs: 0.3.20 sockjs-client: 1.4.0(supports-color@6.1.0)