@datadog/browser-core
Advanced tools
Comparing version 1.13.0 to 1.14.0
@@ -8,1 +8,2 @@ export declare function normalizeUrl(url: string): string; | ||
export declare function getHash(url: string): string; | ||
export declare function buildUrl(url: string, base?: string): HTMLAnchorElement | URL; |
@@ -57,2 +57,3 @@ "use strict"; | ||
} | ||
exports.buildUrl = buildUrl; | ||
var isURLSupported; | ||
@@ -59,0 +60,0 @@ function checkURLSupported() { |
@@ -8,1 +8,2 @@ export declare function normalizeUrl(url: string): string; | ||
export declare function getHash(url: string): string; | ||
export declare function buildUrl(url: string, base?: string): HTMLAnchorElement | URL; |
@@ -29,3 +29,3 @@ import { getLinkElementOrigin, getLocationOrigin } from './utils'; | ||
} | ||
function buildUrl(url, base) { | ||
export function buildUrl(url, base) { | ||
if (checkURLSupported()) { | ||
@@ -32,0 +32,0 @@ return base !== undefined ? new URL(url, base) : new URL(url); |
{ | ||
"name": "@datadog/browser-core", | ||
"version": "1.13.0", | ||
"version": "1.14.0", | ||
"license": "Apache-2.0", | ||
@@ -26,3 +26,3 @@ "main": "cjs/index.js", | ||
}, | ||
"gitHead": "8f4cafa75386dd9053a3436b57e2409fec15fd5a" | ||
"gitHead": "b9e32106eef6dd9e7f5c03ab92a7c518f53f934a" | ||
} |
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
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
377506
6245