New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/instrumentation-xml-http-request

Package Overview
Dependencies
Maintainers
4
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-xml-http-request - npm Package Compare versions

Comparing version 0.16.1-alpha.18 to 0.16.1-alpha.20

10

build/src/xhr.js

@@ -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

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