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

@theguild/remark-mermaid

Package Overview
Dependencies
Maintainers
3
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theguild/remark-mermaid - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7-alpha-20240125050247-b972d40

2

dist/mermaid.js
"use client";
import { jsx } from "react/jsx-runtime";
import { useEffect, useId, useRef, useState } from "react";
import mermaid from "mermaid";
function Mermaid({ chart }) {

@@ -26,2 +25,3 @@ const id = useId();

};
const { default: mermaid } = await import("mermaid");
try {

@@ -28,0 +28,0 @@ mermaid.initialize(mermaidConfig);

{
"name": "@theguild/remark-mermaid",
"version": "0.0.6",
"version": "0.0.7-alpha-20240125050247-b972d40",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Remark plugin for replacing ```mermaid code blocks with react `<Mermaid />` component",

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