From 97f03cd341c1c53c9d03cc75a59f0ed3b205fefa Mon Sep 17 00:00:00 2001 From: Matei Copot Date: Wed, 10 Oct 2018 09:38:04 +0100 Subject: [PATCH 1/6] added required node version for getting-started --- getting-started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/getting-started.md b/getting-started.md index 5ba18d6..d657cd5 100644 --- a/getting-started.md +++ b/getting-started.md @@ -2,6 +2,8 @@ Let's start with the basics. 1. Install Node.js: https://nodejs.org. +> :bulb: This code will need at least version 5.0.0, but we encourage you to run at least version 10.0.0. If you already had node installed, make sure the version is appropriate by running `node -v` + > :bulb: When you install Node.js, you'll want to ensure your `PATH` variable is set to your install path so you can call Node from anywhere. 2. Create a new directory named `hello-world`, add a new `app.js` file: From 20c368bff3dd820be4d0fb9228d4bd1918465886 Mon Sep 17 00:00:00 2001 From: Matei Copot Date: Wed, 10 Oct 2018 12:52:35 +0100 Subject: [PATCH 2/6] added nodejs.org link to resources --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1ce9622..c66174b 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Note that this is not intended to be a comprehensive set of recommendations. Rat ## General Node.js tips, tricks, resources, and more! +* [Nodejs.org](https://nodejs.org): Official Node.js website * [**Awesome node.js**](https://github.com/sindresorhus/awesome-nodejs): List of node packages and resources. * [**Javascript ES6 Features**](https://github.com/lukehoban/es6features): Comprehensive reference for new ECMAScript 6 features and changes. * [**Anything you want!**](CONTRIBUTING.md) From a896002994763c40f0895270bdc0b741904707f8 Mon Sep 17 00:00:00 2001 From: Nikunj Dhingra <35530096+Nikunj2102@users.noreply.github.com> Date: Mon, 15 Oct 2018 14:35:44 +0530 Subject: [PATCH 3/6] Update getting-started.md --- getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getting-started.md b/getting-started.md index d657cd5..40f9454 100644 --- a/getting-started.md +++ b/getting-started.md @@ -92,7 +92,7 @@ Once you start installing npm packages, you'll need a way to keep track of all o ``` 2. Npm will prompt you to fill in the details about your package. -3. In the `package.json` file, there is a "dependencies" section, and within it, an entry for `"express"`. A value of `"*"` would mean that the latest version should be used. To add this entry automatically when you install a package, you can add a `--save` flag: `npm install express --save`. +3. In the `package.json` file, there is a "dependencies" section, and within it, an entry for `"express"`. A value of `"*"` would mean that the latest version should be used. To add this entry automatically when you install a package, you can add a `--save` flag: `npm install express --save`.To save this as a dev dependency, use `npm install express --save-dev`. > :bulb: If you only require a dependency as part of a development environment, then you could/should install the package in the "[devDependencies](http://stackoverflow.com/questions/19223051/grunt-js-what-does-save-dev-mean-in-npm-install-grunt-save-dev)". This is accomplished by using the `--save-dev` parameter. For example: `npm install --save-dev mocha`. 4. Now that your packages are listed in `package.json`, npm will always know which dependencies are required for your app. If you ever need to restore your packages, you can run `npm install` from your package directory. @@ -119,7 +119,7 @@ We went through locally installed packages above, and installing packages global > :bulb: The module will be installed to the path indicated by `npm bin -g`. -2. Run `http-server .` to start a basic fileserver from any directory. +2. Run `http-server .` to start a basic fileserver from any directory. On running this command , the server starts and runs on the localhost. > :bulb: In fact the only difference when using -g is that executables are placed in a folder that is on the path. If you install without the -g option you can still access those executables in `.\node_modules\.bin`. This folder is automatically added to the path when any scripts defined in `package.json` are run. Doing this will help avoid version clashes when a project uses skrinkwrap or otherwise specifies the version of a module different to other projects. It also avoids the need for manual install instructions for some dependencies so a single "npm install" will do. From a996c2f24c75ba4bf705d39a438709025331f690 Mon Sep 17 00:00:00 2001 From: Auri Date: Tue, 16 Oct 2018 18:43:19 +0300 Subject: [PATCH 4/6] add nodeschool.io to resources --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c66174b..03ee79d 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ Note that this is not intended to be a comprehensive set of recommendations. Rat * [Nodejs.org](https://nodejs.org): Official Node.js website * [**Awesome node.js**](https://github.com/sindresorhus/awesome-nodejs): List of node packages and resources. * [**Javascript ES6 Features**](https://github.com/lukehoban/es6features): Comprehensive reference for new ECMAScript 6 features and changes. +* [**nodeschool.io**](https://nodeschool.io/): Node.js community events, tutorials and meetups * [**Anything you want!**](CONTRIBUTING.md) From dd5074c4a3896a3a0d5cbcef719fcf574f9882de Mon Sep 17 00:00:00 2001 From: Impact Date: Sat, 15 Aug 2020 00:51:34 +0200 Subject: [PATCH 5/6] Use language independed link for VS 2017 Community The download link for `Visual Studio 2017 Community` used the polish language --- windows-environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows-environment.md b/windows-environment.md index 8e8ba8a..cca8509 100644 --- a/windows-environment.md +++ b/windows-environment.md @@ -78,7 +78,7 @@ How do you know if an npm package you want to install is a native module? Look f * Option 1: Install all the required tools and configurations using Microsoft's [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) by running `npm install -g windows-build-tools` from an elevated PowerShell (run as Administrator). * Option 2: Install dependencies and configuration manually - 1. Install Visual C++ Build Environment: [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools) (using "Visual C++ build tools" workload) or [Visual Studio 2017 Community](https://visualstudio.microsoft.com/pl/thank-you-downloading-visual-studio/?sku=Community) (using the "Desktop development with C++" workload) + 1. Install Visual C++ Build Environment: [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools) (using "Visual C++ build tools" workload) or [Visual Studio 2017 Community](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community) (using the "Desktop development with C++" workload) 2. Install [Python 2.7](https://www.python.org/downloads/) (`v3.x.x` is not supported), and run `npm config set python python2.7` 3. Launch cmd, `npm config set msvs_version 2017` From ab9bd3289a301e15682db20b562cfbe0a28c8384 Mon Sep 17 00:00:00 2001 From: "microsoft-github-policy-service[bot]" <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 15:20:41 +0000 Subject: [PATCH 6/6] Microsoft mandatory file --- SECURITY.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..e138ec5 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,41 @@ + + +## Security + +Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). + +If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below. + +## Reporting Security Issues + +**Please do not report security vulnerabilities through public GitHub issues.** + +Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report). + +If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey). + +You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc). + +Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: + + * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) + * Full paths of source file(s) related to the manifestation of the issue + * The location of the affected source code (tag/branch/commit or direct URL) + * Any special configuration required to reproduce the issue + * Step-by-step instructions to reproduce the issue + * Proof-of-concept or exploit code (if possible) + * Impact of the issue, including how an attacker might exploit the issue + +This information will help us triage your report more quickly. + +If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs. + +## Preferred Languages + +We prefer all communications to be in English. + +## Policy + +Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd). + +