@lionrapid/core 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2911,6 +2911,7 @@ var LionRapidCore = class {
2911
2911
  // 🔥 EMBEDDED: Core integration maps
2912
2912
  __publicField(this, "formatters", /* @__PURE__ */ new Map());
2913
2913
  __publicField(this, "processors", /* @__PURE__ */ new Map());
2914
+ __publicField(this, "warnedNoInterpolate", false);
2914
2915
  // 📡 EVENT-DRIVEN: Just track for cleanup
2915
2916
  __publicField(this, "eventPlugins", /* @__PURE__ */ new Set());
2916
2917
  // 📦 CONTENT: Parser and serializer for ContentUnit processing
@@ -3203,6 +3204,11 @@ var LionRapidCore = class {
3203
3204
  resolvedLocale,
3204
3205
  resolvedKey
3205
3206
  );
3207
+ } else if (!this.warnedNoInterpolate && params && Object.keys(params).length > 0 && processedValue.includes("{")) {
3208
+ this.warnedNoInterpolate = true;
3209
+ console.warn(
3210
+ "[LionRapid] Translation params were passed but no interpolate formatter is registered \u2014 {placeholders} render literally. Install @lionrapid/formatters and add .use(coreFormattersPlugin) to the builder."
3211
+ );
3206
3212
  }
3207
3213
  if (this.processors.size > 0) {
3208
3214
  for (const [name, processor] of this.processors.entries()) {