@ministryofjustice/hmpps-prison-permissions-lib 2.6.0 → 3.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 +4 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Please use this to capture reasoning behind changes:
|
|
4
4
|
|
|
5
|
+
## 3.0.0
|
|
6
|
+
|
|
7
|
+
Drops support for node 20 (which is no longer maintained) and adds support for node 26.
|
|
8
|
+
|
|
5
9
|
## 2.6.0
|
|
6
10
|
|
|
7
11
|
The following permissions now use the `inUsersCaseLoad` check rather than `baseCheck` only.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ministryofjustice/hmpps-prison-permissions-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A library to centralise the process of determining whether a user should have access to create/read/update/delete a prison resource, for example, accessing a prisoner's Prisoner Profile.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hmpps",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dist/**/*"
|
|
26
26
|
],
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": "
|
|
28
|
+
"node": "22 || 24 || 26"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"prepare": "hmpps-precommit-hooks-prepare",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
]
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@ministryofjustice/eslint-config-hmpps": "
|
|
54
|
-
"@ministryofjustice/hmpps-npm-script-allowlist": "0.0.
|
|
55
|
-
"@ministryofjustice/hmpps-precommit-hooks": "
|
|
53
|
+
"@ministryofjustice/eslint-config-hmpps": "2.0.0-alpha.2",
|
|
54
|
+
"@ministryofjustice/hmpps-npm-script-allowlist": "0.0.5",
|
|
55
|
+
"@ministryofjustice/hmpps-precommit-hooks": "3.0.1",
|
|
56
56
|
"@rollup/plugin-commonjs": "29.0.2",
|
|
57
57
|
"@rollup/plugin-multi-entry": "7.1.0",
|
|
58
58
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"@types/express": "5.0.6",
|
|
63
63
|
"@types/express-session": "1.19.0",
|
|
64
64
|
"@types/jest": "30.0.0",
|
|
65
|
-
"jest": "30.
|
|
66
|
-
"lint-staged": "
|
|
67
|
-
"rollup": "4.60.
|
|
65
|
+
"jest": "30.4.2",
|
|
66
|
+
"lint-staged": "17.0.4",
|
|
67
|
+
"rollup": "4.60.4",
|
|
68
68
|
"rollup-plugin-dts": "6.4.1",
|
|
69
69
|
"ts-jest": "29.4.9",
|
|
70
70
|
"typescript": "6.0.3"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@ministryofjustice/hmpps-rest-client": "1.
|
|
73
|
+
"@ministryofjustice/hmpps-rest-client": "2.1.0",
|
|
74
74
|
"applicationinsights": "^2.9.8"
|
|
75
75
|
}
|
|
76
76
|
}
|