v2.9.5
Changes
This release contains security and dependency updates, along with improvements to the build and release pipeline. There are no changes to the API.
- Removed
nodemailerfrom mountebank's runtime dependencies; it was only used by the test suite. The smtp imposter continues to depend onsmtp-serverandmailparser - Updated
csv-parseto v7.0.2, used by thelookupbehavior - Updated
@xmldom/xmldomto v0.9.12, resolving a number of denial of service and XML injection advisories. mountebank uses it to parse XML for xpath predicates and selectors; matching behavior is unchanged - Updated
smtp-serverto v3.19.13,mailparserto v3.9.28, andwinstonto v3.19.0 - Resolved denial of service advisories in
qs,body-parser, andpath-to-regexp, which mountebank pulls in throughexpress. These were fixed by re-resolving the dependency tree;expressitself is unchanged at v5.1.0 - Security updates for multiple dependencies:
nodemailer,brace-expansion,iconv-lite,html-to-text,htmlparser2,linkify-it,cors,errorhandler,jsonpath-plus, andprom-client - Added Dependabot configuration so dependency and security updates are picked up automatically
- Hardened npm installs in CI against supply chain attacks
- npm packages are now published using a trusted publisher, which authenticates over OIDC instead of a long-lived access token
Contributors
Many thanks to the following kind folks for help with this release, either through bug reports, suggestions, or direct code contributions:
- Igor Stepanenko
- Matthew Herman
Install
npm install -g @mbtest/mountebank@2.9.5
