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

@react-stately/collections

Package Overview
Dependencies
Maintainers
2
Versions
805
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/collections - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

10

dist/main.js

@@ -241,3 +241,3 @@ var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));

if (_react.isValidElement(element)) {
if ( /*#__PURE__*/_react.isValidElement(element)) {
let type = element.type;

@@ -257,4 +257,10 @@

partialNode.index = index;
let nodeKey = childNode.key;
if (!nodeKey) {
nodeKey = childNode.element ? null : this.getKey(element, partialNode, state, parentKey);
}
let nodes = this.getFullNode(_babelRuntimeHelpersExtends({}, childNode, {
key: childNode.element ? null : this.getKey(element, partialNode, state, parentKey),
key: nodeKey,
index,

@@ -261,0 +267,0 @@ wrapper: $f9fc6bc72d334a59f09d47517f9a056a$var$compose(partialNode.wrapper, childNode.wrapper)

@@ -227,3 +227,3 @@ import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends";

if (_react.isValidElement(element)) {
if ( /*#__PURE__*/_react.isValidElement(element)) {
let type = element.type;

@@ -243,4 +243,10 @@

partialNode.index = index;
let nodeKey = childNode.key;
if (!nodeKey) {
nodeKey = childNode.element ? null : this.getKey(element, partialNode, state, parentKey);
}
let nodes = this.getFullNode(_babelRuntimeHelpersEsmExtends({}, childNode, {
key: childNode.element ? null : this.getKey(element, partialNode, state, parentKey),
key: nodeKey,
index,

@@ -247,0 +253,0 @@ wrapper: $f8429209754fda4b9142d514065f4$var$compose(partialNode.wrapper, childNode.wrapper)

6

package.json
{
"name": "@react-stately/collections",
"version": "3.3.0",
"version": "3.3.1",
"description": "Spectrum UI components in React",

@@ -21,3 +21,3 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-types/shared": "^3.2.1"
"@react-types/shared": "^3.5.0"
},

@@ -30,3 +30,3 @@ "peerDependencies": {

},
"gitHead": "f5b429ee8615248f2e3c76754bad2ece83f1c444"
"gitHead": "9920ffaa2596a03c4498a15cb940bd2f4ba5cd6a"
}

@@ -123,5 +123,11 @@ /*

partialNode.index = index;
let nodeKey = childNode.key;
if (!nodeKey) {
nodeKey = childNode.element ? null : this.getKey(element as CollectionElement<T>, partialNode, state, parentKey);
}
let nodes = this.getFullNode({
...childNode,
key: childNode.element ? null : this.getKey(element as CollectionElement<T>, partialNode, state, parentKey),
key: nodeKey,
index,

@@ -128,0 +134,0 @@ wrapper: compose(partialNode.wrapper, childNode.wrapper)

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