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

remark-react

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-react - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

lib/compilers.js

@@ -586,3 +586,3 @@ 'use strict';

function inlineCode(node) {
return h(this, node, 'code', {}, util.collapse(this.encode(node.value)));
return h(this, node, 'inlineCode', {}, util.collapse(this.encode(node.value)));
}

@@ -589,0 +589,0 @@

@@ -59,2 +59,8 @@ 'use strict';

// If we don't have a custom component defined for inlineCode, render a
// standard `code` element instead
if (name === 'inlineCode' && !components.inlineCode) {
component = 'code';
}
if (closing) {

@@ -61,0 +67,0 @@ return context.createElement(component, attributes);

{
"name": "remark-react",
"description": "Compile Markdown to React with remark",
"version": "1.0.0",
"version": "1.1.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Titus Wormer",

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