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

react-text-format

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-text-format - npm Package Compare versions

Comparing version 2.0.22 to 2.0.23

2

package.json
{
"name": "react-text-format",
"version": "2.0.22",
"version": "2.0.23",
"description": "React Component to find and parse links, emails, phone numbers, credit cards and keywords to required format.",

@@ -5,0 +5,0 @@ "homepage": "https://react-ninja.github.io/react-text-format/",

@@ -44,15 +44,13 @@ # react-text-format

This is demo link http://www.google.com
<br/><br/>
This is demo email <span data-email="email@span.com">jago@yahoo.com</span>
<br /><br />
This is demo email <span data-email="miller@yahoo.com">miller@yahoo.com</span>
This is demo image https://preview.ibb.co/hqhoyA/lexie-barnhorn-1114350-unsplash.jpg
<br /><br />
This is demo credit Card 5555555555554444
<br /><br />
This is demo phone Number 123.456.7890 <br />
This is demo phone Number (212) 555 1212 <br />
This is demo phone Number (212) 555-1212 <br />
This is demo phone Number 212-555-1212 ext. 101 <br />
This is demo phone Number 212 555 1212 x101 <br />
<br /><br />
This is demo phone Number 123.456.7890
This is demo phone Number (212) 555 1212
This is demo phone Number (212) 555-1212
This is demo phone Number 212-555-1212 ext. 101
This is demo phone Number 212 555 1212 x101
This is an anchor <a href="http://formatter.com">http://formatter.com</a>;

@@ -110,7 +108,6 @@ </ReactTextFormat>,

customPhoneDecorator = (
decoratedText: string,
key: number
decoratedText: string
): React.Node => {
return (
<a href={`tel:${decoratedText}`} className='customPhone'>
<a href={`tel:${decoratedText}`} className='customPhone'>
{decoratedText}

@@ -151,17 +148,16 @@ </a>

This is demo link http://www.google.com
<br/><br/>
This is encoded Link http://go%2Emsn%2Ecom/nl/133942%2Easp
<br />
This is demo email <span data-email="email@span.com">jago@yahoo.com</span>
<br /><br />
This is demo image https://preview.ibb.co/hqhoyA/lexie-barnhorn-1114350-unsplash.jpg
<br /><br />
This is demo email <span data-email="miller@yahoo.com">miller@yahoo.com</span>
This is demo image
https://preview.ibb.co/hqhoyA/lexie-barnhorn-1114350-unsplash.jpg
This is demo credit Card 5555555555554444
<br /><br />
This is demo phone Number 123.456.7890 <br />
This is demo phone Number (212) 555 1212 <br />
This is demo Phone Number (212) 555-1212 <br />
This is demo phone Number 212-555-1212 ext. 101 <br />
This is demo phone Number 212 555 1212 x101 <br />
<br /><br />
This is demo phone Number 123.456.7890
This is demo phone Number (212) 555 1212
This is demo Phone Number (212) 555-1212
This is demo phone Number 212-555-1212 ext. 101
This is demo phone Number 212 555 1212 x101
This is an anchor <a href="http://formatter.com">http://formatter.com</a>;

@@ -168,0 +164,0 @@ </ReactTextFormat>,

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