Roadmap: MORE Node.js Content and Resources Updates and Fixes for Nearly Half the Roadmap (#6022)

Corrected type tags and links, formatted content text, added new links.
pull/6026/head
Abdallah Gaber 5 months ago committed by GitHub
parent fac090c803
commit 3cf0a7ca8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      src/data/roadmaps/backend/content/javascript@8-lO-v6jCYYoklEJXULxN.md
  2. 2
      src/data/roadmaps/nodejs/content/102-nodejs-npm/100-npx.md
  3. 2
      src/data/roadmaps/nodejs/content/102-nodejs-npm/104-running-scripts.md
  4. 2
      src/data/roadmaps/nodejs/content/102-nodejs-npm/105-npm-workspaces.md
  5. 2
      src/data/roadmaps/nodejs/content/103-nodejs-error-handling/101-using-debugger.md
  6. 2
      src/data/roadmaps/nodejs/content/103-nodejs-error-handling/102-uncaught-exceptions.md
  7. 1
      src/data/roadmaps/nodejs/content/104-nodejs-async-programming/100-event-loop.md
  8. 2
      src/data/roadmaps/nodejs/content/104-nodejs-async-programming/102-promises.md
  9. 2
      src/data/roadmaps/nodejs/content/104-nodejs-async-programming/103-async-await.md
  10. 4
      src/data/roadmaps/nodejs/content/105-nodejs-working-with-files/101-path-module.md
  11. 2
      src/data/roadmaps/react-native/content/111-security/index.md

@ -12,6 +12,7 @@ Visit the following resources to learn more:
- [@article@Eloquent Javascript - Book](https://eloquentjavascript.net/) - [@article@Eloquent Javascript - Book](https://eloquentjavascript.net/)
- [@opensource@You Dont Know JS Yet (book series) ](https://github.com/getify/You-Dont-Know-JS) - [@opensource@You Dont Know JS Yet (book series) ](https://github.com/getify/You-Dont-Know-JS)
- [@video@JavaScript Crash Course for Beginners](https://youtu.be/hdI2bqOjy3c) - [@video@JavaScript Crash Course for Beginners](https://youtu.be/hdI2bqOjy3c)
- [@roadmap@Visit Dedicated Node.js Roadmap](/nodejs)
- [@video@Node.js Crash Course](https://www.youtube.com/watch?v=fBNz5xF-Kx4) - [@video@Node.js Crash Course](https://www.youtube.com/watch?v=fBNz5xF-Kx4)
- [@video@Node.js Tutorial for Beginners](https://www.youtube.com/watch?v=TlB_eWDSMt4) - [@video@Node.js Tutorial for Beginners](https://www.youtube.com/watch?v=TlB_eWDSMt4)
- [@official@Official JavaScript Documentation](https://www.javascript.com/) - [@official@Official JavaScript Documentation](https://www.javascript.com/)

@ -6,4 +6,4 @@ Visit the following resources to learn more:
- [@article@Introduction to the npx Node.js Package Runner](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) - [@article@Introduction to the npx Node.js Package Runner](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b)
- [@article@npm vs npx — What’s the Difference?](https://www.freecodecamp.org/news/npm-vs-npx-whats-the-difference/) - [@article@npm vs npx — What’s the Difference?](https://www.freecodecamp.org/news/npm-vs-npx-whats-the-difference/)
- [@official@Official Documentation](https://docs.npmjs.com/cli/v7/commands/npx/) - [@official@Official Documentation](https://docs.npmjs.com/cli/commands/npx/)

@ -5,4 +5,4 @@ In Node.js, npm scripts are used for the purpose of initiating a server, startin
Visit the following resources to learn more: Visit the following resources to learn more:
- [@article@Example of Running Scripts](https://riptutorial.com/node-js/example/4592/running-scripts) - [@article@Example of Running Scripts](https://riptutorial.com/node-js/example/4592/running-scripts)
- [@official@Running Scripts](https://docs.npmjs.com/downloading-and-installing-packages-locally) - [@official@Running Scripts](https://docs.npmjs.com/cli/using-npm/scripts)

@ -4,6 +4,6 @@ Workspace is a generic term that refers to the set of npm CLI features that supp
Visit the following resources to learn more: Visit the following resources to learn more:
- [@article@npm workspaces](https://docs.npmjs.com/cli/v8/using-npm/workspaces) - [@official@npm workspaces](https://docs.npmjs.com/cli/using-npm/workspaces)
- [@article@Getting Started with Npm Workspaces ](https://ruanmartinelli.com/posts/npm-7-workspaces-1) - [@article@Getting Started with Npm Workspaces ](https://ruanmartinelli.com/posts/npm-7-workspaces-1)
- [@feed@Explore top posts about NPM](https://app.daily.dev/tags/npm?ref=roadmapsh) - [@feed@Explore top posts about NPM](https://app.daily.dev/tags/npm?ref=roadmapsh)

@ -2,7 +2,7 @@
Node.js includes a command-line debugging utility. The Node.js debugger client is not a full-featured debugger, but simple stepping and inspection are possible. To use it, start Node.js with the inspect argument followed by the path to the script to debug. Node.js includes a command-line debugging utility. The Node.js debugger client is not a full-featured debugger, but simple stepping and inspection are possible. To use it, start Node.js with the inspect argument followed by the path to the script to debug.
Example - $ node inspect myscript.js Example - `$ node inspect myscript.js`
Visit the following resources to learn more: Visit the following resources to learn more:

@ -6,6 +6,6 @@ The correct use of `uncaughtException` is to perform synchronous cleanup of allo
Visit the following resources to learn more: Visit the following resources to learn more:
- [@official@Official Website](https://nodejs.org/api/process.html#event-uncaughtexception) - [@official@Uncaught Exception Error Events](https://nodejs.org/api/process.html#event-uncaughtexception)
- [@article@Let It Crash: Best Practices for Handling Node.js Errors on Shutdown](https://blog.heroku.com/best-practices-nodejs-errors) - [@article@Let It Crash: Best Practices for Handling Node.js Errors on Shutdown](https://blog.heroku.com/best-practices-nodejs-errors)
- [@article@Uncaught Exceptions in Node.js](https://shapeshed.com/uncaught-exceptions-in-node/) - [@article@Uncaught Exceptions in Node.js](https://shapeshed.com/uncaught-exceptions-in-node/)

@ -9,3 +9,4 @@ Visit the following resources to learn more:
- [@course@The Node.js Event Loop](https://www.coursera.org/lecture/secure-full-stack-mean-developer/the-node-js-event-loop-j5fbT) - [@course@The Node.js Event Loop](https://www.coursera.org/lecture/secure-full-stack-mean-developer/the-node-js-event-loop-j5fbT)
- [@official@The NodeJS Event loop](https://nodejs.org/en/guides/event-loop-timers-and-nexttick) - [@official@The NodeJS Event loop](https://nodejs.org/en/guides/event-loop-timers-and-nexttick)
- [@official@Don't Block the Event Loop](https://nodejs.org/en/guides/dont-block-the-event-loop) - [@official@Don't Block the Event Loop](https://nodejs.org/en/guides/dont-block-the-event-loop)
- [@article@Event Loop in Node.js - Mixu's Node book](https://book.mixu.net/node/ch2.html#the-event-loop-understanding-how-node-executes-javascript-code)

@ -12,6 +12,6 @@ Using resolve() and reject(), we can communicate back to the caller what the res
Visit the following resources to learn more: Visit the following resources to learn more:
- [@article@Promise Methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) - [@article@Promise Methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)
- [@article@Official Website](https://www.promisejs.org/) - [@official@Promises](https://www.promisejs.org/)
- [@article@JavaScript Promises for Beginners](https://www.freecodecamp.org/news/javascript-promises-for-beginners/) - [@article@JavaScript Promises for Beginners](https://www.freecodecamp.org/news/javascript-promises-for-beginners/)
- [@video@Asynchronous JavaScript - Promises](https://www.youtube.com/watch?v=a_8nrslImo4/) - [@video@Asynchronous JavaScript - Promises](https://www.youtube.com/watch?v=a_8nrslImo4/)

@ -4,7 +4,7 @@ Async/Await is a special syntax to work with promises in a more comfortable fash
Visit the following resources to learn more: Visit the following resources to learn more:
- [@article@Official Documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) - [@official@Async/Await Documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function)
- [@article@More on async await](https://javascript.info/async-await) - [@article@More on async await](https://javascript.info/async-await)
- [@video@Using async await](https://www.youtube.com/watch?v=V_Kr9OSfDeU) - [@video@Using async await](https://www.youtube.com/watch?v=V_Kr9OSfDeU)
- [@article@W3Docs Async/Await](https://www.w3docs.com/learn-javascript/async-await.html) - [@article@W3Docs Async/Await](https://www.w3docs.com/learn-javascript/async-await.html)

@ -4,6 +4,6 @@ The `path` module provides utilities for working with file and directory paths.
Visit the following resources to learn more: Visit the following resources to learn more:
- [@official@Official Website](https://nodejs.org/api/path.html) - [@official@Path Documentations](https://nodejs.org/api/path.html)
- [@official@Official Website](https://nodejs.org/en/learn/manipulating-files/nodejs-file-paths) - [@official@Learn Node.js File Paths](https://nodejs.org/en/learn/manipulating-files/nodejs-file-paths)
- [@video@Path Module in Node.js](https://youtu.be/j95Lwxvi9JY) - [@video@Path Module in Node.js](https://youtu.be/j95Lwxvi9JY)

@ -71,7 +71,7 @@ loginSchema.validate({email: 'user@example.com', password: 'password'});
``` ```
## 5. Keep Dependencies Up to Date ## 5. Keep Dependencies Up to Date
Regularly update your dependencies to ensure they don't contain known security vulnerabilities. Use tools like [npm audit](https://docs.npmjs.com/cli/v7/commands/npm-audit) and [dependabot](https://github.com/dependabot/dependabot-core) to automatically audit and update your dependencies. Regularly update your dependencies to ensure they don't contain known security vulnerabilities. Use tools like [npm audit](https://docs.npmjs.com/cli/commands/npm-audit) and [dependabot](https://github.com/dependabot/dependabot-core) to automatically audit and update your dependencies.
### Example: ### Example:
Using npm, you can update your dependencies and check for potential vulnerabilities: Using npm, you can update your dependencies and check for potential vulnerabilities:

Loading…
Cancel
Save