@hmcts/opal-frontend-common-node 0.0.23 → 0.0.24
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/opal-frontend-common-node",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.24",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Common nodejs library components for opal",
|
|
7
7
|
"repository": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lint": "eslint ./src --ext .ts && yarn prettier",
|
|
17
17
|
"prettier": "prettier --check \"./src/**/*.{ts,js,json}\"",
|
|
18
18
|
"prettier:fix": "prettier --write \"./src/**/*.{ts,js,json}\"",
|
|
19
|
-
"audit:save": "yarn audit --recursive --environment production --json > yarn-known-issues || true",
|
|
20
|
-
"audit:check": "yarn audit --recursive --environment production --json > yarn-known-issues-current || true && jq -s '[.[] | select(.type==\"auditAdvisory\") | .data.advisory.id] | sort' yarn-known-issues-current > current-ids.json && jq -s '[.[] | select(.type==\"auditAdvisory\") | .data.advisory.id] | sort' yarn-known-issues > known-ids.json && diff -q known-ids.json current-ids.json || (echo '❌ New vulnerabilities detected. Please review.' && exit 1)"
|
|
19
|
+
"audit:save": "yarn npm audit --recursive --environment production --json > yarn-known-issues || true",
|
|
20
|
+
"audit:check": "yarn npm audit --recursive --environment production --json > yarn-known-issues-current || true && jq -s '[.[] | select(.type==\"auditAdvisory\") | .data.advisory.id] | sort' yarn-known-issues-current > current-ids.json && jq -s '[.[] | select(.type==\"auditAdvisory\") | .data.advisory.id] | sort' yarn-known-issues > known-ids.json && diff -q known-ids.json current-ids.json || (echo '❌ New vulnerabilities detected. Please review.' && exit 1)"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@azure/msal-browser": "^5.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"typescript": "~5.9.0",
|
|
57
57
|
"typescript-eslint": "^8.30.1"
|
|
58
58
|
},
|
|
59
|
-
"packageManager": "yarn@
|
|
59
|
+
"packageManager": "yarn@4.12.0",
|
|
60
60
|
"exports": {
|
|
61
61
|
".": {
|
|
62
62
|
"import": "./index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Config } from 'config';
|
|
2
2
|
import { Application } from 'express';
|
|
3
3
|
export declare class PropertiesVolume {
|
|
4
|
-
enableFor(server: Application, config:
|
|
4
|
+
enableFor(server: Application, config: Config): Config;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/properties-volume/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/properties-volume/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,qBAAa,gBAAgB;IAC3B,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;CAMvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/properties-volume/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAI7D,MAAM,OAAO,gBAAgB;IAC3B,SAAS,CAAC,MAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/properties-volume/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAI7D,MAAM,OAAO,gBAAgB;IAC3B,SAAS,CAAC,MAAmB,EAAE,MAAc;QAC3C,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,aAAa,EAAE,CAAC;YAC3C,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACjC,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|