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

can-key-tree

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-key-tree - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

6

can-key-tree-test.js

@@ -229,1 +229,7 @@ var QUnit = require('steal-qunit');

});
QUnit.test("empty deep", function(){
var keyTree = new KeyTree([Object, Object, Object, Array]);
QUnit.deepEqual( keyTree.get("foo"), []);
});

3

can-key-tree.js

@@ -55,2 +55,5 @@ var reflect = require("can-reflect");

function getDeep(item, items, depth, maxDepth) {
if(!item) {
return;
}
if(maxDepth === depth) {

@@ -57,0 +60,0 @@ if(reflect.isMoreListLikeThanMapLike(item)) {

5

dist/amd/can-key-tree.js

@@ -1,2 +0,2 @@

/*can-key-tree@0.0.2#can-key-tree*/
/*can-key-tree@0.0.3#can-key-tree*/
define([

@@ -52,2 +52,5 @@ 'require',

function getDeep(item, items, depth, maxDepth) {
if (!item) {
return;
}
if (maxDepth === depth) {

@@ -54,0 +57,0 @@ if (reflect.isMoreListLikeThanMapLike(item)) {

@@ -1,2 +0,2 @@

/*can-key-tree@0.0.2#can-key-tree*/
/*can-key-tree@0.0.3#can-key-tree*/
var reflect = require('can-reflect');

@@ -46,2 +46,5 @@ function isBuiltInPrototype(obj) {

function getDeep(item, items, depth, maxDepth) {
if (!item) {
return;
}
if (maxDepth === depth) {

@@ -48,0 +51,0 @@ if (reflect.isMoreListLikeThanMapLike(item)) {

@@ -130,3 +130,3 @@ /*[global-shim-start]*/

/*can-key-tree@0.0.2#can-key-tree*/
/*can-key-tree@0.0.3#can-key-tree*/
define('can-key-tree', [

@@ -182,2 +182,5 @@ 'require',

function getDeep(item, items, depth, maxDepth) {
if (!item) {
return;
}
if (maxDepth === depth) {

@@ -184,0 +187,0 @@ if (reflect.isMoreListLikeThanMapLike(item)) {

{
"name": "can-key-tree",
"version": "0.0.3",
"version": "0.1.0",
"description": "Add and remove items to a tree",

@@ -5,0 +5,0 @@ "homepage": "",

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