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
722
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-5ae234603-240925 to 3.0.0-nightly-5ed06068e-241105

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-5ae234603-240925",
"version": "3.0.0-nightly-5ed06068e-241105",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-stately/collections": "^3.0.0-nightly-5ae234603-240925",
"@react-stately/selection": "^3.0.0-nightly-5ae234603-240925",
"@react-types/grid": "^3.0.0-nightly-5ae234603-240925",
"@react-types/shared": "^3.0.0-nightly-5ae234603-240925",
"@react-stately/collections": "^3.0.0-nightly-5ed06068e-241105",
"@react-stately/selection": "^3.0.0-nightly-5ed06068e-241105",
"@react-types/grid": "^3.0.0-nightly-5ed06068e-241105",
"@react-types/shared": "^3.0.0-nightly-5ed06068e-241105",
"@swc/helpers": "^0.5.0"

@@ -38,3 +38,3 @@ },

},
"stableVersion": "3.9.2"
"stableVersion": "3.9.3"
}

@@ -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