hof 22.13.1 → 22.14.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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 2026-02-23, Version 22.14.1 (Stable), @vivekkumar-ho
2
+
3
+ ### Security
4
+
5
+ - Upgraded Jest to address a security issue: uncontrolled resource consumption in `braces`.
6
+ - Previous dependency chain (via transitive deps) could pin `braces` to `2.3.2` (from `jest@26.6.3` → `micromatch@3.1.10` → `braces@^2.3.1`), while the earliest fixed `braces` version is `3.0.3`.
7
+ - Jest upgrade updates the transitive dependency chain so `braces` can be resolved to a fixed version (`>= 3.0.3`).
8
+ - Updates patch and minor dependency versions
9
+
1
10
  ## 2026-01-27, v22.14.0 (Stable), @rayhannurrohmanho
2
11
 
3
12
  ### Added
@@ -38,7 +38,7 @@ const postProcess = (req, key) => {
38
38
  * - Resolves required validators and optional configurations for child components.
39
39
  * - Propagates child component field data and values to the request to enable their validation.
40
40
  * - Adds a custom 'equal' validator to the unit child component.
41
- * - Adds a custom 'twoHyphenSeparatedValues' validator to the parent component to validate overall value format.
41
+ * - Adds a custom 'twoHyphenSeparatedValues' validator to the parent component to validate value format.
42
42
  * - Moves excess validators that do not apply to the parent component to the 'amount' child component.
43
43
  * @param {Object} req - The form's request object.
44
44
  * @param {Object} fields - The component's child field definitions and configurations.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "22.13.1",
4
+ "version": "22.14.1",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -96,7 +96,7 @@
96
96
  "devDependencies": {
97
97
  "@cucumber/cucumber": "^7.3.2",
98
98
  "@cucumber/pretty-formatter": "^1.0.1",
99
- "@types/jest": "^26.0.24",
99
+ "@types/jest": "^30.0.0",
100
100
  "@xmldom/xmldom": "~0.8.11",
101
101
  "chai": "^3.5.0",
102
102
  "chai-as-promised": "^7.1.2",
@@ -108,7 +108,8 @@
108
108
  "funkie": "0.0.5",
109
109
  "funkie-phantom": "0.0.1",
110
110
  "istanbul": "^0.4.5",
111
- "jest": "^26.6.3",
111
+ "jest": "^30.2.0",
112
+ "jest-environment-jsdom": "^30.2.0",
112
113
  "jquery": "^3.7.1",
113
114
  "karma": "^6.4.4",
114
115
  "karma-browserify": "^8.1.0",
@@ -132,6 +133,9 @@
132
133
  "watchify": "^4.0.0",
133
134
  "webdriverio": "^4.14.4"
134
135
  },
136
+ "jest": {
137
+ "testEnvironment": "jsdom"
138
+ },
135
139
  "mocha": {
136
140
  "reporter": "spec",
137
141
  "require": "test/common.js",