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

@tcn/state

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tcn/state - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/delay.d.ts

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

import { WeakPromise } from 'src/weak_promise.js';
import { WeakPromise } from "./weak_promise.js";
export declare function delay(time: number): WeakPromise<void>;

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

import { IRunnerBroadcast } from 'src/irunner_broadcast.js';
import { IRunnerBroadcast } from "../irunner_broadcast.js";
export declare function useRunnerErrorEffect(callback: (error: Error | null) => void, task: IRunnerBroadcast<any>): void;

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

import { IRunnerBroadcast } from 'src/irunner_broadcast.js';
import { IRunnerBroadcast } from "../irunner_broadcast.js";
export declare function useRunnerFeedbackEffect(callback: (feedback: string) => void, task: IRunnerBroadcast<any>): void;

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

import { IRunnerBroadcast } from 'src/irunner_broadcast.js';
import { IRunnerBroadcast } from "../irunner_broadcast.js";
export declare function useRunnerProgressEffect(callback: (progress: number) => void, task: IRunnerBroadcast<any>): void;

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

import { IRunnerBroadcast, Status } from 'src/irunner_broadcast.js';
import { IRunnerBroadcast, Status } from "../irunner_broadcast.js";
export declare function useRunnerStatusEffect(callback: (value: Status) => void, task: IRunnerBroadcast<any>): void;

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

import { IRunnerBroadcast } from 'src/irunner_broadcast.js';
export declare function useRunnerStatus(broadcast: IRunnerBroadcast<any>): import("src/irunner_broadcast.js").Status;
import { IRunnerBroadcast } from "../irunner_broadcast.js";
export declare function useRunnerStatus(broadcast: IRunnerBroadcast<any>): import("../irunner_broadcast.js").Status;

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

import { IBroadcast } from 'src/ibroadcast.js';
import { IBroadcast } from "../ibroadcast.js";
export declare function useSignalValueEffect<T>(callback: (value: T) => void, broadcast: IBroadcast<T>): void;

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

import { IBroadcast } from 'src/ibroadcast.js';
import { IBroadcast } from "../ibroadcast.js";
export declare function useSignalValue<TValue>(broadcast: IBroadcast<TValue>): TValue;

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

import { WeakPromise } from 'src/weak_promise.js';
import { WeakPromise } from "./weak_promise.js";
import { IRunnerBroadcast } from './irunner_broadcast.js';

@@ -3,0 +3,0 @@ import { ISignal } from './isignal.js';

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

import { FieldPresenter } from 'src/stories/todo/field_presenter.js';
import { OptionsFieldPresenter } from 'src/stories/todo/options_field_presenter.js';
import { TodoItem } from 'src/stories/todo/todo_item.js';
import { FieldPresenter } from "./field_presenter.js";
import { OptionsFieldPresenter } from "./options_field_presenter.js";
import { TodoItem } from "./todo_item.js";
export declare class AddFormPresenter {

@@ -5,0 +5,0 @@ private _onSave;

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

import { Signal } from 'src/signal.js';
import { Signal } from "../../signal.js";
interface InternalValidationOptions<T> {

@@ -3,0 +3,0 @@ validate: (value: T) => void;

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

import { FieldPresenter, ValidationOptions } from 'src/stories/todo/field_presenter.js';
import { FieldPresenter, ValidationOptions } from "./field_presenter.js";
export declare class OptionsFieldPresenter extends FieldPresenter<string> {

@@ -3,0 +3,0 @@ private _options;

import React from 'react';
import { AddFormPresenter } from 'src/stories/todo/add_form_presenter.js';
import { AddFormPresenter } from "../add_form_presenter.js";
export interface AddFormProps {

@@ -4,0 +4,0 @@ presenter: AddFormPresenter;

import React, { HTMLAttributes } from 'react';
import { FieldPresenter } from 'src/stories/todo/field_presenter.js';
import { FieldPresenter } from "../field_presenter.js";
export interface FieldProps extends HTMLAttributes<HTMLInputElement> {

@@ -4,0 +4,0 @@ presenter: FieldPresenter<any>;

import React, { HTMLAttributes } from 'react';
import { OptionsFieldPresenter } from 'src/stories/todo/options_field_presenter.js';
import { OptionsFieldPresenter } from "../options_field_presenter.js";
export interface OptionsFieldProps extends HTMLAttributes<HTMLSelectElement> {

@@ -4,0 +4,0 @@ presenter: OptionsFieldPresenter;

import React from 'react';
import { TodoItem } from 'src/stories/todo/todo_item.js';
import { TodoItem } from "../todo_item.js";
export interface TableCheckboxProps {

@@ -4,0 +4,0 @@ item: TodoItem;

import React from 'react';
import { TodoItem } from 'src/stories/todo/todo_item.js';
import { TodoItem } from "../todo_item.js";
export interface TableTodoItemPriorityProps {

@@ -4,0 +4,0 @@ item: TodoItem;

import React from 'react';
import { TodoItem } from 'src/stories/todo/todo_item.js';
import { TodoItem } from "../todo_item.js";
export interface TableTodoItemTitleProps {

@@ -4,0 +4,0 @@ item: TodoItem;

import React from 'react';
import { TodoPresenter } from 'src/stories/todo/todo_presenter.js';
import { TodoPresenter } from "../todo_presenter.js";
export interface TodoTableProps {

@@ -4,0 +4,0 @@ width?: string;

import React from 'react';
import { TodoPresenter } from 'src/stories/todo/todo_presenter.js';
import { TodoPresenter } from "../todo_presenter.js";
export interface TodoProps {

@@ -4,0 +4,0 @@ width?: string;

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

import { AddFormPresenter } from 'src/stories/todo/add_form_presenter.js';
import { TodoItem } from 'src/stories/todo/todo_item.js';
import { TodoService } from 'src/stories/todo/todo_service.js';
import { AddFormPresenter } from "./add_form_presenter.js";
import { TodoItem } from "./todo_item.js";
import { TodoService } from "./todo_service.js";
export declare class TodoPresenter {

@@ -5,0 +5,0 @@ private _service;

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

import { TodoItem } from 'src/stories/todo/todo_item.js';
import { TodoItem } from "./todo_item.js";
export declare class TodoService {

@@ -3,0 +3,0 @@ private _items;

{
"name": "@tcn/state",
"version": "0.0.3",
"version": "0.0.4",
"type": "module",

@@ -5,0 +5,0 @@ "description": "State management for complex business logic.",

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