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

allure-commandline

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allure-commandline - npm Package Compare versions

Comparing version 2.1.1 to 2.2.1

dist/lib/allure-commandline-2.2.1.jar

14

dist/plugins/screen-diff-plugin/static/index.js
(function () {
var settings = allure.getPluginSettings('screen-diff', {diffType: 'diff'});
function renderImage(src) {

@@ -48,8 +50,5 @@ return '<div class="screen-diff__container">' +

},
initialize: function () {
this.diffType = 'diff';
},
templateContext: function () {
return {
diffType: this.diffType
diffType: settings.get('diffType')
}

@@ -80,4 +79,5 @@ },

onRender: function () {
this.$('[name="screen-diff-type"][value="' + this.diffType + '"]').prop('checked', true);
if (this.diffType === 'overlay') {
const diffType = settings.get('diffType');
this.$('[name="screen-diff-type"][value="' + diffType + '"]').prop('checked', true);
if (diffType === 'overlay') {
this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));

@@ -94,3 +94,3 @@ }

onDiffTypeChange: function (event) {
this.diffType = event.target.value;
settings.save('diffType', event.target.value);
this.render();

@@ -97,0 +97,0 @@ }

@@ -6,3 +6,3 @@ {

},
"version": "2.1.1",
"version": "2.2.1",
"description": "Wrapper to install Allure-commandline via NPM",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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