aws-xray-sdk-mysql
Advanced tools
Comparing version 3.9.0 to 3.10.0
@@ -275,3 +275,3 @@ /** | ||
var data = new SqlData(DATABASE_VERS, DRIVER_VERS, config.user, | ||
config.host + ':' + config.port + '/' + config.database, | ||
'mysql://' + config.host + ':' + config.port + '/' + config.database, | ||
commandType); | ||
@@ -278,0 +278,0 @@ |
{ | ||
"name": "aws-xray-sdk-mysql", | ||
"version": "3.9.0", | ||
"version": "3.10.0", | ||
"description": "AWS X-Ray Patcher for MySQL (Javascript)", | ||
@@ -21,3 +21,3 @@ "author": "Amazon Web Services", | ||
"peerDependencies": { | ||
"aws-xray-sdk-core": "^3.9.0" | ||
"aws-xray-sdk-core": "^3.10.0" | ||
}, | ||
@@ -41,3 +41,3 @@ "scripts": { | ||
"repository": "https://github.com/aws/aws-xray-sdk-node/tree/master/packages/mysql", | ||
"gitHead": "994c2733a1d6e9269a5cc80384036201770d4f37" | ||
"gitHead": "cdb1dde5ab4172c34419532151a9bc191c395f03" | ||
} |
@@ -147,3 +147,3 @@ var assert = require('chai').assert; | ||
stubDataInit.should.have.been.calledWithExactly(undefined, undefined, config.user, | ||
config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
'mysql://' + config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -260,3 +260,3 @@ }); | ||
stubDataInit.should.have.been.calledWithExactly(process.env.MYSQL_DATABASE_VERSION, process.env.MYSQL_DRIVER_VERSION, | ||
conParam.user, conParam.host + ':' + conParam.port + '/' + conParam.database, 'statement'); | ||
conParam.user, 'mysql://' + conParam.host + ':' + conParam.port + '/' + conParam.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -274,3 +274,3 @@ stubAddSql.should.have.been.calledWithExactly(sinon.match.has('sanitized_query', 'sql here')); | ||
stubDataInit.should.have.been.calledWithExactly(process.env.MYSQL_DATABASE_VERSION, process.env.MYSQL_DRIVER_VERSION, | ||
conParam.user, conParam.host + ':' + conParam.port + '/' + conParam.database, 'statement'); | ||
conParam.user, 'mysql://' + conParam.host + ':' + conParam.port + '/' + conParam.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -355,3 +355,3 @@ sinon.assert.match(sinon.match, { | ||
stubDataInit.should.have.been.calledWithExactly(undefined, undefined, config.user, | ||
config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
'mysql://' + config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -467,3 +467,3 @@ }); | ||
stubDataInit.should.have.been.calledWithExactly(undefined, undefined, config.user, | ||
config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
'mysql://' + config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -564,3 +564,3 @@ }); | ||
stubDataInit.should.have.been.calledWithExactly(undefined, undefined, config.user, | ||
config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
'mysql://' + config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -712,3 +712,3 @@ }); | ||
stubDataInit.should.have.been.calledWithExactly(undefined, undefined, config.user, | ||
config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
'mysql://' + config.host + ':' + config.port + '/' + config.database, 'statement'); | ||
stubAddSql.should.have.been.calledWithExactly(sinon.match.instanceOf(SqlData)); | ||
@@ -715,0 +715,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53790