SFI: Component Governance fixes 6/19/24 (#13367)

## Description

This PR addresses Component Governance alerts for 6/19/24.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
Resolve Component Governance alerts.

### What
Updated versions of `braces` (via updating `globby`) and `ws` (via resolution). Had to use a resolution for `ws` because I wasn't able to bump `webdriverio` because it doesn't work with WinAppDriver, see https://github.com/microsoft/WinAppDriver/issues/1543.

## Screenshots
N/A

## Testing
Verified e2e-test-app still works

## Changelog
Should this change be included in the release notes: no
This commit is contained in:
Jon Thysell 2024-06-20 12:56:59 -07:00 коммит произвёл GitHub
Родитель fa5da4b495
Коммит 3c44fd269a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
7 изменённых файлов: 59 добавлений и 635 удалений

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "SFI: Component Governance fixes 6/19/24",
"packageName": "@react-native-windows/codegen",
"email": "jthysell@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "SFI: Component Governance fixes 6/19/24",
"packageName": "react-native-platform-override",
"email": "jthysell@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -58,9 +58,10 @@
"strip-ansi": "^6.0.1",
"**/parse-url/normalize-url": "^4.5.1",
"**/@react-native/monorepo/node_modules/jest-junit": "^13.0.0",
"**/@react-native/monorepo/node_modules/ws": "^6.2.2",
"**/@react-native/tester/ws": "^6.2.2",
"**/detox/ws": "^5.2.3",
"**/@react-native/monorepo/node_modules/ws": "^6.2.3",
"**/@react-native/tester/ws": "^6.2.3",
"**/webdriverio/**/puppeteer-core/ws": "^8.17.1",
"**/detox/ws": "^5.2.4",
"xml2js": "^0.5.0",
"z-schema": "^5.0.2"
},

Просмотреть файл

@ -24,7 +24,7 @@
"dependencies": {
"@react-native-windows/fs": "^0.0.0-canary.52",
"chalk": "^4.1.0",
"globby": "^11.0.4",
"globby": "^11.1.0",
"mustache": "^4.0.1",
"source-map-support": "^0.5.19",
"yargs": "^16.2.0"

Просмотреть файл

@ -29,7 +29,7 @@
"async": "^3.2.3",
"chalk": "^4.1.0",
"fp-ts": "^2.5.0",
"globby": "^9.2.0",
"globby": "^11.1.0",
"inquirer": "^7.1.0",
"io-ts": "^2.1.1",
"isutf8": "^3.0.0",
@ -53,11 +53,9 @@
"@types/async": "^3.2.5",
"@types/chalk": "^2.2.0",
"@types/diff-match-patch": "^1.0.32",
"@types/globby": "^9.1.0",
"@types/inquirer": "^6.5.0",
"@types/jest": "^29.2.2",
"@types/lodash": "^4.14.168",
"@types/minimatch": "^3.0.3",
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.5.8",
"@types/ora": "^3.2.0",
@ -67,7 +65,7 @@
"diff-match-patch": "^1.0.4",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"minimatch": "^3.0.4",
"minimatch": "^9.0.0",
"prettier": "2.8.8",
"typescript": "5.0.4"
},

Просмотреть файл

@ -5,7 +5,7 @@
* @format
*/
import minimatch from 'minimatch';
import { Minimatch } from 'minimatch';
import FileRepository, {
ReactFileRepository,
@ -44,7 +44,7 @@ export default class MockFileRepository implements FileRepository {
}
async listFiles(globs: string[] = ['**']): Promise<string[]> {
const parsedGlobs = globs.map(g => new minimatch.Minimatch(g, {dot: true}));
const parsedGlobs = globs.map(g => new Minimatch(g, {dot: true}));
const includeGlobs = parsedGlobs.filter(m => !m.negate);
const excludeGlobs = parsedGlobs.filter(m => m.negate);

661
yarn.lock

Разница между файлами не показана из-за своего большого размера Загрузить разницу