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

gemini-faildump

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-faildump - npm Package Compare versions

Comparing version 5.1.1 to 6.0.0

4

CHANGELOG.md
# Changelog
## 6.0.0
feat: support the changed field name "imagePath" -> "img.path"
## 5.0.0

@@ -4,0 +8,0 @@

2

lib/errors/error-factory.js

@@ -7,5 +7,5 @@ 'use strict';

exports.buildError = (data, config, options) => {
return (data.imagePath || data.saveDiffTo)
return (data.img || data.saveDiffTo)
? new ImageError(data, config, options)
: new BaseError(data, config);
};

@@ -15,4 +15,4 @@ 'use strict';

this.imagePath = data.imagePath || tempFS.resolveImagePath();
this.saveImg = data.imagePath ? Promise.resolve : data.saveDiffTo.bind(data);
this.imagePath = _.get(data, 'img.path') || tempFS.resolveImagePath();
this.saveImg = _.get(data, 'img.path') ? Promise.resolve : data.saveDiffTo.bind(data);
this.light = options.light;

@@ -19,0 +19,0 @@ this.isDiff = !_.isUndefined(data.equal);

{
"name": "gemini-faildump",
"version": "5.1.1",
"version": "6.0.0",
"description": "Fail information plugin",

@@ -5,0 +5,0 @@ "keywords": [

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