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

@clayui/shared

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/shared - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [3.2.2](https://github.com/liferay/clay/compare/@clayui/shared@3.2.1...@clayui/shared@3.2.2) (2020-08-26)
### Bug Fixes
- **@clayui/shared:** fixes side effect of focusing on the first element when the active element does not exist in the scope ([4a136da](https://github.com/liferay/clay/commit/4a136da))
## [3.2.1](https://github.com/liferay/clay/compare/@clayui/shared@3.2.0...@clayui/shared@3.2.1) (2020-07-28)

@@ -8,0 +14,0 @@

6

lib/useFocusManagement.js

@@ -186,4 +186,8 @@ "use strict";

var lastPosition = elements.length - 1;
var nextElement = null;
var nextElement = null; // Ignore when the active element is not in the scope.
if (position < 0) {
return null;
}
if (backwards) {

@@ -190,0 +194,0 @@ if (position === 0) {

4

package.json
{
"name": "@clayui/shared",
"version": "3.2.1",
"version": "3.2.2",
"description": "ClayShared component",

@@ -40,3 +40,3 @@ "license": "BSD-3-Clause",

],
"gitHead": "c3d6a4b78259655789b4181fea4579605d718f89"
"gitHead": "c46e7912b15849912013661e9095ea322ee61fec"
}

@@ -211,2 +211,7 @@ /**

// Ignore when the active element is not in the scope.
if (position < 0) {
return null;
}
if (backwards) {

@@ -213,0 +218,0 @@ if (position === 0) {

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