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

aws-xray-sdk-mysql

Package Overview
Dependencies
Maintainers
15
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-xray-sdk-mysql - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

lib/mysql_p.js

@@ -95,3 +95,3 @@ /**

args.segment = (argsObj[argsObj.length-1].constructor && (argsObj[argsObj.length-1].constructor.name === 'Segment' ||
args.segment = (argsObj[argsObj.length-1] != null && argsObj[argsObj.length-1].constructor && (argsObj[argsObj.length-1].constructor.name === 'Segment' ||
argsObj[argsObj.length-1].constructor.name === 'Subsegment')) ? argsObj[argsObj.length-1] : null;

@@ -98,0 +98,0 @@ }

{
"name": "aws-xray-sdk-mysql",
"version": "2.1.0",
"version": "2.2.0",
"description": "AWS X-Ray Patcher for MySQL (Javascript)",

@@ -11,3 +11,3 @@ "author": "Amazon Web Services",

"engines": {
"node": ">= 4.x <= 10.x"
"node": ">= 4.x"
},

@@ -18,6 +18,6 @@ "directories": {

"peerDependencies": {
"aws-xray-sdk-core": "^2.1.0"
"aws-xray-sdk-core": "^2.2.0"
},
"devDependencies": {
"aws-xray-sdk-core": "^2.1.0",
"aws-xray-sdk-core": "^2.2.0",
"chai": "^3.5.0",

@@ -46,4 +46,3 @@ "eslint": "^3.10.2",

"license": "Apache-2.0",
"repository": "https://github.com/aws/aws-xray-sdk-node/tree/master/packages/mysql",
"gitHead": "f662e21a7c18be5278e23a64c1c608ebae79a6ec"
"repository": "https://github.com/aws/aws-xray-sdk-node/tree/master/packages/mysql"
}

@@ -146,2 +146,8 @@ var assert = require('chai').assert;

});
it('should start a new automatic context when last query paramater is null', function() {
query.call(connectionObj, 'sql here', function() {}, null);
assert.equal(stubBaseQuery.args[0][2].name, 'autoContext');
});
});

@@ -148,0 +154,0 @@ });

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