Changed
- Refactor functions to classes.
- Changed
DOMPoint()
constructor to check for parameter nullability. - Changed
DOMMatrix.js
to use string literals for non-special cases. - Remove semicolons from Dommatrix.js.
- Update nan to v2.15.0 to ensure Node.js v14+ support.
- Clean up inf/nan macros and slightly speed up argument checking.
Added
- Added
deregisterAllFonts
method to free up memory and reduce font conflicts.
Fixed
- Support Apple M1 Homebrew install that puts canvas install library files in
/opt/homebrew/lib