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

can-connect

Package Overview
Dependencies
Maintainers
15
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-connect - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

20

can/ref/ref-test.js

@@ -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();
});

4

package.json
{
"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",

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