serverless-http-invoker 3.0.16 → 4.0.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.
@@ -8,6 +8,9 @@ updates:
8
8
  day: "friday"
9
9
  allow:
10
10
  - dependency-type: "direct"
11
+ ignore:
12
+ - dependency-name: "serverless"
13
+ update-types: ["version-update:semver-major"]
11
14
  commit-message:
12
15
  # for production deps, prefix commit messages with "fix" (trigger a patch release)
13
16
  prefix: "fix"
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- node: [14, 16, 18, 20]
14
+ node: [20, 22]
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v4
@@ -57,18 +57,17 @@ jobs:
57
57
  permissions:
58
58
  id-token: write # Required for npm provenance / OIDC
59
59
  contents: write # Required for semantic-release to push tags and create releases
60
+ issues: write # Required for semantic-release to comment on referenced issues
61
+ pull-requests: write # Required for semantic-release to comment on referenced PRs
60
62
  steps:
61
63
  - uses: actions/checkout@v4
62
64
 
63
65
  - name: Use Node.js
64
66
  uses: actions/setup-node@v4
65
67
  with:
66
- node-version: 22
68
+ node-version: 24
67
69
  registry-url: "https://registry.npmjs.org"
68
70
 
69
- - name: Update npm
70
- run: npm install -g npm@latest
71
-
72
71
  - name: publish to npm
73
72
  env:
74
73
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-http-invoker",
3
- "version": "3.0.16",
3
+ "version": "4.0.1",
4
4
  "description": "Locally invoke Serverless functions via their HTTP event as specified in Serverless.yml for testing.",
5
5
  "main": "index.js",
6
6
  "author": "Scott Willeke <scott@willeke.com> (https:/scott.willeke.com/)",
@@ -24,7 +24,7 @@
24
24
  "tdd"
25
25
  ],
26
26
  "engines": {
27
- "node": ">=14"
27
+ "node": ">=20"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
@@ -50,7 +50,7 @@
50
50
  "chai": "^4.5.0",
51
51
  "chai-as-promised": "^7.1.2",
52
52
  "mocha": "^11.7.5",
53
- "nyc": "^15.1.0",
53
+ "nyc": "^18.0.0",
54
54
  "prettier": "^2.7.1",
55
55
  "serverless": "^3.31.0"
56
56
  }