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

@opentelemetry/instrumentation-aws-lambda

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-aws-lambda - npm Package Compare versions

Comparing version 0.35.1 to 0.35.2

15

build/src/instrumentation.js

@@ -20,2 +20,3 @@ "use strict";

const path = require("path");
const fs = require("fs");
const instrumentation_1 = require("@opentelemetry/instrumentation");

@@ -57,4 +58,12 @@ const api_1 = require("@opentelemetry/api");

if (!filename.endsWith('.js')) {
// Patching infrastructure currently requires a filename when requiring with an absolute path.
filename += '.js';
// its impossible to know in advance if the user has a cjs or js file.
// check that the .js file exists otherwise fallback to next known possibility
try {
fs.statSync(`${filename}.js`);
filename += '.js';
}
catch (e) {
// fallback to .cjs
filename += '.cjs';
}
}

@@ -74,3 +83,3 @@ return [

}, (moduleExports) => {
if (moduleExports == undefined)
if (moduleExports == null)
return;

@@ -77,0 +86,0 @@ api_1.diag.debug('Removing patch for lambda handler');

2

build/src/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.35.1";
export declare const VERSION = "0.35.2";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.35.1';
exports.VERSION = '0.35.2';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-aws-lambda",
"version": "0.35.1",
"version": "0.35.2",
"description": "OpenTelemetry AWS Lambda automatic instrumentation package.",

@@ -55,6 +55,5 @@ "main": "build/src/index.js",

"@types/node": "18.11.7",
"gts": "3.1.0",
"mocha": "7.2.0",
"nyc": "15.1.0",
"rimraf": "4.2.0",
"rimraf": "5.0.0",
"ts-mocha": "10.0.0",

@@ -64,4 +63,4 @@ "typescript": "4.4.4"

"dependencies": {
"@opentelemetry/instrumentation": "^0.38.0",
"@opentelemetry/propagator-aws-xray": "^1.2.0",
"@opentelemetry/instrumentation": "^0.39.1",
"@opentelemetry/propagator-aws-xray": "^1.2.1",
"@opentelemetry/resources": "^1.8.0",

@@ -72,3 +71,3 @@ "@opentelemetry/semantic-conventions": "^1.0.0",

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-aws-lambda#readme",
"gitHead": "f7183016487c876829abce6437bbe71f76b7538e"
"gitHead": "418b6f6d471b4b38507e8c6ef2916bee31ed2001"
}

Sorry, the diff of this file is not supported yet

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