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

fluids

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluids - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

3

dist/cjs/index.d.ts

@@ -16,3 +16,4 @@ declare const $get: unique symbol;

/** Send an event to all observers. */
declare function callFluidObservers(target: any, event: FluidEvent): void;
declare function callFluidObservers<E extends FluidEvent>(target: FluidValue<any, E>, event: E): void;
declare function callFluidObservers(target: object, event: FluidEvent): void;
interface GetFluidValue {

@@ -19,0 +20,0 @@ <T, U = never>(target: T | FluidValue<U>): Exclude<T, FluidValue> | U;

@@ -31,3 +31,2 @@ "use strict";

exports.callFluidObserver = callFluidObserver;
/** Send an event to all observers. */
function callFluidObservers(target, event) {

@@ -34,0 +33,0 @@ var observers = target[$observers];

@@ -16,3 +16,4 @@ declare const $get: unique symbol;

/** Send an event to all observers. */
declare function callFluidObservers(target: any, event: FluidEvent): void;
declare function callFluidObservers<E extends FluidEvent>(target: FluidValue<any, E>, event: E): void;
declare function callFluidObservers(target: object, event: FluidEvent): void;
interface GetFluidValue {

@@ -19,0 +20,0 @@ <T, U = never>(target: T | FluidValue<U>): Exclude<T, FluidValue> | U;

@@ -27,3 +27,2 @@ var $get = Symbol.for('FluidValue.get');

}
/** Send an event to all observers. */
function callFluidObservers(target, event) {

@@ -30,0 +29,0 @@ var observers = target[$observers];

{
"name": "fluids",
"version": "0.2.1",
"version": "0.2.2",
"description": "Glue layer for reactivity",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index",

@@ -46,2 +46,9 @@ const $get = Symbol.for('FluidValue.get')

/** Send an event to all observers. */
function callFluidObservers<E extends FluidEvent>(
target: FluidValue<any, E>,
event: E
): void
function callFluidObservers(target: object, event: FluidEvent): void
function callFluidObservers(target: any, event: FluidEvent) {

@@ -48,0 +55,0 @@ let observers: Set<FluidObserver> = target[$observers]

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