Comparing version 0.2.4 to 0.2.5
@@ -1,2 +0,2 @@ | ||
// flowcheck 0.2.3 | ||
// flowcheck 0.2.5 | ||
// https://github.com/gcanti/flowcheck | ||
@@ -32,5 +32,4 @@ // (c) 2015 Giulio Canti <giulio.canti@gmail.com> | ||
}, 2); | ||
} catch (e) { | ||
return String(x); | ||
} | ||
} catch (e) {} | ||
return String(x); | ||
}; | ||
@@ -280,3 +279,2 @@ function Type(name, validate) { | ||
} | ||
var failed = false; | ||
function check(x, type) { | ||
@@ -286,7 +284,2 @@ var errors = validate(x, type); | ||
var message = [].concat(errors).join('\n'); | ||
if (!failed) { // start the debugger only once | ||
/*jshint debug: true*/ | ||
debugger; | ||
} | ||
failed = true; | ||
throw new TypeError(message); | ||
@@ -293,0 +286,0 @@ } |
@@ -13,2 +13,7 @@ # Changelog | ||
## v0.2.5 | ||
- **Internal** | ||
+ Removed `debugger` statement #15 | ||
## v0.2.4 | ||
@@ -15,0 +20,0 @@ |
{ | ||
"name": "flowcheck", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Runtime type checking for Flow", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"browserify": "^8.1.1", | ||
"gulp": "^3.8.10", | ||
"gulp": "^3.8.11", | ||
"gulp-beautify": "^1.1.2", | ||
@@ -29,0 +29,0 @@ "gulp-header": "^1.2.2", |
27009
665