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

react-htmlcontent

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-htmlcontent - npm Package Compare versions

Comparing version 1.2.9 to 1.2.10

2

dist/enhanceTypo.js

@@ -65,5 +65,5 @@ "use strict";

var r = enhanceTypo.apply(void 0, [str].concat(rest));
return r.replace(/\s\s/g, ' ');
return r.replace(/\s\s/g, ' ').replace(/([A-z]{1,})\s?(\([A-z]{1}\))\s?([A-z]{1,})/, '$1$2$3');
};
exports.default = _default;
{
"name": "react-htmlcontent",
"version": "1.2.9",
"version": "1.2.10",
"description": "React HTMLContent Component",

@@ -5,0 +5,0 @@ "repository": {

@@ -15,2 +15,6 @@ import enhanceTypo from '../src/enhanceTypo'

test('Sracky', () => {
expect(enhanceTypo('Po(d)klady', 'cs', {})).toEqual('Po(d)klady')
})
test('Simple HTML', () => {

@@ -17,0 +21,0 @@ expect(

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