@iopipe/profiler
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -119,7 +119,13 @@ 'use strict'; | ||
// returns a promise here | ||
let { invokedFunctionArn: arn } = this.invocationInstance.context; | ||
const { | ||
invokedFunctionArn: arn, | ||
awsRequestId: requestId | ||
awsRequestId: requestId, | ||
functionName | ||
} = this.invocationInstance.context; | ||
if (arn === undefined || process.env.AWS_SAM_LOCAL) { | ||
arn = `arn:aws:lambda:local:0:function:${functionName}`; | ||
} | ||
return _core.util.getFileUploadMeta({ | ||
@@ -129,3 +135,4 @@ auth: this.token, | ||
arn, | ||
requestId | ||
requestId, | ||
functionName | ||
}); | ||
@@ -132,0 +139,0 @@ } |
{ | ||
"name": "@iopipe/profiler", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "IOpipe plugin for running the v8 profiler on your functions", | ||
@@ -38,4 +38,4 @@ "main": "dist/index.js", | ||
"@iopipe/scripts": "^1.4.1", | ||
"aws-lambda-mock-context": "^3.1.1", | ||
"lodash": "^4.17.4", | ||
"aws-lambda-mock-context": "^3.2.1", | ||
"lodash": "^4.17.11", | ||
"nock": "^9.4.1", | ||
@@ -45,6 +45,6 @@ "pre-commit": "^1.2.2" | ||
"dependencies": { | ||
"@iopipe/core": "^1.13", | ||
"@iopipe/core": "^1.19.1", | ||
"archiver": "^2.1.1", | ||
"lodash.get": "^4.4.2", | ||
"simple-get": "^3.0.2" | ||
"simple-get": "^3.0.3" | ||
}, | ||
@@ -51,0 +51,0 @@ "peerDependencies": {}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23279
213
2
Updated@iopipe/core@^1.19.1
Updatedsimple-get@^3.0.3