I'm seeing these deprecation warnings while in an app on Ember 3.28 using ember-cli-notifications:
import { deprecate } from '@ember/application/deprecations';has been deprecated, please update toimport { deprecate } from '@ember/debug';` [deprecation id: old-deprecate-method-paths]
deprecate.js:117 DEPRECATION: When calling deprecate you must provide for in options. Missing options.for in "ember-on-modifier.prevent-default" deprecation [deprecation id: ember-source.deprecation-without-for]
deprecate.js:117 DEPRECATION: When calling deprecate you must provide since in options. Missing options.since in "ember-on-modifier.prevent-default" deprecation [deprecation id: ember-source.deprecation-without-since]
DEPRECATION: (prevent-default) has been moved to ember-event-helpers. [deprecation id: ember-on-modifier.prevent-default] See https://github.com/buschtoens/ember-event-helpers for more details.
npm ls ember-on-modifier shows these warnings are linked to ember-cli-notifications:
└─┬ ember-cli-notifications@8.0.0
└── ember-on-modifier@1.0.1
If I remove ember-cli-notifications from the app, these warnings go away. If I update Ember to 4.0, these are breaking failures.
Thanks for your time, any fixes would be much appreciated
I'm seeing these deprecation warnings while in an app on Ember 3.28 using ember-cli-notifications:
import { deprecate } from '@ember/application/deprecations';
has been deprecated, please update toimport { deprecate } from '@ember/debug';` [deprecation id: old-deprecate-method-paths]deprecate.js:117 DEPRECATION: When calling
deprecateyou must provideforin options. Missing options.for in "ember-on-modifier.prevent-default" deprecation [deprecation id: ember-source.deprecation-without-for]deprecate.js:117 DEPRECATION: When calling
deprecateyou must providesincein options. Missing options.since in "ember-on-modifier.prevent-default" deprecation [deprecation id: ember-source.deprecation-without-since]DEPRECATION:
(prevent-default)has been moved toember-event-helpers. [deprecation id: ember-on-modifier.prevent-default] See https://github.com/buschtoens/ember-event-helpers for more details.npm ls ember-on-modifiershows these warnings are linked to ember-cli-notifications:└─┬ ember-cli-notifications@8.0.0
└── ember-on-modifier@1.0.1
If I remove ember-cli-notifications from the app, these warnings go away. If I update Ember to 4.0, these are breaking failures.
Thanks for your time, any fixes would be much appreciated