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.1.1 to 4.1.2

14

can-map_test.js

@@ -527,1 +527,15 @@ /* jshint asi:true */

});
QUnit.test("constructor should not bind on __keys (#106)", function(assert) {
var map;
var comp = canCompute(function() {
map = new Map();
});
canReflect.onValue(comp, function() {});
map.attr('foo', 'bar');
assert.equal(map.attr('foo'), 'bar', 'map should not be reset');
});

4

can-map.js

@@ -659,3 +659,5 @@ "use strict";

"can.getOwnEnumerableKeys": function(){
ObservationRecorder.add(this, '__keys');
if (!this.__inSetup) {
ObservationRecorder.add(this, '__keys');
}
var enumerable = this.constructor.enumerable;

@@ -662,0 +664,0 @@ if(enumerable) {

{
"name": "can-map",
"version": "4.1.1",
"version": "4.1.2",
"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