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

can-map

Package Overview
Dependencies
Maintainers
4
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 3.0.0-pre.9 to 3.0.0-pre.11

4

can-map.js

@@ -49,3 +49,3 @@ /* jshint -W079 */

// function.
setup: function () {
setup: function (baseMap) {

@@ -98,3 +98,3 @@ Construct.setup.apply(this, arguments);

if(mapHelpers.define) {
mapHelpers.define(this);
mapHelpers.define(this, baseMap.prototype.define);
}

@@ -101,0 +101,0 @@ }

@@ -10,2 +10,3 @@ // # can/map/map_hepers

var types = require('can-util/js/types/types');
var assign = require('can-util/js/assign/assign');
// ## POJOs to Map instance helpers

@@ -193,2 +194,8 @@

return madeMap && madeMap[obj._cid] && madeMap[obj._cid].instance;
},
twoLevelDeepExtend: function (destination, source) {
for (var prop in source) {
destination[prop] = destination[prop] || {};
assign(destination[prop], source[prop]);
}
}

@@ -195,0 +202,0 @@ };

{
"name": "can-map",
"version": "3.0.0-pre.9",
"version": "3.0.0-pre.11",
"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