Update dependency raw-loader to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3735)
* 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:
parent
8e98002c27
commit
d724d5fa68
|
@ -28,7 +28,7 @@ class Docs extends Component {
|
||||||
|
|
||||||
getReadme() {
|
getReadme() {
|
||||||
const { filePath } = this.props;
|
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 ) {
|
if ( ! readme ) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -17054,13 +17054,25 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"raw-loader": {
|
"raw-loader": {
|
||||||
"version": "1.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-4.0.0.tgz",
|
||||||
"integrity": "sha512-Uqy5AqELpytJTRxYT4fhltcKPj0TyaEpzJDcGz7DFJi+pQOOi3GjR/DOdxTkTsF+NzhnldIoG6TORaBlInUuqA==",
|
"integrity": "sha512-iINUOYvl1cGEmfoaLjnZXt4bKfT2LJnZZib5N/LLyAphC+Dd11vNP9CNVb38j+SAJpFI1uo8j9frmih53ASy7Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"loader-utils": "^1.1.0",
|
"loader-utils": "^1.2.3",
|
||||||
"schema-utils": "^1.0.0"
|
"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": {
|
"rc": {
|
||||||
|
|
|
@ -180,7 +180,7 @@
|
||||||
"prettier": "npm:wp-prettier@1.19.1",
|
"prettier": "npm:wp-prettier@1.19.1",
|
||||||
"promptly": "3.0.3",
|
"promptly": "3.0.3",
|
||||||
"prop-types": "15.7.2",
|
"prop-types": "15.7.2",
|
||||||
"raw-loader": "1.0.0",
|
"raw-loader": "4.0.0",
|
||||||
"react-docgen": "5.2.1",
|
"react-docgen": "5.2.1",
|
||||||
"readline-sync": "1.4.10",
|
"readline-sync": "1.4.10",
|
||||||
"recast": "0.18.5",
|
"recast": "0.18.5",
|
||||||
|
|
Loading…
Reference in New Issue