Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#minor
Description
This PR adds support for Node 22 by fixing issues with the import-sync package and the deprecated method crypto.createDecipher.
It also updates the yaml files to include Node 22 in the testing matrix and to use this version to run the GitHub actions.
Specific Changes
import-sync
package and usedtsup
to compile the ESM-only dependency,filenamify
.crypto.Decipher
was removed.loadAndSave.tests.js
to include the new error message.NODE_NO_WARNINGS
flag inschemaMergeTest.js
to avoid the execution of bf dialogs:merge to fail due to a deprecation warning.Testing
This image shows the unit tests passing for the different supported Node versions.