Skip to content

Commit 96c074c

Browse files
committed
fixup! chore: migrate to yarn modern
Fix split lockfile entries that fail hardened mode (YN0078) yarn up -R collapses stale npm: entries for react-infolabel, react-list, react-persona, react-textarea into workspace descriptors
1 parent 1e47bea commit 96c074c

3 files changed

Lines changed: 6 additions & 103 deletions

File tree

packages/react-components/react-tabster/src/hooks/useFocusObserved.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export function useFocusObserved(
3434
return {
3535
result: Promise.resolve(false),
3636
cancel: () => null,
37-
diagnostics: {},
3837
};
3938
}, [observedAPIRef, name, timeout]);
4039
}

scripts/puppeteer/src/utils.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,11 @@ export async function launch(options: LaunchOptions = {}) {
99

1010
let browser: puppeteer.Browser | undefined;
1111

12-
// In CI environments (especially Linux), Chrome requires --no-sandbox to run properly
13-
// See: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
14-
const isCI = process.env.CI === 'true' || process.env.CI === '1';
15-
const defaultArgs = isCI ? ['--no-sandbox', '--disable-setuid-sandbox'] : [];
16-
const mergedOptions: LaunchOptions = {
17-
...options,
18-
args: [...defaultArgs, ...(options.args || [])],
19-
};
20-
21-
console.log(`puppeteer: launching with settings: ${JSON.stringify(mergedOptions)}`);
12+
console.log(`puppeteer: launching with settings: ${JSON.stringify(options)}`);
2213

2314
while (!browser) {
2415
try {
25-
browser = await puppeteer.launch(mergedOptions);
16+
browser = await puppeteer.launch(options);
2617
console.log('puppeteer: launched...');
2718
} catch (err) {
2819
if (attempt === maxAttempts) {

yarn.lock

Lines changed: 4 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -4677,7 +4677,7 @@ __metadata:
46774677
languageName: unknown
46784678
linkType: soft
46794679

4680-
"@fluentui/react-infolabel@npm:*, @fluentui/react-infolabel@workspace:packages/react-components/react-infolabel/library":
4680+
"@fluentui/react-infolabel@npm:*, @fluentui/react-infolabel@npm:^9.4.15, @fluentui/react-infolabel@workspace:packages/react-components/react-infolabel/library":
46814681
version: 0.0.0-use.local
46824682
resolution: "@fluentui/react-infolabel@workspace:packages/react-components/react-infolabel/library"
46834683
dependencies:
@@ -4699,29 +4699,6 @@ __metadata:
46994699
languageName: unknown
47004700
linkType: soft
47014701

4702-
"@fluentui/react-infolabel@npm:^9.4.15":
4703-
version: 9.4.15
4704-
resolution: "@fluentui/react-infolabel@npm:9.4.15"
4705-
dependencies:
4706-
"@fluentui/react-icons": "npm:^2.0.245"
4707-
"@fluentui/react-jsx-runtime": "npm:^9.4.0"
4708-
"@fluentui/react-label": "npm:^9.3.14"
4709-
"@fluentui/react-popover": "npm:^9.13.1"
4710-
"@fluentui/react-shared-contexts": "npm:^9.26.1"
4711-
"@fluentui/react-tabster": "npm:^9.26.12"
4712-
"@fluentui/react-theme": "npm:^9.2.1"
4713-
"@fluentui/react-utilities": "npm:^9.26.1"
4714-
"@griffel/react": "npm:^1.5.32"
4715-
"@swc/helpers": "npm:^0.5.1"
4716-
peerDependencies:
4717-
"@types/react": ">=16.8.0 <20.0.0"
4718-
"@types/react-dom": ">=16.8.0 <20.0.0"
4719-
react: ">=16.14.0 <20.0.0"
4720-
react-dom: ">=16.8.0 <20.0.0"
4721-
checksum: 10c0/7a70141578e375794c5854821f7b5743b6943f1ef0dcf6a4cc95b8e0b9b46456a16931ac325588e435c7aa60da40929e9fd12f0f9c81b1b5a3cca8c73a7a5f02
4722-
languageName: node
4723-
linkType: hard
4724-
47254702
"@fluentui/react-input-stories@workspace:packages/react-components/react-input/stories":
47264703
version: 0.0.0-use.local
47274704
resolution: "@fluentui/react-input-stories@workspace:packages/react-components/react-input/stories"
@@ -4827,7 +4804,7 @@ __metadata:
48274804
languageName: unknown
48284805
linkType: soft
48294806

4830-
"@fluentui/react-list@npm:*, @fluentui/react-list@workspace:packages/react-components/react-list/library":
4807+
"@fluentui/react-list@npm:*, @fluentui/react-list@npm:^9.6.9, @fluentui/react-list@workspace:packages/react-components/react-list/library":
48314808
version: 0.0.0-use.local
48324809
resolution: "@fluentui/react-list@workspace:packages/react-components/react-list/library"
48334810
dependencies:
@@ -4849,29 +4826,6 @@ __metadata:
48494826
languageName: unknown
48504827
linkType: soft
48514828

4852-
"@fluentui/react-list@npm:^9.6.9":
4853-
version: 9.6.9
4854-
resolution: "@fluentui/react-list@npm:9.6.9"
4855-
dependencies:
4856-
"@fluentui/keyboard-keys": "npm:^9.0.8"
4857-
"@fluentui/react-checkbox": "npm:^9.5.14"
4858-
"@fluentui/react-context-selector": "npm:^9.2.14"
4859-
"@fluentui/react-jsx-runtime": "npm:^9.4.0"
4860-
"@fluentui/react-shared-contexts": "npm:^9.26.1"
4861-
"@fluentui/react-tabster": "npm:^9.26.12"
4862-
"@fluentui/react-theme": "npm:^9.2.1"
4863-
"@fluentui/react-utilities": "npm:^9.26.1"
4864-
"@griffel/react": "npm:^1.5.32"
4865-
"@swc/helpers": "npm:^0.5.1"
4866-
peerDependencies:
4867-
"@types/react": ">=16.8.0 <20.0.0"
4868-
"@types/react-dom": ">=16.8.0 <20.0.0"
4869-
react: ">=16.14.0 <20.0.0"
4870-
react-dom: ">=16.8.0 <20.0.0"
4871-
checksum: 10c0/a5c15ef622d731d2d61258c17f628ba5ec0cd724604cec02ad71e1ec213fb441412dd393187458c2e148ec2a3720a187b674c9503c93173a4fde042f55c6b35c
4872-
languageName: node
4873-
linkType: hard
4874-
48754829
"@fluentui/react-menu-grid-preview-stories@workspace:packages/react-components/react-menu-grid-preview/stories":
48764830
version: 0.0.0-use.local
48774831
resolution: "@fluentui/react-menu-grid-preview-stories@workspace:packages/react-components/react-menu-grid-preview/stories"
@@ -5216,7 +5170,7 @@ __metadata:
52165170
languageName: unknown
52175171
linkType: soft
52185172

5219-
"@fluentui/react-persona@npm:*, @fluentui/react-persona@workspace:packages/react-components/react-persona/library":
5173+
"@fluentui/react-persona@npm:*, @fluentui/react-persona@npm:^9.6.0, @fluentui/react-persona@workspace:packages/react-components/react-persona/library":
52205174
version: 0.0.0-use.local
52215175
resolution: "@fluentui/react-persona@workspace:packages/react-components/react-persona/library"
52225176
dependencies:
@@ -5236,27 +5190,6 @@ __metadata:
52365190
languageName: unknown
52375191
linkType: soft
52385192

5239-
"@fluentui/react-persona@npm:^9.6.0":
5240-
version: 9.6.0
5241-
resolution: "@fluentui/react-persona@npm:9.6.0"
5242-
dependencies:
5243-
"@fluentui/react-avatar": "npm:^9.10.0"
5244-
"@fluentui/react-badge": "npm:^9.4.14"
5245-
"@fluentui/react-jsx-runtime": "npm:^9.4.0"
5246-
"@fluentui/react-shared-contexts": "npm:^9.26.1"
5247-
"@fluentui/react-theme": "npm:^9.2.1"
5248-
"@fluentui/react-utilities": "npm:^9.26.1"
5249-
"@griffel/react": "npm:^1.5.32"
5250-
"@swc/helpers": "npm:^0.5.1"
5251-
peerDependencies:
5252-
"@types/react": ">=16.14.0 <20.0.0"
5253-
"@types/react-dom": ">=16.9.0 <20.0.0"
5254-
react: ">=16.14.0 <20.0.0"
5255-
react-dom: ">=16.14.0 <20.0.0"
5256-
checksum: 10c0/c99eda2bd5356c47989f2103822ff169fc67ddab607e71a01df3dde962f0d9bdacac83991308b230137f82e7d2a82e59b0e227e15cdd9b705879fbddfb80c07d
5257-
languageName: node
5258-
linkType: hard
5259-
52605193
"@fluentui/react-popover-stories@workspace:packages/react-components/react-popover/stories":
52615194
version: 0.0.0-use.local
52625195
resolution: "@fluentui/react-popover-stories@workspace:packages/react-components/react-popover/stories"
@@ -5953,7 +5886,7 @@ __metadata:
59535886
languageName: unknown
59545887
linkType: soft
59555888

5956-
"@fluentui/react-textarea@npm:*, @fluentui/react-textarea@workspace:packages/react-components/react-textarea/library":
5889+
"@fluentui/react-textarea@npm:*, @fluentui/react-textarea@npm:^9.6.14, @fluentui/react-textarea@workspace:packages/react-components/react-textarea/library":
59575890
version: 0.0.0-use.local
59585891
resolution: "@fluentui/react-textarea@workspace:packages/react-components/react-textarea/library"
59595892
dependencies:
@@ -5972,26 +5905,6 @@ __metadata:
59725905
languageName: unknown
59735906
linkType: soft
59745907

5975-
"@fluentui/react-textarea@npm:^9.6.14":
5976-
version: 9.6.14
5977-
resolution: "@fluentui/react-textarea@npm:9.6.14"
5978-
dependencies:
5979-
"@fluentui/react-field": "npm:^9.4.14"
5980-
"@fluentui/react-jsx-runtime": "npm:^9.4.0"
5981-
"@fluentui/react-shared-contexts": "npm:^9.26.1"
5982-
"@fluentui/react-theme": "npm:^9.2.1"
5983-
"@fluentui/react-utilities": "npm:^9.26.1"
5984-
"@griffel/react": "npm:^1.5.32"
5985-
"@swc/helpers": "npm:^0.5.1"
5986-
peerDependencies:
5987-
"@types/react": ">=16.14.0 <20.0.0"
5988-
"@types/react-dom": ">=16.9.0 <20.0.0"
5989-
react: ">=16.14.0 <20.0.0"
5990-
react-dom: ">=16.14.0 <20.0.0"
5991-
checksum: 10c0/b6138929146a0676c60f29d0f248cd05e09c84d09de1f768925a12c11272ba19e42d851db0263be6fddb55bb6c18db402f29cb83724808583a4f294056b8ebcb
5992-
languageName: node
5993-
linkType: hard
5994-
59955908
"@fluentui/react-theme-sass@workspace:packages/react-components/react-theme-sass":
59965909
version: 0.0.0-use.local
59975910
resolution: "@fluentui/react-theme-sass@workspace:packages/react-components/react-theme-sass"

0 commit comments

Comments
 (0)