Skip to content

A platform for community discussion. Free, open, simple.

DEV: Bump ember-curry-component to 0.5.0 (#41658)

David Taylorfdeb9ebc06b8
diff --git a/frontend/discourse/app/lib/blocks/-internals/components/block-layout-wrapper.gjs b/frontend/discourse/app/lib/blocks/-internals/components/block-layout-wrapper.gjs
index 82896e63976..d4df79ae421 100644
--- a/frontend/discourse/app/lib/blocks/-internals/components/block-layout-wrapper.gjs
+++ b/frontend/discourse/app/lib/blocks/-internals/components/block-layout-wrapper.gjs
@@ -15,7 +15,7 @@ import cssIdentifier from "discourse/helpers/css-identifier";
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
/**
- * @typedef {import("ember-curry-component").CurriedComponent} CurriedComponent
+ * @typedef {import("@glint/template").ComponentLike} CurriedComponent
*/
/**
diff --git a/frontend/discourse/app/lib/blocks/-internals/entry-processing.js b/frontend/discourse/app/lib/blocks/-internals/entry-processing.js
index a087dbf8618..7fcb4e79cc2 100644
--- a/frontend/discourse/app/lib/blocks/-internals/entry-processing.js
+++ b/frontend/discourse/app/lib/blocks/-internals/entry-processing.js
@@ -111,7 +111,7 @@ function getOrCreateLeafBlockComponent(
* @property {string} [__failureReason] - Custom failure reason message (debug mode only).
*
* @typedef {Object} ChildBlockResult
- * @property {import("ember-curry-component").CurriedComponent} Component - Curried component ready to render.
+ * @property {import("@glint/template").ComponentLike} Component - Curried component ready to render.
* @property {Object} [containerArgs] - Values for parent container's childArgs schema.
* @property {string} key - Stable unique key for list rendering.
* @property {boolean} [isGhost] - True if this is a ghost block (debug mode only).
diff --git a/frontend/discourse/app/static/dev-tools/block-debug/ghost-block.gjs b/frontend/discourse/app/static/dev-tools/block-debug/ghost-block.gjs
index bc2cec7e51b..e91daf6a657 100644
--- a/frontend/discourse/app/static/dev-tools/block-debug/ghost-block.gjs
+++ b/frontend/discourse/app/static/dev-tools/block-debug/ghost-block.gjs
@@ -21,7 +21,7 @@ import ConditionsTree from "./conditions-tree";
* @property {Object} [Args.conditions] - Conditions that failed evaluation.
* @property {string} [Args.failureType] - The failure type constant (FAILURE_TYPE value).
* @property {string} [Args.failureReason] - Optional custom display message (overrides type-based default).
- * @property {Array<{Component: import("ember-curry-component").CurriedComponent}>} [Args.children] - Nested ghost children for containers.
+ * @property {Array<{Component: import("@glint/template").ComponentLike}>} [Args.children] - Nested ghost children for containers.
*/
/**
diff --git a/frontend/discourse/app/static/dev-tools/block-debug/patch.js b/frontend/discourse/app/static/dev-tools/block-debug/patch.js
index a3e0363d88a..0d5d0b99c34 100644
--- a/frontend/discourse/app/static/dev-tools/block-debug/patch.js
+++ b/frontend/discourse/app/static/dev-tools/block-debug/patch.js
@@ -52,7 +52,7 @@ function makeDebugCallback(fn) {
* @param {boolean} isLoggingEnabled - Whether logging is enabled (unused, kept for API compatibility)
* @param {Function} resolveBlockFn - Function to resolve block references to classes
* @param {number} [depth=0] - Current nesting depth for recursion limit checking.
- * @returns {Array<{Component: import("ember-curry-component").CurriedComponent, isGhost?: boolean, asGhost?: Function}>} Array of ghost component data
+ * @returns {Array<{Component: import("@glint/template").ComponentLike, isGhost?: boolean, asGhost?: Function}>} Array of ghost component data
*/
function createGhostChildren(
childEntries,
diff --git a/frontend/discourse/package.json b/frontend/discourse/package.json
index 6b7ff7a3b08..30fbe5dd7ce 100644
--- a/frontend/discourse/package.json
+++ b/frontend/discourse/package.json
@@ -63,7 +63,7 @@
"codemirror": "^6.0.2",
"decorator-transforms": "^2.3.2",
"diff": "^9.0.0",
- "ember-curry-component": "^0.4.0",
+ "ember-curry-component": "^0.5.0",
"ember-resolver": "^13.2.0",
"ember-route-template": "^1.0.3",
"ember-source": "~6.10.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index da58e97d0ed..5b1cf9aab91 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -316,8 +316,8 @@ importers:
specifier: ^9.0.0
version: 9.0.0
ember-curry-component:
- specifier: ^0.4.0
- version: 0.4.0(@babel/[email protected])
+ specifier: ^0.5.0
+ version: 0.5.0(@babel/[email protected])(@glint/[email protected])
ember-resolver:
specifier: ^13.2.0
version: 13.2.0
@@ -4326,8 +4326,13 @@ packages:
resolution: {integrity: sha512-BtkjulweiXo9c3yVWrtexw2dTmBrvavD/xixNC6TKOBdrixUwU+6nuOO9dufDWsMxoid7MvtmDpzc9+mE8PdaA==}
engines: {node: 10.* || >= 12.*}
- resolution: {integrity: sha512-mXtlgCA0eW5B4ZdIP4qqMeatFCxKni7uuLbo06UK1a9y/itL5nKQosHwbyx5N7TfXXQt8oQl0oXAliIvw2sdmA==}
+ resolution: {integrity: sha512-8N1WWt1KuMntWvB+i9ShwXFMU0tliJO7XinLJB+fihSl/ip+72UWAW3UCRttpiirKuIXJPpwqt6VCmlKbL8C4A==}
+ peerDependencies:
+ '@glint/template': ^1.0.0
+ peerDependenciesMeta:
+ '@glint/template':
+ optional: true
resolution: {integrity: sha512-jU1HtVHqlbzqRDMwS4lxggjIY7u/wr+lij4bEvyC1CpNd5YqHK7anK3ubmVZLiB19VrFO6tH2/iYUQ+drpSYuA==}
@@ -12595,10 +12600,12 @@ snapshots:
- '@babel/core'
- supports-color
dependencies:
'@embroider/addon-shim': 1.10.3
decorator-transforms: 2.3.2(@babel/[email protected])
+ optionalDependencies:
+ '@glint/template': 1.7.8
transitivePeerDependencies:
- '@babel/core'
- supports-color