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

react-hyphen

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hyphen - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

9

dist/react-hyphen.cjs.js

@@ -47,2 +47,3 @@ 'use strict';

language = _ref.language;
handleDangerouslySetInnerHTML(children, language);
var childrenCount = React.Children.count(children);

@@ -78,2 +79,10 @@

function handleDangerouslySetInnerHTML(children, language) {
if (children && children.props && children.props.dangerouslySetInnerHTML) {
children.props.dangerouslySetInnerHTML.__html = hyphenated.hyphenated(children.props.dangerouslySetInnerHTML.__html, {
language: language
});
}
}
module.exports = Hyphenated;

2

package.json
{
"name": "react-hyphen",
"version": "1.3.1",
"version": "1.4.0",
"keywords": [

@@ -5,0 +5,0 @@ "hyphenate",

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