New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cypress-match-screenshot

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-match-screenshot - npm Package Compare versions

Comparing version 0.0.1-rc.0 to 0.0.1-rc.1

2

package.json
{
"name": "cypress-match-screenshot",
"version": "0.0.1-rc.0",
"version": "0.0.1-rc.1",
"description": "Utility to take screenshots during a cypress test and match them against previous runs",

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

@@ -0,1 +1,7 @@

function uuid () {
return ([ 1e7 ] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (a) =>
(a ^ ((Math.random() * 16) >> (a / 4))).toString(16)
);
}
function matchScreenshot (name, options = {}) {

@@ -2,0 +8,0 @@ const fileName = `${this.test.parent.title} -- ${this.test.title} -- ${name}`;

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