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 1.1.2 to 1.1.3

lib/util.js

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 1.1.3 (2020-06-12):
* Fixed issue where instrumentation would produce a `TypeError: Cannot read property 'lastIndexOf' of undefined` error if a program called `sqs.receiveMessage` without a `QueueUrl` parameter.
### 1.1.2 (2020-02-20):

@@ -2,0 +6,0 @@

6

lib/sqs.js
'use strict'
const {grabLastUrlSegment} = require('./util')
module.exports = {

@@ -43,7 +44,2 @@ name: 'sqs',

function grabLastUrlSegment(url) {
const lastSlashIndex = url.lastIndexOf('/')
const lastItem = url.substr(lastSlashIndex + 1)
return lastItem
}
{
"name": "@newrelic/aws-sdk",
"version": "1.1.2",
"version": "1.1.3",
"description": "New Relic instrumentation of the aws-sdk package.",

@@ -5,0 +5,0 @@ "main": "index.js",

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