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

@opentelemetry/instrumentation-aws-sdk

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.38.0 to 0.38.1

build/src/propwrap.d.ts

15

build/src/aws-sdk.js

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

const utils_1 = require("./utils");
const propwrap_1 = require("./propwrap");
const semantic_conventions_1 = require("@opentelemetry/semantic-conventions");

@@ -48,5 +49,13 @@ const V3_CLIENT_CONFIG_KEY = Symbol('opentelemetry.instrumentation.aws-sdk.client.config');

]);
// patch for @smithy/middleware-stack for aws-sdk packages v3.363.0+
const v3SmithyMiddlewareStackFile = new instrumentation_1.InstrumentationNodeModuleFile('@smithy/middleware-stack/dist-cjs/MiddlewareStack.js', ['>=1.0.1'], this.patchV3ConstructStack.bind(this), this.unpatchV3ConstructStack.bind(this));
const v3SmithyMiddlewareStack = new instrumentation_1.InstrumentationNodeModuleDefinition('@smithy/middleware-stack', ['>=2.0.0'], undefined, undefined, [v3SmithyMiddlewareStackFile]);
// Patch for @smithy/middleware-stack for @aws-sdk/* packages v3.363.0+.
// As of @smithy/middleware-stack@2.1.0 `constructStack` is only available
// as a getter, so we cannot use `this._wrap()`.
const self = this;
const v3SmithyMiddlewareStack = new instrumentation_1.InstrumentationNodeModuleDefinition('@smithy/middleware-stack', ['>=2.0.0'], (moduleExports, moduleVersion) => {
const newExports = (0, propwrap_1.propwrap)(moduleExports, 'constructStack', (orig) => {
self._diag.debug('propwrapping aws-sdk v3 constructStack');
return self._getV3ConstructStackPatch(moduleVersion, orig);
});
return newExports;
});
const v3SmithyClient = new instrumentation_1.InstrumentationNodeModuleDefinition('@aws-sdk/smithy-client', ['^3.1.0'], this.patchV3SmithyClient.bind(this), this.unpatchV3SmithyClient.bind(this));

@@ -53,0 +62,0 @@ // patch for new @smithy/smithy-client for aws-sdk packages v3.363.0+

2

build/src/version.d.ts

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

export declare const VERSION = "0.38.0";
export declare const VERSION = "0.38.1";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.38.0';
exports.VERSION = '0.38.1';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-aws-sdk",
"version": "0.38.0",
"version": "0.38.1",
"description": "OpenTelemetry automatic instrumentation for the `aws-sdk` package",

@@ -80,3 +80,3 @@ "keywords": [

},
"gitHead": "32204a362d9dffd4cd69a1300e1f7d245df9df52"
"gitHead": "39c34df61f0e60a93fc787dcfceca9782341b837"
}

Sorry, the diff of this file is not supported yet

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