mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix: upgrade jest to remove security vulnerability (#1267)
* fix: upgrade jest to remove security vulnerability * fix lint
This commit is contained in:
parent
48f95219a8
commit
801453fae6
5 changed files with 3452 additions and 2861 deletions
|
@ -92,7 +92,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
"babel-core": "^7.0.0-bridge.0",
|
||||||
"babel-eslint": "^8.2.5",
|
"babel-eslint": "^8.2.5",
|
||||||
"babel-jest": "^23.6.0",
|
"babel-jest": "^24.1.0",
|
||||||
"eslint": "^4.19.1",
|
"eslint": "^4.19.1",
|
||||||
"eslint-config-airbnb": "17.0.0",
|
"eslint-config-airbnb": "17.0.0",
|
||||||
"eslint-config-prettier": "^2.9.0",
|
"eslint-config-prettier": "^2.9.0",
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
"front-matter": "^2.3.0",
|
"front-matter": "^2.3.0",
|
||||||
"glob-promise": "^3.3.0",
|
"glob-promise": "^3.3.0",
|
||||||
"husky": "^0.14.3",
|
"husky": "^0.14.3",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.1.0",
|
||||||
"lint-staged": "^7.2.0",
|
"lint-staged": "^7.2.0",
|
||||||
"rimraf": "^2.6.2"
|
"rimraf": "^2.6.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,8 +33,4 @@ Showcase.propTypes = {
|
||||||
users: PropTypes.array.isRequired,
|
users: PropTypes.array.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
Showcase.defaultProps = {
|
|
||||||
users: [],
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = Showcase;
|
module.exports = Showcase;
|
||||||
|
|
4018
v1/yarn.lock
4018
v1/yarn.lock
File diff suppressed because it is too large
Load diff
|
@ -39,7 +39,7 @@
|
||||||
"eslint-plugin-jsx-a11y": "^6.0.3",
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
||||||
"eslint-plugin-react": "^7.11.1",
|
"eslint-plugin-react": "^7.11.1",
|
||||||
"eslint-plugin-react-hooks": "^0.0.0",
|
"eslint-plugin-react-hooks": "^0.0.0",
|
||||||
"jest": "^23.4.2",
|
"jest": "^24.1.0",
|
||||||
"react": "^16.7.0-alpha.0",
|
"react": "^16.7.0-alpha.0",
|
||||||
"react-dom": "^16.7.0-alpha.0",
|
"react-dom": "^16.7.0-alpha.0",
|
||||||
"react-helmet": "^5.2.0"
|
"react-helmet": "^5.2.0"
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"@babel/polyfill": "^7.0.0",
|
"@babel/polyfill": "^7.0.0",
|
||||||
"@babel/preset-env": "^7.0.0",
|
"@babel/preset-env": "^7.0.0",
|
||||||
"@babel/preset-react": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"babel-jest": "^23.6.0",
|
"babel-jest": "^24.1.0",
|
||||||
"babel-loader": "^8.0.0",
|
"babel-loader": "^8.0.0",
|
||||||
"babel-plugin-dynamic-import-node": "^2.2.0",
|
"babel-plugin-dynamic-import-node": "^2.2.0",
|
||||||
"chalk": "^2.4.1",
|
"chalk": "^2.4.1",
|
||||||
|
|
2283
v2/yarn.lock
2283
v2/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue