react-external-link
Advanced tools
Comparing version 1.2.2 to 1.3.0
@@ -51,5 +51,5 @@ 'use strict'; | ||
var href = _a.href, children = _a.children, rest = __rest(_a, ["href", "children"]); | ||
return (React__default['default'].createElement("a", __assign({ target: "_blank", rel: "noopener noreferrer", href: href }, rest), children !== null && children !== void 0 ? children : href)); | ||
return (React__default["default"].createElement("a", __assign({ target: "_blank", rel: "noopener noreferrer", href: href }, rest), children !== null && children !== void 0 ? children : href)); | ||
}; | ||
exports.ExternalLink = ExternalLink; |
{ | ||
"name": "react-external-link", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -35,25 +35,24 @@ "main": "dist/index.cjs.js", | ||
"devDependencies": { | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@shlinkio/eslint-config-js-coding-standard": "~1.2.1", | ||
"@testing-library/jest-dom": "^5.11.6", | ||
"@testing-library/react": "^11.2.2", | ||
"@types/jest": "^26.0.19", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"concurrently": "^5.3.0", | ||
"eslint": "^7.21.0", | ||
"@rollup/plugin-typescript": "^8.3.1", | ||
"@shlinkio/eslint-config-js-coding-standard": "~2.0.1", | ||
"@testing-library/jest-dom": "^5.16.3", | ||
"@testing-library/react": "^13.0.0", | ||
"@types/jest": "^27.4.1", | ||
"@types/react": "^17.0.43", | ||
"@types/react-dom": "^17.0.14", | ||
"concurrently": "^7.0.0", | ||
"eslint": "^8.12.0", | ||
"eslint-loader": "^4.0.2", | ||
"jest": "^26.6.3", | ||
"prepend-file": "^2.0.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"rollup": "^2.35.1", | ||
"ts-jest": "^26.4.4", | ||
"ts-node": "^9.1.1", | ||
"tslib": "^2.0.3", | ||
"typescript": "^4.1.3" | ||
"jest": "^27.5.1", | ||
"prepend-file": "^2.0.1", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0", | ||
"rollup": "^2.70.1", | ||
"ts-jest": "^27.1.4", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.6.3" | ||
}, | ||
"peerDependencies": { | ||
"react": "^17.0", | ||
"react-dom": "^17.0" | ||
"react": "^17.0 || ^18.0", | ||
"react-dom": "^17.0 || ^18.0" | ||
}, | ||
@@ -60,0 +59,0 @@ "files": [ |
18
10080
7