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
This set of upgrades includes a major, high-risk update to tap and low-risk patch updates for hbs and lodash.
High Risk
tap from 11.1.5 to 18.0.0
This is a significant multi-version upgrade for the tap testing framework, introducing numerous breaking changes that will require developer action. The framework has been substantially modernized.
Key Breaking Changes:
Coverage Enforcement: Test coverage is now enabled by default and enforced at 100%. Incomplete coverage will cause tests to fail. The --check-coverage and --no-cov flags have been removed. [1, 4, 9]
ESM and TypeScript: The library is rewritten in TypeScript and now supports both CommonJS and ESM. This may require updating import or require statements. [4]
Async Hooks:beforeEach and afterEach no longer accept callbacks. For asynchronous operations, you must now return a Promise. [1, 3]
API and CLI Changes: Several assertion synonyms (e.g., t.not()) have been removed and moved to an optional plugin (@tapjs/synonyms). [9] Many command-line options have also been removed or replaced. [1]
Recommendation: Developers must review their existing tap tests and configuration. Key actions include: updating asynchronous hooks to use Promises, ensuring test suites meet the new 100% coverage requirement (or explicitly configuring a lower threshold), and verifying that module imports work correctly.
lodash from 4.17.4 to 4.18.1: This is a minor update that includes security patches for prototype pollution and code injection. A behavioral change in _.unset and _.omit was made to fix a vulnerability, but it is unlikely to affect typical usage. [5, 6]
hbs from 4.2.0 to 4.2.1: This is a patch release containing minor bug fixes and type definition updates. No breaking changes are expected. [11, 14]
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Snyk has created this PR to fix 11 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-HANDLEBARS-15803084
SNYK-JS-HANDLEBARS-15803082
SNYK-JS-LODASH-15869625
SNYK-JS-HANDLEBARS-15803086
SNYK-JS-HANDLEBARS-15807042
SNYK-JS-HANDLEBARS-15807040
SNYK-JS-LODASH-15053838
SNYK-JS-LODASH-15869619
SNYK-JS-HANDLEBARS-15789775
SNYK-JS-HANDLEBARS-15813031
SNYK-JS-HANDLEBARS-15813000
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution
🦉 Access of Resource Using Incompatible Type ('Type Confusion')
🦉 Improper Encoding or Escaping of Output
🦉 More lessons are available in Snyk Learn