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

can-map-define

Package Overview
Dependencies
Maintainers
12
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-map-define - npm Package Compare versions

Comparing version 4.3.2 to 4.3.3

7

can-map-define_test.js

@@ -1652,4 +1652,11 @@ /* jshint asi: false */

QUnit.test("can.getOwnEnumerableKeys works with null", function() {
var VM = CanMap.extend({});
var vm = new VM({ foo: null });
deepEqual( canReflect.getOwnEnumerableKeys(vm), [ "foo" ], "getOwnEnumerableKeys works with null");
});
require("can-reflect-tests/observables/map-like/type/type")("CanMap / can-map-define", function(){
return CanMap.extend({});
});

2

can-map-define.js

@@ -406,3 +406,3 @@ "use strict";

var definedKeys = keysForDefinition(this.define);
var dataKeys = keysForDefinition(this._data);
var dataKeys = Object.keys(this._data);

@@ -409,0 +409,0 @@ var enumerable = this.constructor.enumerable;

{
"name": "can-map-define",
"version": "4.3.2",
"version": "4.3.3",
"description": "Define rich attribute behavior",

@@ -5,0 +5,0 @@ "homepage": "https://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