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

@awsui/collection-hooks

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awsui/collection-hooks - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

dist/index.d.ts

@@ -1,1 +0,1 @@

export { useCollection } from './use-collection';
export { useCollection } from './use-collection.js';

@@ -1,1 +0,1 @@

export { useCollection } from './use-collection';
export { useCollection } from './use-collection.js';

@@ -1,4 +0,4 @@

import { filter } from './filter';
import { sort } from './sort';
import { getPagesCount, normalizePageIndex, paginate } from './paginate';
import { filter } from './filter.js';
import { sort } from './sort.js';
import { getPagesCount, normalizePageIndex, paginate } from './paginate.js';
export function processItems(items, _a, _b) {

@@ -5,0 +5,0 @@ var filteringText = _a.filteringText, sortingState = _a.sortingState, currentPageIndex = _a.currentPageIndex;

import { useReducer } from 'react';
import { createActions, collectionReducer } from './utils';
import { createActions, collectionReducer } from './utils.js';
export function useCollectionState(allItems, options, collectionRef) {

@@ -4,0 +4,0 @@ var _a, _b, _c, _d, _e, _f, _g;

@@ -13,5 +13,5 @@ var __assign = (this && this.__assign) || function () {

import { useRef } from 'react';
import { processItems, processSelectedItems, itemsAreEqual } from './operations';
import { createSyncProps } from './utils';
import { useCollectionState } from './use-collection-state';
import { processItems, processSelectedItems, itemsAreEqual } from './operations/index.js';
import { createSyncProps } from './utils.js';
import { useCollectionState } from './use-collection-state.js';
export function useCollection(allItems, options) {

@@ -18,0 +18,0 @@ var collectionRef = useRef(null);

{
"name": "@awsui/collection-hooks",
"version": "1.0.6",
"version": "1.0.7",
"type": "module",

@@ -30,2 +30,3 @@ "main": "./dist/index.js",

"preset": "ts-jest",
"resolver": "jest-ts-webcompat-resolver",
"collectCoverage": true,

@@ -32,0 +33,0 @@ "collectCoverageFrom": [

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