chore(deps-dev): bump markdownlint-cli from 0.41.0 to 0.42.0 (#687)
Some checks failed
CI for releases / js-install-and-test (push) Failing after 1m36s
CI for releases / build-and-push-docker-image (push) Has been skipped

Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: markdownlint-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
This commit is contained in:
dependabot[bot] 2024-10-28 19:16:01 +00:00 committed by GitHub
parent d9f64136c5
commit eea285ec40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1287 additions and 1820 deletions

View File

@ -17,10 +17,10 @@
"lint:markdown": "markdownlint .github/*.md && markdownlint README.md" "lint:markdown": "markdownlint .github/*.md && markdownlint README.md"
}, },
"dependencies": { "dependencies": {
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0", "@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0", "@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0", "@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2", "@fortawesome/react-fontawesome": "^0.2.2",
"compression": "^1.7.4", "compression": "^1.7.4",
"express": "^4.20.0", "express": "^4.20.0",
@ -34,8 +34,8 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.25.2", "@babel/core": "^7.25.2",
"@babel/preset-react": "^7.24.7",
"@babel/eslint-parser": "^7.25.9", "@babel/eslint-parser": "^7.25.9",
"@babel/preset-react": "^7.24.7",
"babel-preset-razzle": "^4.2.18", "babel-preset-razzle": "^4.2.18",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
@ -46,7 +46,7 @@
"eslint-plugin-promise": "^6.6.0", "eslint-plugin-promise": "^6.6.0",
"eslint-plugin-react": "^7.35.2", "eslint-plugin-react": "^7.35.2",
"html-webpack-plugin": "^5.6.3", "html-webpack-plugin": "^5.6.3",
"markdownlint-cli": "^0.41.0", "markdownlint-cli": "^0.42.0",
"mini-css-extract-plugin": "^2.9.1", "mini-css-extract-plugin": "^2.9.1",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"razzle": "^4.2.18", "razzle": "^4.2.18",

View File

@ -5,10 +5,15 @@ import { runtimeConfig } from '../../config';
import './Avatar.css'; import './Avatar.css';
// Avatar component that renders an image with shadow.
function Avatar(props) { function Avatar(props) {
// Props of the component.
const { src, srcSet, alt } = props; const { src, srcSet, alt } = props;
// Get avatar size from runtime config.
const avatarSize = runtimeConfig.AVATAR_SIZE || null; const avatarSize = runtimeConfig.AVATAR_SIZE || null;
// Render the image with shadow.
return ( return (
<img <img
className={'avatar' + addShadow()} className={'avatar' + addShadow()}
@ -20,6 +25,7 @@ function Avatar(props) {
); );
} }
// Memoize the component to improve performance.
export default memo(Avatar); export default memo(Avatar);
Avatar.propType = { Avatar.propType = {

View File

@ -1,5 +1,5 @@
import React, { memo } from 'react'; import React, { memo } from 'react';
import { string, number, object } from 'prop-types'; import { string, object } from 'prop-types';
import { trackGoogleEvent } from '../../analytics/google'; import { trackGoogleEvent } from '../../analytics/google';
import { runtimeConfig } from '../../config'; import { runtimeConfig } from '../../config';
import { trackUmamiEvent } from '../../analytics/umami'; import { trackUmamiEvent } from '../../analytics/umami';
@ -55,7 +55,6 @@ Button.propType = {
displayName: string.isRequired, displayName: string.isRequired,
href: string.isRequired, href: string.isRequired,
name: string.isRequired, name: string.isRequired,
order: number.isRequired,
logo: string, logo: string,
icon: string, icon: string,
styles: object, styles: object,

3090
yarn.lock

File diff suppressed because it is too large Load Diff