Socket
Socket
Sign inDemoInstall

@datadog/browser-core

Package Overview
Dependencies
Maintainers
1
Versions
256
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.2.8 to 1.2.9

6

cjs/init.js

@@ -40,3 +40,3 @@ "use strict";

}
if (isDocPrerendered() || isLocalFile()) {
if (isLocalFile()) {
console.error('Execution is not allowed in the current context.');

@@ -51,6 +51,2 @@ return false;

}
function isDocPrerendered() {
// https://www.w3.org/TR/resource-hints/#dfn-prerender
return document.visibilityState === 'prerender';
}
//# sourceMappingURL=init.js.map

@@ -35,3 +35,3 @@ import * as tslib_1 from "tslib";

}
if (isDocPrerendered() || isLocalFile()) {
if (isLocalFile()) {
console.error('Execution is not allowed in the current context.');

@@ -45,6 +45,2 @@ return false;

}
function isDocPrerendered() {
// https://www.w3.org/TR/resource-hints/#dfn-prerender
return document.visibilityState === 'prerender';
}
//# sourceMappingURL=init.js.map

4

package.json
{
"name": "@datadog/browser-core",
"version": "1.2.8",
"version": "1.2.9",
"license": "Apache-2.0",

@@ -25,3 +25,3 @@ "main": "cjs/index.js",

},
"gitHead": "601cc0a796d7a3a00b79921557f9620e06b07543"
"gitHead": "a658583cd4b462bdcf89381927ae8a85c74e2ddf"
}

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