You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Migrate to Mocha 10
- Rename src/*.js to src/*.mjs and test/*.js to test/*.spec.mjs
- Move misplaced "eslint-plugin-local-rules" to devDependencies
- Remove unused reify now that we are fully .mjs
- Deprecate load*/download functions and remove associated tests
- Remove dead code (private load*() function, isNode/isBrowser...)
- Support multiple test runner:
```sh
npx mocha
npx bun test
npx jasmine "**/*.spec.mjs" # may fail on strict compare
```
* Rework eslint rules
There are currently 3 local rules:
- ban forEach => migrate to a "selector" rule
- prevent import loop => did nothing
- force import extension => esbuild enforce it already
This halves (226 => 139) our NPM dependencies
* Use eslint@9
Use new configuration format since package.json based configuration have been droped
* Apply remarks
A Font represents a loaded OpenType font file. It contains a set of glyphs and methods to draw text on a drawing context, or to get a path representing the text.
0 commit comments