Socket
Socket
Sign inDemoInstall

@datadog/browser-core

Package Overview
Dependencies
Maintainers
1
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datadog/browser-core - npm Package Compare versions

Comparing version 1.13.0 to 1.14.0

1

cjs/urlPolyfill.d.ts

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

2

esm/urlPolyfill.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc