Huge News!Announcing our $40M Series B led by Abstract Ventures.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 Versions

23
10

9.0.1

Diff

alphagov
published 9.0.0 •

Changelog

Source

9.0.0

  • Breaking change: Remove Google Analytics code (migrated to static)

    As this library has been deprecated the code has been migrated to static for use in GOV.UK Publishing.

    Note that any code that explicitly relies upon the analytics code in toolkit will no longer work. If you require this code, do not update from v8.2.0, or make a copy of it in your application.

alphagov
published 8.2.0 •

Changelog

Source

8.2.0

  • Update MHLCG brand colour
  • Disable Google Analytics Ad Features by default
alphagov
published 8.1.0 •

Changelog

Source

8.1.0

  • Enables cross domain event tracking. Preserves previous cross domain pageview tracking behaviours but adds optional abilities to send events to linked GA trackers.

    (PR 472).

alphagov
published 8.0.0 •

Changelog

Source

8.0.0

  • Breaking change: Add support for Google Analytics Universal in stageprompt.js

    This is a breaking change since while we allow for the old behaviour, Google Analytics Universal is used by the default, which could change behaviour in applications.

    Also ensures that events triggered via GA Universal do not impact bounce-rate calculations, which mirrors the original implementation.

    (PR 421).

  • Fix: Add support to show-hide-content.js for form fields with more varied characters: (PR 403).

alphagov
published 7.6.0 •

Changelog

Source

7.6.0

  • Strip emails from urls for all GA requests to catch cases when GA generates a new event (e.g. page timings): (PR 466).
alphagov
published 7.5.0 •

Changelog

Source

7.5.0

  • Implement optional stripping of dates for arguments passed to GA: (PR #459)
alphagov
published 7.4.2 •

Changelog

Source

7.4.2

  • Remove the deprecation warning in javascripts/govuk/selection-buttons.js as it is coupled to a different project which is not always used with this gem.
alphagov
published 7.4.1 •

Changelog

Source

7.4.1

  • Use a path, not a full url, as the defaultPathForTrackPageview because our analytics trackers expect the explicit page param to be a path, not a url (PR #451). Analytics sent with 7.3.0 and 7.4.0 are broken without this fix.
alphagov
published 7.4.0 •

Changelog

Source

7.4.0

  • Allow wrapping arguments to analytics as PII safe to tell the analytics code not to attempt to strip PII from the values: (PR #448)
  • Documentation improvements: (PR #446, PR #447)
23
10
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