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

refract-preact-xstream

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refract-preact-xstream - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

12

index.es.js

@@ -116,10 +116,4 @@ import $$observable from 'symbol-observable';

};
var useEvent = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var eventName = args[0];
var hasSeedValue = args.length > 1;
var seedValue = args[2];
function useEvent(eventName, seedValue) {
var hasSeedValue = arguments.length > 1;
var events$ = fromEvent(eventName);

@@ -131,3 +125,3 @@ var pushEventValue = pushEvent(eventName);

];
};
}
return {

@@ -134,0 +128,0 @@ mount: data.filter(isEvent(MOUNT_EVENT)).mapTo(undefined),

@@ -122,10 +122,4 @@ 'use strict';

};
var useEvent = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var eventName = args[0];
var hasSeedValue = args.length > 1;
var seedValue = args[2];
function useEvent(eventName, seedValue) {
var hasSeedValue = arguments.length > 1;
var events$ = fromEvent(eventName);

@@ -137,3 +131,3 @@ var pushEventValue = pushEvent(eventName);

];
};
}
return {

@@ -140,0 +134,0 @@ mount: data.filter(isEvent(MOUNT_EVENT)).mapTo(undefined),

{
"name": "refract-preact-xstream",
"description": "Refract bindings for Preact with xstream: harness the power of reactive programming to supercharge your components!",
"version": "4.1.0",
"version": "4.1.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "jsnext:main": "index.es.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