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

@ministryofjustice/frontend

Package Overview
Dependencies
Maintainers
15
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ministryofjustice/frontend - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

12

moj/all.js

@@ -714,7 +714,7 @@ ;(function(root, factory) {

html += '<div class="govuk-summary-list__row moj-multi-file-upload__row">';
html += ' <dd class="govuk-summary-list__value moj-multi-file-upload__message">';
html += ' <div class="govuk-summary-list__value moj-multi-file-upload__message">';
html += '<span class="moj-multi-file-upload__filename">'+file.name+'</span>';
html += '<span class="moj-multi-file-upload__progress">0%</span>';
html += ' </dd>';
html += ' <dd class="govuk-summary-list__actions moj-multi-file-upload__actions"></dd>';
html += ' </div>';
html += ' <div class="govuk-summary-list__actions moj-multi-file-upload__actions"></div>';
html += '</div>';

@@ -878,3 +878,3 @@ return html;

MOJFrontend.PasswordReveal.prototype.createButton = function() {
this.button = $('<button type="button" class="govuk-button govuk-button--secondary moj-password-reveal__button">Show</button>');
this.button = $('<button type="button" class="govuk-button govuk-button--secondary moj-password-reveal__button">Show <span class="govuk-visually-hidden">password</span></button>');
this.container.append(this.button);

@@ -887,6 +887,6 @@ this.button.on('click', $.proxy(this, 'onButtonClick'));

this.el.type = 'text';
this.button.text('Hide');
this.button.html('Hide <span class="govuk-visually-hidden">password</span>');
} else {
this.el.type = 'password';
this.button.text('Show');
this.button.html('Show <span class="govuk-visually-hidden">password</span>');
}

@@ -893,0 +893,0 @@ };

@@ -102,7 +102,7 @@ if(MOJFrontend.dragAndDropSupported() && MOJFrontend.formDataSupported() && MOJFrontend.fileApiSupported()) {

html += '<div class="govuk-summary-list__row moj-multi-file-upload__row">';
html += ' <dd class="govuk-summary-list__value moj-multi-file-upload__message">';
html += ' <div class="govuk-summary-list__value moj-multi-file-upload__message">';
html += '<span class="moj-multi-file-upload__filename">'+file.name+'</span>';
html += '<span class="moj-multi-file-upload__progress">0%</span>';
html += ' </dd>';
html += ' <dd class="govuk-summary-list__actions moj-multi-file-upload__actions"></dd>';
html += ' </div>';
html += ' <div class="govuk-summary-list__actions moj-multi-file-upload__actions"></div>';
html += '</div>';

@@ -109,0 +109,0 @@ return html;

@@ -17,3 +17,3 @@ MOJFrontend.PasswordReveal = function(element) {

MOJFrontend.PasswordReveal.prototype.createButton = function() {
this.button = $('<button type="button" class="govuk-button govuk-button--secondary moj-password-reveal__button">Show</button>');
this.button = $('<button type="button" class="govuk-button govuk-button--secondary moj-password-reveal__button">Show <span class="govuk-visually-hidden">password</span></button>');
this.container.append(this.button);

@@ -26,7 +26,7 @@ this.button.on('click', $.proxy(this, 'onButtonClick'));

this.el.type = 'text';
this.button.text('Hide');
this.button.html('Hide <span class="govuk-visually-hidden">password</span>');
} else {
this.el.type = 'password';
this.button.text('Show');
this.button.html('Show <span class="govuk-visually-hidden">password</span>');
}
};
{
"name": "@ministryofjustice/frontend",
"description": "The MOJ Frontend contains the code you need to start building user interfaces for UK Ministry of Justice government services.",
"version": "1.3.2",
"version": "1.4.0",
"main": "moj/all.js",

@@ -6,0 +6,0 @@ "sass": "moj/all.scss",

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