serverless-newrelic-lambda-layers
Advanced tools
Comparing version 3.5.0 to 4.0.0
@@ -31,7 +31,5 @@ "use strict"; | ||
const wrappableRuntimeList = [ | ||
"nodejs12.x", | ||
"nodejs14.x", | ||
"nodejs16.x", | ||
"nodejs18.x", | ||
"python3.6", | ||
"python3.7", | ||
@@ -41,2 +39,3 @@ "python3.8", | ||
"python3.10", | ||
"python3.11", | ||
"java11", | ||
@@ -456,3 +455,3 @@ "java8.al2", | ||
} | ||
if (this.config.enableExtensionLogs && | ||
if (!_.isUndefined(this.config.enableExtensionLogs) && | ||
(this.config.enableExtensionLogs === "false" || | ||
@@ -459,0 +458,0 @@ this.config.enableExtensionLogs === false)) { |
@@ -34,3 +34,4 @@ "use strict"; | ||
const match = linkedAccounts.filter((account) => { | ||
return (account.externalId === externalId && | ||
return (account && | ||
account.externalId === externalId && | ||
account.nrAccountId === parseInt(accountId, 10)); | ||
@@ -37,0 +38,0 @@ }); |
{ | ||
"name": "serverless-newrelic-lambda-layers", | ||
"version": "3.5.0", | ||
"version": "4.0.0", | ||
"description": "Serverless plugin for NewRelic APM AWS Lambda layers.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,1 +1,3 @@ | ||
<a href="https://opensource.newrelic.com/oss-category/#community-plus"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Community_Plus.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"><img alt="New Relic Open Source community plus project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"></picture></a> | ||
# serverless-newrelic-lambda-layers | ||
@@ -352,10 +354,10 @@ | ||
- nodejs12.x | ||
- nodejs14.x | ||
- nodejs16.x | ||
- nodejs18.x | ||
- python3.6 | ||
- python3.7 | ||
- python3.8 | ||
- python3.9 | ||
- python3.10 | ||
- python3.11 | ||
- java11 | ||
@@ -362,0 +364,0 @@ - java8.al2 |
83386
385