Skip to content

Commit

Permalink
v1.6.1: Update of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
birdofpreyru committed May 5, 2024
1 parent 6b87777 commit 5369d34
Show file tree
Hide file tree
Showing 8 changed files with 2,509 additions and 3,207 deletions.
6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"plugins": ["@babel"],
"rules": {
"react/jsx-uses-react": 0,
"react/react-in-jsx-scope": 0
"react/react-in-jsx-scope": 0,

// TODO: .defaultProps will be deprecated in React@19.
// Remove this rule override once AirBnB ESLint config is updated.
"react/require-default-props": 0
}
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.0
20.12.2
3,139 changes: 1,184 additions & 1,955 deletions docs/package-lock.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.1.0",
"@docusaurus/preset-classic": "^3.1.0",
"@dr.pogodin/react-themes": "file:../dr.pogodin-react-themes-1.6.0.tgz",
"@mdx-js/react": "^3.0.0",
"@docusaurus/core": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2",
"@dr.pogodin/react-themes": "file:../dr.pogodin-react-themes-1.6.1.tgz",
"@mdx-js/react": "^3.0.1",
"@svgr/webpack": "^8.1.0",
"dayjs": "^1.11.10",
"dayjs": "^1.11.11",
"docusaurus-plugin-sass": "^0.2.5",
"file-loader": "^6.2.0",
"prism-react-renderer": "^2.3.1",
"raw-loader": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.69.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sass": "^1.76.0",
"url-loader": "^4.1.1"
},
"browserslist": {
Expand Down
7 changes: 1 addition & 6 deletions jest/TestComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type ComponentProps = {

export default function Component({
children,
goodKey,
goodKey = '',
theme,
}: ComponentProps) {
return (
Expand All @@ -24,8 +24,3 @@ export default function Component({
</div>
);
}

Component.defaultProps = {
children: null,
goodKey: '',
};
Loading

0 comments on commit 5369d34

Please sign in to comment.