-
Notifications
You must be signed in to change notification settings - Fork 13.9k
chore(deps): close ~36 Dependabot advisories via resolutions and direct bumps #40174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+113
−127
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c26d7e2
chore(deps): pin yauzl to ^3.2.1 (GHSA-gmq8-994r-jv83)
ggazzo 953950d
chore(deps): pin serialize-javascript to ^7.0.5 (GHSA-qj8w-gfj5-8c6v)
ggazzo 46813c0
chore(deps): pin path-to-regexp ^8.1.0 range to ^8.4.0 (GHSA-27v5-c46…
ggazzo c58ac8c
chore(deps): pin markdown-it to ^14.1.1 (GHSA-38c4-r59v-3vqw)
ggazzo b3ff071
chore(deps): pin follow-redirects to ^1.16.0 (GHSA-r4q5-vmmm-2653)
ggazzo f470675
chore(deps): pin picomatch 2.x and 4.x ranges (GHSA-3v7f-55p6-f55p)
ggazzo b868422
chore(deps): pin brace-expansion 2.x and 5.x ranges (GHSA-f886-m6hf-6…
ggazzo 63fafa4
chore(deps): pin yaml 1.x and 2.x ranges (GHSA-48c2-rrv3-qjmp)
ggazzo 517fce4
chore(deps): pin undici 6.x to ^6.24.0
ggazzo c16ad75
chore(deps): pin handlebars to ^4.7.9
ggazzo 487cb3e
chore(deps): pin fast-xml-parser 4.x and 5.x ranges
ggazzo 4857212
chore(deps): bump lodash resolution from 4.17.21 to ^4.18.0 (GHSA-f23…
ggazzo ebcada5
chore(deps): bump nodemailer 7.0.13 → 8.0.5 in apps/meteor
ggazzo afb732d
chore(deps): bump file-type 16.5.4 → 21.3.1 in apps/meteor (GHSA-5v7r…
ggazzo b0d8225
Revert "chore(deps): bump file-type 16.5.4 → 21.3.1 in apps/meteor (G…
ggazzo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 2081
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 962
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 2181
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 1544
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 814
🌐 Web query:
@types/nodemailer v8.0.0 Mail type export default nodemailer/lib/mailer💡 Result:
In
@types/nodemailerv8.0.0, the Mail type is exported from the main index.d.ts module via import Mail = require("./lib/mailer");, making it available as a named export Mail. It is not a default export from nodemailer/lib/mailer itself, but an alias re-exported for convenience in the public API. The lib/mailer/index.d.ts file defines the Mail class (extends EventEmitter, with properties like options: Mail.Options, transporter: Transport, etc.), and the main module uses export type Transporter<T = any, D extends TransportOptions = TransportOptions> = Mail<T, D>; and export type SendMailOptions = Mail.Options;. This structure matches the nodemailer library's design where createTransport returns a Mail instance.Citations:
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 1781
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 48
🏁 Script executed:
Repository: RocketChat/Rocket.Chat
Length of output: 263
Nodemailer major bump (7→8) — no type-compatibility concerns; verify testing before merge.
The Mail type and its nested types (Mail.Options, Mail.Attachment) are properly exported in
@types/nodemailerv8.0.0, and the import syntaximport type Mail from 'nodemailer/lib/mailer'is valid. The v7→v8 bump for nodemailer and the v6→v8 jump for@types/nodemailercarry no type-breaking changes; the public API surface used inapps/meteor/server/features/EmailInbox/EmailInbox.tsandEmailInbox_Outgoing.tsremains stable.Nodemailer v8.0.5 includes the CRLF injection fix (GHSA-vvjj-xcjg-gr5g), making this a justified security update. Before merging, ensure the EmailInbox SMTP send/receive path has been tested at least once against v8, particularly the
sendEmail()andbuildMailAttachment()functions inEmailInbox_Outgoing.ts.🤖 Prompt for AI Agents