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

@lit-labs/task

Package Overview
Dependencies
Maintainers
11
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-labs/task - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

4

development/task.d.ts
import { ReactiveControllerHost } from '@lit/reactive-element/reactive-controller.js';
export interface TaskFunctionOptions {
signal?: AbortSignal;
signal: AbortSignal;
}
export declare type TaskFunction<D extends ReadonlyArray<unknown>, R = unknown> = (args: D, options?: TaskFunctionOptions) => R | typeof initialState | Promise<R | typeof initialState>;
export declare type TaskFunction<D extends ReadonlyArray<unknown>, R = unknown> = (args: D, options: TaskFunctionOptions) => R | typeof initialState | Promise<R | typeof initialState>;
export declare type ArgsFunction<D extends ReadonlyArray<unknown>> = () => D;

@@ -7,0 +7,0 @@ export { ArgsFunction as DepsFunction };

{
"name": "@lit-labs/task",
"version": "3.0.1",
"version": "3.0.2",
"description": "A controller for Lit that renders asynchronous tasks.",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

import { ReactiveControllerHost } from '@lit/reactive-element/reactive-controller.js';
export interface TaskFunctionOptions {
signal?: AbortSignal;
signal: AbortSignal;
}
export declare type TaskFunction<D extends ReadonlyArray<unknown>, R = unknown> = (args: D, options?: TaskFunctionOptions) => R | typeof initialState | Promise<R | typeof initialState>;
export declare type TaskFunction<D extends ReadonlyArray<unknown>, R = unknown> = (args: D, options: TaskFunctionOptions) => R | typeof initialState | Promise<R | typeof initialState>;
export declare type ArgsFunction<D extends ReadonlyArray<unknown>> = () => D;

@@ -7,0 +7,0 @@ export { ArgsFunction as DepsFunction };

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