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

@guardian/paparazzi

Package Overview
Dependencies
Maintainers
19
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/paparazzi - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

index.js

@@ -6,2 +6,3 @@ #!/usr/bin/env node

const mkdirp = require('mkdirp');
const sanitize = require('filenamify');
const { resolve } = require('path');

@@ -33,3 +34,3 @@ const { readFileSync } = require('fs');

if (!conf.prefix || !conf.routes || !conf.out) {
if (!conf.routes || !conf.out) {
console.error(

@@ -62,3 +63,3 @@ chalk.red(`error! Could not find ${config} in the current folder`)

await page.screenshot({
path: `${out}/${size}-${route.replace(/\//gi, '-')}.png`,
path: `${out}/${size}-${sanitize(route, { replacement: '-' })}.png`,
...screenshot,

@@ -65,0 +66,0 @@ });

3

package.json
{
"name": "@guardian/paparazzi",
"version": "0.3.0",
"version": "0.3.1",
"description": "Automated manual visual regression testing",

@@ -16,2 +16,3 @@ "main": "index.js",

"chalk": "^2.4.1",
"filenamify": "^2.1.0",
"minimist": "^1.2.0",

@@ -18,0 +19,0 @@ "mkdirp": "^0.5.1",

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