@companieshouse/ch-node-utils 2.1.11 → 2.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -141,7 +141,7 @@ The navbar uses translations from `@companieshouse/ch-node-utils` (this) package
141
141
 
142
142
  The navbar also requires the use of styles provided in the [ch.gov.uk.css](https://github.com/companieshouse/cdn.ch.gov.uk/blob/master/app/assets/stylesheets/ch.gov.uk.css) stylesheet (you can either add the provided link to the head section or include specific styles in your own stylesheet)
143
143
 
144
- `<link href="{{ cdnHost }}/stylesheets/ch.gov.uk.css" rel="stylesheet"/>`
144
+ `<link href="{{ cdnHost }}/stylesheets/ch.gov.uk.css" rel="stylesheet" crossorigin="anonymous"/>`
145
145
 
146
146
  It also requires the [navbar.js](https://github.com/companieshouse/cdn.ch.gov.uk/blob/master/app/assets/javascripts/lib/navbar.js) script to be added to the footer to make the navbar work in mobile mode (make sure it's the latest version).
147
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companieshouse/ch-node-utils",
3
- "version": "2.1.11",
3
+ "version": "2.1.12",
4
4
  "author": "companieshouse",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  {% endblock %}
25
25
 
26
26
  {% block head %}
27
- <link rel="stylesheet" href="{{ cdnHost }}/stylesheets/govuk-frontend/v{{ govukFrontendVersion }}/govuk-frontend-{{ govukFrontendVersion }}.min.css">
27
+ <link rel="stylesheet" href="{{ cdnHost }}/stylesheets/govuk-frontend/v{{ govukFrontendVersion }}/govuk-frontend-{{ govukFrontendVersion }}.min.css" crossorigin="anonymous">
28
28
  {% endblock %}
29
29
 
30
30
  {% block bodyEnd %}
@@ -9,7 +9,7 @@ It also requires the use of styles provided in the following stylesheet
9
9
  (you can either add the provided link to the head section or include specific
10
10
  styles in your own stylesheet)
11
11
 
12
- <link href="{{ cdnHost }}/stylesheets/ch.gov.uk.css" rel="stylesheet"/>
12
+ <link href="{{ cdnHost }}/stylesheets/ch.gov.uk.css" rel="stylesheet" crossorigin="anonymous"/>
13
13
 
14
14
  It also requires the following script to be added to the footer
15
15