From 41068c9ad749db02d97fc06ea573e2b78213daf6 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 4 Mar 2024 13:33:21 -0330 Subject: [PATCH] chore: Remove `ua-parser-js` resolution (#8816) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## **Description** This resolution was added in #5594 to force the package to update, but the resolution was not actually needed. Effectively it serves only to downgrade the v1 version of this package, which is not necessary. ## **Related issues** N/A ## **Manual testing steps** N/A ## **Screenshots/Recordings** N/A ## **Pre-merge author checklist** - [x] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've clearly explained what problem this PR is solving and how it is solved. - [x] I've linked related issues - [x] I've included manual testing steps - [x] I've included screenshots/recordings if applicable - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. - [x] I’ve properly set the pull request status: - [x] In case it's not yet "ready for review", I've set it to "draft". - [x] In case it's "ready for review", I've changed it from "draft" to "non-draft". ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --- package.json | 1 - yarn.lock | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d1e0a878d5b..c75fc782bcf 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,6 @@ "**/ansi-regex": "^5.0.1", "**/node-fetch": "^2.6.7", "**/lodash": "^4.17.21", - "**/ua-parser-js": "^0.7.33", "**/y18n": "^3.2.2", "**/xml2js": ">=0.5.0", "react-native-level-fs/**/bl": "^1.2.3", diff --git a/yarn.lock b/yarn.lock index 7dea2271c97..38d562c91da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26923,11 +26923,16 @@ u2f-api@0.2.7: resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-0.2.7.tgz#17bf196b242f6bf72353d9858e6a7566cc192720" integrity sha512-fqLNg8vpvLOD5J/z4B6wpPg4Lvowz1nJ9xdHcCzdUPKcFE/qNCceV2gNZxSJd5vhAZemHr/K/hbzVA0zxB5mkg== -ua-parser-js@^0.7.18, ua-parser-js@^0.7.21, ua-parser-js@^0.7.33, ua-parser-js@^1.0.1: +ua-parser-js@^0.7.18, ua-parser-js@^0.7.21: version "0.7.33" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.33.tgz#1d04acb4ccef9293df6f70f2c3d22f3030d8b532" integrity sha512-s8ax/CeZdK9R/56Sui0WM6y9OFREJarMRHqLB2EwkovemBxNQ+Bqu8GAsUnVcXKgphb++ghr/B2BZx4mahujPw== +ua-parser-js@^1.0.1: + version "1.0.37" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.37.tgz#b5dc7b163a5c1f0c510b08446aed4da92c46373f" + integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== + ufo@^1.3.0, ufo@^1.3.1, ufo@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.3.2.tgz#c7d719d0628a1c80c006d2240e0d169f6e3c0496"