@ministryofjustice/hmpps-probation-frontend-components 1.0.2 → 1.0.3

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.
Files changed (1) hide show
  1. package/package.json +13 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-probation-frontend-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A package to allow the inclusion of connect pds micro frontend components within pds applications",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,10 +17,7 @@
17
17
  "lint": "eslint . --cache --max-warnings 0",
18
18
  "lint:fix": "eslint . --cache --max-warnings 0 --fix",
19
19
  "copy:assets": "rm -rf dist/assets && cp -r src/assets dist/assets",
20
- "security_audit": "npx audit-ci --config audit-ci.json",
21
- "precommit:secrets": "gitleaks git --pre-commit --redact --staged --verbose --config .gitleaks/config.toml",
22
- "precommit:lint": "node_modules/.bin/lint-staged",
23
- "precommit:verify": "npm run typecheck && npm test"
20
+ "security_audit": "npx audit-ci --config audit-ci.json"
24
21
  },
25
22
  "lint-staged": {
26
23
  "*.{ts,css}": [
@@ -78,29 +75,29 @@
78
75
  },
79
76
  "homepage": "https://github.com/ministryofjustice/hmpps-probation-frontend-components#readme",
80
77
  "devDependencies": {
81
- "@ministryofjustice/eslint-config-hmpps": "^0.0.1",
82
- "@ministryofjustice/hmpps-precommit-hooks": "^0.0.3",
78
+ "@ministryofjustice/eslint-config-hmpps": "^1.0.3",
79
+ "@ministryofjustice/hmpps-precommit-hooks": "^2.0.2",
83
80
  "@types/bunyan": "^1.8.11",
84
- "@types/express": "^4.17.22",
85
- "@types/jest": "^29.5.14",
81
+ "@types/express": "^5.0.6",
82
+ "@types/jest": "^30.0.0",
86
83
  "@types/superagent": "^8.1.9",
87
- "@types/supertest": "^6.0.3",
84
+ "@types/supertest": "^7.2.0",
88
85
  "@typescript-eslint/eslint-plugin": "^8.38.0",
89
86
  "cheerio": "^1.0.0",
90
87
  "eslint-import-resolver-typescript": "^4.4.4",
91
88
  "eslint-plugin-no-only-tests": "^3.3.0",
92
- "express": "^4.21.2",
93
- "govuk-frontend": "^5.10.1",
94
- "jest": "^29.7.0",
95
- "jest-html-reporter": "^3.10.2",
89
+ "express": "^5.2.1",
90
+ "govuk-frontend": "^6.1.0",
91
+ "jest": "^30.3.0",
92
+ "jest-html-reporter": "^4.4.0",
96
93
  "jest-junit": "^16.0.0",
97
94
  "lint-staged": "^16.1.2",
98
- "nock": "^13.5.6",
95
+ "nock": "^14.0.12",
99
96
  "supertest": "^7.1.1",
100
97
  "ts-jest": "^29.3.4"
101
98
  },
102
99
  "dependencies": {
103
- "@types/node": "22.12.0",
100
+ "@types/node": "22.19.17",
104
101
  "@types/nunjucks": "^3.2.6",
105
102
  "nunjucks": "^3.2.4",
106
103
  "superagent": "^9.0.2"