New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-ronin

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ronin - npm Package Compare versions

Comparing version 2.2.9-dependabot-npm-and-yarn-all-634fb9e241-experimental.3 to 2.2.9-dependabot-npm-and-yarn-all-634fb9e241-experimental.4

7

dist/components/rich-text.js

@@ -34,7 +34,10 @@ import React, {} from "react";

const RenderingElement = Element;
return RenderingElement ? (React.createElement(RenderingElement, { ...attributes, key: "rendering" + String(position) }, final)) : (final);
return RenderingElement ? (React.createElement(RenderingElement, { ...attributes, key: (typeof RenderingElement === "string"
? RenderingElement
: RenderingElement.name) + String(position) }, final)) : (final);
}, item.text);
}
const richtTextPrefix = "rich-text-";
let Element = null;
let children = item.content ? (React.createElement(RichText, { data: item.content, components: components, key: "rich-text" + String(position) })) : null;
let children = item.content ? (React.createElement(RichText, { data: item.content, components: components, key: richtTextPrefix + String(position) })) : null;
let language = "plaintext";

@@ -41,0 +44,0 @@ switch (item.type) {

{
"name": "react-ronin",
"version": "2.2.9-dependabot-npm-and-yarn-all-634fb9e241-experimental.3",
"version": "2.2.9-dependabot-npm-and-yarn-all-634fb9e241-experimental.4",
"license": "Apache-2.0",

@@ -56,6 +56,6 @@ "main": "dist/index.js",

"dependencies": {
"ronin": "3.3.7"
"ronin": "3.1.1"
},
"devDependencies": {
"@biomejs/biome": "1.8.0",
"@biomejs/biome": "1.7.3",
"@types/bun": "1.1.3",

@@ -62,0 +62,0 @@ "@types/react": "18.3.3",

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