diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..1768c06866 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '[Bug]: ' +labels: 'bug' +assignees: '' + +--- + +**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. Windows 10, macOS Big Sur] + - 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 0000000000..2857723103 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,16 @@ +--- +name: Other issue +about: Use this for issues that don't fit other categories +title: '' +labels: '' +assignees: '' + +--- + +**Summary** + +A clear and concise description of the issue. + +**Additional context** + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..5c8a425afa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '[Feature]: ' +labels: 'enhancement' +assignees: '' + +--- + +**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/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000000..034e848032 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/examples/webhook-signing/koa/package.json b/examples/webhook-signing/koa/package.json index b0da7281e6..500f87cc15 100644 --- a/examples/webhook-signing/koa/package.json +++ b/examples/webhook-signing/koa/package.json @@ -10,9 +10,9 @@ "author": "", "license": "ISC", "dependencies": { - "dotenv": "^8.2.0", + "dotenv": "^16.4.7", "koa": "^2.14.1", - "stripe": "^11.9.1", + "stripe": "^17.5.0", "koa-bodyparser": "^4.3.0" }, "devDependencies": { diff --git a/examples/webhook-signing/nextjs/package.json b/examples/webhook-signing/nextjs/package.json index dc42ce7396..a371407867 100644 --- a/examples/webhook-signing/nextjs/package.json +++ b/examples/webhook-signing/nextjs/package.json @@ -13,7 +13,7 @@ "license": "ISC", "dependencies": { "dotenv": "^8.2.0", - "next": "^13.1.6", + "next": "^14.2.4-canary.17", "react": "^18.2.0", "react-dom": "^18.2.0", "stripe": "^11.9.1" diff --git a/package.json b/package.json index 4e87986b38..317ef12702 100644 --- a/package.json +++ b/package.json @@ -35,12 +35,12 @@ "@typescript-eslint/parser": "^4.33.0", "chai": "^4.3.6", "chai-as-promised": "~7.1.1", - "eslint": "^7.32.0", + "eslint": "^9.0.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^3.4.1", - "mocha": "^8.4.0", + "mocha": "^11.0.1", "mocha-junit-reporter": "^2.1.0", "nock": "^13.2.9", "node-fetch": "^2.6.7",