react-obfuscate-email
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -5,3 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const react_1 = (0, tslib_1.__importStar)(require("react")); | ||
const react_1 = tslib_1.__importStar(require("react")); | ||
const utils_1 = require("./utils"); | ||
@@ -23,3 +23,3 @@ function obfuscateEmail(email) { | ||
function Email(_a) { | ||
var { bcc = [], body = "", cc = [], children, email, subject = "" } = _a, props = (0, tslib_1.__rest)(_a, ["bcc", "body", "cc", "children", "email", "subject"]); | ||
var { bcc = [], body = "", cc = [], children, email, subject = "" } = _a, props = tslib_1.__rest(_a, ["bcc", "body", "cc", "children", "email", "subject"]); | ||
const [hovered, setHovered] = (0, react_1.useState)(false); | ||
@@ -26,0 +26,0 @@ const emailUrl = new URL(`mailto:${email}`); |
{ | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"license": "MIT", | ||
@@ -36,25 +36,25 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.15.5", | ||
"@storybook/addon-actions": "^6.3.8", | ||
"@storybook/addon-docs": "^6.3.8", | ||
"@storybook/addon-essentials": "^6.3.8", | ||
"@storybook/react": "^6.3.8", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/react": "^12.1.0", | ||
"@types/jest": "^27.0.2", | ||
"@types/react": "^17.0.22", | ||
"@typescript-eslint/eslint-plugin": "^4.31.2", | ||
"@typescript-eslint/parser": "^4.31.2", | ||
"babel-loader": "^8.2.2", | ||
"@babel/core": "^7.17.10", | ||
"@storybook/addon-actions": "^6.4.22", | ||
"@storybook/addon-docs": "^6.4.22", | ||
"@storybook/addon-essentials": "^6.4.22", | ||
"@storybook/react": "^6.4.22", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^12.1.5", | ||
"@types/jest": "^27.4.1", | ||
"@types/react": "^17.0.43", | ||
"@typescript-eslint/eslint-plugin": "^5.21.0", | ||
"@typescript-eslint/parser": "^5.21.0", | ||
"babel-loader": "^8.2.5", | ||
"del-cli": "^4.0.1", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-react": "^7.25.3", | ||
"jest": "^27.2.1", | ||
"prettier": "^2.4.1", | ||
"eslint": "^8.14.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-react": "^7.29.4", | ||
"jest": "^28.0.3", | ||
"prettier": "^2.6.2", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"ts-jest": "^27.0.5", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.4.3" | ||
"ts-jest": "^27.1.4", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.6.4" | ||
}, | ||
@@ -61,0 +61,0 @@ "description": "[![React Obfuscate Email](https://badgen.net/npm/v/react-obfuscate-email)](https://www.npmjs.com/package/react-obfuscate-email) [![CI](https://github.com/MauricioRobayo/react-obfuscate-email/actions/workflows/main.yml/badge.svg)](https://github.com/MauricioRobayo/react-obfuscate-email/actions/workflows/main.yml) [![codecov](https://codecov.io/gh/MauricioRobayo/react-obfuscate-email/branch/main/graph/badge.svg?token=gkrRmHZHGB)](https://codecov.io/gh/MauricioRobayo/react-obfuscate-email) [![CodeFactor](https://www.codefactor.io/repository/github/mauriciorobayo/react-obfuscate-email/badge)](https://www.codefactor.io/repository/github/mauriciorobayo/react-obfuscate-email) [![bundlephobia](https://badgen.net/bundlephobia/minzip/react-obfuscate-email)](https://bundlephobia.com/package/react-obfuscate-email)", |
8431