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

ms-uk-local-authorities

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-uk-local-authorities

Exports a list of uk local authorities for the modern slavery app into a usable format for hof select elements

  • 2.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Modern Slavery UK Local Authorities

Exports a list of UK Local Authorities to be used in the modern slavery app.

Can be used with the Typeahead Aria, which is exported with HOF Frontend Assets.

Example Usage

The following is an example of Modern Slavery UK Local Authorities in a HOF field with Typeahead Aria:

'country-select'-step: {
  mixin: 'select',
  className: ['typeahead', 'js-hidden'],
  options: [''].concat(require('ms-uk-local-authorities')),
  legend: {
    className: 'visuallyhidden'
  },
  validate: ['required']
},

Version Control

We follow the version format of Major.Minor.Patch i.e. (v1.2.3) where Major = breaking change, Minor non-breaking change but more than a patch, like a new feature and a Patch = non breaking usually a bugfix.

Creating a Release

  1. Update the version number in the package.json file. E.g.
"version": "1.2.3",

Once this PR has been approved and merged to master we follow the next steps in order to Create a release tag.

  1. Tag the new module version

Once the PR has been approved and merged, let the module build and update the master branch on your local machine:

Then tag the module with the git tag command, for example:

git tag v5.1.1

Once tagged, push the new tags to the remote git server:

git push origin --tags
  1. The following steps will publish to npm, please consult the following page for most up to date information.

https://collaboration.homeoffice.gov.uk/display/CTO/Updating+a+HOF+dependency+and+consuming+it+in+your+application

Keywords

FAQs

Package last updated on 29 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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