diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..b7353733 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,35 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 00000000..99bb9a00 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,7 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. + +--- + + diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..066b2d92 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest an idea for this project + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..2e47e983 --- /dev/null +++ b/.snyk @@ -0,0 +1,11 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - grunt-contrib-watch > tiny-lr > body-parser > debug: + patched: '2022-08-19T22:46:10.760Z' + 'npm:ms:20170412': + - grunt-contrib-watch > tiny-lr > body-parser > debug > ms: + patched: '2022-08-19T22:46:10.760Z' diff --git a/package.json b/package.json index f016fa27..8789dc7c 100644 --- a/package.json +++ b/package.json @@ -20,18 +20,21 @@ "csslint": "./dist/cli.js" }, "scripts": { - "test": "grunt test" + "test": "grunt test", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "dependencies": { "clone": "~2.1.0", - "parserlib": "~1.1.1" + "parserlib": "~1.1.1", + "@snyk/protect": "latest" }, "devDependencies": { - "grunt": "~1.0.1", + "grunt": "~1.5.3", "grunt-contrib-clean": "~1.0.0", "grunt-contrib-concat": "~1.0.0", - "grunt-contrib-jshint": "~1.1.0", - "grunt-contrib-watch": "~1.0.0", + "grunt-contrib-jshint": "~3.1.0", + "grunt-contrib-watch": "~1.1.0", "grunt-include-replace": "~5.0.0", "load-grunt-tasks": "~3.5.0", "time-grunt": "~1.4.0", @@ -46,5 +49,6 @@ "dist/csslint.js", "CHANGELOG", "LICENSE" - ] + ], + "snyk": true }