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

@tanstack/svelte-table

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/svelte-table - npm Package Compare versions

Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6

2

dist/index.d.ts
export * from '@tanstack/table-core';
export { default as FlexRender } from './flex-render.svelte';
export { renderComponent } from './render-component';
export { createSvelteTable } from './table.svelte';
export { createTable } from './table.svelte';
export * from '@tanstack/table-core';
export { default as FlexRender } from './flex-render.svelte';
export { renderComponent } from './render-component';
export { createSvelteTable } from './table.svelte';
export { createTable } from './table.svelte';

@@ -9,3 +9,3 @@ import { type RowData, type TableOptions } from '@tanstack/table-core';

* <script>
* const table = createSvelteTable({ ... })
* const table = createTable({ ... })
* </script>

@@ -29,2 +29,2 @@ *

*/
export declare function createSvelteTable<TData extends RowData>(options: TableOptions<TData>): import("@tanstack/table-core").Table<TData>;
export declare function createTable<TData extends RowData>(options: TableOptions<TData>): import("@tanstack/table-core").Table<TData>;

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

import { createTable, } from '@tanstack/table-core';
import { _createTable, } from '@tanstack/table-core';
/**

@@ -9,3 +9,3 @@ * Creates a reactive TanStack table object for Svelte.

* <script>
* const table = createSvelteTable({ ... })
* const table = createTable({ ... })
* </script>

@@ -29,3 +29,3 @@ *

*/
export function createSvelteTable(options) {
export function createTable(options) {
const resolvedOptions = mergeObjects({

@@ -39,3 +39,3 @@ state: {},

}, options);
const table = createTable(resolvedOptions);
const table = _createTable(resolvedOptions);
let state = $state(table.initialState);

@@ -42,0 +42,0 @@ function updateOptions() {

{
"name": "@tanstack/svelte-table",
"version": "9.0.0-alpha.5",
"version": "9.0.0-alpha.6",
"description": "Headless UI for building powerful tables & datagrids for Svelte.",

@@ -43,3 +43,3 @@ "author": "Tanner Linsley",

"dependencies": {
"@tanstack/table-core": "9.0.0-alpha.4"
"@tanstack/table-core": "9.0.0-alpha.6"
},

@@ -46,0 +46,0 @@ "devDependencies": {

export * from '@tanstack/table-core'
export { default as FlexRender } from './flex-render.svelte'
export { renderComponent } from './render-component'
export { createSvelteTable } from './table.svelte'
export { createTable } from './table.svelte'
import {
createTable,
_createTable,
type RowData,

@@ -16,3 +16,3 @@ type TableOptions,

* <script>
* const table = createSvelteTable({ ... })
* const table = createTable({ ... })
* </script>

@@ -36,3 +36,3 @@ *

*/
export function createSvelteTable<TData extends RowData>(
export function createTable<TData extends RowData>(
options: TableOptions<TData>

@@ -55,3 +55,3 @@ ) {

const table = createTable(resolvedOptions)
const table = _createTable(resolvedOptions)
let state = $state<Partial<TableState>>(table.initialState)

@@ -58,0 +58,0 @@

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