can-connect
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -270,2 +270,3 @@ var QUnit = require("steal-qunit"); | ||
QUnit.test("serialize-able", function(){ | ||
QUnit.stop(); | ||
@@ -287,10 +288,21 @@ var Team = DefineMap.extend({ | ||
id: 'string', | ||
teamRef: {type: Team.Ref.type}, | ||
score: "number" | ||
teamRefA: {type: Team.Ref.type}, | ||
teamRefB: {type: Team.Ref.type}, | ||
}); | ||
var game = new Game({id: "123", score: 5, teamRef: "321"}); | ||
QUnit.deepEqual( canReflect.serialize(game), {id: "123", score: 5, teamRef: "321"} ); | ||
constructorStore.requests.increment(); | ||
var game = new Game({id: "123", teamRefA: "321", teamRefB: "321"}); | ||
constructorStore.requests.one("end", function(){ | ||
QUnit.deepEqual( canReflect.serialize(game), {id: "123", teamRefA: "321", teamRefB: "321"} ); | ||
QUnit.start(); | ||
}) | ||
constructorStore.requests.decrement(); | ||
}); |
{ | ||
"name": "can-connect", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Data connection middleware and utilities", | ||
@@ -19,3 +19,3 @@ "main": "can-connect.js", | ||
"can-queues": "<2.0.0", | ||
"can-reflect": "^1.9.0", | ||
"can-reflect": "^1.16.5", | ||
"can-set": "^1.5.0", | ||
@@ -22,0 +22,0 @@ "can-stache": "^4.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
515452
12279
Updatedcan-reflect@^1.16.5