fix(deps): update dependency js-yaml to v4 (#4797)
This commit is contained in:
@ -2,7 +2,7 @@ const pkg = require('./package.json');
|
||||
const fs = require('fs');
|
||||
const yaml = require('js-yaml');
|
||||
|
||||
const staticConfig = yaml.safeLoad(fs.readFileSync('./site.yml', 'utf8'));
|
||||
const staticConfig = yaml.load(fs.readFileSync('./site.yml', 'utf8'));
|
||||
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
|
@ -31,7 +31,7 @@
|
||||
"gatsby-transformer-json": "2.8.0",
|
||||
"gatsby-transformer-remark": "2.13.1",
|
||||
"gatsby-transformer-yaml": "2.8.0",
|
||||
"js-yaml": "^3.13.1",
|
||||
"js-yaml": "^4.0.0",
|
||||
"lodash": "^4.17.15",
|
||||
"moment": "^2.24.0",
|
||||
"netlify-cms-app": "^2.11.31",
|
||||
|
@ -8190,6 +8190,13 @@ js-yaml@^3.11.0, js-yaml@^3.13.1, js-yaml@^3.14.0, js-yaml@~3.14.1:
|
||||
argparse "^1.0.7"
|
||||
esprima "^4.0.0"
|
||||
|
||||
js-yaml@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.0.0.tgz#f426bc0ff4b4051926cd588c71113183409a121f"
|
||||
integrity sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==
|
||||
dependencies:
|
||||
argparse "^2.0.1"
|
||||
|
||||
jsesc@^2.5.1:
|
||||
version "2.5.2"
|
||||
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
|
||||
|
Reference in New Issue
Block a user