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

serverless-newrelic-lambda-layers

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-newrelic-lambda-layers - npm Package Compare versions

Comparing version 0.1.19 to 0.1.20

32

dist/index.js

@@ -29,10 +29,12 @@ "use strict";

this.awsProvider = this.serverless.getProvider("aws");
this.hooks = {
"after:deploy:deploy": this.addLogSubscriptions.bind(this),
"after:deploy:function:packageFunction": this.cleanup.bind(this),
"after:package:createDeploymentArtifacts": this.cleanup.bind(this),
"before:deploy:function:packageFunction": this.run.bind(this),
"before:package:createDeploymentArtifacts": this.run.bind(this),
"before:remove:remove": this.removeLogSubscriptions.bind(this)
};
this.hooks = this.shouldSkipPlugin()
? {}
: {
"after:deploy:deploy": this.addLogSubscriptions.bind(this),
"after:deploy:function:packageFunction": this.cleanup.bind(this),
"after:package:createDeploymentArtifacts": this.cleanup.bind(this),
"before:deploy:function:packageFunction": this.run.bind(this),
"before:package:createDeploymentArtifacts": this.run.bind(this),
"before:remove:remove": this.removeLogSubscriptions.bind(this)
};
}

@@ -61,6 +63,2 @@ get config() {

return __awaiter(this, void 0, void 0, function* () {
if (this.shouldSkipPlugin()) {
this.serverless.cli.log(`Skipping plugin serverless-newrelic-lambda-layers for stage ${this.stage}`);
return;
}
const version = this.serverless.getVersion();

@@ -96,5 +94,2 @@ if (semver.lt(version, "1.34.0")) {

cleanup() {
if (this.shouldSkipPlugin()) {
return;
}
this.removeNodeHelper();

@@ -104,5 +99,2 @@ }

return __awaiter(this, void 0, void 0, function* () {
if (this.shouldSkipPlugin()) {
return;
}
if (this.autoSubscriptionDisabled) {

@@ -138,5 +130,2 @@ this.serverless.cli.log("Skipping adding log subscription. Explicitly disabled");

return __awaiter(this, void 0, void 0, function* () {
if (this.shouldSkipPlugin()) {
return;
}
if (this.autoSubscriptionDisabled) {

@@ -233,2 +222,3 @@ this.serverless.cli.log("Skipping removing log subscription. Explicitly disabled");

}
this.serverless.cli.log(`Skipping plugin serverless-newrelic-lambda-layers for stage ${this.stage}`);
return true;

@@ -235,0 +225,0 @@ }

{
"name": "serverless-newrelic-lambda-layers",
"version": "0.1.19",
"version": "0.1.20",
"description": "Serverless plugin for NewRelic APM AWS Lambda layers.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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