Skip to content

Commit

Permalink
chore: add @middy/core v6 as peer dependency (#3368)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-nhs authored Nov 29, 2024
1 parent 17dee2f commit 32baa49
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 13 deletions.
28 changes: 22 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"markdownlint-cli2": "^0.15.0",
"middy4": "npm:@middy/core@^4.7.0",
"middy5": "npm:@middy/core@^5.4.3",
"middy6": "npm:@middy/core@^6.0.0",
"typedoc": "^0.26.11",
"typedoc-plugin-missing-exports": "^3.0.2",
"typedoc-plugin-zod": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/idempotency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"peerDependencies": {
"@aws-sdk/client-dynamodb": ">=3.x",
"@aws-sdk/lib-dynamodb": ">=3.x",
"@middy/core": "4.x || 5.x"
"@middy/core": "4.x || 5.x || 6.x"
},
"peerDependenciesMeta": {
"@aws-sdk/client-dynamodb": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from '@aws-lambda-powertools/logger';
import middy from '@middy/core';
import middy from 'middy6';
import type { Context } from 'aws-lambda';
import { IdempotencyConfig } from '../../src/IdempotencyConfig.js';
import { makeHandlerIdempotent } from '../../src/middleware/makeHandlerIdempotent.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@types/lodash.merge": "^4.6.9"
},
"peerDependencies": {
"@middy/core": "4.x || 5.x"
"@middy/core": "4.x || 5.x || 6.x"
},
"peerDependenciesMeta": {
"@middy/core": {
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"promise-retry": "^2.0.1"
},
"peerDependencies": {
"@middy/core": "4.x || 5.x"
"@middy/core": "4.x || 5.x || 6.x"
},
"peerDependenciesMeta": {
"@middy/core": {
Expand Down
2 changes: 1 addition & 1 deletion packages/parameters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"@aws-sdk/client-secrets-manager": ">=3.x",
"@aws-sdk/client-ssm": ">=3.x",
"@aws-sdk/util-dynamodb": ">=3.x",
"@middy/core": "4.x || 5.x"
"@middy/core": "4.x || 5.x || 6.x"
},
"peerDependenciesMeta": {
"@middy/core": {
Expand Down
2 changes: 1 addition & 1 deletion packages/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
"nodejs"
],
"peerDependencies": {
"@middy/core": "4.x || 5.x",
"@middy/core": "4.x || 5.x || 6.x",
"zod": ">=3.x"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tracer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@aws-sdk/client-xray": "^3.699.0"
},
"peerDependencies": {
"@middy/core": "4.x || 5.x"
"@middy/core": "4.x || 5.x || 6.x"
},
"peerDependenciesMeta": {
"@middy/core": {
Expand Down

0 comments on commit 32baa49

Please sign in to comment.