Skip to content

Commit 35f0018

Browse files
committed
Create SECURITY.md
Closes #1961.
1 parent b3ffb16 commit 35f0018

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# How to Contribute
22

3-
## Reporting security issues
3+
## Reporting Security Issues
44

5-
Please don't open issues for security issues. Instead, file a report at https://www.npmjs.com/advisories/report?package=handlebars
5+
Please refer to our [Security Policy](https://github.com/handlebars-lang/handlebars.js/blob/master/SECURITY.md).
66

77
## Reporting Issues
88

9-
Please see our [FAQ](https://github.com/handlebars-lang/handlebars.js/blob/master/FAQ.md) for common issues that people run into.
9+
Please refer to our [FAQ](https://github.com/handlebars-lang/handlebars.js/blob/master/FAQ.md) for common issues that people run into.
1010

1111
Should you run into other issues with the project, please don't hesitate to let us know by filing an [issue][issue]!
1212

13-
In general we are going to ask for an **example** of the problem failing, which can be as simple as a jsfiddle/jsbin/etc. We've put together a jsfiddle **[template][jsfiddle]** to ease this. (We will keep this link up to date as new releases occur, so feel free to check back here).
13+
In general, we are going to ask for an **example** of the problem failing, which can be as simple as a jsfiddle/jsbin/etc. We've put together a jsfiddle **[template][jsfiddle]** to ease this. (We will keep this link up to date as new releases occur, so feel free to check back here).
1414

1515
Pull requests containing only failing tests demonstrating the issue are welcomed and this also helps ensure that your issue won't regress in the future once it's fixed.
1616

@@ -94,7 +94,7 @@ You can use the following scripts to make sure that the CI job does not fail:
9494
- **npm run lint** will run `eslint` and fail on warnings
9595
- **npm run format** will run `prettier` on all files
9696
- **npm run check-before-pull-request** will perform all most checks that our CI job does in its build-job, excluding the "integration-test".
97-
- **npm run integration-test** will run integration tests (using old NodeJS versions and integrations with webpack, babel and so on)
97+
- **npm run test:integration** will run integration tests (using old NodeJS versions and integrations with webpack, babel and so on)
9898
These tests only work on a Linux-machine with `nvm` installed (for running tests in multiple versions of NodeJS).
9999

100100
## Releasing the latest version

SECURITY.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Security Policy
2+
3+
We recommend always using the latest versions of Handlebars and its official companion libraries to ensure your application remains as secure as possible.
4+
5+
## Supported Versions
6+
7+
| Version | Supported |
8+
|---------| ------------------ |
9+
| 5.0.x | :white_check_mark: |
10+
| 4.7.x | :white_check_mark: |
11+
| < 4.7 | :x: |
12+
13+
## Reporting a Vulnerability
14+
15+
To report a vulnerability, please visit https://github.com/handlebars-lang/handlebars.js/security.

0 commit comments

Comments
 (0)