@mojaloop/central-ledger 17.7.1 → 17.7.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [17.7.3](https://github.com/mojaloop/central-ledger/compare/v17.7.2...v17.7.3) (2024-06-05)
6
+
7
+
8
+ ### Chore
9
+
10
+ * dependency upgrades and one migration ([#1045](https://github.com/mojaloop/central-ledger/issues/1045)) ([3a94cdf](https://github.com/mojaloop/central-ledger/commit/3a94cdf0eafc6e9b53d796357b68c6d82eaa5277))
11
+
12
+ ### [17.7.2](https://github.com/mojaloop/central-ledger/compare/v17.7.1...v17.7.2) (2024-06-04)
13
+
14
+
15
+ ### Chore
16
+
17
+ * dependency updates to address dependabot alerts ([#1044](https://github.com/mojaloop/central-ledger/issues/1044)) ([d6bb4b9](https://github.com/mojaloop/central-ledger/commit/d6bb4b912d24f07f21822cc8079338146e0f0be6))
18
+
5
19
  ### [17.7.1](https://github.com/mojaloop/central-ledger/compare/v17.7.0...v17.7.1) (2024-06-04)
6
20
 
7
21
 
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # LICENSE
2
2
 
3
- Copyright © 2020 Mojaloop Foundation
3
+ Copyright © 2020-2024 Mojaloop Foundation
4
4
 
5
5
  The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0
6
6
  (the "License") and you may not use these files except in compliance with the [License](http://www.apache.org/licenses/LICENSE-2.0).
package/audit-ci.jsonc CHANGED
@@ -5,9 +5,7 @@
5
5
  "moderate": true,
6
6
  "allowlist": [ // NOTE: Please add as much information as possible to any items added to the allowList
7
7
  "GHSA-v88g-cgmw-v5xw", // widdershins>swagger2openapi>oas-validator>ajv
8
- "GHSA-mg85-8mv5-ffjr", // hapi-auth-basic>hapi>ammo
9
8
  "GHSA-phwq-j96m-2c2q", // @mojaloop/central-services-shared>shins>ejs
10
- "GHSA-7hx8-2rxv-66xv", // hapi-auth-basic>hapi
11
9
  "GHSA-c429-5p7v-vgjp", // hapi>boom>hoek
12
10
  "GHSA-282f-qqgm-c34q", // widdershins>swagger2openapi>better-ajv-errors>jsonpointer
13
11
  "GHSA-8cf7-32gw-wr33", // @now-ims/hapi-now-auth>jsonwebtoken
@@ -18,9 +16,6 @@
18
16
  "GHSA-mjxr-4v3x-q3m4", // @mojaloop/central-services-shared>shins>sanitize-html
19
17
  "GHSA-rjqq-98f6-6j3r", // @mojaloop/central-services-shared>shins>sanitize-html
20
18
  "GHSA-rm97-x556-q36h", // @mojaloop/central-services-shared>shins>sanitize-html
21
- "GHSA-g64q-3vg8-8f93", // hapi-auth-basic>hapi>subtext
22
- "GHSA-5854-jvxx-2cg9", // hapi-auth-basic>hapi>subtext
23
- "GHSA-2mvq-xp48-4c77", // hapi-auth-basic>hapi>subtext
24
19
  "GHSA-w5p7-h5w8-2hfq", // tap-spec>tap-out>trim
25
20
  "GHSA-p9pc-299p-vxgp", // widdershins>yargs>yargs-parser
26
21
  "GHSA-ghr5-ch3p-vcr6", // https://github.com/advisories/GHSA-ghr5-ch3p-vcr6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/central-ledger",
3
- "version": "17.7.1",
3
+ "version": "17.7.3",
4
4
  "description": "Central ledger hosted by a scheme to record and settle transfers",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
@@ -81,6 +81,7 @@
81
81
  "dependencies": {
82
82
  "@hapi/good": "9.0.1",
83
83
  "@hapi/hapi": "21.3.9",
84
+ "@hapi/basic": "7.0.2",
84
85
  "@hapi/inert": "7.1.0",
85
86
  "@hapi/joi": "17.1.1",
86
87
  "@hapi/vision": "7.0.3",
@@ -96,7 +97,7 @@
96
97
  "@mojaloop/ml-number": "11.2.4",
97
98
  "@mojaloop/object-store-lib": "12.0.3",
98
99
  "@now-ims/hapi-now-auth": "2.1.0",
99
- "ajv": "8.14.0",
100
+ "ajv": "8.16.0",
100
101
  "ajv-keywords": "5.1.0",
101
102
  "base64url": "3.0.1",
102
103
  "blipp": "4.0.2",
@@ -107,7 +108,6 @@
107
108
  "event-stream": "4.0.1",
108
109
  "five-bells-condition": "5.0.1",
109
110
  "glob": "10.4.1",
110
- "hapi-auth-basic": "5.0.0",
111
111
  "hapi-auth-bearer-token": "8.0.0",
112
112
  "hapi-swagger": "17.2.1",
113
113
  "ilp-packet": "2.2.0",
@@ -141,6 +141,14 @@
141
141
  "tape": "4.16.2",
142
142
  "tapes": "4.1.0"
143
143
  },
144
+ "overrides": {
145
+ "shins": {
146
+ "ejs": "^3.1.10",
147
+ "sanitize-html": "^2.12.1",
148
+ "jsonpointer": "^5.0.0",
149
+ "jsonwebtoken": "^9.0.0"
150
+ }
151
+ },
144
152
  "config": {
145
153
  "knex": "--knexfile ./config/knexfile.js",
146
154
  "images": {
@@ -28,7 +28,7 @@ const registerPlugins = async (server) => {
28
28
  })
29
29
 
30
30
  await server.register({
31
- plugin: require('hapi-auth-basic')
31
+ plugin: require('@hapi/basic')
32
32
  })
33
33
 
34
34
  await server.register({