New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clayui/form

Package Overview
Dependencies
Maintainers
3
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/form - npm Package Compare versions

Comparing version 3.9.0 to 3.10.0

10

CHANGELOG.md

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

# [3.10.0](https://github.com/liferay/clay/compare/@clayui/form@3.9.0...@clayui/form@3.10.0) (2020-07-28)
### Bug Fixes
- update packages to appropriate dependencies ([0026168](https://github.com/liferay/clay/commit/0026168))
### Features
- **@clayui/shared:** Adds an object called Keys for normalize Keyboard events checkings avoiding people to using strings and care about browser compat when using React syntetic Keyboard events ([95c8ea9](https://github.com/liferay/clay/commit/95c8ea9)), closes [/github.com/facebook/react/blob/b87aabdfe1/packages/react-dom/src/events/getEventKey.js#L12-L29](https://github.com//github.com/facebook/react/blob/b87aabdfe1/packages/react-dom/src/events/getEventKey.js/issues/L12-L29)
# [3.9.0](https://github.com/liferay/clay/compare/@clayui/form@3.8.0...@clayui/form@3.9.0) (2020-07-14)

@@ -8,0 +18,0 @@

7

lib/SelectBox.js

@@ -12,2 +12,4 @@ "use strict";

var _shared = require("@clayui/shared");
var _classnames = _interopRequireDefault(require("classnames"));

@@ -43,5 +45,2 @@

var KEY_ARROWDOWN = 40;
var KEY_ARROWUP = 38;
function arrayMove(arrayToMove, oldIndex, newIndex) {

@@ -141,3 +140,3 @@ arrayToMove.splice(newIndex, 0, arrayToMove.splice(oldIndex, 1)[0]);

return selectedIndexes.forEach(function (index) {
if (event.keyCode === KEY_ARROWDOWN && index === items.length - 1 || event.keyCode === KEY_ARROWUP && index === 0) {
if (event.key === _shared.Keys.Down && index === items.length - 1 || event.key === _shared.Keys.Up && index === 0) {
event.preventDefault();

@@ -144,0 +143,0 @@ }

{
"name": "@clayui/form",
"version": "3.9.0",
"version": "3.10.0",
"description": "ClayForm component",

@@ -29,4 +29,5 @@ "license": "BSD-3-Clause",

"dependencies": {
"@clayui/button": "^3.3.1",
"@clayui/button": "^3.4.0",
"@clayui/icon": "^3.0.5",
"@clayui/shared": "^3.2.1",
"classnames": "^2.2.6"

@@ -42,3 +43,3 @@ },

],
"gitHead": "27253a866a6cbff78cdef20c3641fb7a2634933d"
"gitHead": "c3d6a4b78259655789b4181fea4579605d718f89"
}

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