gray-matter
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -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._ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31831
452