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

css-compare-screenshots

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-compare-screenshots - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

6

lib/phantom/script.js

@@ -113,4 +113,3 @@ // PHANTOMJS SCRIPT

window.callPhantom({
status: options.STATUS_INLINED_CSS_DONE,
html: document.documentElement.innerHTML
status: options.STATUS_INLINED_CSS_DONE
});

@@ -136,5 +135,2 @@ }, options.renderDelay);

page.onCallback = function (data) {
if (data.html) {
system.stdout.write(data.html);
}
if (data.status === STATUS_INLINED_CSS_DONE) {

@@ -141,0 +137,0 @@ renderScreenshot('after');

2

package.json
{
"name": "css-compare-screenshots",
"version": "0.0.10",
"version": "0.0.11",
"description": "Generates comparision screenshots before/after modifying css. Use for regression testing.",

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

@@ -112,4 +112,3 @@ // PHANTOMJS SCRIPT

window.callPhantom({
status: options.STATUS_INLINED_CSS_DONE,
html: document.documentElement.innerHTML
status: options.STATUS_INLINED_CSS_DONE
})

@@ -135,5 +134,2 @@ }, options.renderDelay)

page.onCallback = function (data) {
if (data.html) {
system.stdout.write(data.html)
}
if (data.status === STATUS_INLINED_CSS_DONE) {

@@ -140,0 +136,0 @@ renderScreenshot('after')

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