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

micro-observables

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micro-observables - npm Package Compare versions

Comparing version 1.5.0-rc7 to 1.5.0

2

package.json
{
"name": "micro-observables",
"version": "1.5.0-rc7",
"version": "1.5.0",
"description": "A simple Observable library that can be used for easy state management in React applications.",

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

@@ -405,3 +405,3 @@ # Micro-observables

const numbers = [...Array(10)].map((_, index) => observable(index));
const total = Observable.compute(() => numbers.reduce((a, b) => a.get() + b.get()));
const total = Observable.merge(numbers).transform(num => num.reduce((a, b) => a + b));
expect(total.get()).toStrictEqual(45);

@@ -408,0 +408,0 @@

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