tanstack-shadcn-table
Version:
A powerful, feature-rich React table component built on top of TanStack Table v8 with shadcn/ui styling. Optimized bundle size with 55% reduction through peer dependencies.
25 lines (24 loc) • 870 B
TypeScript
/**
* Security utilities - Tree-shakeable exports
*
* Import only what you need:
*
* @example
* // ✅ Tree-shakeable - only imports sanitizeSearchInput
* import { sanitizeSearchInput } from 'tanstack-shadcn-table/security/sanitize';
*
* // ❌ Imports all security utilities
* import { sanitizeSearchInput } from 'tanstack-shadcn-table/lib/security';
*/
export { sanitizeSearchInput } from './sanitize';
export { sanitizeFilterValue } from './sanitize';
export { sanitizeHtml } from './sanitize';
export { validatePaginationParams } from './validation';
export { validateSortingParams } from './validation';
export { validateFileUpload } from './validation';
export { RateLimiter } from './rate-limiter';
export { CSP_DIRECTIVES } from './csp';
export * from './sanitize';
export * from './validation';
export * from './rate-limiter';
export * from './csp';