Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

happo-e2e

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happo-e2e - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

11

controller.js

@@ -148,6 +148,12 @@ const crypto = require('crypto');

let globalCSS = this.allCssBlocks.map(block => block.content).join('\n');
const globalCSS = this.allCssBlocks.map(block => ({
id: block.key,
conditional: true,
css: block.content,
}));
for (const url of uniqueUrls) {
if (/^\/_external\//.test(url.name) && url.name !== url.url) {
globalCSS = globalCSS.split(url.url).join(url.name);
for (const block of globalCSS) {
block.css = block.css.split(url.url).join(url.name);
}
this.snapshots.forEach(snapshot => {

@@ -230,2 +236,3 @@ snapshot.html = snapshot.html.split(url.url).join(url.name);

targets,
stylesheets: cssBlocks.map(b => b.key),
htmlElementAttrs,

@@ -232,0 +239,0 @@ bodyElementAttrs,

2

package.json
{
"name": "happo-e2e",
"version": "2.0.1",
"version": "2.1.0",
"description": "Helpers for e2e integrations with Happo",

@@ -5,0 +5,0 @@ "main": "index.js",

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