@middy/cloudwatch-metrics 7.1.0 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.d.ts +1 -1
  3. package/package.json +6 -5
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
- <h1>Middy CloudWatch metrics middleware</h1>
3
- <img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/img/middy-logo.svg"/>
2
+ <h1>Middy `cloudwatch-metrics` middleware</h1>
3
+ <img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/docs/img/middy-logo.svg"/>
4
4
  <p><strong>Metrics middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda</strong></p>
5
5
  <p>
6
6
  <a href="https://github.com/middyjs/middy/actions/workflows/test-unit.yml"><img src="https://github.com/middyjs/middy/actions/workflows/test-unit.yml/badge.svg" alt="GitHub Actions unit test status"></a>
@@ -32,7 +32,7 @@
32
32
 
33
33
  ## License
34
34
 
35
- Licensed under [MIT License](LICENSE). Copyright (c) 2017-2018 Luciano Mammino and the [Middy team](https://github.com/middyjs/middy/graphs/contributors).
35
+ Licensed under [MIT License](LICENSE). Copyright (c) 2017-2026 [will Farrell](https://github.com/willfarrell), [Luciano Mammino](https://github.com/lmammino), and [Middy contributors](https://github.com/middyjs/middy/graphs/contributors).
36
36
 
37
37
  <a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fmiddyjs%2Fmiddy?ref=badge_large">
38
38
  <img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmiddyjs%2Fmiddy.svg?type=large" alt="FOSSA Status" style="max-width:100%;">
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { MetricsLogger } from "aws-embedded-metrics";
5
5
  import type { Context as LambdaContext } from "aws-lambda";
6
6
  export { MetricsLogger } from "aws-embedded-metrics";
7
7
 
8
- interface Options {
8
+ export interface Options {
9
9
  namespace?: string;
10
10
  dimensions?: Array<Record<string, string>>;
11
11
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@middy/cloudwatch-metrics",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "description": "Embedded CloudWatch metrics middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
7
- "node": ">=14"
7
+ "node": ">=22"
8
8
  },
9
9
  "engineStrict": true,
10
10
  "publishConfig": {
@@ -30,8 +30,8 @@
30
30
  ],
31
31
  "scripts": {
32
32
  "test": "npm run test:unit && npm run test:fuzz",
33
- "test:unit": "node --test",
34
- "test:fuzz": "node --test index.fuzz.js",
33
+ "test:unit": "node --experimental-test-module-mocks --test",
34
+ "test:fuzz": "node --experimental-test-module-mocks --test index.fuzz.js",
35
35
  "test:perf": "node --test index.perf.js"
36
36
  },
37
37
  "license": "MIT",
@@ -71,7 +71,8 @@
71
71
  "aws-embedded-metrics": "4.2.1"
72
72
  },
73
73
  "devDependencies": {
74
- "@types/aws-lambda": "^8.10.101"
74
+ "@middy/core": "7.1.1",
75
+ "@types/aws-lambda": "^8.0.0"
75
76
  },
76
77
  "gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"
77
78
  }