ember-api-docs
ember-api-docs copied to clipboard
Missing @ember/debug assert definition
📙 Describe the Issue
For versions v5.12 or later, the assert sub-page is missing.
🔬 Minimal Reproduction
Compare
- https://api.emberjs.com/ember/5.12/modules/@ember%2Fdebug
- https://api.emberjs.com/ember/5.11/modules/@ember%2Fdebug
😕 Actual Behavior
The assert sub-page is missing from @ember/debug
🤔 Expected Behavior
The assert sub-page is to be present under @ember/debug when viewing v5.12 and later
➕ Additional Context
Based on https://github.com/emberjs/ember.js/blob/main/packages/%40ember/debug/index.ts#L304 I believe this is just an oversight in the documentation and assert() is still publicly exported in ≥v5.12
It could be related to the refactoring done by https://github.com/emberjs/ember.js/commit/434fda03dced052639ba06c7411d8c94c4e3df31
Happy to take this on, if this is actually a bug