You should use 6.2.0-beta6, which already has the changes applies. You don't need to install a patch at all.
In addition, you can't apply a patch to a composer file. It's impossible, because the composer file is required prior to patching.
I have included webform's composer.libraries.json in a project-level composer.json. However, I see a warning on the Drupal Status page that popperjs is included via CDN, whereas all the other libraries have been correctly installed in the libraries folder.
Popper.js 2.11.6 (CDN).
Please download the Popper.js library from https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz and copy it to /libraries/popperjs or use Drush to install this library.
(Popper.js is used to provide tooltip behavior for elements.}
As an additional bug note, you can see that the blockquote ends with a curly-brace }
instead of a closing parenthesis.
Look in composer.libraries.json to see the popperjs library is missing from there.
Include the file in composer.json with
"require": {
...
"wikimedia/composer-merge-plugin": "^2.0"
},
"extra": {
"merge-plugin": {
"include": [
"web/modules/contrib/webform/composer.libraries.json"
]
},
Add the missing library.
Fixed
6.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
You should use 6.2.0-beta6, which already has the changes applies. You don't need to install a patch at all.
In addition, you can't apply a patch to a composer file. It's impossible, because the composer file is required prior to patching.