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.5.0 to 0.5.1

5

HISTORY.md
0.5.1 / 2015-12-01
==================
* do not throw if analyzing is true, it always will be during the preread phase
0.5.0 / 2015-12-01

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

4

lib/file.js

@@ -43,6 +43,2 @@

dirty() {
if (this.analyzing) {
throw new Error('this file is currently being analyzed');
}
this.type = extension(this.path);

@@ -49,0 +45,0 @@ this.analyzed = false;

{
"name": "mako-tree",
"version": "0.5.0",
"version": "0.5.1",
"description": "The build tree structure used internally by mako",

@@ -5,0 +5,0 @@ "repository": "makojs/tree",

@@ -134,8 +134,2 @@

});
it('should throw when the analyzing flag is turned on', function () {
let file = new File('index.jade');
file.analyzing = true;
assert.throws(() => file.dirty());
});
});

@@ -142,0 +136,0 @@

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