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.0.1 to 3.1.0

Gemfile

8

CHANGELOG.md

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

# 3.1.0
- Fix: outdent to add right margin rather than only left
- Fix: add missing semi-colons in JavaScript files
- Fix: use box-sizing mixin in column mixin to support more browsers
- Add: ability to specify float direction on column mixin
- Add: Sass-lint tests
# 3.0.1

@@ -2,0 +10,0 @@

10

javascripts/govuk/primary-links.js

@@ -14,3 +14,3 @@ (function() {

}
}
};
PrimaryList.prototype = {

@@ -25,3 +25,3 @@ toggleText: function(){

addToggleLink: function(){
this.$toggleLink = $('<a href="#">'+ this.toggleText() + '</a>')
this.$toggleLink = $('<a href="#">'+ this.toggleText() + '</a>');
this.$toggleLink.click($.proxy(this.toggleLinks, this));

@@ -37,7 +37,7 @@ this.$toggleLink.insertAfter(this.$el);

this.$extraLinks.addClass('visuallyhidden');
$(window).trigger('govuk.pageSizeChanged')
$(window).trigger('govuk.pageSizeChanged');
},
showExtraLinks: function(){
this.$extraLinks.removeClass('visuallyhidden');
$(window).trigger('govuk.pageSizeChanged')
$(window).trigger('govuk.pageSizeChanged');
}

@@ -53,3 +53,3 @@ };

}
}
};
}());
(function () {
"use strict"
"use strict";
var root = this,

@@ -55,3 +55,3 @@ $ = root.jQuery;

if ($elm.attr('type') === 'radio') {
radioName = $elm.attr('name'),
radioName = $elm.attr('name');
$($elm[0].form).find('input[name="' + radioName + '"]')

@@ -91,3 +91,3 @@ .parent('label')

SelectionButtons.prototype.getFocusHandler = function (opts) {
var focusEvent = (opts.level === 'document') ? 'focusin' : 'focus'
var focusEvent = (opts.level === 'document') ? 'focusin' : 'focus';

@@ -94,0 +94,0 @@ return function (e) {

(function () {
"use strict"
"use strict";
var root = this,

@@ -74,4 +74,4 @@ $ = root.jQuery;

}
}
};
root.GOVUK.stickAtTopWhenScrolling = sticky;
}).call(this);

@@ -15,3 +15,3 @@ // Stop scrolling at footer.

(function () {
"use strict"
"use strict";
var root = this,

@@ -18,0 +18,0 @@ $ = root.jQuery;

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

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

@@ -12,8 +12,10 @@ # GOV.UK frontend toolkit npm package

Include `govuk_frontend_toolkit` in your `package.json` along with a version, and run:
To include the toolkit in your project run:
```
npm install
npm install --save govuk_frontend_toolkit
```
This will install the toolkit inside your node_modules and will add the package to you package.json.
## Updating this package

@@ -20,0 +22,0 @@

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

3.0.1
3.1.0

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

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