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

@contember/react-utils

Package Overview
Dependencies
Maintainers
5
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/react-utils - npm Package Compare versions

Comparing version 1.1.0-rc.4 to 1.1.0-rc.5

1

dist/types/hooks/useForceRender.d.ts

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

/// <reference types="react" />
export declare const useForceRender: () => import("react").DispatchWithoutAction;
//# sourceMappingURL=useForceRender.d.ts.map

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

/// <reference types="react" />
export declare const useIsMounted: () => import("react").MutableRefObject<boolean>;
//# sourceMappingURL=useIsMounted.d.ts.map

4

dist/types/hooks/useStoredState.d.ts
import { Serializable } from '../types';
declare type SetState<V extends Serializable> = (value: V | ((current: V) => V)) => void;
declare type ValueInitializer<V extends Serializable> = (storedValue: V | undefined) => V;
type SetState<V extends Serializable> = (value: V | ((current: V) => V)) => void;
type ValueInitializer<V extends Serializable> = (storedValue: V | undefined) => V;
export declare const useSessionStorageState: <V extends Serializable>(key: string, initializeValue: ValueInitializer<V>) => [V, SetState<V>];
export {};
//# sourceMappingURL=useStoredState.d.ts.map

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

export declare type Serializable = string | number | boolean | null | readonly Serializable[] | {
export type Serializable = string | number | boolean | null | readonly Serializable[] | {
readonly [K in string]?: Serializable;
};
//# sourceMappingURL=types.d.ts.map
{
"name": "@contember/react-utils",
"license": "Apache-2.0",
"version": "1.1.0-rc.4",
"version": "1.1.0-rc.5",
"type": "module",

@@ -6,0 +6,0 @@ "sideEffects": false,

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

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