@ministryofjustice/hmpps-digital-prison-reporting-frontend 2.4.0 → 2.4.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/dpr/all.scss +0 -0
- package/dpr/assets/css/all.css +0 -0
- package/dpr/utils/urlHelper.ts +1 -1
- package/package.json +1 -1
- package/package.zip +0 -0
package/dpr/all.scss
CHANGED
|
File without changes
|
package/dpr/assets/css/all.css
CHANGED
|
File without changes
|
package/dpr/utils/urlHelper.ts
CHANGED
|
@@ -56,7 +56,7 @@ export const createQuerystringFromObject = (source: object) => {
|
|
|
56
56
|
let k = key
|
|
57
57
|
// eslint-disable-next-line prefer-destructuring
|
|
58
58
|
if (key.includes('columns.')) k = key.split('.')[0]
|
|
59
|
-
return `${encodeURI(k)}=${encodeURI(source[key])}`
|
|
59
|
+
return `${encodeURI(k)}=${encodeURI(source[key as keyof typeof source])}`
|
|
60
60
|
})
|
|
61
61
|
.join('&')
|
|
62
62
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ministryofjustice/hmpps-digital-prison-reporting-frontend",
|
|
3
3
|
"description": "The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"main": "dpr/assets/js/client.js",
|
|
6
6
|
"sass": "dpr/all.scss",
|
|
7
7
|
"engines": {
|
package/package.zip
CHANGED
|
Binary file
|