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

react-rx

Package Overview
Dependencies
Maintainers
62
Versions
73
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.6 to 4.1.0

3

dist/index.js

@@ -32,3 +32,2 @@ import { c } from "react-compiler-runtime";

$[2] !== instance.observable ? (t1 = (onStoreChange) => {
console.count("subscribe");
const subscription_0 = instance.observable.subscribe(onStoreChange);

@@ -42,3 +41,3 @@ return () => {

$[4] !== instance.error || $[5] !== instance.snapshot ? (t2 = () => {
if (console.count("getSnapshot"), instance.error)
if (instance.error)
throw instance.error;

@@ -45,0 +44,0 @@ return instance.snapshot;

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

@@ -65,2 +65,11 @@ "keywords": [

],
"scripts": {
"build": "pkg build --strict --clean --check",
"dev": "pnpm --filter 'react-rx-website' dev",
"format": "prettier --cache --write .",
"lint": "eslint --cache .",
"prepublishOnly": "pnpm build",
"test": "vitest run --typecheck",
"watch": "pnpm build -- --watch"
},
"browserslist": "extends @sanity/browserslist-config",

@@ -107,10 +116,3 @@ "prettier": "@sanity/prettier-config",

},
"scripts": {
"build": "pkg build --strict --clean --check",
"dev": "pnpm --filter 'react-rx-website' dev",
"format": "prettier --cache --write .",
"lint": "eslint --cache .",
"test": "vitest run --typecheck",
"watch": "pnpm build -- --watch"
}
}
"packageManager": "pnpm@9.12.3"
}

@@ -74,3 +74,2 @@ import {useCallback, useSyncExternalStore} from 'react'

(onStoreChange: () => void) => {
console.count('subscribe')
const subscription = instance.observable.subscribe(onStoreChange)

@@ -87,3 +86,2 @@ return () => {

() => {
console.count('getSnapshot')
if (instance.error) {

@@ -90,0 +88,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