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 4.0.0 to 4.0.1

23

dist/collections.d.ts

@@ -5,3 +5,3 @@ import { R as ReadonlyVal } from './typings-8a4e5768.js';

* A reactive list. Similar to an Array except bracket-notation(e.g. `arr[0]`) is not allowed to get/set elements.
* Changes to the map will be notified to subscribers of `$`.
* Changes to the list will be notified to subscribers of `list.$`.
*

@@ -151,2 +151,7 @@ * @example

}
/**
* A readonly reactive list. Similar to an Array except bracket-notation(e.g. `arr[0]`) is not allowed to get elements.
* Changes to the list will be notified to subscribers of `list.$`.
*/
type ReadonlyReactiveList<TValue> = Omit<ReactiveList<TValue>, "push" | "pop" | "pushHead" | "popHead" | "set" | "insert" | "delete" | "clear" | "replace" | "reverse" | "sort">;

@@ -157,3 +162,3 @@ declare const SET$: unique symbol;

* A reactive map inherited from `Map`.
* Changes to the map will be notified to subscribers of `$`.
* Changes to the map will be notified to subscribers of `map.$`.
*

@@ -191,6 +196,11 @@ * @example

}
/**
* A readonly reactive map inherited from `Map`.
* Changes to the map will be notified to subscribers of `map.$`.
*/
type ReadonlyReactiveMap<TKey, TValue> = Omit<ReactiveMap<TKey, TValue>, "delete" | "clear" | "set" | "replace">;
/**
* A reactive set inherited from `Set`.
* Changes to the set will be notified to subscribers of `$`.
* Changes to the set will be notified to subscribers of `set.$`.
*

@@ -225,3 +235,8 @@ * @example

}
/**
* A readonly reactive set inherited from `Set`.
* Changes to the set will be notified to subscribers of `set.$`.
*/
type ReadonlyReactiveSet<TValue> = Omit<ReactiveSet<TValue>, "delete" | "clear" | "add" | "replace">;
export { ReactiveList, ReactiveMap, ReactiveSet };
export { ReactiveList, ReactiveMap, ReactiveSet, ReadonlyReactiveList, ReadonlyReactiveMap, ReadonlyReactiveSet };

2

package.json
{
"name": "value-enhancer",
"version": "4.0.0",
"version": "4.0.1",
"private": false,

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

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

export { ReactiveList } from "./list";
export { ReactiveMap } from "./map";
export { ReactiveSet } from "./set";
export { ReactiveList, type ReadonlyReactiveList } from "./list";
export { ReactiveMap, type ReadonlyReactiveMap } from "./map";
export { ReactiveSet, type ReadonlyReactiveSet } from "./set";

@@ -6,3 +6,3 @@ import { readonlyVal } from "../readonly-val";

* A reactive list. Similar to an Array except bracket-notation(e.g. `arr[0]`) is not allowed to get/set elements.
* Changes to the map will be notified to subscribers of `$`.
* Changes to the list will be notified to subscribers of `list.$`.
*

@@ -289,1 +289,20 @@ * @example

}
/**
* A readonly reactive list. Similar to an Array except bracket-notation(e.g. `arr[0]`) is not allowed to get elements.
* Changes to the list will be notified to subscribers of `list.$`.
*/
export type ReadonlyReactiveList<TValue> = Omit<
ReactiveList<TValue>,
| "push"
| "pop"
| "pushHead"
| "popHead"
| "set"
| "insert"
| "delete"
| "clear"
| "replace"
| "reverse"
| "sort"
>;

@@ -7,3 +7,3 @@ import { readonlyVal } from "../readonly-val";

* A reactive map inherited from `Map`.
* Changes to the map will be notified to subscribers of `$`.
* Changes to the map will be notified to subscribers of `map.$`.
*

@@ -88,1 +88,10 @@ * @example

}
/**
* A readonly reactive map inherited from `Map`.
* Changes to the map will be notified to subscribers of `map.$`.
*/
export type ReadonlyReactiveMap<TKey, TValue> = Omit<
ReactiveMap<TKey, TValue>,
"delete" | "clear" | "set" | "replace"
>;

@@ -7,3 +7,3 @@ import { readonlyVal } from "../readonly-val";

* A reactive set inherited from `Set`.
* Changes to the set will be notified to subscribers of `$`.
* Changes to the set will be notified to subscribers of `set.$`.
*

@@ -83,1 +83,10 @@ * @example

}
/**
* A readonly reactive set inherited from `Set`.
* Changes to the set will be notified to subscribers of `set.$`.
*/
export type ReadonlyReactiveSet<TValue> = Omit<
ReactiveSet<TValue>,
"delete" | "clear" | "add" | "replace"
>;
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