@hashicorp/react-link-wrap
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -78,3 +78,3 @@ 'use strict'; | ||
if (Link && !isAbsoluteURL(href)) { | ||
return React.createElement(Link, { | ||
return /*#__PURE__*/React.createElement(Link, { | ||
href: href, | ||
@@ -87,7 +87,7 @@ as: as, | ||
shallow: shallow | ||
}, React.createElement("a", _extends({ | ||
}, /*#__PURE__*/React.createElement("a", _extends({ | ||
"data-testid": "a" | ||
}, props), children)); | ||
} else { | ||
return React.createElement("a", _extends({ | ||
return /*#__PURE__*/React.createElement("a", _extends({ | ||
href: href, | ||
@@ -94,0 +94,0 @@ "data-testid": "a-raw" |
{ | ||
"name": "@hashicorp/react-link-wrap", | ||
"description": "Wraps a standard 'a' element to enable NextJS Link usage", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Hashicorp - Jeff Escalante", | ||
@@ -17,3 +17,3 @@ "license": "MPL-2.0", | ||
}, | ||
"gitHead": "cff05acf1fb607266871bc8d1a1df809178afd81" | ||
"gitHead": "91411752de6f18e074f8492cc7690f1b05961527" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
22472