Skip to content

Commit 84a7971

Browse files
authored
Merge pull request #1375 from middyjs/develop
6.3.2
2 parents 99e3c00 + 8ce12c1 commit 84a7971

File tree

47 files changed

+2377
-2883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2377
-2883
lines changed

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
persist-credentials: false
3939

4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
41+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
@@ -69,6 +69,6 @@ jobs:
6969
# Upload the results to GitHub's code scanning dashboard (optional).
7070
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7171
- name: "Upload to code-scanning"
72-
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
72+
uses: github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
7373
with:
7474
sarif_file: results.sarif

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
echo EOF
5757
} >> "$GITHUB_OUTPUT"
5858
- name: Build Attestations
59-
uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3.0
59+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
6060
with:
6161
subject-path: |
6262
**/*.tgz
@@ -90,7 +90,7 @@ jobs:
9090
name: ${{ needs.build.outputs.tag }}
9191
- name: Release
9292
# Replaces actions/create-release & actions/upload-release-asset (deprecated)
93-
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
93+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
9494
with:
9595
draft: true
9696
prerelease: ${{ needs.build.outputs.prerelease }}

.github/workflows/test-sast.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ jobs:
5757
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5858

5959
- name: Initialize CodeQL
60-
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
60+
uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
6161
with:
6262
languages: ${{ matrix.language }}
6363
queries: +security-and-quality
6464

6565
- name: Autobuild
66-
uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
66+
uses: github/codeql-action/autobuild@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
6767

6868
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
69+
uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
7070
with:
7171
category: "/language:${{ matrix.language }}"
7272

package-lock.json

Lines changed: 936 additions & 948 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@middy/monorepo",
3-
"version": "6.3.1",
3+
"version": "6.3.2",
44
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda",
55
"private": true,
66
"type": "module",

packages/appconfig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@middy/appconfig",
3-
"version": "6.3.1",
3+
"version": "6.3.2",
44
"description": "AppConfig middleware for the middy framework",
55
"type": "module",
66
"engines": {

packages/cloudformation-response/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@middy/cloudformation-response",
3-
"version": "6.3.1",
3+
"version": "6.3.2",
44
"description": "CloudFormation Custom Response event response handling for the middy framework",
55
"type": "module",
66
"engines": {
@@ -59,7 +59,7 @@
5959
"url": "https://github.com/sponsors/willfarrell"
6060
},
6161
"devDependencies": {
62-
"@middy/core": "6.3.1",
62+
"@middy/core": "6.3.2",
6363
"@types/aws-lambda": "^8.10.100"
6464
},
6565
"gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"

packages/cloudformation-router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@middy/cloudformation-router",
3-
"version": "6.3.1",
3+
"version": "6.3.2",
44
"description": "CloudFormation Custom Response event router for the middy framework",
55
"type": "module",
66
"engines": {
@@ -60,7 +60,7 @@
6060
"url": "https://github.com/sponsors/willfarrell"
6161
},
6262
"devDependencies": {
63-
"@middy/core": "6.3.1",
63+
"@middy/core": "6.3.2",
6464
"@types/aws-lambda": "^8.10.100"
6565
},
6666
"gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"

packages/cloudwatch-metrics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@middy/cloudwatch-metrics",
3-
"version": "6.3.1",
3+
"version": "6.3.2",
44
"description": "Embedded CloudWatch metrics middleware for the middy framework",
55
"type": "module",
66
"engines": {

packages/core/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ const middy = (setupLambdaHandler, pluginConfig) => {
4747
const middy = plugin.streamifyResponse
4848
? awslambda.streamifyResponse(
4949
async (event, lambdaResponseStream, context) => {
50-
plugin.requestStart?.();
5150
const request = middyRequest(event, context);
51+
plugin.requestStart?.(request);
5252
const handlerResponse = await runRequest(
5353
request,
5454
beforeMiddlewares,

0 commit comments

Comments
 (0)