Skip to content

Commit

Permalink
feat(mojaloop/#2704): core-services support for non-breaking backward…
Browse files Browse the repository at this point in the history
… api compatibility

- updated default.json config for PROTOCOL_VERSIONS, and updated related usage based on mojaloop/project#2660 to accept a validationList for the content-type
- updated dependencies
- fixed audit issues
- fixed unit tests
  • Loading branch information
mdebarros committed Mar 3, 2022
1 parent f92299b commit 7e6c9e7
Show file tree
Hide file tree
Showing 8 changed files with 545 additions and 261 deletions.
50 changes: 50 additions & 0 deletions audit-resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,56 @@
"decision": "ignore",
"madeAt": 1644325774956,
"expiresAt": 1646917672191
},
"1007026|axios>follow-redirects": {
"decision": "ignore",
"madeAt": 1646300328166,
"expiresAt": 1648892323604
},
"1004869|00unidentified>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1646300331180,
"expiresAt": 1648892323604
},
"1004869|00unidentified>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1646300331180,
"expiresAt": 1648892323604
},
"1004946|00unidentified>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1646300332372,
"expiresAt": 1648892323604
},
"1004946|00unidentified>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1646300332372,
"expiresAt": 1648892323604
},
"1005383|00unidentified>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1646300333388,
"expiresAt": 1648892323604
},
"1005384|00unidentified>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1646300333388,
"expiresAt": 1648892323604
},
"1005534|00unidentified>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1646300334661,
"expiresAt": 1648892323604
},
"1006886|00unidentified>shins>markdown-it": {
"decision": "ignore",
"madeAt": 1646300336001,
"expiresAt": 1648892323604
},
"1007017|00unidentified>widdershins>swagger2openapi>oas-validator>ajv": {
"decision": "ignore",
"madeAt": 1646300337227,
"expiresAt": 1648892323604
}
},
"rules": {},
Expand Down
9 changes: 8 additions & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@
"SCALE": 4
},
"PROTOCOL_VERSIONS": {
"CONTENT": "1.1",
"CONTENT": {
"DEFAULT": "1.1",
"VALIDATELIST": [
"1.1",
"1.0"
]
},
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.0",
"1.1"
]
}
Expand Down
Loading

0 comments on commit 7e6c9e7

Please sign in to comment.