* Update dependency raw-loader to v4

* Fix markdown require to use default export.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
This commit is contained in:
renovate[bot] 2020-02-20 12:38:28 -07:00 committed by GitHub
parent 8e98002c27
commit d724d5fa68
3 changed files with 19 additions and 7 deletions

View File

@ -28,7 +28,7 @@ class Docs extends Component {
getReadme() {
const { filePath } = this.props;
const readme = require( `../../packages/components/src/${ filePath }/README.md` );
const readme = require( `../../packages/components/src/${ filePath }/README.md` ).default;
if ( ! readme ) {
return;

View File

@ -17054,13 +17054,25 @@
}
},
"raw-loader": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-1.0.0.tgz",
"integrity": "sha512-Uqy5AqELpytJTRxYT4fhltcKPj0TyaEpzJDcGz7DFJi+pQOOi3GjR/DOdxTkTsF+NzhnldIoG6TORaBlInUuqA==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-4.0.0.tgz",
"integrity": "sha512-iINUOYvl1cGEmfoaLjnZXt4bKfT2LJnZZib5N/LLyAphC+Dd11vNP9CNVb38j+SAJpFI1uo8j9frmih53ASy7Q==",
"dev": true,
"requires": {
"loader-utils": "^1.1.0",
"schema-utils": "^1.0.0"
"loader-utils": "^1.2.3",
"schema-utils": "^2.5.0"
},
"dependencies": {
"schema-utils": {
"version": "2.6.4",
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.6.4.tgz",
"integrity": "sha512-VNjcaUxVnEeun6B2fiiUDjXXBtD4ZSH7pdbfIu1pOFwgptDPLMo/z9jr4sUfsjFVPqDCEin/F7IYlq7/E6yDbQ==",
"dev": true,
"requires": {
"ajv": "^6.10.2",
"ajv-keywords": "^3.4.1"
}
}
}
},
"rc": {

View File

@ -180,7 +180,7 @@
"prettier": "npm:wp-prettier@1.19.1",
"promptly": "3.0.3",
"prop-types": "15.7.2",
"raw-loader": "1.0.0",
"raw-loader": "4.0.0",
"react-docgen": "5.2.1",
"readline-sync": "1.4.10",
"recast": "0.18.5",