@textlint/markdown-to-ast
Advanced tools
Comparing version 6.0.7 to 6.0.8
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="6.0.8"></a> | ||
## [6.0.8](https://github.com/textlint/textlint/compare/@textlint/markdown-to-ast@6.0.7...@textlint/markdown-to-ast@6.0.8) (2018-04-02) | ||
### Bug Fixes | ||
* **markdown-to-ast:** enable yaml frontmatter parse by default ([121c62f](https://github.com/textlint/textlint/commit/121c62f)) | ||
<a name="6.0.7"></a> | ||
@@ -8,0 +19,0 @@ ## [6.0.7](https://github.com/textlint/textlint/compare/@textlint/markdown-to-ast@6.0.6...@textlint/markdown-to-ast@6.0.7) (2018-04-02) |
@@ -12,4 +12,6 @@ // LICENSE : MIT | ||
var SyntaxMap = require("./mapping/markdown-syntax-map"); | ||
var remarkAbstract = require("remark"); | ||
var remark = remarkAbstract(); | ||
var unified = require("unified"); | ||
var remarkParse = require("remark-parse"); | ||
var frontmatter = require("remark-frontmatter"); | ||
var remark = unified().use(remarkParse).use(frontmatter, ["yaml"]); | ||
/** | ||
@@ -16,0 +18,0 @@ * parse markdown text and return ast mapped location info. |
{ | ||
"name": "@textlint/markdown-to-ast", | ||
"version": "6.0.7", | ||
"version": "6.0.8", | ||
"description": "Parse Markdown to AST with location info.", | ||
@@ -34,9 +34,11 @@ "homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/markdown-to-ast/", | ||
"debug": "^2.1.3", | ||
"remark": "^9.0.0", | ||
"remark-frontmatter": "^1.2.0", | ||
"remark-parse": "^5.0.0", | ||
"structured-source": "^3.0.2", | ||
"traverse": "^0.6.6" | ||
"traverse": "^0.6.6", | ||
"unified": "^6.1.6" | ||
}, | ||
"devDependencies": { | ||
"@textlint/ast-tester": "^2.0.6", | ||
"@textlint/ast-traverse": "^2.0.7", | ||
"@textlint/ast-tester": "^2.0.7", | ||
"@textlint/ast-traverse": "^2.0.8", | ||
"babel-cli": "^6.24.1", | ||
@@ -43,0 +45,0 @@ "babel-preset-env": "^1.4.0", |
@@ -8,4 +8,8 @@ // LICENSE : MIT | ||
const SyntaxMap = require("./mapping/markdown-syntax-map"); | ||
const remarkAbstract = require("remark"); | ||
const remark = remarkAbstract(); | ||
const unified = require("unified"); | ||
const remarkParse = require("remark-parse"); | ||
const frontmatter = require("remark-frontmatter"); | ||
const remark = unified() | ||
.use(remarkParse) | ||
.use(frontmatter, ["yaml"]); | ||
/** | ||
@@ -12,0 +16,0 @@ * parse markdown text and return ast mapped location info. |
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
28113
190
7
+ Addedremark-frontmatter@^1.2.0
+ Addedremark-parse@^5.0.0
+ Addedunified@^6.1.6
+ Addedfault@1.0.4(transitive)
+ Addedformat@0.2.2(transitive)
+ Addedremark-frontmatter@1.3.3(transitive)
- Removedremark@^9.0.0
- Removedccount@1.1.0(transitive)
- Removedcharacter-entities-html4@1.1.4(transitive)
- Removedis-alphanumeric@1.0.0(transitive)
- Removedlongest-streak@2.0.4(transitive)
- Removedmarkdown-table@1.1.3(transitive)
- Removedmdast-util-compact@1.0.4(transitive)
- Removedremark@9.0.0(transitive)
- Removedremark-stringify@5.0.0(transitive)
- Removedstringify-entities@1.3.2(transitive)