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

hermione-assert-view-extended

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermione-assert-view-extended - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

11

index.js

@@ -69,2 +69,6 @@ 'use strict';

await browser.execute(function(styleString, beforeExecute) {
if (beforeExecute && typeof beforeExecute.call !== 'undefined') {
beforeExecute();
}
var head = document.head || document.getElementsByTagName('head')[0];

@@ -80,4 +84,7 @@ var style = document.createElement('style');

if (beforeExecute && typeof beforeExecute.call !== 'undefined') {
beforeExecute();
// Force repaint page
if (window.getComputedStyle) {
window.getComputedStyle(document.body, null).getPropertyValue('height');
} else {
document.body.currentStyle.height;
}

@@ -84,0 +91,0 @@ }, styleString, beforeExecute);

2

package.json
{
"name": "hermione-assert-view-extended",
"version": "2.0.1",
"version": "2.1.0",
"description": "Hermione plugin for extend assertView command.",

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