Huge News!Announcing our $40M Series B led by Abstract Ventures.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 5.0.3 to 5.0.4

6

dist/collections.d.ts

@@ -173,3 +173,3 @@ import { R as ReadonlyVal } from './typings-2bae36c2.js';

*/
type ReadonlyReactiveList<TValue> = Omit<ReactiveList<TValue>, "setLength" | "push" | "pop" | "pushHead" | "popHead" | "set" | "insert" | "delete" | "clear" | "replace" | "reverse" | "sort">;
type ReadonlyReactiveList<TValue> = Pick<ReactiveList<TValue>, typeof Symbol.iterator | "$" | "array" | "length" | "entries" | "values" | "keys" | "get" | "first" | "last" | "splice" | "toString" | "toLocaleString" | "toJSON" | "dispose">;
/**

@@ -228,3 +228,3 @@ * Create a new ReactiveList.

*/
type ReadonlyReactiveMap<TKey, TValue> = Omit<ReactiveMap<TKey, TValue>, "$" | "delete" | "clear" | "set" | "batchSet" | "replace"> & {
type ReadonlyReactiveMap<TKey, TValue> = Pick<ReactiveMap<TKey, TValue>, typeof Symbol.iterator | typeof Symbol.toStringTag | "toJSON" | "dispose" | "forEach" | "get" | "has" | "size" | "entries" | "keys" | "values"> & {
readonly $: ReadonlyVal<ReadonlyReactiveMap<TKey, TValue>>;

@@ -288,3 +288,3 @@ };

*/
type ReadonlyReactiveSet<TValue> = Omit<ReactiveSet<TValue>, "$" | "delete" | "clear" | "add" | "replace"> & {
type ReadonlyReactiveSet<TValue> = Pick<ReactiveSet<TValue>, typeof Symbol.iterator | typeof Symbol.toStringTag | "toJSON" | "dispose" | "forEach" | "has" | "size" | "entries" | "keys" | "values"> & {
readonly $: ReadonlyVal<ReadonlyReactiveSet<TValue>>;

@@ -291,0 +291,0 @@ };

{
"name": "value-enhancer",
"version": "5.0.3",
"version": "5.0.4",
"private": false,

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

"prepublishOnly": "pnpm run build",
"lint": "eslint --ext .ts,.tsx . && prettier --check .",
"lint": "eslint --ext .ts,.tsx . && prettier --check . && tsc --noEmit",
"test": "tsc --noEmit -p ./test/tsconfig.json && jest",

@@ -49,0 +49,0 @@ "docs": "typedoc --options typedoc.json",

@@ -202,16 +202,19 @@ import { readonlyVal } from "../readonly-val";

*/
export type ReadonlyReactiveList<TValue> = Omit<
export type ReadonlyReactiveList<TValue> = Pick<
ReactiveList<TValue>,
| "setLength"
| "push"
| "pop"
| "pushHead"
| "popHead"
| "set"
| "insert"
| "delete"
| "clear"
| "replace"
| "reverse"
| "sort"
| typeof Symbol.iterator
| "$"
| "array"
| "length"
| "entries"
| "values"
| "keys"
| "get"
| "first"
| "last"
| "splice"
| "toString"
| "toLocaleString"
| "toJSON"
| "dispose"
>;

@@ -218,0 +221,0 @@

@@ -45,5 +45,15 @@ import { readonlyVal } from "../readonly-val";

*/
export type ReadonlyReactiveMap<TKey, TValue> = Omit<
export type ReadonlyReactiveMap<TKey, TValue> = Pick<
ReactiveMap<TKey, TValue>,
"$" | "delete" | "clear" | "set" | "batchSet" | "replace"
| typeof Symbol.iterator
| typeof Symbol.toStringTag
| "toJSON"
| "dispose"
| "forEach"
| "get"
| "has"
| "size"
| "entries"
| "keys"
| "values"
> & {

@@ -50,0 +60,0 @@ readonly $: ReadonlyVal<ReadonlyReactiveMap<TKey, TValue>>;

@@ -45,5 +45,14 @@ import { readonlyVal } from "../readonly-val";

*/
export type ReadonlyReactiveSet<TValue> = Omit<
export type ReadonlyReactiveSet<TValue> = Pick<
ReactiveSet<TValue>,
"$" | "delete" | "clear" | "add" | "replace"
| typeof Symbol.iterator
| typeof Symbol.toStringTag
| "toJSON"
| "dispose"
| "forEach"
| "has"
| "size"
| "entries"
| "keys"
| "values"
> & {

@@ -50,0 +59,0 @@ readonly $: ReadonlyVal<ReadonlyReactiveSet<TValue>>;

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