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

react-rx

Package Overview
Dependencies
Maintainers
62
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-rx - npm Package Compare versions

Comparing version 4.1.0-canary.3 to 4.1.0-canary.4

6

dist/index.js

@@ -29,5 +29,3 @@ import { c } from "react-compiler-runtime";

$[0] !== observable ? (t0 = (onStoreChange) => {
const instance = cache.get(observable);
console.count("subscribe");
const subscription_0 = instance.observable.subscribe(onStoreChange);
const subscription_0 = cache.get(observable).observable.subscribe(onStoreChange);
return () => {

@@ -41,3 +39,3 @@ subscription_0.unsubscribe();

const instance_0 = cache.get(observable);
if (console.count("getSnapshot"), instance_0.error)
if (instance_0.error)
throw instance_0.error;

@@ -44,0 +42,0 @@ return instance_0.snapshot;

{
"name": "react-rx",
"version": "4.1.0-canary.3",
"version": "4.1.0-canary.4",
"description": "React + RxJS = <3",

@@ -5,0 +5,0 @@ "keywords": [

@@ -73,5 +73,3 @@ import {useCallback, useSyncExternalStore} from 'react'

(onStoreChange: () => void) => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const instance = cache.get(observable)!
console.count('subscribe')
const subscription = instance.observable.subscribe(onStoreChange)

@@ -88,5 +86,3 @@ return () => {

() => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const instance = cache.get(observable)!
console.count('getSnapshot')
if (instance.error) {

@@ -93,0 +89,0 @@ throw instance.error

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