Skip to content

Commit f862bfc

Browse files
authored
downgrade fortawesome packages until we understand issues (#145)
* downgrade fortawesome packages until we understand issues * update CHANGELOG.md * update snapshots
1 parent a8a5eb6 commit f862bfc

File tree

4 files changed

+34
-32
lines changed

4 files changed

+34
-32
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
### Fixed
10+
- Downgrade `@fortawesome` packages which seemed to cause issues with html-formatter
911

1012
## [20.0.0] - 2022-04-12
1113
### Added

package-lock.json

+24-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"@cucumber/messages": "^18.0.0",
3030
"@cucumber/query": "^11.0.0",
3131
"@cucumber/tag-expressions": "^4.1.0",
32-
"@fortawesome/fontawesome-svg-core": "6.1.1",
33-
"@fortawesome/free-solid-svg-icons": "6.1.1",
32+
"@fortawesome/fontawesome-svg-core": "1.2.36",
33+
"@fortawesome/free-solid-svg-icons": "5.15.4",
3434
"@fortawesome/react-fontawesome": "0.1.18",
3535
"@teppeis/multimaps": "2.0.0",
3636
"@types/elasticlunr": "0.9.4",

src/components/gherkin/__snapshots__/GherkinStep.spec.tsx.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ exports[`<GherkinStep> renders 1`] = `
1010
>
1111
<svg
1212
aria-hidden="true"
13-
class="svg-inline--fa fa-circle-question fa-1x "
14-
data-icon="circle-question"
13+
class="svg-inline--fa fa-question-circle fa-w-16 fa-1x "
14+
data-icon="question-circle"
1515
data-prefix="fas"
1616
data-status="UNKNOWN"
1717
focusable="false"
@@ -20,7 +20,7 @@ exports[`<GherkinStep> renders 1`] = `
2020
xmlns="http://www.w3.org/2000/svg"
2121
>
2222
<path
23-
d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 400c-18 0-32-14-32-32s13.1-32 32-32c17.1 0 32 14 32 32S273.1 400 256 400zM325.1 258L280 286V288c0 13-11 24-24 24S232 301 232 288V272c0-8 4-16 12-21l57-34C308 213 312 206 312 198C312 186 301.1 176 289.1 176h-51.1C225.1 176 216 186 216 198c0 13-11 24-24 24s-24-11-24-24C168 159 199 128 237.1 128h51.1C329 128 360 159 360 198C360 222 347 245 325.1 258z"
23+
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"
2424
fill="currentColor"
2525
/>
2626
</svg>
@@ -37,16 +37,16 @@ exports[`<GherkinStep> renders 1`] = `
3737
>
3838
<svg
3939
aria-hidden="true"
40-
class="svg-inline--fa fa-link "
40+
class="svg-inline--fa fa-link fa-w-16 "
4141
data-icon="link"
4242
data-prefix="fas"
4343
focusable="false"
4444
role="img"
45-
viewBox="0 0 640 512"
45+
viewBox="0 0 512 512"
4646
xmlns="http://www.w3.org/2000/svg"
4747
>
4848
<path
49-
d="M172.5 131.1C228.1 75.51 320.5 75.51 376.1 131.1C426.1 181.1 433.5 260.8 392.4 318.3L391.3 319.9C381 334.2 361 337.6 346.7 327.3C332.3 317 328.9 297 339.2 282.7L340.3 281.1C363.2 249 359.6 205.1 331.7 177.2C300.3 145.8 249.2 145.8 217.7 177.2L105.5 289.5C73.99 320.1 73.99 372 105.5 403.5C133.3 431.4 177.3 435 209.3 412.1L210.9 410.1C225.3 400.7 245.3 404 255.5 418.4C265.8 432.8 262.5 452.8 248.1 463.1L246.5 464.2C188.1 505.3 110.2 498.7 60.21 448.8C3.741 392.3 3.741 300.7 60.21 244.3L172.5 131.1zM467.5 380C411 436.5 319.5 436.5 263 380C213 330 206.5 251.2 247.6 193.7L248.7 192.1C258.1 177.8 278.1 174.4 293.3 184.7C307.7 194.1 311.1 214.1 300.8 229.3L299.7 230.9C276.8 262.1 280.4 306.9 308.3 334.8C339.7 366.2 390.8 366.2 422.3 334.8L534.5 222.5C566 191 566 139.1 534.5 108.5C506.7 80.63 462.7 76.99 430.7 99.9L429.1 101C414.7 111.3 394.7 107.1 384.5 93.58C374.2 79.2 377.5 59.21 391.9 48.94L393.5 47.82C451 6.731 529.8 13.25 579.8 63.24C636.3 119.7 636.3 211.3 579.8 267.7L467.5 380z"
49+
d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"
5050
fill="currentColor"
5151
/>
5252
</svg>

0 commit comments

Comments
 (0)