New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

documentary

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

documentary - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

5

build/lib/Toc.js

@@ -8,2 +8,4 @@ const { Transform } = require('stream');

} = require('./rules');
let tableRule = require('./rules/table'); if (tableRule && tableRule.__esModule) tableRule = tableRule.default;
let macroRule = require('./rules/macro'); if (macroRule && macroRule.__esModule) macroRule = macroRule.default;
const {

@@ -69,2 +71,4 @@ Replaceable, makeCutRule, makePasteRule, makeMarkers,

macroRule,
tableRule,
// insertLinkTitle,

@@ -162,2 +166,3 @@ // insertTitle,

const title = `${lines.map(l => l.trim()).join('<br/>')}`
if (!title) return match
const t = getTitle(title)

@@ -164,0 +169,0 @@ const link = getLink(t)

## 13 September 2018
### 1.15.1
- [fix] Allow to use toc-titles in the macros.
- [fix] Fix putting `---` with empty line above in the table of contents.
### 1.15.0

@@ -4,0 +9,0 @@

8

package.json
{
"name": "documentary",
"version": "1.15.0",
"version": "1.15.1",
"description": "A library to manage documentation, such as README, usage, man pages and changelog.",

@@ -44,2 +44,3 @@ "main": "build",

"examples",
"output",
"github",

@@ -54,3 +55,6 @@ "doc",

"types",
"methods"
"methods",
"api",
"table of contents",
"toc"
],

@@ -57,0 +61,0 @@ "author": "Anton <anton@adc.sh>",

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