New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

svelte-infinitable

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-infinitable - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/types/filters.d.ts

2

dist/infinitable/context.d.ts
import type { Readable } from 'svelte/store';
import type { FilterDetailItem, InternalSortDetail, TableFilterHeader } from './types.js';
import type { FilterDetailItem, InternalSortDetail, TableFilterHeader } from '../types/index.js';
export declare enum InfinitableRunMode {

@@ -4,0 +4,0 @@ DEBUG = "debug"

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

import type { FilterOption } from '../types.js';
import type { FilterOption } from '../../types/index.js';
type Props = {

@@ -3,0 +3,0 @@ value: FilterOption[];

import { type Snippet } from 'svelte';
import type { TableHeader } from './types.js';
import type { TableHeader } from '../types/index.js';
type Props = {

@@ -4,0 +4,0 @@ header: TableHeader;

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

import type { TableSearchSettings } from './types.js';
import type { TableSearchSettings } from '../types/index.js';
type Props = {

@@ -3,0 +3,0 @@ value: string;

import { type Snippet } from 'svelte';
import type { FilterDetailItem, FilterHandler, InfiniteHandler, RefreshHandler, SearchDetail, SearchHandler, SelectHandler, SortDetail, SortHandler, TableHeader, TableItem, TableSearchSettings } from './types.js';
import type { FilterDetailItem, FilterHandler, InfiniteHandler, RefreshHandler, SearchDetail, SearchHandler, SelectHandler, SortDetail, SortHandler, TableHeader, TableItem, TableSearchSettings } from '../types/index.js';
declare const Infinitable: import("svelte").Component<{

@@ -138,4 +138,4 @@ /**

getSearchFilterSort: <T extends TableHeader[] = TableHeader[]>() => {
search: SearchDetail;
filters: FilterDetailItem[];
search: SearchDetail | undefined;
filters: FilterDetailItem<T[number]>[] | undefined;
sort: SortDetail<T[number]> | undefined;

@@ -142,0 +142,0 @@ };

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

import type { TableFilterHeader, TableHeader, TableSearchSettings } from './types.js';
import type { TableFilterHeader, TableHeader, TableSearchSettings } from '../types/index.js';
export declare function debounce<T extends (...args: unknown[]) => unknown>(fn: T, delay: number): T;

@@ -10,3 +10,3 @@ export declare function uniqueId(prefix?: string): string;

isDefault: boolean;
onFilter: import("./types.js").CustomFiltering<import("./types.js").AnyRecord>;
onFilter: import("../types/filters.js").CustomFiltering;
isDefaultValue: (value: unknown) => value is "";

@@ -13,0 +13,0 @@ property?: undefined;

@@ -12,3 +12,3 @@ export function debounce(fn, delay) {

export function isFilterHeader(header) {
return ('filter' in header &&
return (header.filter !== undefined &&
'type' in header.filter &&

@@ -15,0 +15,0 @@ (header.filter.type === 'text' ||

{
"name": "svelte-infinitable",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "files": [

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

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