gray-matter
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -225,3 +225,5 @@ 'use strict'; | ||
matter.cache = {}; | ||
matter.clearCache = () => (matter.cache = {}); | ||
matter.clearCache = function() { | ||
matter.cache = {}; | ||
}; | ||
module.exports = matter; |
@@ -19,3 +19,5 @@ 'use strict'; | ||
exports.isBuffer = val => typeOf(val) === 'buffer'; | ||
exports.isBuffer = function(val) { | ||
return typeOf(val) === 'buffer'; | ||
}; | ||
@@ -26,3 +28,5 @@ /** | ||
exports.isObject = val => typeOf(val) === 'object'; | ||
exports.isObject = function(val) { | ||
return typeOf(val) === 'object'; | ||
}; | ||
@@ -29,0 +33,0 @@ /** |
{ | ||
"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.2", | ||
"version": "4.0.3", | ||
"homepage": "https://github.com/jonschlinkert/gray-matter", | ||
@@ -37,3 +37,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"dependencies": { | ||
"js-yaml": "^3.11.0", | ||
"js-yaml": "^3.13.1", | ||
"kind-of": "^6.0.2", | ||
@@ -52,3 +52,3 @@ "section-matter": "^1.0.0", | ||
"minimist": "^1.2.0", | ||
"mocha": "^3.5.3", | ||
"mocha": "^6.1.4", | ||
"toml": "^2.3.3", | ||
@@ -55,0 +55,0 @@ "vinyl": "^2.1.0", |
@@ -530,2 +530,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) | ||
* [verb](https://www.npmjs.com/package/verb): Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… [more](https://github.com/verbose/verb) | [homepage](https://github.com/verbose/verb "Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used on hundreds of projects of all sizes to generate everything from API docs to readmes.") | ||
* [gray-matter-loader](https://github.com/atlassian/gray-matter-loader): A webpack loader for gray-matter. [homepage](https://github.com/atlassian/gray-matter-loader#gray-matter-loader) | ||
@@ -532,0 +533,0 @@ ### Contributors |
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
38621
558
565
1
Updatedjs-yaml@^3.13.1