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

reactive-replica

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactive-replica - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

17

dist/index.js

@@ -155,2 +155,19 @@ 'use strict';

/** Creates Rx.Observable as if it is a listener to both create and change.
TODO: redesign the whole Place so that notifications are not based on Listeners, but directly on Observables.
*/
}, {
key: 'from',
value: function from(path) {
var result = new Rx.ReplaySubject(1);
this.listen({
create: true,
change: function change(after, before) {
result.next(after);
}
});
return result;
}
/** Server-side model's name.*/

@@ -157,0 +174,0 @@

@@ -143,2 +143,20 @@

/** Creates Rx.Observable as if it is a listener to both create and change.
TODO: redesign the whole Place so that notifications are not based on Listeners, but directly on Observables.
*/
from(
path
)
{
let result = new Rx.ReplaySubject( 1 )
this.listen( {
create : true,
change : function( after, before )
{
result.next( after )
}
} )
return result
}
/** Server-side model's name.*/

@@ -145,0 +163,0 @@ name = undefined

2

package.json
{
"name": "reactive-replica",
"version": "1.1.1",
"version": "1.1.2",
"description": "Helps structure logic around model changes, i.e. utilize reactive style.",

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

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