@opentelemetry/instrumentation-xml-http-request
Advanced tools
Comparing version 0.16.1-alpha.18 to 0.16.1-alpha.20
@@ -200,3 +200,3 @@ "use strict"; | ||
if (core_1.isUrlIgnored(url, this._getConfig().ignoreUrls)) { | ||
this._logger.debug('ignoring span as url matches ignored url'); | ||
api.diag.debug('ignoring span as url matches ignored url'); | ||
return; | ||
@@ -344,10 +344,10 @@ } | ||
enable() { | ||
this._logger.debug('applying patch to', this.moduleName, this.version); | ||
api.diag.debug('applying patch to', this.moduleName, this.version); | ||
if (instrumentation_1.isWrapped(XMLHttpRequest.prototype.open)) { | ||
this._unwrap(XMLHttpRequest.prototype, 'open'); | ||
this._logger.debug('removing previous patch from method open'); | ||
api.diag.debug('removing previous patch from method open'); | ||
} | ||
if (instrumentation_1.isWrapped(XMLHttpRequest.prototype.send)) { | ||
this._unwrap(XMLHttpRequest.prototype, 'send'); | ||
this._logger.debug('removing previous patch from method send'); | ||
api.diag.debug('removing previous patch from method send'); | ||
} | ||
@@ -361,3 +361,3 @@ this._wrap(XMLHttpRequest.prototype, 'open', this._patchOpen()); | ||
disable() { | ||
this._logger.debug('removing patch from', this.moduleName, this.version); | ||
api.diag.debug('removing patch from', this.moduleName, this.version); | ||
this._unwrap(XMLHttpRequest.prototype, 'open'); | ||
@@ -364,0 +364,0 @@ this._unwrap(XMLHttpRequest.prototype, 'send'); |
{ | ||
"name": "@opentelemetry/instrumentation-xml-http-request", | ||
"version": "0.16.1-alpha.18+9f965b0c", | ||
"version": "0.16.1-alpha.20+62f8695d", | ||
"description": "OpenTelemetry XMLHttpRequest automatic instrumentation package.", | ||
@@ -47,4 +47,4 @@ "main": "build/src/index.js", | ||
"@opentelemetry/context-zone": "^0.16.0", | ||
"@opentelemetry/propagator-b3": "^0.16.0", | ||
"@opentelemetry/tracing": "^0.16.1-alpha.18+9f965b0c", | ||
"@opentelemetry/propagator-b3": "^0.16.1-alpha.20+62f8695d", | ||
"@opentelemetry/tracing": "^0.16.1-alpha.20+62f8695d", | ||
"@types/mocha": "8.2.0", | ||
@@ -77,9 +77,9 @@ "@types/node": "14.14.20", | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.16.0", | ||
"@opentelemetry/core": "^0.16.1-alpha.18+9f965b0c", | ||
"@opentelemetry/instrumentation": "^0.16.0", | ||
"@opentelemetry/api": "^0.16.1-alpha.20+62f8695d", | ||
"@opentelemetry/core": "^0.16.1-alpha.20+62f8695d", | ||
"@opentelemetry/instrumentation": "^0.16.1-alpha.20+62f8695d", | ||
"@opentelemetry/semantic-conventions": "^0.16.0", | ||
"@opentelemetry/web": "^0.16.1-alpha.18+9f965b0c" | ||
"@opentelemetry/web": "^0.16.1-alpha.20+62f8695d" | ||
}, | ||
"gitHead": "9f965b0c749108df00bbe44eeab84d79b04bb0a4" | ||
"gitHead": "62f8695d3fe5309c62418a1043bc6e8a176bc11f" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
51293
+ Added@opentelemetry/api-metrics@0.16.1-alpha.20(transitive)
+ Added@opentelemetry/instrumentation@0.16.1-alpha.20(transitive)
- Removed@opentelemetry/api@0.16.0(transitive)
- Removed@opentelemetry/api-metrics@0.16.0(transitive)
- Removed@opentelemetry/instrumentation@0.16.0(transitive)
Updated@opentelemetry/instrumentation@^0.16.1-alpha.20+62f8695d