Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gray-matter

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gray-matter - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

11

lib/to-file.js

@@ -23,3 +23,5 @@ 'use strict';

Object.defineProperty(file, 'orig', {
configurable: true,
enumerable: false,
writable: true,
value: orig

@@ -29,4 +31,5 @@ });

Object.defineProperty(file, 'matter', {
configurable: true,
enumerable: false,
writable: true,
enumerable: false,
value: file.matter || ''

@@ -36,5 +39,5 @@ });

Object.defineProperty(file, 'language', {
configurable: true,
enumerable: false,
writable: true,
enumerable: false,
configurable: true,
value: file.language || ''

@@ -44,3 +47,5 @@ });

Object.defineProperty(file, 'stringify', {
configurable: true,
enumerable: false,
writable: true,
value: function(data, options) {

@@ -47,0 +52,0 @@ if (options && options.language) {

{
"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": "3.0.1",
"version": "3.0.2",
"homepage": "https://github.com/jonschlinkert/gray-matter",

@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

@@ -476,3 +476,3 @@ # gray-matter [![NPM version](https://img.shields.io/npm/v/gray-matter.svg?style=flat)](https://www.npmjs.com/package/gray-matter) [![NPM monthly downloads](https://img.shields.io/npm/dm/gray-matter.svg?style=flat)](https://npmjs.org/package/gray-matter) [![NPM total downloads](https://img.shields.io/npm/dt/gray-matter.svg?style=flat)](https://npmjs.org/package/gray-matter) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/gray-matter.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/gray-matter)

| --- | --- |
| 136 | [jonschlinkert](https://github.com/jonschlinkert) |
| 139 | [jonschlinkert](https://github.com/jonschlinkert) |
| 7 | [RobLoach](https://github.com/RobLoach) |

@@ -518,2 +518,2 @@ | 5 | [heymind](https://github.com/heymind) |

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 30, 2017._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on July 01, 2017._
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc