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 3.4.1 to 3.4.2

9

CHANGELOG.md

@@ -0,1 +1,8 @@

#3.4.2
- Fix: Before this fix, when a user fell into variant 0 of a multivariate test,
the data wouldn't be reported to Google correctly because of a broken
null check in the code block that opts the user into the Google Content
Experiment.
# 3.4.1

@@ -14,3 +21,3 @@

- Fix: Make the error colour a darker red for greater contrast and to meet WCAG 2.0 AAAA
- Fix: Make the error colour a darker red for greater contrast and to meet WCAG 2.0 AAAA

@@ -17,0 +24,0 @@ # 3.3.0

4

javascripts/govuk/multivariate-test.js

@@ -90,3 +90,5 @@ (function() {

var cohortVariantId = this.cohorts[cohort]['variantId'];
if(contentExperimentId && cohortVariantId && typeof window.ga === "function"){
if(typeof contentExperimentId !== 'undefined' &&
typeof cohortVariantId !== 'undefined' &&
typeof window.ga === "function"){
window.ga('set', 'expId', contentExperimentId);

@@ -93,0 +95,0 @@ window.ga('set', 'expVar', cohortVariantId);

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

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

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

3.4.1
3.4.2
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