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

@react-stately/grid

Package Overview
Dependencies
Maintainers
2
Versions
756
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/grid - npm Package Compare versions

Comparing version 3.0.0-nightly-db60babaf-241014 to 3.0.0-nightly-dcc0752f8-241031

9

dist/GridCollection.main.js

@@ -33,7 +33,9 @@

let node = this.keyMap.get(key);
return node ? node.prevKey : null;
var _node_prevKey;
return node ? (_node_prevKey = node.prevKey) !== null && _node_prevKey !== void 0 ? _node_prevKey : null : null;
}
getKeyAfter(key) {
let node = this.keyMap.get(key);
return node ? node.nextKey : null;
var _node_nextKey;
return node ? (_node_nextKey = node.nextKey) !== null && _node_nextKey !== void 0 ? _node_nextKey : null : null;
}

@@ -54,3 +56,4 @@ getFirstKey() {

getItem(key) {
return this.keyMap.get(key);
var _this_keyMap_get;
return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;
}

@@ -57,0 +60,0 @@ at(idx) {

@@ -27,7 +27,9 @@ /*

let node = this.keyMap.get(key);
return node ? node.prevKey : null;
var _node_prevKey;
return node ? (_node_prevKey = node.prevKey) !== null && _node_prevKey !== void 0 ? _node_prevKey : null : null;
}
getKeyAfter(key) {
let node = this.keyMap.get(key);
return node ? node.nextKey : null;
var _node_nextKey;
return node ? (_node_nextKey = node.nextKey) !== null && _node_nextKey !== void 0 ? _node_nextKey : null : null;
}

@@ -48,3 +50,4 @@ getFirstKey() {

getItem(key) {
return this.keyMap.get(key);
var _this_keyMap_get;
return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;
}

@@ -51,0 +54,0 @@ at(idx) {

{
"name": "@react-stately/grid",
"version": "3.0.0-nightly-db60babaf-241014",
"version": "3.0.0-nightly-dcc0752f8-241031",
"description": "Spectrum UI components in React",

@@ -25,6 +25,6 @@ "license": "Apache-2.0",

"dependencies": {
"@react-stately/collections": "^3.0.0-nightly-db60babaf-241014",
"@react-stately/selection": "^3.0.0-nightly-db60babaf-241014",
"@react-types/grid": "^3.0.0-nightly-db60babaf-241014",
"@react-types/shared": "^3.0.0-nightly-db60babaf-241014",
"@react-stately/collections": "^3.0.0-nightly-dcc0752f8-241031",
"@react-stately/selection": "^3.0.0-nightly-dcc0752f8-241031",
"@react-types/grid": "^3.0.0-nightly-dcc0752f8-241031",
"@react-types/shared": "^3.0.0-nightly-dcc0752f8-241031",
"@swc/helpers": "^0.5.0"

@@ -31,0 +31,0 @@ },

@@ -132,3 +132,3 @@ /*

let node = this.keyMap.get(key);
return node ? node.prevKey : null;
return node ? node.prevKey ?? null : null;
}

@@ -138,3 +138,3 @@

let node = this.keyMap.get(key);
return node ? node.nextKey : null;
return node ? node.nextKey ?? null : null;
}

@@ -152,3 +152,3 @@

getItem(key: Key) {
return this.keyMap.get(key);
return this.keyMap.get(key) ?? null;
}

@@ -155,0 +155,0 @@

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc