Socket
Socket
Sign inDemoInstall

@accessible/disclosure

Package Overview
Dependencies
34
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

4

dist/main/index.js

@@ -222,3 +222,5 @@ 'use strict'

children.ref,
(0, _useConditionalFocus.default)(prevOpen.current && !isOpen, true)
(0, _useConditionalFocus.default)(prevOpen.current && !isOpen, {
includeRoot: true,
})
)

@@ -225,0 +227,0 @@ const storedOnClick = useRef(children.props.onClick)

@@ -170,3 +170,5 @@ import React from 'react'

children.ref,
useConditionalFocus(prevOpen.current && !isOpen, true)
useConditionalFocus(prevOpen.current && !isOpen, {
includeRoot: true,
})
)

@@ -173,0 +175,0 @@ const storedOnClick = useRef(children.props.onClick)

{
"name": "@accessible/disclosure",
"version": "1.1.2",
"version": "1.1.3",
"homepage": "https://github.com/accessible-ui/accessible#readme",

@@ -95,3 +95,3 @@ "repository": "github:accessible-ui/accessible",

"eslint-plugin-react-hooks": "latest",
"husky": "latest",
"husky": "^4.2.5",
"jest": "latest",

@@ -107,5 +107,5 @@ "lint-staged": "latest",

"dependencies": {
"@accessible/button": "^1.0.4",
"@accessible/button": "^1.1.0",
"@accessible/use-conditional-focus": "^2.2.0",
"@accessible/use-id": "^1.0.4",
"@accessible/use-id": "^1.1.0",
"@accessible/use-keycode": "^4.0.1",

@@ -112,0 +112,0 @@ "@react-hook/merged-ref": "^1.1.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc