New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

can-reflect

Package Overview
Dependencies
Maintainers
8
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-reflect - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

2

package.json
{
"name": "can-reflect",
"version": "1.8.0",
"version": "1.8.1",
"description": "reflection on unknown data types",

@@ -5,0 +5,0 @@ "homepage": "http://canjs.com",

@@ -183,1 +183,11 @@ var QUnit = require('steal-qunit');

});
QUnit.test("array -like type is MoreListLikeThanMapLike", function(){
var MyArray = function(values) {
this.push.apply(this, values);
};
MyArray.prototype = Object.create(Array.prototype);
MyArray.prototype.constructor = MyArray;
var arr = new MyArray();
QUnit.ok(typeReflections.isMoreListLikeThanMapLike(arr), "is array like");
});

@@ -454,2 +454,5 @@ var canSymbol = require("can-symbol");

}
if(obj instanceof Array) {
return true;
}
var value = obj[canSymbol.for("can.isMoreListLikeThanMapLike")];

@@ -456,0 +459,0 @@ if(value !== undefined) {

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