New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@bxreact/button

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bxreact/button - npm Package Compare versions

Comparing version
2.3.1
to
2.4.0
+3
-2
dist/index.js

@@ -194,3 +194,4 @@ // src/index.tsx

loading,
type
type,
target
}) {

@@ -232,3 +233,3 @@ const Type = href ? "a" : "button";

href,
target: open ? "_blank" : null,
target: open ? "_blank" : target,
disabled,

@@ -235,0 +236,0 @@ style,

+1
-1
{
"name": "@bxreact/button",
"version": "2.3.1",
"version": "2.4.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -9,2 +9,3 @@ import "@bxreact/theme";

open?: boolean;
target?: "_blank" | "_parent";
type?: "submit" | "reset" | "button";

@@ -44,2 +45,3 @@ disabled?: boolean;

type,
target,
}: Props): JSX.Element {

@@ -93,3 +95,3 @@ const Type = href ? "a" : "button";

href={href}
target={open ? "_blank" : null}
target={open ? "_blank" : target}
disabled={disabled}

@@ -96,0 +98,0 @@ style={style}

@@ -8,2 +8,3 @@ import "@bxreact/theme";

open?: boolean;
target?: "_blank" | "_parent";
type?: "submit" | "reset" | "button";

@@ -24,3 +25,3 @@ disabled?: boolean;

}
export declare function Button({ onClick, preventDefault, disabled, href, open, children, size, thead, status, icon, wrap, badge, color, bgcolor, outline, loading, type, }: Props): JSX.Element;
export declare function Button({ onClick, preventDefault, disabled, href, open, children, size, thead, status, icon, wrap, badge, color, bgcolor, outline, loading, type, target, }: Props): JSX.Element;
export {};