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

live-tree

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-tree - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

CHANGES.md
# Changes
## v0.3.0
- Added `removeAll`
## v0.2.0

@@ -4,0 +8,0 @@

@@ -110,2 +110,10 @@ /*

/*
* Removes all child nodes.
*/
removeAll: function () {
this.children.removeAll();
this._map = {};
},
/*
* Called by `set` to add a node to the children.

@@ -112,0 +120,0 @@ */

17

package.json
{
"name" : "live-tree",
"version" : "0.2.0",
"version" : "0.3.0",
"description" : "Fast tree with live iterator",

@@ -13,3 +13,4 @@ "keywords" : ["tree", "iterator"],

"scripts" : {
"test" : "make test"
"start" : "mocha --watch",
"test" : "make"
},

@@ -26,7 +27,9 @@ "repository" : {

"devDependencies" : {
"mocha" : ">=1.14 <2",
"jslint" : "~0.2.5",
"consolify" : "~0.6.0",
"phantomic" : "~0.2.1",
"browser-reload" : ">=1.0 <2"
"mocha" : ">=1.17 <2",
"jslint" : "~0.2.6",
"browserify" : ">=3.19 <4",
"coverify" : "~1.0.4",
"mocaccino" : "~0.1.1",
"consolify" : "~0.7.0",
"phantomic" : "~0.2.1"
},

@@ -33,0 +36,0 @@ "files" : ["lib", "README.md", "CHANGES.md", "LICENSE"],

@@ -52,2 +52,3 @@ # live-tree.js [![Build Status](https://secure.travis-ci.org/mantoni/live-tree.js.png?branch=master)](http://travis-ci.org/mantoni/live-tree.js)

will be removed as well.
- `removeAll()`: Removes all child nodes
- `node(name)`: Return the named node or undefined if the node does not exist

@@ -62,2 +63,4 @@ - `_add(node)`: Called by `set` to add a node to the children. The default

[live-list]: https://github.com/mantoni/live-list.js "Fast linked list with live iterator"
## Iterator API

@@ -77,2 +80,1 @@

[live-list]: https://github.com/mantoni/live-list.js "Fast linked list with live iterator"
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