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

@nextui-org/use-aria-button

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/use-aria-button - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

8

dist/index.js

@@ -28,3 +28,3 @@ "use strict";

var import_focus = require("@react-aria/focus");
var import_interactions = require("@react-aria/interactions");
var import_use_aria_press = require("@nextui-org/use-aria-press");
function useAriaButton(props, ref) {

@@ -65,3 +65,3 @@ let {

}
let { pressProps, isPressed } = (0, import_interactions.usePress)({
let { pressProps, isPressed } = (0, import_use_aria_press.usePress)({
onPressStart,

@@ -93,5 +93,3 @@ onPressEnd,

onClick: (e) => {
if (deprecatedOnClick) {
deprecatedOnClick(e);
}
deprecatedOnClick == null ? void 0 : deprecatedOnClick(e);
}

@@ -98,0 +96,0 @@ })

{
"name": "@nextui-org/use-aria-button",
"version": "2.0.5",
"version": "2.0.6",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",

@@ -31,7 +31,8 @@ "keywords": [

"dependencies": {
"@react-aria/utils": "^3.20.0",
"@react-aria/focus": "^3.14.1",
"@react-aria/interactions": "^3.18.0",
"@react-types/button": "^3.8.0",
"@react-types/shared": "^3.20.0"
"@react-aria/utils": "^3.21.1",
"@react-aria/focus": "^3.14.3",
"@react-aria/interactions": "^3.19.1",
"@react-types/button": "^3.9.0",
"@react-types/shared": "^3.21.0",
"@nextui-org/use-aria-press": "2.0.1"
},

@@ -38,0 +39,0 @@ "clean-package": "../../../clean-package.config.json",

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