Permalink
Browse files

🚨 @phenomic/plugin-transform-markdown: upgrade to gray-matter@3

  • Loading branch information...
MoOx committed Mar 12, 2018
1 parent 84e3abd commit cba0e43521c98d7bf789e7bf472abb141c1f84e1
@@ -23,7 +23,7 @@
"dependencies": {
"debug": "^2.6.0",
"deepmerge": "^1.3.2",
"gray-matter": "^2.1.1",
"gray-matter": "^3.0.0",
"hast-util-sanitize": "^1.1.0",
"lodash.deburr": "^4.1.0",
"lodash.kebabcase": "^4.1.1",
@@ -16,8 +16,8 @@ function transformMarkdownFile({
contents: Buffer
}) {
debug(`transforming ${file.fullpath}`);
const front = frontMatterParser(contents.toString());
debug(`front matter for ${file.fullpath}`, front.data);
const partial = {
...front.data,
// @todo should be here or user land ?
View
@@ -27,7 +27,7 @@
},
"devDependencies": {
"babel-cli": "^6.24.1",
"gray-matter": "^2.1.1",
"gray-matter": "^3.0.0",
"image-optim": "^3.0.0",
"imageoptim-cli": "^1.15.4",
"mkdirp": "^0.5.1",
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit cba0e43

Please sign in to comment.