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 3.0.0 to 3.0.1

4

index.js

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

*/
if (children && TABLE_ELEMENTS.indexOf(name) !== -1) {
if (children && TABLE_ELEMENTS.indexOf(component) !== -1) {
children = children.filter(function (child) {

@@ -62,3 +62,3 @@ return child !== '\n';

return createElement(name, props, children);
return createElement(component, props, children);
}

@@ -65,0 +65,0 @@

{
"name": "remark-react",
"description": "Compile Markdown to React with remark",
"version": "3.0.0",
"version": "3.0.1",
"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