Jonas Jenwald
5aaf30a071
Merge pull request #21018 from Snuffleupagus/Node-22
...
[api-minor] Update the minimum supported Node.js version to 22
2026-04-05 12:39:36 +02:00
Tim van der Meij
a6a66c077e
Fix vulnerabilities in dependency versions
...
This patch is generated automatically using `npm audit fix`, and brings
the number of reported vulnerabilities to zero.
2026-04-03 20:37:53 +02:00
Tim van der Meij
b6d5f122e3
Upgrade eslint-plugin-unicorn to version 64.0.0
...
This is a major version bump, but the changelog at
https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v64.0.0
doesn't indicate any breaking changes that should impact us.
2026-04-03 20:34:53 +02:00
Tim van der Meij
e97c847e93
Update dependencies to the most recent versions
2026-04-03 20:34:10 +02:00
Jonas Jenwald
e0423ebbe4
[api-minor] Update the minimum supported Node.js version to 22
...
This patch updates the minimum supported environments as follows:
- Node.js 22, which was initially released on 2024-04-24 and has now entered the "Maintenance"-phase; see https://github.com/nodejs/release#release-schedule
Furthermore, note also that Node.js 20 will reach end-of-life on 2026-04-30 which coincides (approximately) with the next PDF.js release.
2026-04-01 12:06:32 +02:00
Jonas Jenwald
90fe6c70ff
[Node.js] Remove the node-readable-to-web-readable-stream polyfill
...
While `Readable.toWeb` wasn't marked as stable until more recently, the functionality itself has existed since Node.js version `17.0.0`; note https://nodejs.org/api/stream.html#streamreadabletowebstreamreadable-options
Hence the polyfill shouldn't actually be necessary, which is confirmed by the unit-tests passing in Node.js version `20` in GitHub Actions.
2026-03-30 13:45:13 +02:00
dependabot[bot]
5e4ca58785
Bump picomatch
...
Bumps and [picomatch](https://github.com/micromatch/picomatch ). These dependencies needed to be updated together.
Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2 )
Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-25 22:14:25 +00:00
Tim van der Meij
9151b69665
Merge pull request #20922 from mozilla/dependabot/npm_and_yarn/fast-xml-parser-5.5.7
...
Bump fast-xml-parser from 5.5.6 to 5.5.7
2026-03-19 20:53:30 +01:00
dependabot[bot]
281761d07d
Bump fast-xml-parser from 5.5.6 to 5.5.7
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 5.5.6 to 5.5.7.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.5.6...v5.5.7 )
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-version: 5.5.7
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 19:47:38 +00:00
dependabot[bot]
9cf2718a69
Bump flatted from 3.4.1 to 3.4.2
...
Bumps [flatted](https://github.com/WebReflection/flatted ) from 3.4.1 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.4.1...v3.4.2 )
---
updated-dependencies:
- dependency-name: flatted
dependency-version: 3.4.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 19:44:37 +00:00
dependabot[bot]
15bb5fcebb
Bump fast-xml-parser from 5.5.5 to 5.5.6
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 5.5.5 to 5.5.6.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.5.5...v5.5.6 )
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-version: 5.5.6
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 02:53:38 +00:00
calixteman
d5ac981d62
Update eslint to version 10
...
Unfortunately, eslint-plugin-import depends on eslint 9. This plugin doesn't seem to be
actively maintained (lot of open issues and PRs).
Fortunately there's a fork of the plugin that doesn't support eslint 10 yet but is actively maintained.
So this PR changes the eslint version to 10 and replaces eslint-plugin-import with eslint-plugin-import-x.
2026-03-15 19:36:54 +01:00
Tim van der Meij
534a199d18
Fix vulnerability in the flatted dependency
...
This patch is generated with `npm audit fix` and fixes CVE-2026-32141.
2026-03-15 14:54:11 +01:00
Tim van der Meij
b7ebd80db8
Update dependencies to the most recent versions
2026-03-15 14:53:11 +01:00
dependabot[bot]
85fe14ac94
Bump undici from 7.21.0 to 7.24.2
...
Bumps [undici](https://github.com/nodejs/undici ) from 7.21.0 to 7.24.2.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v7.21.0...v7.24.2 )
---
updated-dependencies:
- dependency-name: undici
dependency-version: 7.24.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-14 10:34:32 +00:00
Tim van der Meij
c7d345db76
Fix vulnerability in the underscore dependency
...
This patch is generated with `npm audit fix` and fixes CVE-2026-27601.
2026-03-07 19:02:23 +01:00
Tim van der Meij
57a8028ee2
Update dependencies to the most recent versions
2026-03-07 19:00:26 +01:00
Calixte Denizet
064e6a8b1c
Remove gulp-sourcemaps dependency which is unmaintained
2026-03-05 22:28:44 +01:00
Tim van der Meij
3d2d145329
Fix vulnerabilities in dependency versions
...
This patch is generated automatically using `npm audit fix`.
2026-03-01 20:44:42 +01:00
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
Tim van der Meij
5cbb8413cb
Merge pull request #20768 from calixteman/rm_yargs
...
Remove dependency to yargs and use node:utils parseArgs
2026-03-01 20:19:11 +01:00
Tim van der Meij
6299bf7fd6
Merge pull request #20762 from mozilla/dependabot/npm_and_yarn/multi-f5f34deeac
...
Bump minimatch
2026-03-01 19:56:30 +01:00
calixteman
f57b73d881
Remove dependency to yargs and use node:utils parseArgs
2026-03-01 15:01:31 +01:00
dependabot[bot]
73bd5c35da
Bump fast-xml-parser from 5.3.5 to 5.4.1
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 5.3.5 to 5.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.5...v5.4.1 )
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-version: 5.4.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 00:12:36 +00:00
dependabot[bot]
7a8571459a
Bump minimatch
...
Bumps and [minimatch](https://github.com/isaacs/minimatch ). These dependencies needed to be updated together.
Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `minimatch` from 9.0.5 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `minimatch` from 10.1.1 to 10.2.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
- dependency-name: minimatch
dependency-version: 9.0.9
dependency-type: indirect
- dependency-name: minimatch
dependency-version: 10.2.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-28 03:47:33 +00:00
dependabot[bot]
77702fc916
Bump basic-ftp from 5.1.0 to 5.2.0
...
Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/patrickjuchli/basic-ftp/releases )
- [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patrickjuchli/basic-ftp/compare/v5.1.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: basic-ftp
dependency-version: 5.2.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-02-25 23:30:41 +00: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
41e2f4e6c6
Fix moderate-severity vulnerability in the markdown-it dependency
...
This patch is generated automatically using `npm audit fix`.
2026-02-14 19:55:50 +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
08b6fef5fa
Fix vulnerabilities in dependency versions
...
This patch is generated automatically using `npm audit fix`.
2026-02-08 18:56:55 +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
dependabot[bot]
3270c4a504
Bump lodash from 4.17.21 to 4.17.23
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23 )
---
updated-dependencies:
- dependency-name: lodash
dependency-version: 4.17.23
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-01-21 23:03:09 +00: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