documentary
Advanced tools
Comparing version 1.18.0 to 1.18.1
@@ -5,4 +5,4 @@ const { Replaceable, makeMarkers, makeCutRule, makePasteRule } = require('restream'); | ||
} = require('./rules'); | ||
let tableRule = require('./rules/table'); if (tableRule && tableRule.__esModule) tableRule = tableRule.default; const { tableRe } = tableRule | ||
let methodTitleRule = require('./rules/method-title'); if (methodTitleRule && methodTitleRule.__esModule) methodTitleRule = methodTitleRule.default; const { methodTitleRe } = methodTitleRule | ||
let tableRule = require('./rules/table'); const { tableRe } = tableRule; if (tableRule && tableRule.__esModule) tableRule = tableRule.default; | ||
let methodTitleRule = require('./rules/method-title'); const { methodTitleRe } = methodTitleRule; if (methodTitleRule && methodTitleRule.__esModule) methodTitleRule = methodTitleRule.default; | ||
let treeRule = require('./rules/tree'); if (treeRule && treeRule.__esModule) treeRule = treeRule.default; | ||
@@ -9,0 +9,0 @@ let exampleRule = require('./rules/example'); if (exampleRule && exampleRule.__esModule) exampleRule = exampleRule.default; |
@@ -9,2 +9,3 @@ const { debuglog } = require('util'); | ||
const { codeRe, commentRule } = require('./rules'); | ||
const { methodTitleRe } = require('./rules/method-title'); | ||
@@ -20,2 +21,8 @@ const LOG = debuglog('doc') | ||
{ | ||
re: methodTitleRe, | ||
replacement() { | ||
return '' | ||
}, | ||
}, | ||
{ | ||
re: codeRe, | ||
@@ -83,2 +90,10 @@ replacement() { | ||
// { | ||
// re: /[\s\S]+/g, | ||
// replacement(match) { | ||
// debugger | ||
// return match | ||
// }, | ||
// }, | ||
const getTypedefs = async (stream) => { | ||
@@ -85,0 +100,0 @@ const typedefs = new Typedefs() |
## 20 September 2018 | ||
### 1.18.1 | ||
- [fix] Cut method titles in _Typedefs_ stream to prevents errors when a method title is followed by a code block. | ||
### 1.18.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "documentary", | ||
"version": "1.18.0", | ||
"version": "1.18.1", | ||
"description": "A Documentation Pre-processor To Generate A Table Of Contents, Automatically Embed Examples And Their Output, Easily Make Markdown Tables, Maintain Helpful Typedefs For JavaScript And README, Watch Changes To Push To GitHub And Create Pretty Titles For API Methods.", | ||
@@ -80,7 +80,8 @@ "main": "build", | ||
"devDependencies": { | ||
"alamode": "1.5.0", | ||
"alamode": "1.5.1", | ||
"eslint-config-artdeco": "1.0.1", | ||
"snapshot-context": "2.0.4", | ||
"temp-context": "1.1.0", | ||
"yarn-s": "1.1.0", | ||
"zoroaster": "3.4.1" | ||
"zoroaster": "3.5.1" | ||
}, | ||
@@ -97,5 +98,5 @@ "dependencies": { | ||
"rexml": "1.1.0", | ||
"spawncommand": "2.0.1", | ||
"spawncommand": "2.1.0", | ||
"which-stream": "1.0.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
310411
1902
6
+ Addedspawncommand@2.1.0(transitive)
- Removedcatchment@2.0.1(transitive)
- Removedspawncommand@2.0.1(transitive)
Updatedspawncommand@2.1.0