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.0 to 4.1.1

1

can-map.js

@@ -31,3 +31,2 @@ "use strict";

var CID = require("can-cid");
//var isFunction = require("can-util/js/is-function/is-function");
var assign = require("can-assign");

@@ -34,0 +33,0 @@ var types = require("can-types");

6

map-helpers.js

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

// `can.Map` handles cycles in objects nicely!
var isPlainObject = require('can-util/js/is-plain-object/is-plain-object');
var isPromise = require('can-util/js/is-promise/is-promise');
var CID = require('can-cid');
var assign = require('can-util/js/assign/assign');
var assign = require("can-assign");
var canReflect = require('can-reflect');

@@ -46,3 +44,3 @@ // ## POJOs to Map instance helpers

canMakeObserve: function (obj) {
return obj && !isPromise(obj) && (Array.isArray(obj) || isPlainObject(obj) );
return obj && !canReflect.isPromise(obj) && (Array.isArray(obj) || canReflect.isPlainObject(obj) );
},

@@ -49,0 +47,0 @@ reflectSerialize: function(unwrapped){

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