cyclejs-group
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -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 @@ |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
0
26246
377
+ Addedcyclejs-stream@0.4.3(transitive)
Updatedcyclejs-stream@^0.4.0