512 Commits

Author SHA1 Message Date
Tim van der Meij
ced9b4717f
Upgrade c8 to version 11.0.0
This is a major version bump, but the changelog at
https://github.com/bcoe/c8/releases/v11.0.0 doesn't indicate any
breaking changes that should impact us.
2026-03-01 20:43:20 +01:00
Tim van der Meij
4cb0d504b0
Update dependencies to the most recent versions 2026-03-01 20:42:19 +01:00
calixteman
f57b73d881
Remove dependency to yargs and use node:utils parseArgs 2026-03-01 15:01:31 +01:00
calixteman
bc8efa190c
Merge pull request #20719 from calixteman/update_jasmine
Update Jasmine to version 6.0.0
2026-02-25 09:56:54 +01:00
calixteman
ab7629871a
Update Jasmine to version 6.0.0
It fixes #20715.

`failedExpectations` was removed from `suiteStarted` and `specStarted` events.
HtmlReporter and HtmlSpecFilter have been deprecated and removed.
2026-02-24 23:30:48 +01:00
calixteman
81479fe942
Use @eslint/json in order to lint the json files 2026-02-22 23:52:54 +01:00
Tim van der Meij
aaf3ad5a4e
Merge pull request #20688 from calixteman/coverage_font_test
Add code coverage for font tests
2026-02-20 22:13:57 +01:00
calixteman
34ba2064e6
Merge pull request #20661 from timvandermeij/updates
Update dependencies and translations to the most recent versions, and upgrade most packages to new major versions
2026-02-20 17:41:58 +01:00
calixteman
e2af2b83c3
Add code coverage for font tests 2026-02-18 22:00:45 +01:00
calixteman
2b57ef4b56
Fix code coverage line mapping
When checking the code coverage report, it was noticed that the line numbers were off.
It was due to the fact that the files used for coverage were the transpiled ones,
when the ones used by Codecov were the original ones.
So this patches adds the source maps to the transpiled files, and also updates
the license header in the original files in using a babel plugin in order
to make sure the line numbers are correct.
As a side effect of this work, it's now possible to have the correct line
numbers in the stack traces when running tests with the transpiled files.
2026-02-15 23:03:07 +01:00
Tim van der Meij
b27caa0f7b
Upgrade @csstools/postcss-light-dark-function to version 3.0.0
This is a major version bump, but the changelog at
https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-light-dark-function/CHANGELOG.md
doesn't indicate any breaking changes that should impact us.

We only have to list `@csstools/postcss-light-dark-function` in
`eslint.config.js` similar to e.g. commit a2909f9b.
2026-02-14 20:15:30 +01:00
Tim van der Meij
5875cddbf0
Upgrade postcss-dir-pseudo-class to version 10.0.0
This is a major version bump, but the changelog at
https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-dir-pseudo-class/CHANGELOG.md
doesn't indicate any breaking changes that should impact us.

We only have to list `postcss-dir-pseudo-class` in `eslint.config.js`
similar to e.g. commit a2909f9b.
2026-02-14 20:12:43 +01:00
Tim van der Meij
e6c85537c6
Upgrade postcss-nesting to version 14.0.0
This is a major version bump, but the changelog at
https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-nesting/CHANGELOG.md
doesn't indicate any breaking changes that should impact us.

We only have to list `postcss-nesting` in `eslint.config.js` similar
to e.g. commit a2909f9b.
2026-02-14 20:10:09 +01:00
Tim van der Meij
ebc8946298
Upgrade stylelint to version 17.3.0
This is a major version bump, but the changelog at
https://github.com/stylelint/stylelint/releases/tag/17.0.0
doesn't indicate any breaking changes that should impact us.

We only have to list `stylelint` in `eslint.config.js` similar to e.g.
commit a2909f9b.
2026-02-14 20:05:41 +01:00
Tim van der Meij
0888b85a46
Upgrade eslint-plugin-unicorn to version 63.0.0
This is a major version bump, but the changelog at
https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v63.0.0
doesn't indicate any breaking changes that should impact us.

