Socket
Socket
Sign inDemoInstall

@percy/dom

Package Overview
Dependencies
Maintainers
6
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/dom - npm Package Compare versions

Comparing version 1.0.0-beta.41 to 1.0.0-beta.42

15

dist/bundle.js

@@ -7,4 +7,3 @@ (function (global, factory) {

let process = {};
try { process = globalThis.process || {}; } catch (e) {}
const process = (typeof globalThis !== "undefined" && globalThis.process) || {};
process.env = process.env || {};

@@ -364,12 +363,6 @@ process.env.__PERCY_BROWSERIFIED__ = true;

/* istanbul ignore next */
// works around instances where the context has an incorrect global scope
// https://github.com/mozilla/geckodriver/issues/1798
// works around instances where the context has an incorrect scope
try {
if (globalThis !== window) {
window.PercyDOM = {
serialize: serializeDOM
};
}
} catch (error) {// `globalThis` is probably not defined
if (typeof window !== 'undefined') {
window.PercyDOM = exports;
}

@@ -376,0 +369,0 @@

{
"name": "@percy/dom",
"version": "1.0.0-beta.41",
"version": "1.0.0-beta.42",
"license": "MIT",

@@ -27,3 +27,3 @@ "main": "dist/bundle.js",

},
"gitHead": "2f6817c5d319f139e410affb132af268fc9f1d35"
"gitHead": "1feffb5149eff71114ea583e10c098f75f497544"
}
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