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

vulnerabilities and other warnings in dependencies #42

Open
markusschaber opened this issue Mar 11, 2022 · 2 comments
Open

vulnerabilities and other warnings in dependencies #42

markusschaber opened this issue Mar 11, 2022 · 2 comments

Comments

@markusschaber
Copy link

The vulnerabilities and other dependency warnings should be fixed by upgrading the dependencies:

$ npm install
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated document-register-element@1.8.1: V0 is gone and the best V1 polyfill is now @ungap/custom-elements
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see palantir/tslint#4534 for more information.
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.

added 1180 packages, and audited 1181 packages in 35s

92 packages are looking for funding
run npm fund for details

11 vulnerabilities (9 moderate, 2 high)

To address all issues, run:
npm audit fix

Run npm audit for details.

@markusschaber
Copy link
Author

markusschaber commented Mar 11, 2022

I just noticed the app.component.html generated using "ng new" also looks completely different compared to the one shown in the course, starting with tons of css...

Also, when changing the property from "title" to "courseTitle", as exercised in the video "Introduction to Angular - Custom HTML Elements, Model vs View", I don't get an empty title, but an ERROR message. This gives me the impression that the course is severely outdated. :-(

@donaldharrington
Copy link

I have same issue Please share the correct way.

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

2 participants