Fixed bug with year 999 not having leading zero
Added typescript definitions to NPM
Added strict version of date parser that returns null on invalid dates (may use strict version in v3)
Fixed a bug when parsing Do format dates
Fecha now throws errors on invalid dates in fecha.format
and is stricter about what dates it accepts. Dates must pass Object.prototype.toString.call(dateObj) !== '[object Date]'
.