gray-matter
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -33,4 +33,4 @@ /** | ||
[index: string]: | ||
| ((string) => object) | ||
| { parse: (string) => object; stringify?: (object) => string } | ||
| ((input: string) => object) | ||
| { parse: (input: string) => object; stringify?: (data: object) => string } | ||
} | ||
@@ -41,5 +41,5 @@ language?: string | ||
interface GrayMatterFile<I extends Input> { | ||
data: object | ||
data: { [key: string]: any } | ||
content: string | ||
excrept?: string | ||
excerpt?: string | ||
orig: Buffer | I | ||
@@ -46,0 +46,0 @@ language: string |
{ | ||
"name": "gray-matter", | ||
"description": "Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and many other projects.", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"homepage": "https://github.com/jonschlinkert/gray-matter", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
38383
2