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

@opentelemetry/exporter-collector

Package Overview
Dependencies
Maintainers
4
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/exporter-collector - npm Package Compare versions

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

19

build/esm/platform/browser/util.js

@@ -0,1 +1,12 @@

var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
/*

@@ -44,5 +55,7 @@ * Copyright The OpenTelemetry Authors

xhr.open('POST', url);
xhr.setRequestHeader('Accept', 'application/json');
xhr.setRequestHeader('Content-Type', 'application/json');
Object.entries(headers).forEach(function (_a) {
var defaultHeaders = {
'Accept': 'application/json',
'Content-Type': 'application/json',
};
Object.entries(__assign(__assign({}, defaultHeaders), headers)).forEach(function (_a) {
var k = _a[0], v = _a[1];

@@ -49,0 +62,0 @@ xhr.setRequestHeader(k, v);

8

build/src/platform/browser/util.js

@@ -48,5 +48,7 @@ "use strict";

xhr.open('POST', url);
xhr.setRequestHeader('Accept', 'application/json');
xhr.setRequestHeader('Content-Type', 'application/json');
Object.entries(headers).forEach(([k, v]) => {
const defaultHeaders = {
'Accept': 'application/json',
'Content-Type': 'application/json',
};
Object.entries(Object.assign(Object.assign({}, defaultHeaders), headers)).forEach(([k, v]) => {
xhr.setRequestHeader(k, v);

@@ -53,0 +55,0 @@ });

{
"name": "@opentelemetry/exporter-collector",
"version": "0.23.1-alpha.18+4b3425dd",
"version": "0.23.1-alpha.20+cb06b788",
"description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector",

@@ -58,6 +58,6 @@ "main": "build/src/index.js",

"@opentelemetry/api": "^1.0.1",
"@types/mocha": "8.2.2",
"@types/node": "14.17.4",
"@types/mocha": "8.2.3",
"@types/node": "14.17.5",
"@types/sinon": "10.0.2",
"@types/webpack-env": "1.16.1",
"@types/webpack-env": "1.16.2",
"babel-loader": "8.2.2",

@@ -79,3 +79,2 @@ "codecov": "3.8.2",

"ts-mocha": "8.0.0",
"ts-node": "10.0.0",
"typescript": "4.3.5",

@@ -90,9 +89,9 @@ "webpack": "4.46.0",

"dependencies": {
"@opentelemetry/api-metrics": "^0.23.1-alpha.18+4b3425dd",
"@opentelemetry/core": "^0.23.1-alpha.18+4b3425dd",
"@opentelemetry/metrics": "^0.23.1-alpha.18+4b3425dd",
"@opentelemetry/resources": "^0.23.1-alpha.18+4b3425dd",
"@opentelemetry/tracing": "^0.23.1-alpha.18+4b3425dd"
"@opentelemetry/api-metrics": "^0.23.0",
"@opentelemetry/core": "^0.23.0",
"@opentelemetry/metrics": "^0.23.0",
"@opentelemetry/resources": "^0.23.0",
"@opentelemetry/tracing": "^0.23.0"
},
"gitHead": "4b3425dd09f0a7087c9d741d25c7a9a0be42770c"
"gitHead": "cb06b788b27ff080326b74bf4c3d08f419a06529"
}

Sorry, the diff of this file is not supported yet

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