@textlint/markdown-to-ast
Advanced tools
Comparing version 14.0.4 to 14.0.5
@@ -10,3 +10,3 @@ "use strict"; | ||
Object.defineProperty(exports, "Syntax", { enumerable: true, get: function () { return ast_node_types_1.ASTNodeTypes; } }); | ||
const traverse_1 = __importDefault(require("traverse")); | ||
const legacy_1 = __importDefault(require("neotraverse/legacy")); | ||
const debug_1 = __importDefault(require("debug")); | ||
@@ -29,3 +29,3 @@ const parse_markdown_1 = require("./parse-markdown"); | ||
const ast = (0, parse_markdown_1.parseMarkdown)(textWithoutBOM); | ||
(0, traverse_1.default)(ast).forEach(function (node) { | ||
(0, legacy_1.default)(ast).forEach(function (node) { | ||
// eslint-disable-next-line no-invalid-this | ||
@@ -32,0 +32,0 @@ if (this.notLeaf) { |
import { SyntaxMap } from "./mapping/markdown-syntax-map"; | ||
import { ASTNodeTypes } from "@textlint/ast-node-types"; | ||
import traverse from "traverse"; | ||
import traverse from "neotraverse/legacy"; | ||
import debug0 from "debug"; | ||
@@ -5,0 +5,0 @@ import { parseMarkdown } from "./parse-markdown"; |
{ | ||
"name": "@textlint/markdown-to-ast", | ||
"version": "14.0.4", | ||
"version": "14.0.5", | ||
"description": "Parse Markdown to AST with location info.", | ||
@@ -37,5 +37,6 @@ "homepage": "https://github.com/textlint/textlint/tree/master/packages/@textlint/markdown-to-ast/", | ||
"dependencies": { | ||
"@textlint/ast-node-types": "^14.0.4", | ||
"@textlint/ast-node-types": "^14.0.5", | ||
"debug": "^4.3.4", | ||
"mdast-util-gfm-autolink-literal": "^0.1.3", | ||
"neotraverse": "^0.6.15", | ||
"remark-footnotes": "^3.0.0", | ||
@@ -45,12 +46,10 @@ "remark-frontmatter": "^3.0.0", | ||
"remark-parse": "^9.0.0", | ||
"traverse": "^0.6.8", | ||
"unified": "^9.2.2" | ||
}, | ||
"devDependencies": { | ||
"@textlint/ast-tester": "^14.0.4", | ||
"@textlint/ast-tester": "^14.0.5", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.19.9", | ||
"@types/traverse": "^0.6.36", | ||
"mkdirp": "^1.0.4", | ||
"mocha": "^10.3.0", | ||
"mocha": "^10.7.0", | ||
"rimraf": "^3.0.2", | ||
@@ -63,3 +62,3 @@ "ts-node": "^10.9.2", | ||
}, | ||
"gitHead": "eb85d7c6bb25a88e790f83c8cadfb7a7b775d238" | ||
"gitHead": "b441ff8718e62dd0445cb8ac346e195e78e01435" | ||
} |
import { SyntaxMap } from "./mapping/markdown-syntax-map"; | ||
import type { TxtDocumentNode } from "@textlint/ast-node-types"; | ||
import { ASTNodeTypes } from "@textlint/ast-node-types"; | ||
import traverse from "traverse"; | ||
import traverse from "neotraverse/legacy"; | ||
import debug0 from "debug"; | ||
@@ -6,0 +6,0 @@ import { parseMarkdown } from "./parse-markdown"; |
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
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
120980
8
+ Addedneotraverse@^0.6.15
+ Addedneotraverse@0.6.18(transitive)
- Removedtraverse@^0.6.8
- Removedarray-buffer-byte-length@1.0.1(transitive)
- Removedarraybuffer.prototype.slice@1.0.3(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removeddata-view-buffer@1.0.1(transitive)
- Removeddata-view-byte-length@1.0.1(transitive)
- Removeddata-view-byte-offset@1.0.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removedes-abstract@1.23.3(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.0.0(transitive)
- Removedes-set-tostringtag@2.0.3(transitive)
- Removedes-to-primitive@1.2.1(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedfunction.prototype.name@1.1.6(transitive)
- Removedfunctions-have-names@1.2.3(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedget-symbol-description@1.0.2(transitive)
- Removedglobalthis@1.0.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-bigints@1.0.2(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinternal-slot@1.0.7(transitive)
- Removedis-array-buffer@3.0.4(transitive)
- Removedis-bigint@1.0.4(transitive)
- Removedis-boolean-object@1.1.2(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-data-view@1.0.1(transitive)
- Removedis-date-object@1.0.5(transitive)
- Removedis-negative-zero@2.0.3(transitive)
- Removedis-number-object@1.0.7(transitive)
- Removedis-regex@1.1.4(transitive)
- Removedis-shared-array-buffer@1.0.3(transitive)
- Removedis-string@1.0.7(transitive)
- Removedis-symbol@1.0.4(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedis-weakref@1.0.2(transitive)
- Removedisarray@2.0.5(transitive)
- Removedobject-inspect@1.13.2(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedobject.assign@4.1.5(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedregexp.prototype.flags@1.5.2(transitive)
- Removedsafe-array-concat@1.1.2(transitive)
- Removedsafe-regex-test@1.0.3(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedset-function-name@2.0.2(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedstring.prototype.trim@1.2.9(transitive)
- Removedstring.prototype.trimend@1.0.8(transitive)
- Removedstring.prototype.trimstart@1.0.8(transitive)
- Removedtraverse@0.6.9(transitive)
- Removedtyped-array-buffer@1.0.2(transitive)
- Removedtyped-array-byte-length@1.0.1(transitive)
- Removedtyped-array-byte-offset@1.0.2(transitive)
- Removedtyped-array-length@1.0.6(transitive)
- Removedtypedarray.prototype.slice@1.0.3(transitive)
- Removedunbox-primitive@1.0.2(transitive)
- Removedwhich-boxed-primitive@1.0.2(transitive)
- Removedwhich-typed-array@1.1.15(transitive)