gray-matter
Advanced tools
Comparing version 0.3.4 to 0.3.5
{ | ||
"name": "gray-matter", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"main": [ | ||
@@ -5,0 +5,0 @@ "index.js" |
@@ -58,6 +58,6 @@ /** | ||
context: metadata, | ||
content: content, | ||
original: str | ||
content: file.normalizeNL(content), | ||
original: file.normalizeNL(str) | ||
}; | ||
}; | ||
} | ||
@@ -64,0 +64,0 @@ // Read the file, then parse |
@@ -29,3 +29,3 @@ /** | ||
} catch (e) { | ||
console.warn('Could not parse coffee-script:' + src, e); | ||
console.warn('Please run `npm i coffee-script`:' + src, e); | ||
} | ||
@@ -39,4 +39,4 @@ }; | ||
} catch (e) { | ||
console.warn('Count not parse toml:' + src, e); | ||
console.warn('Please run `npm i toml`:' + src, e); | ||
} | ||
}; |
{ | ||
"name": "gray-matter", | ||
"description": "A simple to use and extend front matter library. Supports parsing and extracting YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters.", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"author": { | ||
@@ -42,3 +42,3 @@ "name": "Jon Schlinkert", | ||
"delims": "~0.1.2", | ||
"fs-utils": "~0.3.8", | ||
"fs-utils": "~0.4.0", | ||
"js-yaml": "~3.0.2", | ||
@@ -54,2 +54,2 @@ "lodash": "~2.4.1" | ||
} | ||
} | ||
} |
57707
37
- Removedasync@0.2.10(transitive)
- Removedfs-utils@0.3.10(transitive)
- Removedtemplate@0.1.8(transitive)
- Removedunderscore.string@2.3.3(transitive)
Updatedfs-utils@~0.4.0