can-stream-kefir
Advanced tools
Comparing version 0.3.3 to 1.0.0-pre.0
@@ -29,11 +29,11 @@ var QUnit = require('steal-qunit'); | ||
test('Compute streams do not bind to the compute unless activated', function () { | ||
QUnit.test('Compute streams do not bind to the compute unless activated', function(assert) { | ||
var c = compute(0); | ||
var stream = canStream.toStream(c); | ||
QUnit.equal(c.computeInstance.__bindEvents, undefined); | ||
stream.onValue(function () {}); | ||
QUnit.equal(c.computeInstance.__bindEvents._lifecycleBindings, 1); | ||
assert.notOk(c.computeInstance.bound, "should not be bound"); | ||
stream.onValue(function() {}); | ||
assert.ok(c.computeInstance.bound, "should be bound"); | ||
}); | ||
test('Compute stream values can be piped into a compute', function () { | ||
@@ -40,0 +40,0 @@ var expected = 0; |
{ | ||
"name": "can-stream-kefir", | ||
"version": "0.3.3", | ||
"version": "1.0.0-pre.0", | ||
"description": "Stream values into and out of computes", | ||
@@ -38,12 +38,12 @@ "homepage": "http://canjs.com", | ||
"dependencies": { | ||
"can-compute": "^3.1.0", | ||
"can-event": "^3.5.0", | ||
"can-compute": "^4.0.0-pre.6", | ||
"can-event": "^3.7.6", | ||
"can-namespace": "^1.0.0", | ||
"can-observation": "^3.2.0", | ||
"can-stream": "^0.3.0", | ||
"can-observation": "^4.0.0-pre.24", | ||
"can-stream": "^1.0.0-pre.0", | ||
"can-util": "^3.9.0", | ||
"kefir": "^3.5.1" | ||
"kefir": "^3.8.0" | ||
}, | ||
"devDependencies": { | ||
"can-define": "^1.2.3", | ||
"can-define": "^2.0.0-pre.21", | ||
"detect-cyclic-packages": "^1.1.0", | ||
@@ -50,0 +50,0 @@ "done-serve": "^1.3.0", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
22226
14
1
+ Addedcan-compute@4.1.1(transitive)
+ Addedcan-data-types@1.2.1(transitive)
+ Addedcan-define@2.8.1(transitive)
+ Addedcan-diff@1.5.1(transitive)
+ Addedcan-event-queue@1.1.8(transitive)
+ Addedcan-key@1.2.1(transitive)
+ Addedcan-observation@4.2.0(transitive)
+ Addedcan-observation-recorder@1.3.1(transitive)
+ Addedcan-queues@1.3.2(transitive)
+ Addedcan-reflect-dependencies@1.1.2(transitive)
+ Addedcan-reflect-promise@2.2.1(transitive)
+ Addedcan-simple-observable@2.5.0(transitive)
+ Addedcan-single-reference@1.3.0(transitive)
+ Addedcan-stache-key@1.4.3(transitive)
+ Addedcan-stream@1.1.1(transitive)
+ Addedcan-string-to-any@1.2.1(transitive)
- Removedcan-compute@3.3.10(transitive)
- Removedcan-define@1.5.9(transitive)
- Removedcan-global@1.0.1(transitive)
- Removedcan-observation@3.3.6(transitive)
- Removedcan-reflect-promise@1.1.5(transitive)
- Removedcan-simple-observable@1.0.2(transitive)
- Removedcan-stache-key@0.1.4(transitive)
- Removedcan-stream@0.3.2(transitive)
- Removedcan-test-helpers@1.1.4(transitive)
Updatedcan-compute@^4.0.0-pre.6
Updatedcan-event@^3.7.6
Updatedcan-stream@^1.0.0-pre.0
Updatedkefir@^3.8.0