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

can-connect

Package Overview
Dependencies
Maintainers
9
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 1.5.2 to 1.5.3

.project

13

can/map/map.js

@@ -330,12 +330,7 @@ "use strict";

if(props && typeof props === 'object') {
if("set" in instance) {
instance.set(isFunction(props.get) ? props.get() : props, this.constructor.removeAttr || false);
} else if("attr" in instance) {
instance.attr(isFunction(props.attr) ? props.attr() : props, this.constructor.removeAttr || false);
if(this.constructor.removeAttr) {
canReflect.updateDeep(instance, props);
} else {
canBatch.start();
each(props, function(value, prop){
instance[prop] = value;
});
canBatch.stop();
canReflect.assignDeep(instance, props);
}

@@ -342,0 +337,0 @@ }

{
"name": "can-connect",
"version": "1.5.2",
"version": "1.5.3",
"description": "Data connection middleware and utilities",

@@ -16,3 +16,3 @@ "main": "can-connect.js",

"can-observation": "^3.2.0",
"can-reflect": "^1.0.0",
"can-reflect": "^1.2.0",
"can-set": "^1.3.0",

@@ -19,0 +19,0 @@ "can-stache": "^3.1.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