Note that this version supports ESLint 10, which is a prerequisite for
being able to upgrade ESLint itself in a follow-up later.
2026-02-14 19:55:56 +01:00
Tim van der Meij
9edfeb0d33
Update dependencies to the most recent versions 2026-02-14 19:49:26 +01:00
calixteman
07dbda2d80
Add code coverage for unit tests running in node
It's a first step to add code coverage.
In order to get the code coverage report locally, you can run the following command:
```bash
npx gulp unittestcli --coverage
```
The code coverage report will be generated in the `./build/coverage` directory.
And the report can be consulted by opening:
  http://localhost:8888/build/coverage/index.html

A GitHub workflow has also been added to run the unit tests with code coverage
on each push and pull request. The report will be uploaded to Codecov.
2026-02-14 15:22:35 +01:00
Tim van der Meij
0c5a590bbd
Update dependencies to the most recent versions 2026-02-08 18:55:55 +01:00
Jonas Jenwald
a80f8ff014 [api-minor] Update the supported Node.js "patch" versions
We haven't made any changes to the supported Node.js versions for close to a year, however now seems like a good time to do so in order to unblock future (major version) package upgrades.

 - Babel version `8` is now close to release, since https://github.com/babel/babel/releases contain an 8-RC version and according to [this article](https://babel.dev/blog/2026/01/31/7.29.0) no new `7` releases are planned.
   See also https://babel.dev/blog/2025/05/30/babel-8-beta and note the supported Node.js versions in https://next.babeljs.io/docs/v8-migration/#nodejs-support

 - ESLint version `10` was just released, see https://eslint.org/blog/2026/02/eslint-v10.0.0-released/ and note the supported Node.js versions in https://eslint.org/docs/latest/use/migrate-to-10.0.0#-nodejs--v2019-v21-v23-are-no-longer-supported
2026-02-08 12:32:09 +01:00
Jonas Jenwald
663d4cd6e7 Use standard ReadableStreams in the src/display/node_stream.js code
Thanks to newer Node.js functionality, see https://nodejs.org/api/stream.html#streamreadabletowebstreamreadable-options, we can use standard `ReadableStream`s which help to significantly shorten and simplify the code.

For older Node.js versions we use the `node-readable-to-web-readable-stream` package, see https://www.npmjs.com/package/node-readable-to-web-readable-stream, to get the same functionality.
2026-01-25 12:34:47 +01:00
Tim van der Meij
687cd848e0
Upgrade eslint-plugin-perfectionist to version 5.2.0
This is a major version bump, but the changelog at
https://github.com/azat-io/eslint-plugin-perfectionist/releases/v5.0.0
doesn't indicate any breaking changes that should impact us.
2026-01-03 20:42:04 +01:00
Tim van der Meij
13e070a8a3
Upgrade globals to version 17.0.0
This is a major version bump, but the changelog at
https://github.com/sindresorhus/globals/releases/v17.0.0
doesn't indicate any breaking changes that should impact us.
2026-01-03 20:40:39 +01:00
Tim van der Meij
2838e161b8
Update dependencies to the most recent versions 2026-01-03 20:38:22 +01:00
Tim van der Meij
40a8fdbca9
Upgrade @types/node to version 25.0.1
This is a major version bump, but the patch at
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/73924
doesn't indicate any breaking changes that should impact us as it mainly
includes support for Node.js 25.
2025-12-22 16:26:37 +01:00
Tim van der Meij
c5db38dd86
Update dependencies to the most recent versions 2025-12-22 16:26:37 +01:00
Calixte Denizet
4bf759404c
Add a new linting task in order to detect unused/unknown css variables in the Firefox build
The goal is to be able to catch the errors before making a release.
And fix some css issues (especially the missing css code for the newly added menu.css)
2025-12-08 09:44:33 +01:00
Tim van der Meij
758856e664
Update dependencies to the most recent versions
Note that the `prettier` update requires a small bit of reformatting in
the Gulpfile so that linting keeps passing.
2025-11-29 18:52:33 +01:00
Mario34
0bad4e938e Include missing cached-iterable dev dependency in package.json
This dependency got introduced during the move to Fluent for
localization (bug 1858715), but it wasn't added to `package.json`
at the time. This worked because other dependencies already
installed it, but we shouldn't rely on that, so this commit
explicitly includes it in `package.json` instead.

