@opentelemetry/web
Advanced tools
Comparing version 0.22.1-alpha.2 to 0.22.1-alpha.3
import { PerformanceEntries, PerformanceResourceTimingInfo, PropagateTraceHeaderCorsUrls } from './types'; | ||
import * as api from '@opentelemetry/api'; | ||
export declare function getUrlNormalizingAnchor(): HTMLAnchorElement; | ||
/** | ||
@@ -4,0 +5,0 @@ * Helper function to be able to use enum as typed key in type and in interface when using forEach |
@@ -21,3 +21,3 @@ /* | ||
var a; | ||
var getUrlNormalizingAnchor = function () { | ||
export function getUrlNormalizingAnchor() { | ||
if (!a) { | ||
@@ -27,3 +27,3 @@ a = document.createElement('a'); | ||
return a; | ||
}; | ||
} | ||
/** | ||
@@ -116,3 +116,3 @@ * Helper function to be able to use enum as typed key in type and in interface when using forEach | ||
} | ||
var sorted = sortResources(filteredResources.slice()); | ||
var sorted = sortResources(filteredResources); | ||
var parsedSpanUrl = parseUrl(spanUrl); | ||
@@ -119,0 +119,0 @@ if (parsedSpanUrl.origin !== window.location.origin && sorted.length > 1) { |
import { PerformanceEntries, PerformanceResourceTimingInfo, PropagateTraceHeaderCorsUrls } from './types'; | ||
import * as api from '@opentelemetry/api'; | ||
export declare function getUrlNormalizingAnchor(): HTMLAnchorElement; | ||
/** | ||
@@ -4,0 +5,0 @@ * Helper function to be able to use enum as typed key in type and in interface when using forEach |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.shouldPropagateTraceHeaders = exports.getElementXPath = exports.parseUrl = exports.getResource = exports.sortResources = exports.addSpanNetworkEvents = exports.addSpanNetworkEvent = exports.hasKey = void 0; | ||
exports.shouldPropagateTraceHeaders = exports.getElementXPath = exports.parseUrl = exports.getResource = exports.sortResources = exports.addSpanNetworkEvents = exports.addSpanNetworkEvent = exports.hasKey = exports.getUrlNormalizingAnchor = void 0; | ||
const PerformanceTimingNames_1 = require("./enums/PerformanceTimingNames"); | ||
@@ -25,3 +25,3 @@ const core_1 = require("@opentelemetry/core"); | ||
let a; | ||
const getUrlNormalizingAnchor = () => { | ||
function getUrlNormalizingAnchor() { | ||
if (!a) { | ||
@@ -31,3 +31,4 @@ a = document.createElement('a'); | ||
return a; | ||
}; | ||
} | ||
exports.getUrlNormalizingAnchor = getUrlNormalizingAnchor; | ||
/** | ||
@@ -123,3 +124,3 @@ * Helper function to be able to use enum as typed key in type and in interface when using forEach | ||
} | ||
const sorted = sortResources(filteredResources.slice()); | ||
const sorted = sortResources(filteredResources); | ||
const parsedSpanUrl = parseUrl(spanUrl); | ||
@@ -126,0 +127,0 @@ if (parsedSpanUrl.origin !== window.location.origin && sorted.length > 1) { |
{ | ||
"name": "@opentelemetry/web", | ||
"version": "0.22.1-alpha.2+bd2a0052", | ||
"version": "0.22.1-alpha.3+6fb4fd17", | ||
"description": "OpenTelemetry Web Tracer", | ||
@@ -51,4 +51,4 @@ "main": "build/src/index.js", | ||
"@opentelemetry/context-zone": "^0.22.0", | ||
"@opentelemetry/propagator-b3": "^0.22.0", | ||
"@opentelemetry/resources": "^0.22.1-alpha.2+bd2a0052", | ||
"@opentelemetry/propagator-b3": "^0.22.1-alpha.3+6fb4fd17", | ||
"@opentelemetry/resources": "^0.22.1-alpha.3+6fb4fd17", | ||
"@types/jquery": "3.5.5", | ||
@@ -85,7 +85,7 @@ "@types/mocha": "8.2.2", | ||
"dependencies": { | ||
"@opentelemetry/core": "^0.22.0", | ||
"@opentelemetry/core": "^0.22.1-alpha.3+6fb4fd17", | ||
"@opentelemetry/semantic-conventions": "^0.22.0", | ||
"@opentelemetry/tracing": "^0.22.1-alpha.2+bd2a0052" | ||
"@opentelemetry/tracing": "^0.22.1-alpha.3+6fb4fd17" | ||
}, | ||
"gitHead": "bd2a005229ea7a0a64ca0ac7c2206ee40d19bfce" | ||
"gitHead": "6fb4fd1712babdbb5de216c26e1283a94f7159ea" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
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
101875
1575
- Removed@opentelemetry/core@0.22.0(transitive)