Skip to content

Commit

Permalink
chore(deps-dev): bump markdownlint-cli from 0.41.0 to 0.42.0 (techno-…
Browse files Browse the repository at this point in the history
…tim#687)

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](igorshubovych/markdownlint-cli@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Techno Tim <[email protected]>
  • Loading branch information
dependabot[bot] and timothystewart6 authored Oct 28, 2024
1 parent d9f6413 commit eea285e
Show file tree
Hide file tree
Showing 4 changed files with 1,292 additions and 1,825 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"lint:markdown": "markdownlint .github/*.md && markdownlint README.md"
},
"dependencies": {
"@fortawesome/free-brands-svg-icons": "^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-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"compression": "^1.7.4",
"express": "^4.20.0",
Expand All @@ -34,8 +34,8 @@
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-react": "^7.24.7",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-react": "^7.24.7",
"babel-preset-razzle": "^4.2.18",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -46,7 +46,7 @@
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-react": "^7.35.2",
"html-webpack-plugin": "^5.6.3",
"markdownlint-cli": "^0.41.0",
"markdownlint-cli": "^0.42.0",
"mini-css-extract-plugin": "^2.9.1",
"prettier": "^3.3.3",
"razzle": "^4.2.18",
Expand Down
6 changes: 6 additions & 0 deletions src/components/Avatar/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ import { runtimeConfig } from '../../config';

import './Avatar.css';

// Avatar component that renders an image with shadow.
function Avatar(props) {
// Props of the component.
const { src, srcSet, alt } = props;

// Get avatar size from runtime config.
const avatarSize = runtimeConfig.AVATAR_SIZE || null;

// Render the image with shadow.
return (
<img
className={'avatar' + addShadow()}
Expand All @@ -20,6 +25,7 @@ function Avatar(props) {
);
}

// Memoize the component to improve performance.
export default memo(Avatar);

Avatar.propType = {
Expand Down
3 changes: 1 addition & 2 deletions src/components/Button/Button.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { memo } from 'react';
import { string, number, object } from 'prop-types';
import { string, object } from 'prop-types';
import { trackGoogleEvent } from '../../analytics/google';
import { runtimeConfig } from '../../config';
import { trackUmamiEvent } from '../../analytics/umami';
Expand Down Expand Up @@ -55,7 +55,6 @@ Button.propType = {
displayName: string.isRequired,
href: string.isRequired,
name: string.isRequired,
order: number.isRequired,
logo: string,
icon: string,
styles: object,
Expand Down
Loading

0 comments on commit eea285e

Please sign in to comment.