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

windowed-observable

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windowed-observable - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

package.json
{
"name": "windowed-observable",
"version": "0.2.2",
"version": "0.2.3",
"description": "Simple messaging api",

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

@@ -28,3 +28,3 @@ # windowed-observable

observable.subscribe((ninja) => {
console.log({ ninja })
console.log(ninja)
})

@@ -43,3 +43,3 @@

observable.subscribe((ninja) => console.log({ ninja }), { latest: true });
observable.subscribe((ninja) => console.log(ninja), { latest: true });
// > Senju Tobirama

@@ -54,3 +54,3 @@ ```

const observer = (ninja) => console.log({ ninja });
const observer = (ninja) => console.log(ninja);

@@ -113,3 +113,5 @@ observable.subscribe(observer)

const AddNinjaButton = (ninja) => <button onClick={handleClick(ninja)}> Add ninja </button>;
const AddNinjaButton = ({ ninja }) => (
<button onClick={handleClick(ninja)}> Add ninja </button>
);
```
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