New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

can-kefir

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-kefir - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

can-kefir-test.js

@@ -148,1 +148,6 @@ var QUnit = require("steal-qunit");

});
QUnit.test("read emitter", function(){
var stream = new Kefir.emitterProperty();
QUnit.equal( canReflect.getKeyValue(stream,"emitter"), stream.emitter, "got the emitter");
});

9

can-kefir.js

@@ -65,2 +65,5 @@ var canReflect = require("can-reflect");

var names = keyNames[key];
if(!names) {
return stream[key];
}
var VALUE,

@@ -129,7 +132,7 @@ valueHandler = function(value){

"can.getKeyValue": function(key){
//!steal-remove-start
if(!keyNames[key]) {
dev.warn("can-kefir: You can not listen to the "+key+" property on a Kefir stream.");
return this[key];
}
//!steal-remove-end
Observation.add(this, key);

@@ -136,0 +139,0 @@ // we haven't been bound ... see what we can get from the observable

@@ -1,2 +0,2 @@

/*can-kefir@0.1.1#can-kefir*/
/*can-kefir@0.2.0#can-kefir*/
define([

@@ -81,2 +81,5 @@ 'require',

var names = keyNames[key];
if (!names) {
return stream[key];
}
var VALUE, valueHandler = function (value) {

@@ -133,2 +136,5 @@ VALUE = value;

'can.getKeyValue': function (key) {
if (!keyNames[key]) {
return this[key];
}
Observation.add(this, key);

@@ -135,0 +141,0 @@ if (!this[observeDataSymbol]) {

@@ -1,2 +0,2 @@

/*can-kefir@0.1.1#can-kefir*/
/*can-kefir@0.2.0#can-kefir*/
var canReflect = require('can-reflect');

@@ -69,2 +69,5 @@ var canSymbol = require('can-symbol');

var names = keyNames[key];
if (!names) {
return stream[key];
}
var VALUE, valueHandler = function (value) {

@@ -121,2 +124,5 @@ VALUE = value;

'can.getKeyValue': function (key) {
if (!keyNames[key]) {
return this[key];
}
Observation.add(this, key);

@@ -123,0 +129,0 @@ if (!this[observeDataSymbol]) {

@@ -130,3 +130,3 @@ /*[global-shim-start]*/

/*can-kefir@0.1.1#can-kefir*/
/*can-kefir@0.2.0#can-kefir*/
define('can-kefir', [

@@ -211,2 +211,5 @@ 'require',

var names = keyNames[key];
if (!names) {
return stream[key];
}
var VALUE, valueHandler = function (value) {

@@ -263,2 +266,5 @@ VALUE = value;

'can.getKeyValue': function (key) {
if (!keyNames[key]) {
return this[key];
}
Observation.add(this, key);

@@ -265,0 +271,0 @@ if (!this[observeDataSymbol]) {

{
"name": "can-kefir",
"version": "0.2.0",
"version": "0.2.1",
"description": "Reflects Kefir streams so they work with the rest of CanJS",

@@ -5,0 +5,0 @@ "homepage": "http://canjs.com",

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