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

@input-output-hk/front-end-core-components

Package Overview
Dependencies
Maintainers
7
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@input-output-hk/front-end-core-components - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

12

components/Link.js

@@ -54,4 +54,3 @@ "use strict";

};
var LinkInner = function LinkInner(props) {
var LinkInner = (0, _react.forwardRef)(function (props, ref) {
// Transform original href to prefix language where applicable

@@ -74,5 +73,3 @@ function getHref() {

var ref = componentProps.elRef;
delete componentProps.component;
delete componentProps.elRef;

@@ -87,4 +84,3 @@ if (typeof Component === 'string') {

}));
};
});
var Link = (0, _react.forwardRef)(function (props, ref) {

@@ -102,3 +98,3 @@ return _react["default"].createElement(LinkContext.Consumer, null, function () {

return _react["default"].createElement(LinkInner, (0, _extends2["default"])({}, props, {
elRef: ref,
ref: ref,
lang: lang,

@@ -122,2 +118,2 @@ isStatic: isStatic,

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9MaW5rLmpzIl0sIm5hbWVzIjpbIkxpbmtDb250ZXh0IiwiUHJvdmlkZXIiLCJjaGlsZHJlbiIsImNvbXBvbmVudCIsImlzU3RhdGljIiwiaHJlZiIsImxhbmciLCJwcm9wVHlwZXMiLCJQcm9wVHlwZXMiLCJub2RlIiwiaXNSZXF1aXJlZCIsInN0cmluZyIsImZ1bmMiLCJhbnkiLCJMaW5rSW5uZXIiLCJwcm9wcyIsImdldEhyZWYiLCJtYXRjaCIsIlJlZ0V4cCIsIkNvbXBvbmVudCIsImNvbXBvbmVudFByb3BzIiwiaXNSZWxhdGl2ZSIsInJlZiIsImVsUmVmIiwiTGluayJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E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gY29tcG9uZW50UHJvcHMuY29tcG9uZW50XG4gIGlmICh0eXBlb2YgQ29tcG9uZW50ID09PSAnc3RyaW5nJykge1xuICAgIGRlbGV0ZSBjb21wb25lbnRQcm9wcy5pc1N0YXRpY1xuICAgIGRlbGV0ZSBjb21wb25lbnRQcm9wcy5pc1JlbGF0aXZlXG4gIH1cblxuICByZXR1cm4gKFxuICAgIDxDb21wb25lbnQgey4uLmNvbXBvbmVudFByb3BzfSByZWY9e3JlZn0gLz5cbiAgKVxufSlcblxuY29uc3QgTGluayA9IGZvcndhcmRSZWYoKHByb3BzLCByZWYpID0+IChcbiAgPExpbmtDb250ZXh0LkNvbnN1bWVyPlxuICAgIHsoeyBsYW5nLCBpc1N0YXRpYyA9ICgpID0+IGZhbHNlLCBjb21wb25lbnQgPSAnYScgfSA9IHt9KSA9PiAoXG4gICAgICA8TGlua0lubmVyIHsuLi5wcm9wc30gcmVmPXtyZWZ9IGxhbmc9e2xhbmd9IGlzU3RhdGljPXtpc1N0YXRpY30gY29tcG9uZW50PXtjb21wb25lbnR9IC8+XG4gICAgKX1cbiAgPC9MaW5rQ29udGV4dC5Db25zdW1lcj5cbikpXG5cbkxpbmtJbm5lci5wcm9wVHlwZXMgPSB7XG4gIGhyZWY6IFByb3BUeXBlcy5zdHJpbmcuaXNSZXF1aXJlZCxcbiAgbGFuZzogUHJvcFR5cGVzLnN0cmluZyxcbiAgaXNTdGF0aWM6IFByb3BUeXBlcy5mdW5jLFxuICBlbFJlZjogUHJvcFR5cGVzLmFueSxcbiAgY29tcG9uZW50OiBQcm9wVHlwZXMuYW55XG59XG5cbkxpbmsucHJvcFR5cGVzID0ge1xuICBocmVmOiBQcm9wVHlwZXMuc3RyaW5nLmlzUmVxdWlyZWRcbn1cblxuZXhwb3J0IGRlZmF1bHQgTGlua1xuIl19
{
"name": "@input-output-hk/front-end-core-components",
"version": "1.0.6",
"version": "1.0.7",
"description": "IOHK front-end web core React components",

@@ -5,0 +5,0 @@ "main": "components/index.js",

@@ -22,3 +22,3 @@ import React, { forwardRef, createContext } from 'react'

const LinkInner = (props) => {
const LinkInner = forwardRef((props, ref) => {
// Transform original href to prefix language where applicable

@@ -41,5 +41,3 @@ function getHref () {

const ref = componentProps.elRef
delete componentProps.component
delete componentProps.elRef
if (typeof Component === 'string') {

@@ -53,3 +51,3 @@ delete componentProps.isStatic

)
}
})

@@ -59,3 +57,3 @@ const Link = forwardRef((props, ref) => (

{({ lang, isStatic = () => false, component = 'a' } = {}) => (
<LinkInner {...props} elRef={ref} lang={lang} isStatic={isStatic} component={component} />
<LinkInner {...props} ref={ref} lang={lang} isStatic={isStatic} component={component} />
)}

@@ -62,0 +60,0 @@ </LinkContext.Consumer>

Sorry, the diff of this file is not supported yet

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