🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

gray-matter

Package Overview
Dependencies
Maintainers
3
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

to
4.0.3

4

index.js

@@ -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