Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge next into master #223

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
test:
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0
with:
lint: true
license-check: true
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Clinic
.clinic

# Runtime data
pids
*.pid
Expand Down Expand Up @@ -135,18 +138,15 @@ dist
# macOS files
.DS_Store

# Clinic
.clinic

# lock files
bun.lockb
package-lock.json
pnpm-lock.yaml
yarn.lock
bun.lockb

# editor files
.vscode
.idea

#tap files
# tap files
.tap/
3 changes: 3 additions & 0 deletions .taprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
disable-coverage: true
files:
- test/**/*.test.js
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,34 @@
"scripts": {
"lint": "eslint .",
"test": "npm run test:unit && npm run test:typescript",
"test:unit": "tap -J -R specy --no-coverage test/*test.js",
"test:unit": "tap",
"test:typescript": "tsd",
"performance": "npm run lint && node performanceTest/test",
"preversion": "npm run test && git push",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@fastify/multipart": "8.3.0",
"@fastify/multipart": "^9.0.0-pre.fv5.1",
"@fastify/pre-commit": "^2.1.0",
"@h4ad/serverless-adapter": "4.2.1",
"@types/aws-lambda": "8.10.141",
"aws-serverless-express": "^3.4.0",
"aws-serverless-fastify": "^3.0.6",
"benchmark": "^2.1.4",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"fastify": "^4.26.0",
"fastify": "^5.0.0-alpha.3",
"serverless-http": "^3.2.0",
"tap": "^16.3.9",
"tap": "18.7.1",
"tsd": "^0.31.0"
},
"overrides": {
"aws-serverless-fastify": {
"fastify": "^4.26.0"
"fastify": "^5.0.0-alpha.3"
}
},
"publishConfig": {
Expand Down
1 change: 0 additions & 1 deletion test/multipart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ test('should parse the multipart form-data successfully given utf8 encoded form

app.register(multipart, { attachFieldsToBody: true })
app.post('/test', async (request, reply) => {
console.log(request.body)
t.equal(request.body.html.fieldname, 'html')
t.equal(request.body.html.encoding, '7bit')
t.equal(request.body.html.mimetype, 'text/plain')
Expand Down
Loading