discourse/app/assets/javascripts/discourse/config/deprecation-workflow.js

23 lines
719 B
JavaScript

globalThis.deprecationWorkflow = globalThis.deprecationWorkflow || {};
globalThis.deprecationWorkflow.config = {
// We're using RAISE_ON_DEPRECATION in environment.js instead of
// `throwOnUnhandled` here since it is easier to toggle.
workflow: [
{
handler: "silence",
matchId: "ember-this-fallback.this-property-fallback",
},
{ handler: "silence", matchId: "discourse.select-kit" },
{ handler: "silence", matchId: "discourse.d-section" },
{
handler: "silence",
matchId: "discourse.decorate-widget.hamburger-widget-links",
},
{
// From: Ember 5.3. Until: Ember 6.0
handler: "silence",
matchId: "deprecate-implicit-route-model",
},
],
};