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.2.0 to 0.2.1

4

History.md
0.2.1 - February 6, 2013
------------------------
* add debug statements
0.2.0 - February 5, 2013

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

4

lib/index.js
var basename = require('path').basename;
var debug = require('debug')('metalsmith-markdown');
var dirname = require('path').dirname;

@@ -28,2 +29,3 @@ var extname = require('path').extname;

Object.keys(files).forEach(function(file){
debug('checking file: %s', file);
if (!markdown(file)) return;

@@ -35,5 +37,5 @@ var data = files[file];

debug('converting file: %s', file);
var str = marked(data.contents.toString(), options);
data.contents = new Buffer(str);
keys.forEach(function(key) {

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

@@ -5,7 +5,8 @@ {

"repository": "git://github.com/segmentio/metalsmith-markdown.git",
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",
"main": "lib/index.js",
"dependencies": {
"marked": "~0.3.1"
"marked": "~0.3.1",
"debug": "~0.7.4"
},

@@ -12,0 +13,0 @@ "devDependencies": {

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