From 904a093019bcad35b90b794c36967e2db72958b1 Mon Sep 17 00:00:00 2001 From: Alexandros Rantos Date: Fri, 6 Mar 2026 16:02:16 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74559=20[@type?= =?UTF-8?q?s/sanitize-html]=20Update=20htmlparser2=20dependency=20to=20^10?= =?UTF-8?q?.1=20by=20@alex-rantos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/sanitize-html/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sanitize-html/package.json b/types/sanitize-html/package.json index 6bfcd300afcbd3..d949682c0f21ae 100644 --- a/types/sanitize-html/package.json +++ b/types/sanitize-html/package.json @@ -6,7 +6,7 @@ "https://github.com/punkave/sanitize-html" ], "dependencies": { - "htmlparser2": "^8.0.0" + "htmlparser2": "^10.1" }, "devDependencies": { "@types/sanitize-html": "workspace:." From 58156dc079df771f896dd573968c10cf8b9c052c Mon Sep 17 00:00:00 2001 From: Jaissica Date: Fri, 6 Mar 2026 09:13:04 -0500 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74643=20Add=20?= =?UTF-8?q?optional=20parameter=20in=20SDKEventOptions=20by=20@jaissica12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/mparticle__web-sdk/index.d.ts | 3 ++- types/mparticle__web-sdk/package.json | 2 +- .../test/mparticle__web-sdk-instance-tests.ts | 14 ++++++++++++++ .../test/mparticle__web-sdk-tests.ts | 14 ++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/types/mparticle__web-sdk/index.d.ts b/types/mparticle__web-sdk/index.d.ts index 8cad608bd01c96..747d767aee4af5 100644 --- a/types/mparticle__web-sdk/index.d.ts +++ b/types/mparticle__web-sdk/index.d.ts @@ -155,7 +155,8 @@ export interface SDKEventCustomFlags { } export interface SDKEventOptions { - shouldUploadEvent: boolean; + shouldUploadEvent?: boolean; + sourceMessageId?: string; } export interface DataPlanConfig { diff --git a/types/mparticle__web-sdk/package.json b/types/mparticle__web-sdk/package.json index 9651d22da6aabb..2402850de7a120 100644 --- a/types/mparticle__web-sdk/package.json +++ b/types/mparticle__web-sdk/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/mparticle__web-sdk", - "version": "2.54.9999", + "version": "2.58.9999", "projects": [ "https://github.com/mParticle/mparticle-web-sdk" ], diff --git a/types/mparticle__web-sdk/test/mparticle__web-sdk-instance-tests.ts b/types/mparticle__web-sdk/test/mparticle__web-sdk-instance-tests.ts index f04f10efa5d68e..3209cc29471220 100644 --- a/types/mparticle__web-sdk/test/mparticle__web-sdk-instance-tests.ts +++ b/types/mparticle__web-sdk/test/mparticle__web-sdk-instance-tests.ts @@ -26,8 +26,19 @@ const customFlags: mParticle.SDKEventCustomFlags = { const eventOptions: mParticle.SDKEventOptions = { shouldUploadEvent: false, + sourceMessageId: "sourceMessageId", }; +const eventOptionsOnlyShouldUpload: mParticle.SDKEventOptions = { + shouldUploadEvent: true, +}; + +const eventOptionsOnlySourceMessageId: mParticle.SDKEventOptions = { + sourceMessageId: "test-message-id", +}; + +const eventOptionsEmpty: mParticle.SDKEventOptions = {}; + const identifyRequest: mParticle.IdentifyRequest = { userIdentities: { customerid: "test", @@ -178,6 +189,9 @@ instance.logEvent("eventName", instance.EventType.Location); instance.logEvent("eventName", instance.EventType.Location, customAttrs); instance.logEvent("eventName", instance.EventType.Location, customAttrs, customFlags); instance.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptions); +instance.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsOnlyShouldUpload); +instance.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsOnlySourceMessageId); +instance.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsEmpty); instance.logForm("click", "eventName"); instance.logForm("click", "eventName", instance.EventType.Location); diff --git a/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts b/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts index 31723b4cadd5b4..c4996ba6ed0fca 100644 --- a/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts +++ b/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts @@ -24,8 +24,19 @@ const customFlags: mParticle.SDKEventCustomFlags = { const eventOptions: mParticle.SDKEventOptions = { shouldUploadEvent: false, + sourceMessageId: "sourceMessageId", }; +const eventOptionsOnlyShouldUpload: mParticle.SDKEventOptions = { + shouldUploadEvent: true, +}; + +const eventOptionsOnlySourceMessageId: mParticle.SDKEventOptions = { + sourceMessageId: "test-message-id", +}; + +const eventOptionsEmpty: mParticle.SDKEventOptions = {}; + const identifyRequest: mParticle.IdentifyRequest = { userIdentities: { customerid: "test", @@ -200,6 +211,9 @@ mParticle.logEvent("eventName", mParticle.EventType.Location); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptions); +mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsOnlyShouldUpload); +mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsOnlySourceMessageId); +mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsEmpty); mParticle.logForm("click", "eventName"); mParticle.logForm("click", "eventName", mParticle.EventType.Location); From c3d5fa8762f39a7bc1ab794c0c290e2980f3a92a Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Fri, 6 Mar 2026 14:13:44 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=A4=96=20dprint=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts b/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts index c4996ba6ed0fca..bf15f34ee8cea8 100644 --- a/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts +++ b/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts @@ -212,7 +212,13 @@ mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptions); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsOnlyShouldUpload); -mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsOnlySourceMessageId); +mParticle.logEvent( + "eventName", + mParticle.EventType.Location, + customAttrs, + customFlags, + eventOptionsOnlySourceMessageId, +); mParticle.logEvent("eventName", mParticle.EventType.Location, customAttrs, customFlags, eventOptionsEmpty); mParticle.logForm("click", "eventName"); From 89bfe9133f1980c1abc371ea71e92e945fa0ef70 Mon Sep 17 00:00:00 2001 From: Alex Christoffer Rasmussen Date: Fri, 6 Mar 2026 16:09:16 +0100 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74638=20expres?= =?UTF-8?q?sjs=5Fmulter/support-for-unicode-headers=20by=20@alex-Arc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Victor --- types/multer/index.d.ts | 6 ++++++ types/multer/multer-tests.ts | 13 +++++++++++++ types/multer/package.json | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/types/multer/index.d.ts b/types/multer/index.d.ts index d9431a17f26e75..e6ee81a9df85ea 100644 --- a/types/multer/index.d.ts +++ b/types/multer/index.d.ts @@ -211,6 +211,12 @@ declare namespace multer { } | undefined; /** Preserve the full path of the original filename rather than the basename. (Default: false) */ preservePath?: boolean | undefined; + /** + * For multipart forms, the default character set to use for values of + * part header parameters (e.g. filename) that are not extended + * parameters (that contain an explicit charset). (Default: latin1) + */ + defParamCharset?: string | undefined; /** * Optional function to control which files are uploaded. This is called * for every file that is processed. diff --git a/types/multer/multer-tests.ts b/types/multer/multer-tests.ts index 07166a336166d0..5397c67dd6c40c 100644 --- a/types/multer/multer-tests.ts +++ b/types/multer/multer-tests.ts @@ -15,6 +15,19 @@ const upload = multer({ upload; // $ExpectType Multer assert.strictEqual(upload.constructor.name, "Multer"); +const upload_with_defParamCharset = multer({ + dest: "uploads/", + fileFilter: (req, file, cb) => { + cb(null, false); + cb(null, true); + cb(new Error(`I don't have a clue!`)); + }, + defParamCharset: "utf8", +}); + +upload_with_defParamCharset; // $ExpectType Multer +assert.strictEqual(upload_with_defParamCharset.constructor.name, "Multer"); + const app = express(); app.post( diff --git a/types/multer/package.json b/types/multer/package.json index 078565e6aa3990..09fffe8b4ef162 100644 --- a/types/multer/package.json +++ b/types/multer/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/multer", - "version": "2.0.9999", + "version": "2.1.9999", "projects": [ "https://github.com/expressjs/multer" ], From e2657f527a471151cfeff2a4f77af57a9727ce7a Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Fri, 6 Mar 2026 07:59:36 -0800 Subject: [PATCH 5/5] [office-js] [office-js-preview] (Word) Minor cleanup (#74647) --- types/office-js-preview/index.d.ts | 4 ++-- types/office-js/index.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 9ec79da1d451c2..ad1932b96b4a3b 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -104378,12 +104378,12 @@ declare namespace Word { /** Sets multiple properties on the object at the same time, based on an existing loaded object. */ set(properties: Word.CommentContentRange): void; /** - * Inserts text into at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI. + * Inserts text at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI. * * @remarks * [Api set: WordApi 1.4] * - * @param text The text to be inserted in to the `CommentContentRange`. + * @param text The text to be inserted into the `CommentContentRange` object. * @param insertLocation The value must be `replace`, `start`, `end`, `before`, or `after`. */ insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.CommentContentRange; diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 972b1bb16843db..afe476aba76f04 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -97983,12 +97983,12 @@ declare namespace Word { /** Sets multiple properties on the object at the same time, based on an existing loaded object. */ set(properties: Word.CommentContentRange): void; /** - * Inserts text into at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI. + * Inserts text at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI. * * @remarks * [Api set: WordApi 1.4] * - * @param text The text to be inserted in to the `CommentContentRange`. + * @param text The text to be inserted into the `CommentContentRange` object. * @param insertLocation The value must be `replace`, `start`, `end`, `before`, or `after`. */ insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.CommentContentRange;