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

value-enhancer

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

value-enhancer - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

3

dist/side-effect-binder.d.ts

@@ -7,3 +7,3 @@ import type { SideEffectManager } from "side-effect-manager";

export declare type CreateVal = <TValue = any, TMeta = any>(value: TValue, compare?: ValCompare<TValue>) => Val<TValue, TMeta>;
export declare function createSideEffectBinder(sideEffect: SideEffectManager): {
export declare type ValSideEffectBinder = {
bindSideEffect: BindSideEffect;

@@ -13,1 +13,2 @@ combine: Combine;

};
export declare function createSideEffectBinder(sideEffect: SideEffectManager): ValSideEffectBinder;
{
"name": "value-enhancer",
"version": "0.0.4",
"version": "0.0.5",
"private": false,

@@ -5,0 +5,0 @@ "description": "A tiny library to enhance value with reactive wrapper.",

@@ -14,7 +14,11 @@ import type { SideEffectManager } from "side-effect-manager";

export function createSideEffectBinder(sideEffect: SideEffectManager): {
export type ValSideEffectBinder = {
bindSideEffect: BindSideEffect;
combine: Combine;
createVal: CreateVal;
} {
};
export function createSideEffectBinder(
sideEffect: SideEffectManager
): ValSideEffectBinder {
const bindSideEffect: BindSideEffect = val => {

@@ -21,0 +25,0 @@ const disposerID = sideEffect.addDisposer(() => {

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