Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation: registerPlugin is deprecated #466

Open
IgnaceMaes opened this issue Feb 9, 2022 · 0 comments
Open

Deprecation: registerPlugin is deprecated #466

IgnaceMaes opened this issue Feb 9, 2022 · 0 comments

Comments

@IgnaceMaes
Copy link

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 (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:1984:21)
        at HANDLERS.<computed> (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:2117:9)
        at raiseOnDeprecation (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:2011:9)
        at HANDLERS.<computed> (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:2117:9)
        at invoke (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:2129:9)
        at deprecate (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:2085:28)
        at Object.registerPlugin (<redacted>/node_modules/ember-source/dist/ember-template-compiler.js:20535:47)
        at registerPlugins (<redacted>/node_modules/ember-sortable/node_modules/ember-cli-htmlbars/lib/utils.js:142:26)
        at Object.setup (<redacted>/node_modules/ember-sortable/node_modules/ember-cli-htmlbars/lib/utils.js:201:3)

https://deprecations.emberjs.com/v3.x/#toc_template-compiler-registerPlugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant