Socket
Socket
Sign inDemoInstall

@newrelic/aws-sdk

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newrelic/aws-sdk - npm Package Compare versions

Comparing version 7.0.2 to 7.0.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

### v7.0.3 (2023-12-07)
* Updated aws-sdk v3 instrumentation to only call `shim.setLibrary` and `shim.setDatastore` once instead of on every call to SQS, SNS, and DynamoDB.
* Updated [axios](https://github.com/axios/axios) from 0.21.4 to 1.6.0
* Updated ancestor dependency [newrelic](https://github.com/newrelic/node-newrelic) from 11.0.0 to 11.5.0
### v7.0.2 (2023-10-25)

@@ -2,0 +8,0 @@

4

lib/v3/dynamodb.js

@@ -57,3 +57,2 @@ /*

function dynamoMiddleware(shim, config, next, context) {
shim.setDatastore(shim.DYNAMODB)
const { commandName } = context

@@ -76,2 +75,5 @@ return async function wrappedMiddleware(args) {

middleware: dynamoMiddleware,
init(shim) {
shim.setDatastore(shim.DYNAMODB)
},
type: 'datastore',

@@ -78,0 +80,0 @@ config: {

@@ -53,2 +53,3 @@ /*

localShim.assignId('aws-sdk')
mw.init && mw.init(localShim)
const middleware = mw.middleware.bind(null, localShim, config)

@@ -55,0 +56,0 @@ this.middlewareStack.add(middleware, mw.config)

@@ -18,3 +18,2 @@ /*

function snsMiddleware(shim, config, next, context) {
shim.setLibrary(shim.SNS)
if (context.commandName === 'PublishCommand') {

@@ -59,2 +58,5 @@ return shim.recordProduce(next, getSnsSpec)

middleware: snsMiddleware,
init(shim) {
shim.setLibrary(shim.SNS)
},
type: 'message',

@@ -61,0 +63,0 @@ config: {

@@ -24,3 +24,2 @@ /*

function sqsMiddleware(shim, config, next, context) {
shim.setLibrary(shim.SQS)
if (SEND_COMMANDS.includes(context.commandName)) {

@@ -57,2 +56,5 @@ return shim.recordProduce(next, getSqsSpec)

middleware: sqsMiddleware,
init(shim) {
shim.setLibrary(shim.SQS)
},
type: 'message',

@@ -59,0 +61,0 @@ config: {

{
"name": "@newrelic/aws-sdk",
"version": "7.0.2",
"version": "7.0.3",
"description": "New Relic instrumentation of the aws-sdk package.",

@@ -5,0 +5,0 @@ "scripts": {

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