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

can-list

Package Overview
Dependencies
Maintainers
8
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-list - npm Package Compare versions

Comparing version 3.1.0-pre.13 to 3.1.0-pre.14

10

can-list.js

@@ -801,6 +801,6 @@ /* jshint -W079 */

each(arguments, function(arg) {
if(types.isListLike(arg) || Array.isArray(arg)) {
if((canReflect.isObservableLike(arg) && canReflect.isListLike(arg)) || Array.isArray(arg)) {
// If it is list-like we want convert to a JS array then
// pass each item of the array to serializeNonTypes
var arr = types.isListLike(arg) ? makeArray(arg) : arg;
var arr = (canReflect.isObservableLike(arg) && canReflect.isListLike(arg)) ? makeArray(arg) : arg;
each(arr, function(innerArg) {

@@ -961,8 +961,2 @@ serializeNonTypes(MapType, innerArg, args);

// specify the type
var oldIsListLike = types.isListLike;
types.isListLike = function(obj){
return obj instanceof List || oldIsListLike.apply(this, arguments);
};
// change some map stuff to include list stuff

@@ -969,0 +963,0 @@ var oldType = Map.prototype.__type;

2

package.json
{
"name": "can-list",
"version": "3.1.0-pre.13",
"version": "3.1.0-pre.14",
"description": "Observable lists",

@@ -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