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

@mdit-vue/plugin-sfc

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.10.0 to 0.11.0

22

dist/index.d.ts

@@ -44,6 +44,28 @@ import { PluginWithOptions } from 'markdown-it';

interface MarkdownSfcBlocks {
/**
* The `<template>` block
*/
template: SfcBlock | null;
/**
* The common `<script>` block
*/
script: SfcBlock | null;
/**
* The `<script setup>` block
*/
scriptSetup: SfcBlock | null;
/**
* All `<script>` blocks.
*
* By default, SFC only allows one `<script>` block and one `<script setup>` block.
* However, some tools may support different types of `<script>`s, so we keep all of them here.
*/
scripts: SfcBlock[];
/**
* All `<style>` blocks.
*/
styles: SfcBlock[];
/**
* All custom blocks.
*/
customBlocks: SfcBlock[];

@@ -50,0 +72,0 @@ }

6

package.json
{
"name": "@mdit-vue/plugin-sfc",
"version": "0.10.0",
"version": "0.11.0",
"description": "A markdown-it plugin to help transforming markdown tu vue sfc",

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

"dependencies": {
"@mdit-vue/types": "0.10.0",
"@mdit-vue/types": "0.11.0",
"@types/markdown-it": "^12.2.3",

@@ -48,3 +48,3 @@ "markdown-it": "^13.0.1"

},
"gitHead": "94289f16c4e5c5cb24e05016f67bba2241b3ada9"
"gitHead": "6e4f18dacc06e0aa5d3108df8925f6b0aa885150"
}

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