coston / react-obfuscate

An intelligent React component to obfuscate any contact link!
https://react-obfuscate.coston.io
MIT License
110 stars 17 forks source link

Remove Prop-Types Dependency #323

Closed jordanlambrecht closed 2 weeks ago

jordanlambrecht commented 1 year ago

It would be great if this package didn't rely on Prop-Types.

adriaandotcom commented 1 year ago

Getting this warning now in Next.js 13:

Warning: Obfuscate: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    at Obfuscate (webpack-internal:///(ssr)/./node_modules/react-obfuscate/dist/obfuscate.js:22:23)
jordanlambrecht commented 10 months ago

@coston thoughts on this? It's now throwing warning " > react-obfuscate@3.6.9" has unmet peer dependency "prop-types@>= 15"

ricardodolnl commented 7 months ago

Stil getting this error

bonesoul commented 4 months ago

also having this issue.

rodrigo-arias commented 2 months ago

Same here

coston commented 2 weeks ago

This issue is resolved