Provides build-time flags and version helpers for Ember addon authors to write backwards/forward compatible code. Current stable version: 1.2.7. Release cadence: infrequent, primarily maintenance. Key differentiators: zero-cost via Babel transform and dead code elimination; runtime has no overhead as flags are replaced with booleans at build time.
npm install ember-compatibility-helpersNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows usage of SUPPORTS_NEW_COMPUTED flag to conditionally use new computed syntax vs old getter/setter pattern.
Use exact versions: gte('3.13.0') instead of gte('3.13').Ensure flags are used in statically analyzable conditional blocks.
Consider using @ember/optional-features or checking ember-source version in package.json.
Update Ember to a supported LTS version or use a fork.
Use // @ts-ignore or create a declaration file: declare module 'ember-compatibility-helpers';
Run 'ember install ember-compatibility-helpers' to add it to devDependencies.
No dependency data recorded yet.