Emulate AWS λ and API Gateway locally when developing your Serverless project
I just deployed long time project, which had deployment last time sometime in spring. That serverless deploy recognized all Serverless Framework v4 stuff, but as things deployed smoothly, I didn't dig too deep at that point. Now that I tried to start offline development again, I notice that my serverless-offline is outdated/doesn't recognize frameworkVersion 4 in serverless.yml. I check npm outdated, and it shows that I'm some version behind, suggesting that I update to 13.8.0. This though didn't fix problems. So I come checking repo, and see that there has been work upgrading serverless-offline, and next versions are v14.x. However npm shows still 13.8.0 to be latest version, as is asked few weeks ago in this issue #1820 I manually upgrade my package.json have serverless-offline ^14.3.1. and run npm update again. Now my local version is 14.3.1, but when I try using npm outdated, it shows this: ``` serverless-offline 14.3.1 14.3.1 13.8.0 node_modules/serverless-offline ``` So the real question is, is this intended behaviour, or is there bug somewhere (or some problem on my package.json): ``` "devDependencies": { "@shelf/jest-mongodb": "^4.1.7", "@swc/core": "^1.3.52", "@swc/jest": "^0.2.26", "@types/jest": "^29.5.1", "@types/node-fetch": "^2.6.4", "@typescript-eslint/eslint-plugin": "^5.57.0", "esbuild": "^0.17.15", "eslint": "^8.38.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.4.0", "jest": "^29.5.0", "jest-extended": "^4.0.2", "jest-junit": "^16.0.0", "mongodb-memory-server": "^8.12.2", "serverless-esbuild": "^1.43.0", "serverless-offline": "^14.3.1", "serverless-offline-schedule": "^1.0.4", "serverless-scriptable-plugin": "^1.3.0" }, ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by kerbe and has received 5 comments.