We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b83b36d commit caae298Copy full SHA for caae298
1 file changed
index.js
@@ -46,7 +46,7 @@ module.exports = function(val, options) {
46
47
function parse(str) {
48
str = String(str);
49
- if (str.length > 10000) {
+ if (str.length > 100) {
50
return;
51
}
52
var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
0 commit comments