Dates use DD/MM/YYYY format.
- Bump momentjs to avoid vulnerability
- Bump yr.no-interface to use latest api.met.no URL
- Increase performance by approximately 10x due to use of
pixl-xml
and improved algorithm for getting weather nodes. - Simplify codebase.
- Update JSON output format to be closer to the original XML content. This gives users of this module more flexibility and information but is a breaking change.
- Add
getValidTimes
function. - Fix security
request
andqs
module vulnerabilities by updating to[email protected]
.
- Mitigate security vulnerabilities.
- Use new [email protected] internally.
- Change to Promise based interface.
- Make the module a factory function.
- Use
pixl-xml
to increase XML parsing speed and lower memory usage. Yay for better performance! - Improved unit tests. Tests no longer require an internet connection.
- Removed
getCurrentSummary
in favour of simply usinggetForecastForTime
and passing the current timestamp. Simplifies API footprint.
- Undocumented. Sorry.