New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 4.0.4 to 4.0.5

6

CHANGELOG.md

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

### 4.0.3 (Feb-21-2019)
* Enable non-inlined screenshots . Fix for [Issue#145](https://github.com/gkushang/cucumber-html-reporter/issues/145) - [PR#166](https://github.com/gkushang/cucumber-html-reporter/pull/166)
### 4.0.4
### 4.0.3 (Aug-23-2018)

@@ -2,0 +8,0 @@

3

lib/reporter.js

@@ -272,3 +272,3 @@ 'use strict';

var name = sanitize(step.name || step.keyword);
var name = sanitize(step.name || step.keyword, /[^a-zA-Z0-9/-]+/g); // Only allow URL-friendly file names
if (!fs.existsSync(screenshotsDirectory)) {

@@ -280,2 +280,3 @@ fs.mkdirSync(screenshotsDirectory);

fs.writeFileSync(filename, embedding.data, 'base64');
if (options.noInlineScreenshots) step.image = path.relative(path.join(options.output, '..'), filename);
}

@@ -282,0 +283,0 @@ } else {

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

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

@@ -204,2 +204,10 @@ # cucumber-html-reporter

#### `noInlineScreenshots`
Type: `Boolean`
Default: `undefined`
`true`: Applicable if `storeScreenshots=true`. Avoids inlining screenshots, uses relative path to screenshots instead (i.e. enables lazy loading of images).
`false` or `undefined`: Keeps screenshots inlined.
#### `metadata`

@@ -206,0 +214,0 @@ Type: `JSON` (optional)

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