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

cyclejs-group

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyclejs-group - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

2

dist/create-group.js

@@ -65,3 +65,3 @@ 'use strict';

// otherwise there will be endless loop of subscribing
return combinedInputObject[dependencyName].shareReplay(1);
return combinedInputObject[dependencyName];
});

@@ -68,0 +68,0 @@

{
"name": "cyclejs-group",
"version": "0.5.0",
"version": "0.6.0",
"author": "Eryk Napierala",

@@ -21,3 +21,3 @@ "description": "Utility for CycleJS framework for reducing boilerplate when creating groups of streams",

"core-js": "^0.9.6",
"cyclejs-stream": "erykpiast/cyclejs-stream",
"cyclejs-stream": "^0.4.0",
"foreach": "^2.0.5",

@@ -24,0 +24,0 @@ "get-parameter-names": "^0.2.0",

@@ -32,3 +32,3 @@ 'use strict';

// otherwise there will be endless loop of subscribing
return combinedInputObject[dependencyName].shareReplay(1);
return combinedInputObject[dependencyName];
});

@@ -35,0 +35,0 @@

@@ -74,3 +74,3 @@ /* global suite, test */

});
test('should ignore sorrounding underscores in function parameter name when injecting dependencies', (done) => {

@@ -94,3 +94,3 @@ let group = createGroup({

});
test('should not ignore underscores inside function parameter name when injecting dependencies', () => {

@@ -110,3 +110,3 @@ let group = createGroup({

});
test('should be injectable with another Group', (done) => {

@@ -129,3 +129,3 @@ let group1 = createGroup({

assert.strictEqual(bar, 20);
done();

@@ -139,11 +139,10 @@ });

let group1 = createGroup({
foo$: (asd$) => asd$
.map(x => 3 * x)
.startWith(3)
.delay(1)
foo$: (asd$) =>
asd$.map(x => 3 * x)
.merge(Rx.Observable.just(3).delay(5))
});
let group2 = createGroup({
asd$: (foo$) => foo$
.map(x => 5 * x)
asd$: (foo$) =>
foo$.map(x => 5 * x)
});

@@ -150,0 +149,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