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

wraith

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wraith - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

index.js

@@ -6,3 +6,4 @@ 'use strict';

spider = require('./lib/spider'),
chalk = require('chalk');
chalk = require('chalk'),
path = require('path');

@@ -16,7 +17,7 @@ module.exports.run = run;

outputFolder = '',
baseFolder = process.cwd() + '/',
baseFolder = path.normalize(process.cwd() + '/'),
config = null;
try {
config = require(baseFolder + 'config/' + configFile + '.json');
config = require(path.normalize(baseFolder + 'config/' + configFile + '.json'));
} catch(err) {

@@ -28,2 +29,3 @@ console.error(chalk.red('Configuration file specified could not be found or accessed'));

outputFolder = typeof config.outputDir === 'undefined' ? baseFolder + 'shots/' : baseFolder + 'shots/' + config.outputDir;
outputFolder = path.normalize(outputFolder);

@@ -44,5 +46,5 @@ for(var domain in config.domains) {

if(config.snap) {
config.snap = baseFolder + config.snap;
config.snap = path.normalize(baseFolder + config.snap);
} else {
config.snap = __dirname + '/snap.js';
config.snap = path.normalize(__dirname + '/snap.js');
}

@@ -49,0 +51,0 @@

{
"name": "wraith",
"version": "1.0.1",
"version": "1.0.2",
"description": "A responsive screenshot comparison tool. Based on the Ruby version available at http://github.comm/BBC-News/wraith",

@@ -5,0 +5,0 @@ "license": "MIT",

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