mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Backport of #42346 to release/2026.7. --- We were only setting up the listener during the service initialization, which meant that we missed any deprecations which were thrown before that (e.g. hbs-extension). This commit adds a new `registerUniversalDeprecationHandler` API which supports replaying any deprecations which fired before the handler is registered. Similar pattern to browser APIs like `PerformanceObserver.observe(..., {buffered: true})` Co-authored-by: David Taylor <david@taylorhq.com> |
||
|---|---|---|
| .. | ||
| asset-processor | ||
| deprecation-silencer | ||
| discourse | ||
| discourse-i18n | ||
| discourse-markdown-it | ||
| discourse-types | ||
| pretty-text | ||
| .npmrc | ||
| polyfills.js | ||