Socket
Socket
Sign inDemoInstall

gray-matter

Package Overview
Dependencies
9
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 4.0.2

8

gray-matter.d.ts

@@ -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)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc