hof 23.0.0-vite-sourcemap-beta.3 → 23.0.0
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 +9 -0
- package/README.md +1 -1
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,15 @@
|
|
|
9
9
|
- Updated engine requirements to use node to `>=20.19.0`
|
|
10
10
|
- Vite uses Rollup in production and requires optional rollup dependencies to be loaded. Setting `--ignore-optional flag` in Dockerfiles will result in "Module not found" errors in CI/CD or Docker.
|
|
11
11
|
|
|
12
|
+
## 2026-02-23, Version 22.14.1 (Stable), @vivekkumar-ho
|
|
13
|
+
|
|
14
|
+
### Security
|
|
15
|
+
|
|
16
|
+
- Upgraded Jest to address a security issue: uncontrolled resource consumption in `braces`.
|
|
17
|
+
- 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`.
|
|
18
|
+
- Jest upgrade updates the transitive dependency chain so `braces` can be resolved to a fixed version (`>= 3.0.3`).
|
|
19
|
+
- Updates patch and minor dependency versions
|
|
20
|
+
|
|
12
21
|
## 2026-01-27, v22.14.0 (Stable), @rayhannurrohmanho
|
|
13
22
|
|
|
14
23
|
### Added
|
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ Note: For SASS compilation it's possible to additionally configure the following
|
|
|
71
71
|
- `quietDeps` - This controls whether you get deprecation warning shown in the console output, if set to false (default) SASS deprecation warnings will be shown in the console, if set to true then deprecation warnings will not be shown in the console output.
|
|
72
72
|
- `sourceMaps` - This controls whether the build will output css sourcemaps to help with debugging. These will be output to the same directory as the css output as a .map file. This option is not currently available in production.
|
|
73
73
|
|
|
74
|
-
Vite
|
|
74
|
+
Vite outputs JavaScript sourcemaps as a .js.map file to the same directory as the js bundle.
|
|
75
75
|
|
|
76
76
|
Debugging example (in hof.settings or your build config)
|
|
77
77
|
```js
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hof",
|
|
3
3
|
"description": "A bootstrap for HOF projects",
|
|
4
|
-
"version": "23.0.0
|
|
4
|
+
"version": "23.0.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": "HomeOffice",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@cucumber/cucumber": "^7.3.2",
|
|
100
100
|
"@cucumber/pretty-formatter": "^1.0.1",
|
|
101
|
-
"@types/jest": "^
|
|
101
|
+
"@types/jest": "^30.0.0",
|
|
102
102
|
"@vitest/coverage-v8": "^4.0.8",
|
|
103
103
|
"@xmldom/xmldom": "~0.8.11",
|
|
104
104
|
"chai": "^3.5.0",
|
|
@@ -111,7 +111,8 @@
|
|
|
111
111
|
"funkie": "0.0.5",
|
|
112
112
|
"funkie-phantom": "0.0.1",
|
|
113
113
|
"istanbul": "^0.4.5",
|
|
114
|
-
"jest": "^
|
|
114
|
+
"jest": "^30.2.0",
|
|
115
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
115
116
|
"jquery": "^3.7.1",
|
|
116
117
|
"mocha": "^8.4.0",
|
|
117
118
|
"mocha-sandbox": "^1.0.0",
|
|
@@ -130,6 +131,9 @@
|
|
|
130
131
|
"watchify": "^4.0.0",
|
|
131
132
|
"webdriverio": "^4.14.4"
|
|
132
133
|
},
|
|
134
|
+
"jest": {
|
|
135
|
+
"testEnvironment": "jsdom"
|
|
136
|
+
},
|
|
133
137
|
"mocha": {
|
|
134
138
|
"reporter": "spec",
|
|
135
139
|
"require": "test/common.js",
|