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

mako-tree

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mako-tree - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

5

HISTORY.md
0.11.2 / 2016-02-11
===================
* adding debug output
0.11.1 / 2016-02-11

@@ -3,0 +8,0 @@ ===================

2

lib/file.js

@@ -195,2 +195,3 @@

static fromString(input, tree) {
debug('creating file from string');
let o = JSON.parse(input, reviver);

@@ -200,2 +201,3 @@ let file = new File(o.path, null, o.entry);

file.tree = tree;
debug('done creating file from string');
return file;

@@ -202,0 +204,0 @@ }

@@ -386,2 +386,3 @@

toString(space) {
debug('stringify tree');
return JSON.stringify(this, null, space);

@@ -398,2 +399,3 @@ }

static fromString(input) {
debug('creating from string');
let tree = new Tree();

@@ -403,8 +405,11 @@ let parsed = JSON.parse(input);

parsed.vertices.forEach(v => {
debug('file from cache', v[0]);
tree.graph.addNewVertex(v[0], File.fromString(v[1], tree));
});
parsed.edges.forEach(e => {
debug('dependency from cache: %s', e.join(' '));
tree.graph.addNewEdge(e[0], e[1]);
});
debug('done creating tree from string');
return tree;

@@ -411,0 +416,0 @@ }

2

package.json
{
"name": "mako-tree",
"version": "0.11.1",
"version": "0.11.2",
"main": "./lib/tree",

@@ -5,0 +5,0 @@ "description": "The build tree structure used internally by mako",

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