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
802
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.0.0-nightly.2962 to 3.0.0-nightly.2969

2

dist/types.d.ts

@@ -25,3 +25,3 @@ import { Key, ItemProps, SectionProps, CollectionBase, Node, Collection, CollectionStateBase } from "@react-types/shared";

interface CollectionOptions<T, C extends Collection<Node<T>>> extends Omit<CollectionStateBase<T, C>, 'children'> {
children?: ReactElement | ReactElement[] | ((item: T) => ReactElement);
children?: ReactElement<any> | ReactElement<any>[] | ((item: T) => ReactElement<any>);
}

@@ -28,0 +28,0 @@ type CollectionFactory<T, C extends Collection<Node<T>>> = (node: Iterable<Node<T>>) => C;

{
"name": "@react-stately/collections",
"version": "3.0.0-nightly.2962+59136f78e",
"version": "3.0.0-nightly.2969+2fd87d9f1",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-types/shared": "3.0.0-nightly.2962+59136f78e",
"@react-types/shared": "3.0.0-nightly.2969+2fd87d9f1",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
},

@@ -35,3 +35,3 @@ "publishConfig": {

},
"gitHead": "59136f78e853e97bb4067a1268750c9f85900bf6"
"gitHead": "2fd87d9f1d894e6b00a595cce73c6e8828029132"
}

@@ -18,3 +18,3 @@ /*

interface CollectionOptions<T, C extends Collection<Node<T>>> extends Omit<CollectionStateBase<T, C>, 'children'> {
children?: ReactElement | ReactElement[] | ((item: T) => ReactElement)
children?: ReactElement<any> | ReactElement<any>[] | ((item: T) => ReactElement<any>)
}

@@ -21,0 +21,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