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

@0xcda7a/bag-of-tricks

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcda7a/bag-of-tricks - npm Package Compare versions

Comparing version 0.0.2-alpha.4 to 0.0.2-alpha.5

2

lib/state/store.d.ts
export declare type Action<T extends {}> = (getState: GetState<T>, dispatch: Dispatch<T>) => T | Promise<T> | void | Promise<void>;
export declare type Dispatch<T extends {} = {}> = (action: Action<T>) => Promise<void>;
export declare type GetState<T extends {} = {}> = () => T;
export declare type ActionCreator<T extends {}, U extends any[]> = (...args: U) => Action<T>;
export declare type ActionCreator<T extends {}, U extends readonly any[]> = (...args: U) => Action<T>;
export declare type SelfDispatchingActionCreator<T extends any[]> = (...args: T) => Promise<void>;

@@ -6,0 +6,0 @@ export interface StoreOptions {

{
"name": "@0xcda7a/bag-of-tricks",
"version": "0.0.2-alpha.4",
"version": "0.0.2-alpha.5",
"description": "My personal library of patterns and tools for modern web development",

@@ -5,0 +5,0 @@ "scripts": {

@@ -7,3 +7,3 @@ export type Action<T extends {}> = (

export type GetState<T extends {} = {}> = () => T;
export type ActionCreator<T extends {}, U extends any[]> = (
export type ActionCreator<T extends {}, U extends readonly any[]> = (
...args: U

@@ -10,0 +10,0 @@ ) => Action<T>;

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