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

mdoc

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdoc - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json

@@ -6,3 +6,3 @@ {

"homepage" : "https://github.com/millermedeiros/mdoc.git",
"version" : "0.3.1",
"version" : "0.3.2",
"author" : {

@@ -9,0 +9,0 @@ "name" : "Miller Medeiros",

@@ -0,0 +0,0 @@ // ============================

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@

var fs = require('fs'),
path = require('path');
path = require('path'),
wrench = require('wrench');

@@ -35,2 +36,4 @@

inputFiles.forEach(function(fname){
fname = normalizePath(fname);
var ext = path.extname(fname),

@@ -41,3 +44,3 @@ fileDir = path.dirname(fname).replace(o.inputDir, '');

input : fname,
output : path.join(o.outputDir, fileDir, path.basename(fname, ext) + o.outputExt)
output : normalizePath( path.join(o.outputDir, fileDir, path.basename(fname, ext) + o.outputExt) )
});

@@ -49,3 +52,8 @@ });

function normalizePath(path){
// windows to unix
return path.replace(/\\+/g, '/');
}
exports.readDirRecursive = function(baseDir, include, exclude){

@@ -94,16 +102,3 @@ var files = [],

exports.mkdirs = function(dir, mode){
mode = mode || '0777';
var paths = dir.split('/'),
prev = '',
cur;
for (var i = 0, n = paths.length; i < n; i += 1) {
cur = path.join(prev, paths[i]);
if(! path.existsSync(cur) ){
fs.mkdirSync(cur, mode);
}
prev = cur;
}
wrench.mkdirSyncRecursive(dir, mode || '0777');
};

@@ -0,0 +0,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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