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

treble-hook

Package Overview
Dependencies
Maintainers
6
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

treble-hook - npm Package Compare versions

Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2

1

lib/index.d.ts

@@ -11,2 +11,3 @@ import React, { Dispatch, SetStateAction } from 'react';

export declare type Publish<T> = Dispatch<SetStateAction<T>>;
export declare type PubSubTuple<T> = [T, Publish<T>];
export declare enum PubSubTupleIndex {

@@ -13,0 +14,0 @@ State = 0,

2

package.json
{
"name": "treble-hook",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"description": "Get hooked on simple subscribe-and-publish in ReactJS.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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