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

cycle-gear

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cycle-gear - npm Package Compare versions

Comparing version 7.4.0 to 7.5.0

7

dist-es2015/index.js

@@ -54,3 +54,8 @@ import { adapt } from '@cycle/run/lib/adapt';

state = xs.fromObservable(gear.model ? gear.model(actions) : defaultModel(actions))
.replaceError((err) => xs.fromObservable(gear.catch ? gear.catch(err, actions) : defaultCatch(err, actions)))
.replaceError((err) => {
if (cacheModel && modelCache) {
modelCache.delete(gear);
}
return xs.fromObservable(gear.catch ? gear.catch(err, actions) : defaultCatch(err, actions));
})
.remember();

@@ -57,0 +62,0 @@ if (cacheModel) {

@@ -100,3 +100,8 @@ "use strict";

state = xstream_1.default.fromObservable(gear.model ? gear.model(actions_1) : defaultModel(actions_1))
.replaceError(function (err) { return xstream_1.default.fromObservable(gear.catch ? gear.catch(err, actions_1) : defaultCatch(err, actions_1)); })
.replaceError(function (err) {
if (cacheModel && modelCache) {
modelCache.delete(gear);
}
return xstream_1.default.fromObservable(gear.catch ? gear.catch(err, actions_1) : defaultCatch(err, actions_1));
})
.remember();

@@ -103,0 +108,0 @@ if (cacheModel) {

@@ -119,3 +119,8 @@ import { adapt } from '@cycle/run/lib/adapt'

state = xs.fromObservable(gear.model ? gear.model(actions) : defaultModel(actions))
.replaceError((err: any) => xs.fromObservable(gear.catch ? gear.catch(err, actions) : defaultCatch(err, actions)))
.replaceError((err: any) => {
if (cacheModel && modelCache) {
modelCache.delete(gear)
}
return xs.fromObservable(gear.catch ? gear.catch(err, actions) : defaultCatch(err, actions))
})
.remember()

@@ -122,0 +127,0 @@ if (cacheModel) {

2

package.json
{
"name": "cycle-gear",
"version": "7.4.0",
"version": "7.5.0",
"description": "Main function factory for CycleJS",

@@ -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