gray-matter
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
310
2
19307
5
350
2