UNPKG

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.

19 lines (18 loc) 809 B
/** * Security utilities - Backward compatibility export * * @deprecated Use tree-shakeable imports instead: * * @example * // ✅ Tree-shakeable - only imports sanitizeSearchInput * import { sanitizeSearchInput } from 'tanstack-shadcn-table/lib/security/sanitize'; * * // ❌ Imports all security utilities (not tree-shakeable) * import { sanitizeSearchInput } from 'tanstack-shadcn-table/lib/security'; * * For backward compatibility, this file re-exports from the modular structure. */ export { sanitizeHtml, sanitizeSearchInput, sanitizeFilterValue } from './security/sanitize'; export { validatePaginationParams, validateSortingParams, validateFileUpload } from './security/validation'; export { RateLimiter } from './security/rate-limiter'; export { CSP_DIRECTIVES } from './security/csp';