Socket
Socket
Sign inDemoInstall

@vuepress/markdown

Package Overview
Dependencies
Maintainers
7
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/markdown - npm Package Compare versions

Comparing version 2.0.0-beta.21 to 2.0.0-beta.22

lib/plugins/assetsPlugin/assetsPlugin.d.ts

5

lib/plugins/hoistTagsPlugin.js

@@ -15,3 +15,4 @@ "use strict";

const hoistTagsRegexp = new RegExp(`^<(${hoistTags.join('|')})(?=(\\s|>|$))`, 'i');
md.renderer.rules.html_block = (tokens, idx, _, env) => {
const rawRule = md.renderer.rules.html_block;
md.renderer.rules.html_block = (tokens, idx, options, env, self) => {
const content = tokens[idx].content;

@@ -24,5 +25,5 @@ const hoistedTags = env.hoistedTags || (env.hoistedTags = []);

}
return content;
return rawRule(tokens, idx, options, env, self);
};
};
exports.hoistTagsPlugin = hoistTagsPlugin;

4

package.json
{
"name": "@vuepress/markdown",
"version": "2.0.0-beta.21",
"version": "2.0.0-beta.22",
"description": "Markdown package of VuePress",

@@ -40,3 +40,3 @@ "keywords": [

},
"gitHead": "75cba56b201fd4124e6cfbf5d0baa913063c9b40"
"gitHead": "8db8d235df8914c70c864ae3f3f66f93cfd1a457"
}
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