New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

govuk_template_ejs

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

govuk_template_ejs - npm Package Compare versions

Comparing version

to
0.23.1

8

assets/javascripts/govuk-template.js

@@ -101,7 +101,9 @@ (function () {

}
if(sourceClass.indexOf('js-hidden') !== -1){
this.setAttribute('class', sourceClass.replace(/(^|\s)js-hidden(\s|$)/, ''));
if(sourceClass.indexOf('js-visible') !== -1){
this.setAttribute('class', sourceClass.replace(/(^|\s)js-visible(\s|$)/, ''));
} else {
this.setAttribute('class', sourceClass + " js-hidden");
this.setAttribute('class', sourceClass + " js-visible");
}
this.setAttribute('aria-expanded', this.getAttribute('aria-expanded') !== "true");
target.setAttribute('aria-hidden', target.getAttribute('aria-hidden') === "false");
});

@@ -108,0 +110,0 @@ }

{
"name": "govuk_template_ejs",
"version": "0.23.0",
"version": "0.23.1",
"description": "Embedded JavaScript packaged version of the GOV.UK template",

@@ -12,4 +12,4 @@ "keywords": ["alphagov", "govuk", "ejs", "template"],

"type": "git",
"url": "http://github.com/alphagov/govuk_template_ejs.git"
"url": "https://github.com/alphagov/govuk_template_ejs.git"
}
}

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet