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

@uiw/react-md-editor

Package Overview
Dependencies
Maintainers
1
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-md-editor - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

lib/cjs/commands/strikeThrough.d.ts

2

lib/cjs/components/Markdown/allowNode.js

@@ -13,3 +13,3 @@ "use strict";

// filter style
node.value = node.value.replace(/<style/g, '&lt;style').replace(/<\/style>/g, '&lt;style&gt;');
node.value = node.value.replace(/<(style|script|link|input|form)(.*)>/g, '&lt;$1$2&gt').replace(/<\/(.*)(style|script|link|input|form)(.*)>/g, '&lt;/$1$2$3&gt');
}

@@ -16,0 +16,0 @@

@@ -6,3 +6,3 @@ export default function allowNode(node, index, parent) {

// filter style
node.value = node.value.replace(/<style/g, '&lt;style').replace(/<\/style>/g, '&lt;style&gt;');
node.value = node.value.replace(/<(style|script|link|input|form)(.*)>/g, '&lt;$1$2&gt').replace(/<\/(.*)(style|script|link|input|form)(.*)>/g, '&lt;/$1$2$3&gt');
}

@@ -9,0 +9,0 @@

{
"name": "@uiw/react-md-editor",
"version": "1.2.7",
"version": "1.2.8",
"description": "A markdown editor with preview, implemented with React.js and TypeScript.",

@@ -5,0 +5,0 @@ "author": "",

@@ -39,5 +39,2 @@ <p align="center">

> [Demo preview for CodeSandbox](https://codesandbox.io/s/markdown-editor-for-react-izdd6)
> [Demo for Github gh-pages](https://uiwjs.github.io/react-md-editor/)
```jsx

@@ -61,2 +58,5 @@ import React from "react";

- [Demo preview for CodeSandbox](https://codesandbox.io/s/markdown-editor-for-react-izdd6)
- [Demo preview for Github gh-pages](https://uiwjs.github.io/react-md-editor/)
### Props

@@ -63,0 +63,0 @@

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

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