serverless-offline 13.8.3 → 13.10.0

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.
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "serverless-offline",
3
- "version": "13.8.3",
3
+ "version": "13.10.0",
4
4
  "description": "Emulate AWS λ and API Gateway locally when developing your Serverless project",
5
5
  "license": "MIT",
6
6
  "exports": {
7
- ".": "./src/index.js",
7
+ ".": {
8
+ "import": "./src/index.js",
9
+ "require": "./src/index.cjs",
10
+ "default": "./src/index.js"
11
+ },
8
12
  "./lambda": "./src/lambda/index.js"
9
13
  },
10
14
  "type": "module",
11
- "main": "src/index.js",
15
+ "main": "src/index.cjs",
12
16
  "scripts": {
13
17
  "code-quality": "npm run prettier && npm run lint",
14
18
  "lint": "eslint .",
@@ -90,7 +94,7 @@
90
94
  "java-invoke-local": "0.0.6",
91
95
  "jose": "^5.7.0",
92
96
  "js-string-escape": "^1.0.1",
93
- "jsonpath-plus": "^10.0.0",
97
+ "jsonpath-plus": "^10.2.0",
94
98
  "jsonschema": "^1.4.1",
95
99
  "jszip": "^3.10.1",
96
100
  "luxon": "^3.5.0",
@@ -15,11 +15,15 @@ export const supportedRuntimesArchitecture = {
15
15
  "nodejs16.x": [ARM64, X86_64],
16
16
  "nodejs18.x": [ARM64, X86_64],
17
17
  "nodejs20.x": [ARM64, X86_64],
18
+ "nodejs22.x": [ARM64, X86_64],
19
+ "nodejs24.x": [ARM64, X86_64],
18
20
  "python3.7": [X86_64],
19
21
  "python3.8": [ARM64, X86_64],
20
22
  "python3.9": [ARM64, X86_64],
21
23
  "python3.10": [ARM64, X86_64],
22
24
  "python3.11": [ARM64, X86_64],
25
+ "python3.12": [ARM64, X86_64],
26
+ "python3.13": [ARM64, X86_64],
23
27
  "ruby2.7": [ARM64, X86_64],
24
28
  "ruby3.2": [ARM64, X86_64],
25
29
  java8: [X86_64],
@@ -46,6 +50,8 @@ export const supportedNodejs = new Set([
46
50
  "nodejs16.x",
47
51
  "nodejs18.x",
48
52
  "nodejs20.x",
53
+ "nodejs22.x",
54
+ "nodejs24.x",
49
55
  ])
50
56
 
51
57
  // PROVIDED
@@ -62,6 +68,8 @@ export const supportedPython = new Set([
62
68
  "python3.9",
63
69
  "python3.10",
64
70
  "python3.11",
71
+ "python3.12",
72
+ "python3.13",
65
73
  ])
66
74
 
67
75
  // RUBY
package/src/index.cjs ADDED
@@ -0,0 +1,3 @@
1
+ "use strict"
2
+
3
+ module.exports = require("./index.js").default