@ministryofjustice/frontend 3.6.0 → 3.6.1

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/moj/all.js CHANGED
@@ -2531,7 +2531,7 @@
2531
2531
  return isNaN(valAsNumber) ? val : valAsNumber
2532
2532
  };
2533
2533
 
2534
- const version = '3.6.0';
2534
+ const version = '3.6.1';
2535
2535
 
2536
2536
  /* eslint-disable no-new */
2537
2537
 
package/moj/all.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  $govuk-suppressed-warnings: ("govuk-typography-scale-14");
2
2
 
3
- @import "node_modules/govuk-frontend/dist/govuk/base";
3
+ @import "govuk-frontend/dist/govuk/base";
4
4
 
5
5
  @import "settings/all";
6
6
  @import "helpers/all";
@@ -1,4 +1,4 @@
1
- @import "node_modules/govuk-frontend/dist/govuk/objects/width-container";
1
+ @import "govuk-frontend/dist/govuk/objects/width-container";
2
2
 
3
3
  .moj-cookie-banner {
4
4
  box-sizing: border-box;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ministryofjustice/frontend",
3
3
  "description": "The MOJ Frontend contains the code you need to start building user interfaces for UK Ministry of Justice government services.",
4
- "version": "3.6.0",
4
+ "version": "3.6.1",
5
5
  "main": "moj/all.js",
6
6
  "module": "moj/all.mjs",
7
7
  "sass": "moj/all.scss",
@@ -38,11 +38,17 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "dependencies": {
42
- "govuk-frontend": "^5.0.0",
43
- "moment": "^2.27.0"
44
- },
45
41
  "peerDependencies": {
46
- "jquery": "^3.6.0"
42
+ "govuk-frontend": "5.x",
43
+ "jquery": "3.x",
44
+ "moment": "2.x"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "jquery": {
48
+ "optional": true
49
+ },
50
+ "moment": {
51
+ "optional": true
52
+ }
47
53
  }
48
54
  }