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 2.4.3 to 2.4.4

5

dist/index.d.ts

@@ -26,2 +26,6 @@ interface ReadonlyVal<TValue = any> {

unsubscribe(subscriber?: (...args: any[]) => any): void;
/**
* Remove all subscribers.
*/
dispose(): void;
}

@@ -96,2 +100,3 @@ interface Val<TValue = any> extends ReadonlyVal<TValue> {

unsubscribe(subscriber?: (...args: any[]) => any): void;
dispose(): void;
/**

@@ -98,0 +103,0 @@ * @returns the string representation of `this.value`.

3

dist/index.js

@@ -181,2 +181,5 @@ 'use strict';

}
dispose() {
this._u.c();
}
/**

@@ -183,0 +186,0 @@ * @returns the string representation of `this.value`.

2

package.json
{
"name": "value-enhancer",
"version": "2.4.3",
"version": "2.4.4",
"private": false,

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

@@ -7,7 +7,12 @@ # [value-enhancer](https://github.com/crimx/value-enhancer)

[![Build Status](https://github.com/crimx/value-enhancer/actions/workflows/build.yml/badge.svg)](https://github.com/crimx/value-enhancer/actions/workflows/build.yml)
[![Build Status](https://img.shields.io/github/actions/workflow/status/crimx/value-enhancer/build.yml)](https://github.com/crimx/value-enhancer/actions/workflows/build.yml)
[![npm-version](https://img.shields.io/npm/v/value-enhancer.svg)](https://www.npmjs.com/package/value-enhancer)
[![Coverage Status](https://img.shields.io/coveralls/github/crimx/value-enhancer/main)](https://coveralls.io/github/crimx/value-enhancer?branch=main)
[![minified-size](https://img.shields.io/bundlephobia/minzip/value-enhancer)](https://bundlephobia.com/package/value-enhancer)
[![full-size](https://img.shields.io/bundlephobia/minzip/value-enhancer)](https://bundlejs.com/?q=value-enhancer)
[![core-size](https://runkit.io/crimx/bundlejs-badge/branches/master?q=value-enhancer&exports=val&label=core%20size)](https://bundlejs.com/?q=value-enhancer&treeshake=%5B%7Bval%7D%5D)
[![tree-shakable](https://img.shields.io/badge/%20tree-shakable-success)](https://bundlejs.com/?q=value-enhancer)
[![no-dependencies](https://img.shields.io/badge/dependencies-none-success)](https://bundlejs.com/?q=value-enhancer)
[![side-effect-free](https://img.shields.io/badge/%20side--effect-free-success)](https://bundlejs.com/?q=value-enhancer)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?maxAge=2592000)](http://commitizen.github.io/cz-cli/)

@@ -14,0 +19,0 @@ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-brightgreen.svg?maxAge=2592000)](https://conventionalcommits.org)

@@ -87,2 +87,6 @@ import { SubscriberMode, Subscribers } from "./subscribers";

public dispose(): void {
this._subs_.clear_();
}
/**

@@ -89,0 +93,0 @@ * @returns the string representation of `this.value`.

@@ -26,2 +26,6 @@ export interface ReadonlyVal<TValue = any> {

unsubscribe(subscriber?: (...args: any[]) => any): void;
/**
* Remove all subscribers.
*/
dispose(): void;
}

@@ -28,0 +32,0 @@

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