@datadog/browser-core
Advanced tools
Comparing version 1.2.8 to 1.2.9
@@ -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 |
{ | ||
"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
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
298218
4955