'use strict';

var toPosInt = require('es5-ext/number/to-pos-integer')
  , maxValue = require('./max-value');

module.exports = function (value) {
	value = toPosInt(value);
	if (value > maxValue) {
		throw new TypeError(value + " is to large for a timeout");
	}
	return value;
};

'use strict';

var toUint   = require('es5-ext/number/to-uint')
  , maxValue = require('./max-value');

module.exports = function (value) {
	value = toUint(value);
	if (value > maxValue) {
		throw new TypeError(value + " is to large for a timeout");
	}
	return value;
};

--- 
+++ 
@@ -1,10 +1,10 @@
 'use strict';
 
-var toUint   = require('es5-ext/number/to-uint')
+var toPosInt = require('es5-ext/number/to-pos-integer')
   , maxValue = require('./max-value');
 
 module.exports = function (value) {
-	value = toUint(value);
+	value = toPosInt(value);
 	if (value > maxValue) {
 		throw new TypeError(value + " is to large for a timeout");
 	}
Update up to changes in es5-ext
