Socket
Socket
Sign inDemoInstall

gray-matter

Package Overview
Dependencies
13
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.4 to 1.2.5

2

index.js

@@ -208,2 +208,2 @@ 'use strict';

: val;
}
}

@@ -1,6 +0,6 @@

/**
/*!
* gray-matter <https://github.com/assemble/gray-matter>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT license.
* Licensed under the MIT License.
*/

@@ -208,2 +208,2 @@

return color ? chalk.red(msg) : msg;
}
}
{
"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.",
"version": "1.2.4",
"version": "1.2.5",
"author": {

@@ -9,13 +9,11 @@ "name": "Jon Schlinkert",

},
"repository": {
"type": "git",
"url": "https://github.com/assemble/gray-matter.git"
},
"repository": "assemble/gray-matter",
"bugs": {
"url": "https://github.com/assemble/gray-matter/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/assemble/gray-matter/blob/master/LICENSE-MIT"
},
"license": "MIT",
"files": [
"index.js",
"lib/"
],
"main": "index.js",

@@ -26,3 +24,3 @@ "engines": {

"scripts": {
"test": "mocha -R spec"
"test": "mocha"
},

@@ -29,0 +27,0 @@ "dependencies": {

@@ -72,3 +72,3 @@ # gray-matter [![NPM version](https://badge.fury.io/js/gray-matter.svg)](http://badge.fury.io/js/gray-matter)

### [.read](index.js#L118)
### [.read](index.js#L127)

@@ -85,3 +85,3 @@ Read a file and parse front matter. Returns the same object as `matter()`.

### [.stringify](index.js#L149)
### [.stringify](index.js#L158)

@@ -284,9 +284,11 @@ Stringify an object to front-matter-formatted YAML, and concatenate it to the given string.

## Run tests
## Running tests
Install dev dependencies.
```bash
npm test
npm i -d && npm test
```
## Authors

@@ -296,12 +298,12 @@

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+ [github/assemble](https://github.com/assemble)
+ [twitter/assemble](http://twitter.com/assemble)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
Released under the license
***
_This file was generated by [verb](https://github.com/assemble/verb) on February 12, 2015._
_This file was generated by [verb](https://github.com/assemble/verb) on February 20, 2015._

@@ -312,2 +314,2 @@

[toml-node]: https://github.com/BinaryMuse/toml-node
[bootstrap-blog]: https://github.com/twbs/bootstrap-blog/tree/gh-pages/_posts
[bootstrap-blog]: https://github.com/twbs/bootstrap-blog/tree/gh-pages/_posts

Sorry, the diff of this file is not supported yet

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