r_ocran
September 8, 2021, 11:55pm
1
Tell us what’s happening:
Describe your issue in detail here.
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Challenge: Visualize Data with a Bar Chart
Link to the challenge:
https://www.freecodecamp.org/learn/data-visualization/data-visualization-projects/visualize-data-with-a-bar-chart
Hello All,
I am experiencing a challenge on my test, not sure how to resolve the console output as attached. Its having a major impact on my project work . Your advice will be helpful.
Regards,
Rudolf
this usually don’t matter much, here are some people in similar spots.
opened 11:16AM - 21 Mar 18 UTC
closed 06:28AM - 12 Jun 18 UTC
<!--
BUGS: Please use this template.
SUPPORT REQUESTS/QUESTIONS: If you have… a support request or question please
submit them to StackOverflow using the tags aurelia and aurelia-framework
http://stackoverflow.com/questions/tagged/aurelia
or the Aurelia Gitter https://gitter.im/aurelia/discuss
Blue Spire offers paid support agreements. Further information regarding paid support
may be obtained by emailing support@bluespire.com
Future support requests submitted here will be closed.
The HTML comments below are for your reference, and are not displayed
when your issue is submitted, feel free to leave them.
Choose one of the two headings, delete the other.
-->
**I'm submitting a bug report**
* **Library Version:**
1.0.3
**Please tell us about your environment:**
* **Operating System:**
Linux F27
* **Node Version:**
8.9.4
<!--
Minimum supported Node version is latest Node 4.x LTS
run `node -v`
-->
* **NPM Version:**
5.6.0
<!--
Minimum supported NPM version is 3.x
run `npm -v`
-->
* **JSPM OR Webpack AND Version**
webpack 4
<!--
If using JSPM
run `jspm -v`
If using Webpack
run `webpack --help | grep webpack`
-->
* **Browser:**
Chrome Version 65.0.3325.146 (Official Build) (64-bit)
* **Language:**
TypeScript 2.7.2
**Current behavior:**
I just started using viewports in a few of my routing behaviours. The Chrome devtools console is giving me this warning:
```
aurelia-metadata.js?c04d:64 [Deprecation] 'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
(anonymous) @ aurelia-metadata.js?c04d:64
(anonymous) @ aurelia-loader-webpack.js?b873:144
WebpackLoader.__WEBPACK_IMPORTED_MODULE_2_aurelia_pal__.PLATFORM.eachModule @ aurelia-loader-webpack.js?b873:141
get @ aurelia-metadata.js?c04d:61
getViewStrategy @ aurelia-templating.js?f83c:690
process @ router-view.js?e967:113
_loop @ aurelia-router.js?ec12:291
_commitChanges @ aurelia-router.js?ec12:305
(anonymous) @ aurelia-router.js?ec12:293
Promise.then (async)
_loop @ aurelia-router.js?ec12:291
_commitChanges @ aurelia-router.js?ec12:305
(anonymous) @ aurelia-router.js?ec12:293
Promise.then (async)
_loop @ aurelia-router.js?ec12:291
_commitChanges @ aurelia-router.js?ec12:305
run @ aurelia-router.js?ec12:143
next @ aurelia-router.js?ec12:112
iterate @ aurelia-router.js?ec12:1302
inspect @ aurelia-router.js?ec12:1279
(anonymous) @ aurelia-router.js?ec12:1295
```
It is specifically complaining about [this line](https://github.com/aurelia/metadata/blob/1f4c3e4ea4540b3842ed0e9d987e20a42f02eff4/dist/commonjs/aurelia-metadata.js#L76)
![Console](https://i.imgur.com/BZ6GfwO.png)
**Expected/desired behavior:**
<!--
If the current behavior is a bug, please provide the steps to reproduce and, if possible, a minimal demo of the
problem along with a runnable gist, if possible.
To create a runnable gist, go to https://gist.run/?id=7542e061bc940cde506b&sha=6821c521a6c7bae6f59a36fb8628ecd1032b2d10
Then click "Fork to Public Gist".
Create your gist, then finally click "Update Gist." Include a link to the gist.run below.
-->
* **What is the expected behavior?**
The library should be updated to not use the deprecated functionality.
* **What is the motivation / use case for changing the behavior?**
Remove console deprecation warnings
In general unless when you look up the message and people are explicitly saying to use an updated function, the console message rarely matters.
system
Closed
March 10, 2022, 12:49pm
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.