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

can-map

Package Overview
Dependencies
Maintainers
15
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-map - npm Package Compare versions

Comparing version 4.3.15 to 4.3.16

16

map-helpers.js

@@ -105,4 +105,4 @@ "use strict";

serializeMap[how][cid] = where;
// Go through each property.
map.forEach(function (val, name) {
function handleAttribute (val, name) {
// If the value is an `object`, and has an `attr` or `serialize` function.

@@ -127,3 +127,13 @@ var result,

}
});
}
// Go through each property.
map.forEach(handleAttribute);
// For legacy behavior, includes attrs whose can.define spec includes `serialize: false`
if (map._legacyAttrBehavior && how === "attr" && map.define) {
Object.keys(map.define).forEach(function (name) {
if (map.define[name].serialize === false) {
handleAttribute(map.attr(name), name);
}
});
}

@@ -130,0 +140,0 @@ if(firstSerialize) {

2

package.json
{
"name": "can-map",
"version": "4.3.15",
"version": "4.3.16",
"description": "Observable Objects",

@@ -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