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

govuk_frontend_toolkit

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

govuk_frontend_toolkit - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

5

CHANGELOG.md

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

# 5.1.2
- Update show-hide-content.js to work with new `.multiple-choice` custom radio buttons and checkboxes, released in GOV.UK elements 3.0.0 ([PR #390](https://github.com/alphagov/govuk_frontend_toolkit/pull/390))
- Fix buttons not having an outer edge when colours are changed via browser settings - add an outline so they look like buttons. ([PR #377](https://github.com/alphagov/govuk_frontend_toolkit/pull/377))
# 5.1.1

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

6

javascripts/govuk/show-hide-content.js

@@ -13,4 +13,4 @@ ;(function (global) {

namespace: 'ShowHideContent',
radio: '.block-label[data-target] input[type="radio"]',
checkbox: '.block-label[data-target] input[type="checkbox"]'
radio: '[data-target] > input[type="radio"]',
checkbox: '[data-target] > input[type="checkbox"]'
}

@@ -43,3 +43,3 @@

if (!id) {
id = $control.closest('label').data('target')
id = $control.closest('[data-target]').data('target')
}

@@ -46,0 +46,0 @@

{
"name": "govuk_frontend_toolkit",
"version": "5.1.1",
"version": "5.1.2",
"description": "npm package for using the GOV.UK frontend toolkit",

@@ -5,0 +5,0 @@ "repository": {

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