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

cucumber-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-html-reporter - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

5

CHANGELOG.md

@@ -0,1 +1,6 @@

### 3.0.2 (Sep-20-2017)
* Add Backward compatibility for Cucumber V2 and V3. Add styling to Keywords GWT on HTML Report [PR#114](https://github.com/gkushang/cucumber-html-reporter/pull/114)
### 3.0.1 (Aug-23-2017)

@@ -2,0 +7,0 @@

14

lib/reporter.js

@@ -215,3 +215,11 @@ 'use strict';

if (embedding.media.type === 'text/plain') {
var embeddingType = {};
if (embedding.mime_type) {
embeddingType = embedding.mime_type.type;
} else if (embedding.media) {
embeddingType = embedding.media.type;
}
if (embeddingType === 'text/plain') {
if (!step.text) {

@@ -222,3 +230,3 @@ step.text = embedding.data;

}
} else if (embedding.media.type === 'application/json') {
} else if (embeddingType === 'application/json') {
var decoded = new Buffer(embedding.data, 'base64').toString('ascii');

@@ -231,3 +239,3 @@

}
} else if (embedding.media.type === 'image/png') {
} else if (embeddingType === 'image/png') {
step.image = 'data:image/png;base64,' + embedding.data;

@@ -234,0 +242,0 @@

{
"name": "cucumber-html-reporter",
"version": "3.0.1",
"version": "3.0.2",
"description": "Generates Cucumber HTML reports in three different themes",

@@ -50,2 +50,6 @@ "main": "index.js",

"url": "https://github.com/spukst3r"
},
{
"name": "klimenko4",
"url": "https://github.com/klimenko4"
}

@@ -52,0 +56,0 @@ ],

@@ -17,3 +17,2 @@ # cucumber-html-reporter

> _For future updates, follow the [twitter][twitter] handle_

@@ -265,7 +264,3 @@ ## Snapshot of Bootstrap Report

## For updates on the module
[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/g_kushang)
## Credits

@@ -272,0 +267,0 @@

Sorry, the diff of this file is not supported yet

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