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.3 to 0.3.4

2

package.json

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

"homepage" : "https://github.com/millermedeiros/mdoc.git",
"version" : "0.3.3",
"version" : "0.3.4",
"author" : {

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

@@ -85,3 +85,3 @@

var parseResult = parser.parseDoc(content, config.headingLevel),
fileName = fileInfo.output.replace(config.outputDir, '').replace(/^\//, ''),
fileName = fileInfo.output.replace(config.outputDir, '').replace(/^[\/\\]/, ''),
moduleName = config.mapTocName? config.mapTocName(fileName, parseResult.toc) : fileName.replace('.html', '');

@@ -95,3 +95,3 @@

var relativeRoot = path.relative( fileInfo.output.replace(/\/[^\/]+$/, '/'), config.outputDir );
var relativeRoot = path.relative( fileInfo.output.replace(/[\/\\][^\/\\]+$/, '/'), config.outputDir );

@@ -98,0 +98,0 @@ return _docTemplate({

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