Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mdit-vue/plugin-component

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdit-vue/plugin-component - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

1

build.config.ts

@@ -7,3 +7,2 @@ import { defineBuildConfig } from 'unbuild';

entries: ['src/index'],
externals: ['markdown-it'],
rollup: {

@@ -10,0 +9,0 @@ emitCJS: true,

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

# [0.2.0](https://github.com/mdit-vue/mdit-vue/compare/v0.1.1...v0.2.0) (2022-06-23)
**Note:** Version bump only for package @mdit-vue/plugin-component
## [0.1.1](https://github.com/mdit-vue/mdit-vue/compare/v0.1.0...v0.1.1) (2022-06-23)

@@ -8,0 +12,0 @@

{
"name": "@mdit-vue/plugin-component",
"version": "0.1.1",
"description": "markdown-it plugin - allow vue component in markdown",
"version": "0.2.0",
"description": "A markdown-it plugin to allow vue components in markdown",
"keywords": [
"markdown-it",
"vue"
"markdown-it-plugin",
"vue",
"component"
],

@@ -45,3 +47,3 @@ "homepage": "https://github.com/mdit-vue",

},
"gitHead": "b8b299ac14e1fec2bbc920f0018d5b2653869ca7"
"gitHead": "4b796710a93d6126e0c59e9ccc8cd742d5f121ea"
}

@@ -36,2 +36,3 @@ // eslint-disable-next-line import/extensions

],
// MODIFIED HERE: Tweak the original HTML_OPEN_CLOSE_TAG_RE
[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + '\\s*$'), /^$/, false],

@@ -38,0 +39,0 @@ ];

@@ -526,3 +526,3 @@ import MarkdownIt from 'markdown-it';

* @remark
* This is invalid HTML an should be avoided
* This is invalid HTML and should be avoided
*/

@@ -647,3 +647,3 @@ {

describe('@vuepress/markdown > plugins > customComponentPlugin', () => {
describe('@mdit-vue/plugin-component > component-plugin', () => {
describe('should render custom components as normal html blocks', () => {

@@ -650,0 +650,0 @@ describe('PascalCase components', () => {

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