Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metalsmith-markdown

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-markdown - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

History.md
0.2.0 - February 5, 2013
------------------------
* update to use buffers for metalsmith 0.1.0
0.1.0 - February 5, 2013

@@ -3,0 +7,0 @@ ------------------------

6

lib/index.js

@@ -23,4 +23,3 @@

options = options || {};
var keys = options.keys || ['body'];
if (!~keys.indexOf('body')) keys.push('body');
var keys = options.keys || [];

@@ -36,2 +35,5 @@ return function(files, metalsmith, done){

var str = marked(data.contents.toString(), options);
data.contents = new Buffer(str);
keys.forEach(function(key) {

@@ -38,0 +40,0 @@ data[key] = marked(data[key], options);

@@ -5,3 +5,3 @@ {

"repository": "git://github.com/segmentio/metalsmith-markdown.git",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",

@@ -14,5 +14,5 @@ "main": "lib/index.js",

"mocha": "1.x",
"metalsmith": "0.0.0",
"assert-dir-equal": "0.0.1"
"metalsmith": "0.x",
"assert-dir-equal": "0.x"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc