Skip to content

Commit 481cccf

Browse files
authored
Merge pull request #1551 from middyjs/develop
7.0.2
2 parents 85f30e1 + d46c8e7 commit 481cccf

File tree

50 files changed

+223
-195
lines changed

Some content is hidden

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

50 files changed

+223
-195
lines changed

package-lock.json

Lines changed: 88 additions & 88 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": "7.0.1",
3+
"version": "7.0.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": "7.0.1",
3+
"version": "7.0.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": "7.0.1",
3+
"version": "7.0.2",
44
"description": "CloudFormation Custom Response event response handling for the middy framework",
55
"type": "module",
66
"engines": {
@@ -62,7 +62,7 @@
6262
"url": "https://github.com/sponsors/willfarrell"
6363
},
6464
"devDependencies": {
65-
"@middy/core": "7.0.1",
65+
"@middy/core": "7.0.2",
6666
"@types/aws-lambda": "^8.10.100"
6767
},
6868
"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": "7.0.1",
3+
"version": "7.0.2",
44
"description": "CloudFormation Custom Response event router for the middy framework",
55
"type": "module",
66
"engines": {
@@ -63,7 +63,7 @@
6363
"url": "https://github.com/sponsors/willfarrell"
6464
},
6565
"devDependencies": {
66-
"@middy/core": "7.0.1",
66+
"@middy/core": "7.0.2",
6767
"@types/aws-lambda": "^8.10.100"
6868
},
6969
"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": "7.0.1",
3+
"version": "7.0.2",
44
"description": "Embedded CloudWatch metrics middleware for the middy framework",
55
"type": "module",
66
"engines": {

packages/core/executionModeDurableContext.test.js_

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { deepStrictEqual, strictEqual } from "node:assert/strict";
22
import { test } from "node:test";
33
import { LocalDurableTestRunner } from "@aws/durable-execution-sdk-js-testing";
4-
import middy, { executionModeDurableContext } from "./index.js";
4+
import middy from "./index.js";
5+
import { executionModeDurableContext } from "./executionModeDurableContext.js";
56

67
const _event = {};
78
const _context = {

packages/core/executionModeStreamifyResponse.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import {
66
createWritableStream,
77
pipejoin,
88
} from "@datastream/core";
9-
import middy, { executionModeStreamifyResponse } from "./index.js";
9+
import { executionModeStreamifyResponse } from "./executionModeStreamifyResponse.js";
10+
import middy from "./index.js";
1011

1112
const event = {};
1213
const context = {

packages/core/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import { setTimeout } from "node:timers";
22
import { executionModeStandard } from "./executionModeStandard.js";
33

4-
export { executionModeDurableContext } from "./executionModeDurableContext.js";
5-
export { executionModeStandard } from "./executionModeStandard.js";
6-
export { executionModeStreamifyResponse } from "./executionModeStreamifyResponse.js";
7-
84
const defaultLambdaHandler = () => {};
95
const defaultPluginConfig = {
106
timeoutEarlyInMillis: 5,

packages/core/package.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@middy/core",
3-
"version": "7.0.1",
3+
"version": "7.0.2",
44
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (core package)",
55
"type": "module",
66
"engines": {
@@ -21,6 +21,30 @@
2121
"require": {
2222
"default": "./index.js"
2323
}
24+
},
25+
"./Standard": {
26+
"import": {
27+
"default": "./executionModeStandard.js"
28+
},
29+
"require": {
30+
"default": "./executionModeStandard.js"
31+
}
32+
},
33+
"./DurableContext": {
34+
"import": {
35+
"default": "./executionModeDurableContext.js"
36+
},
37+
"require": {
38+
"default": "./executionModeDurableContext.js"
39+
}
40+
},
41+
"./StreamifyResponse": {
42+
"import": {
43+
"default": "./executionModeStreamifyResponse.js"
44+
},
45+
"require": {
46+
"default": "./executionModeStreamifyResponse.js"
47+
}
2448
}
2549
},
2650
"types": "index.d.ts",

0 commit comments

Comments
 (0)