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

can-map

Package Overview
Dependencies
Maintainers
10
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.0.2 to 4.1.0

7

bubble.js

@@ -0,1 +1,2 @@

"use strict";
// # can/map/map_helpers

@@ -26,5 +27,3 @@ // Helpers that enable bubbling of an event on a child object to a

var makeArray = require('can-util/js/make-array/make-array');
var canReflect = require('can-reflect');
var isEmptyObject = require('can-util/js/is-empty-object/is-empty-object');

@@ -82,3 +81,3 @@

bubble.teardownChildrenFrom(parent, bubbleEvent);
if(isEmptyObject(parent._bubbleBindings)) {
if(canReflect.size(parent._bubbleBindings) === 0) {
delete parent._bubbleBindings;

@@ -160,3 +159,3 @@ }

var args = makeArray(arguments),
var args = canReflect.toArray(arguments),
ev = args.shift();

@@ -163,0 +162,0 @@

@@ -0,1 +1,2 @@

"use strict";
/* jshint -W079 */

@@ -25,15 +26,14 @@ // # can/map/map.js (aka can.Map)

var canCompute = require('can-compute');
var singleReference = require('can-util/js/single-reference/single-reference');
var singleReference = require('can-single-reference');
var namespace = require("can-namespace");
var dev = require("can-util/js/dev/dev");
var dev = require("can-log/dev/dev");
var CID = require("can-cid");
var deepAssign = require("can-util/js/deep-assign/deep-assign");
//var isFunction = require("can-util/js/is-function/is-function");
var assign = require("can-util/js/assign/assign");
var assign = require("can-assign");
var types = require("can-types");
var canReflect = require("can-reflect");
var canSymbol = require("can-symbol");
var CIDSet = require('can-util/js/cid-set/cid-set');
var CIDMap = require("can-util/js/cid-map/cid-map");
var CIDSet = require('can-cid/set/set');
var CIDMap = require("can-cid/map/map");
var canQueues = require("can-queues");

@@ -79,10 +79,12 @@

//!steal-remove-start
if(this.prototype.define && !mapHelpers.define) {
dev.warn("can/map/define is not included, yet there is a define property "+
"used. You may want to add this plugin.");
if (process.env.NODE_ENV !== 'production') {
if(this.prototype.define && !mapHelpers.define) {
dev.warn("can/map/define is not included, yet there is a define property "+
"used. You may want to add this plugin.");
}
if(this.define && !mapHelpers.define) {
dev.warn("The define property should be on the map's prototype properties, "+
"not the static properties. Also, can/map/define is not included.");
}
}
if(this.define && !mapHelpers.define) {
dev.warn("The define property should be on the map's prototype properties, "+
"not the static properties. Also, can/map/define is not included.");
}
//!steal-remove-end

@@ -180,3 +182,3 @@

var defaultValues = this._setupDefaults(obj);
var data = assign(deepAssign(true, {}, defaultValues), obj);
var data = assign(canReflect.assignDeep({}, defaultValues), obj);

@@ -183,0 +185,0 @@ this.attr(data);

@@ -0,1 +1,2 @@

"use strict";
// # can/map/map_hepers

@@ -2,0 +3,0 @@ // Helper functions that are primarily used to serialize

{
"name": "can-map",
"version": "4.0.2",
"version": "4.1.0",
"description": "Observable Objects",

@@ -36,2 +36,3 @@ "homepage": "http://canjs.com",

"dependencies": {
"can-assign": "^1.0.0",
"can-cid": "^1.1.2",

@@ -41,2 +42,3 @@ "can-compute": "^4.0.0",

"can-event-queue": "<2.0.0",
"can-log": "^1.0.0",
"can-namespace": "^1.0.0",

@@ -47,6 +49,6 @@ "can-observation-recorder": "<2.0.0",

"can-simple-observable": "^2.0.0",
"can-single-reference": "^1.0.0",
"can-stache-key": "^1.0.0",
"can-symbol": "^1.4.1",
"can-types": "^1.1.0",
"can-util": "^3.10.12"
"can-types": "^1.1.0"
},

@@ -62,3 +64,3 @@ "devDependencies": {

"steal-tools": "^1.1.2",
"testee": "^0.7.0"
"testee": "^0.8.0"
},

@@ -65,0 +67,0 @@ "repository": {

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