Upgrade ember-cli-babel & ember-runtime-enumerable-includes-polyfill to remove deprecation warning
See original GitHub issueThe current release (1.0.0) triggers an annoying deprecation warning with recent versions of Ember, which would be fixed by upgrading to the latest releases of ember-cli-babel
(6.11.x) and ember-runtime-enumerable-includes-polyfill
(2.1.0). Please consider updating these.
├─┬ ember-localstorage-adapter@1.0.0
│ ├─┬ ember-cli-babel@5.2.4
│ │ └── ember-cli-version-checker@1.3.1
│ └─┬ ember-runtime-enumerable-includes-polyfill@1.0.4
│ └── ember-cli-version-checker@1.3.1
The deprecation warning looks like this and is described here:
DEPRECATION: An addon is trying to access project.nodeModulesPath. This is not a reliable way to discover npm modules. Instead, consider doing: require("resolve").sync(something, { basedir: project.root }). Accessed from: new NPMDependencyVersionChecker (/path/to/project/node_modules/ember-getowner-polyfill/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:33)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Deprecation warning when running ember 2.18.0 #48 - GitHub
Upgrade ember-cli-babel & ember-runtime-enumerable-includes-polyfill to remove deprecation warning locks/ember-localstorage-adapter#221.
Read more >How to ignore deprecation warnings in Python - Stack Overflow
You should just fix your code but just in case, import warnings warnings.filterwarnings("ignore", category=DeprecationWarning).
Read more >The Complete Guide for Deprecation Warnings in Rails
In this guide we'll show you what the workflow is that we use at FastRuby.io to address deprecation warnings when we upgrade Rails ......
Read more >Handling Deprecations - Configuration - Ember Guides
When you upgrade, be sure you remove the deprecations you've fixed from the deprecation workflow file, so that you can start the process...
Read more >Enhanced Deprecation - Java - Oracle Help Center
The Java compiler generates warnings about deprecated APIs. There are options to generate more information about warnings, and you can also suppress deprecation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the discussion everyone, I’ll look into it soon!
@locks, any chance you’ll have time to look at this again soon? With the latest ember-cli release (I’m using
3.1.3
) there seem to now be louder warnings, e.g.: