Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serverless-enable-api-logs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-enable-api-logs - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

5

package.json

@@ -15,4 +15,3 @@ {

"lodash": "4.17.2",
"class.extend": "0.9.2",
"underscore": "1.8.3"
"class.extend": "0.9.2"
},

@@ -24,3 +23,3 @@ "license": "MIT",

"name": "serverless-enable-api-logs",
"version": "1.1.0"
"version": "2.0.0"
}

3

README.md
# serverless-enable-api-logs
Enables Coudwatch logging for API Gateway events
# Resources
- [Github](https://github.com/paulSambolin/serverless-enable-api-logs)
- [NPM](https://www.npmjs.com/package/serverless-enable-api-logs)

@@ -5,0 +8,0 @@ # Usage

@@ -29,6 +29,5 @@ 'use strict';

// find the correct stage name
var stage = this._serverless.service.defaults.stage;
if (this._serverless.variables.options.stage) {
stage = this._serverless.variables.options.stage;
}
const stage = this._serverless.variables.options.stage ?
this._serverless.variables.options.stage :
this._serverless.service.provider.stage;

@@ -35,0 +34,0 @@ // override the deployment config, which can be ignored, see:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc