adopted-ember-addons / adopted-ember-addons/ember-sortable
Deprecation: registerPlugin is deprecated
- Vorherrschende Sprache
- TypeScript
- Sterne
- 299
- Forks
- 159
- Ø Merge
- 4 T. 6 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Hello 👋
In an Ember 3.28 app running using `ember-sortable` v3.0.0 I'm getting the following deprecation warning during the build. I didn't see an issue for it yet on this repository but let me know if this is tracked somewhere else!
```
[Babel: ember-sortable > applyPatches]DEPRECATION: registerPlugin is deprecated, please pass plugins directly via `compile` and/or `precompile`. [deprecation id: template-compiler.registerPlugin]
at logDeprecationStackTrace (/node_modules/ember-source/dist/ember-template-compiler.js:1984:21)
at HANDLERS. (/node_modules/ember-source/dist/ember-template-compiler.js:2117:9)
at raiseOnDeprecation (/node_modules/ember-source/dist/ember-template-compiler.js:2011:9)
at HANDLERS. (/node_modules/ember-source/dist/ember-template-compiler.js:2117:9)
at invoke (/node_modules/ember-source/dist/ember-template-compiler.js:2129:9)
at deprecate (/node_modules/ember-source/dist/ember-template-compiler.js:2085:28)
at Object.registerPlugin (/node_modules/ember-source/dist/ember-template-compiler.js:20535:47)
at registerPlugins (/node_modules/ember-sortable/node_modules/ember-cli-htmlbars/lib/utils.js:142:26)
at Object.setup (/node_modules/ember-sortable/node_modules/ember-cli-htmlbars/lib/utils.js:201:3)
```
https://deprecations.emberjs.com/v3.x/#toc_template-compiler-registerPlugin
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.