diff --git a/package-lock.json b/package-lock.json index 51fca6ca4..c1d0e164f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11876,7 +11876,7 @@ } }, "packages/marko": { - "version": "5.32.14", + "version": "5.32.15", "license": "MIT", "dependencies": { "@marko/compiler": "^5.34.7", diff --git a/packages/marko/CHANGELOG.md b/packages/marko/CHANGELOG.md index 764ed26cf..b48e3e87c 100644 --- a/packages/marko/CHANGELOG.md +++ b/packages/marko/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 5.32.15 + +### Patch Changes + +- [#2132](https://github.com/marko-js/marko/pull/2132) [`f3004d7`](https://github.com/marko-js/marko/commit/f3004d7baddd22a022217bb5e50ef8e6b6a80354) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Fix incorrect check for if a component has custom events + ## 5.32.14 ### Patch Changes diff --git a/packages/marko/package.json b/packages/marko/package.json index 59b27d71a..7824d484c 100644 --- a/packages/marko/package.json +++ b/packages/marko/package.json @@ -1,6 +1,6 @@ { "name": "marko", - "version": "5.32.14", + "version": "5.32.15", "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.", "keywords": [ "front-end", diff --git a/packages/marko/src/runtime/components/renderer.js b/packages/marko/src/runtime/components/renderer.js index 57de50ace..374872b11 100644 --- a/packages/marko/src/runtime/components/renderer.js +++ b/packages/marko/src/runtime/components/renderer.js @@ -172,7 +172,7 @@ function createRendererFunc( // so we don't want to queue it up as a result of calling `setInput()` component.___updateQueued = true; - if (customEvents !== undefined) { + if (customEvents) { component.___setCustomEvents(customEvents, ownerComponentId); }