Socket
Socket
Sign inDemoInstall

@textlint/markdown-to-ast

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/markdown-to-ast - npm Package Compare versions

Comparing version 14.0.4 to 14.0.5

4

lib/src/index.js

@@ -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

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