serverless-offline-python icon indicating copy to clipboard operation
serverless-offline-python copied to clipboard

Emulate AWS λ and API Gateway locally when developing your Serverless project

Results 8 serverless-offline-python issues
Sort by recently updated
recently updated
newest added

`serverless-offline-python` depends on `"babel-register": "^6.18.0",` which in turn depends on `"babel-core": "^6.26.0"` which includes the dependency `"json5": "^0.5.1",` which has a [security vulnerability](https://github.com/json5/json5/security/advisories/GHSA-9c47-m6qq-7p4h). Babel [updated the Json5 library](https://github.com/babel/babel/commit/62233ed7c98e867defcc88df285dc063f1fc013c#diff-82bd9573b4cb005e6b3183120e5379562c70d9c37e57893a8224f6a89dc77623) to 2.1.0...

Hey @alhazmy13 , Have you found a way to attach a python debugger to serverless-offline-python by any chance? I wish I could set up breakpoints and debug my functions step...

PS> serverless offline start (node:13904) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. Serverless: Configuration warning at root: unrecognized property 'iamRoleStatements' Serverless: Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation...

Serverless Framework deprecated `provider.apiKeys` property in favor of `provider.apiGateway.apiKeys`. The first one will stop to be recognized with Serverless Framework v3 release (scheduled to be released in January)

I am using a fresh serverless install (via brew) and when I enable the serverless-offline-python any sls function I try, produces the error below. If I comment the plugin out...

This issue seems directly related to a previous issue in the serverless-offline project: https://github.com/dherault/serverless-offline/issues/851 I'm seeing empty responses and failures when the response payload is large

Serverless-offline-python installs the cryptiles package (hapi dependency) with a know vulnerability https://nvd.nist.gov/vuln/detail/CVE-2018-1000620

Using "serverless-offline-python": "^3.22.1" -> Does not work as explained in https://www.npmjs.com/package/serverless-offline#usage-with-invoke Using "serverless-offline": "^5.10.1" -> Does work.