Fixes 66982a2a.
2025-11-24 09:24:20 +08:00
Tim van der Meij
7fc23de26f
Update dependencies to the most recent versions 2025-11-08 19:26:17 +01:00
Tim van der Meij
1f7d3974e1
Upgrade eslint-plugin-unicorn to version 62.0.0
This is a major version bump, but the changelog at
https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v62.0.0
doesn't indicate any breaking changes that should impact us.
2025-10-26 16:41:13 +01:00
Tim van der Meij
cbd2b3d426
Update dependencies to the most recent versions 2025-10-26 16:40:07 +01:00
Tim van der Meij
6bd5c7cdb3
Update dependencies to the most recent versions 2025-10-14 20:26:50 +02:00
Tim van der Meij
4f50eacdfc
Update dependencies to the most recent versions 2025-10-05 14:41:05 +02:00
Calixte Denizet
893de3e754 Update dependencies 2025-09-26 09:23:17 +02:00
Tim van der Meij
637599dc23
Upgrade eslint-plugin-unicorn to version 61.0.2
This is a major version bump, but the changelog at
https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v61.0.0
doesn't indicate any breaking changes that should impact us.
2025-09-14 19:23:34 +02:00
Tim van der Meij
a730cba414
Update dependencies to the most recent versions 2025-09-14 19:23:34 +02:00
Tim van der Meij
4dcfc96703
Update dependencies to the most recent versions 2025-08-30 18:38:25 +02:00
Calixte Denizet
0af61f5bf4 Update puppeteer to 24.17.0 2025-08-25 09:33:53 +02:00
Calixte Denizet
2beb26ad14 Use Firefox stable for the tests because bug 1983414 2025-08-20 16:11:59 +02:00
Tim van der Meij
d49fc494cd
Update dependencies to the most recent versions 2025-08-17 16:32:29 +02:00
Tim van der Meij
c19271f7c3
Upgrade eslint-plugin-unicorn to version 60.0.0
This is a major version bump, but the changelog at
https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v60.0.0
doesn't indicate any breaking changes that should impact us.

Note that this brings the vulnerability count back to zero because this
version addresses https://github.com/advisories/GHSA-xffm-g5w8-qvg7.
2025-07-27 18:32:32 +02:00
Tim van der Meij
7594f21adb
Update dependencies to the most recent versions
Note that we must include `eslint-config-prettier` explicitly because
it's now a required dependency and without it linting fails; please see
https://github.com/prettier/eslint-plugin-prettier?tab=readme-ov-file#installation.
2025-07-27 18:31:03 +02:00
Tim van der Meij
5d6023cb2a
Update dependencies to the most recent versions 2025-07-19 18:39:16 +02:00
Tim van der Meij
7a129f8eae
Update dependencies to the most recent versions 2025-07-12 20:20:05 +02:00
Tim van der Meij
bd511747c8
Upgrade @types/node to version 24.0.3
This commit makes the type definitions compatible with Node 24 which was
released in May 2025.
2025-06-22 15:25:35 +02:00
Tim van der Meij
7f619c7605
Update dependencies to the most recent versions 2025-06-22 15:24:53 +02:00
Tim van der Meij
fda68a5a56
Upgrade yargs to version 18.0.0
This is a major version bump, but the changelog at
https://github.com/yargs/yargs/releases/tag/v18.0.0
doesn't indicate any breaking changes that should impact us.
2025-06-08 18:07:23 +02:00
Tim van der Meij
34ef9ece38
Upgrade svglint to version 4.1.0
This is a major version bump, but the changelog at
https://github.com/simple-icons/svglint/releases/tag/v4.0.0
doesn't indicate any breaking changes that should impact us.
2025-06-08 18:06:12 +02:00
Tim van der Meij
003cffe6cb
Update dependencies to the most recent versions 2025-06-08 18:02:45 +02:00
Calixte Denizet
fd3a41c149 Update Puppeteer to version 24.10.0 2025-06-03 19:38:35 +02:00