@podium/client
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -0,1 +1,8 @@ | ||
## [5.0.6](https://github.com/podium-lib/client/compare/v5.0.5...v5.0.6) (2024-01-05) | ||
### Bug Fixes | ||
* log the full URI, not only the base ([f42640e](https://github.com/podium-lib/client/commit/f42640e3ddd04e77a87688be0f145eab4f9f335a)) | ||
## [5.0.5](https://github.com/podium-lib/client/compare/v5.0.4...v5.0.5) (2023-12-13) | ||
@@ -2,0 +9,0 @@ |
@@ -137,3 +137,3 @@ /* eslint-disable no-param-reassign */ | ||
this.#log.debug( | ||
`start reading content from remote resource - manifest version is ${outgoing.manifest.version} - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`start reading content from remote resource - manifest version is ${outgoing.manifest.version} - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
@@ -158,6 +158,6 @@ | ||
this.#log.debug( | ||
`remote resource responded with non 200 http status code for content - code: ${statusCode} - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`remote resource responded with non 200 http status code for content - code: ${statusCode} - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
const errorMessage = `Could not read content. Resource responded with ${statusCode} on ${outgoing.contentUri}`; | ||
const errorMessage = `Could not read content. Resource responded with ${statusCode} on ${uri}`; | ||
@@ -183,3 +183,3 @@ const errorOptions = { | ||
this.#log.warn( | ||
`remote resource responded with non 200 http status code for content - code: ${statusCode} - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`remote resource responded with non 200 http status code for content - code: ${statusCode} - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
@@ -206,3 +206,3 @@ outgoing.success = true; | ||
this.#log.debug( | ||
`got head response from remote resource for content - header version is ${hdrs['podlet-version']} - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`got head response from remote resource for content - header version is ${hdrs['podlet-version']} - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
@@ -221,3 +221,3 @@ | ||
this.#log.info( | ||
`podlet version number in header differs from cached version number - aborting request to remote resource for content - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`podlet version number in header differs from cached version number - aborting request to remote resource for content - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
@@ -266,6 +266,6 @@ | ||
this.#log.warn( | ||
`could not create network connection to remote resource when trying to request content - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`could not create network connection to remote resource when trying to request content - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
throw badGateway( | ||
`Error reading content at ${outgoing.contentUri}`, | ||
`Error reading content at ${uri}`, | ||
error, | ||
@@ -282,3 +282,3 @@ ); | ||
this.#log.warn( | ||
`could not create network connection to remote resource when trying to request content - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`could not create network connection to remote resource when trying to request content - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
@@ -307,3 +307,3 @@ | ||
this.#log.debug( | ||
`successfully read content from remote resource - resource: ${outgoing.name} - url: ${outgoing.contentUri}`, | ||
`successfully read content from remote resource - resource: ${outgoing.name} - url: ${uri}`, | ||
); | ||
@@ -310,0 +310,0 @@ |
{ | ||
"name": "@podium/client", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"type": "module", | ||
@@ -53,12 +53,12 @@ "license": "MIT", | ||
"@babel/eslint-parser": "7.23.3", | ||
"@semantic-release/github": "9.2.4", | ||
"@semantic-release/npm": "11.0.1", | ||
"@semantic-release/github": "9.2.6", | ||
"@semantic-release/npm": "11.0.2", | ||
"@semantic-release/release-notes-generator": "12.1.0", | ||
"@sinonjs/fake-timers": "11.2.2", | ||
"benchmark": "2.1.4", | ||
"eslint": "8.54.0", | ||
"eslint": "8.56.0", | ||
"eslint-config-airbnb-base": "15.0.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-plugin-prettier": "5.0.1", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-prettier": "5.1.2", | ||
"express": "4.18.2", | ||
@@ -68,6 +68,6 @@ "get-stream": "8.0.1", | ||
"is-stream": "3.0.0", | ||
"prettier": "3.1.0", | ||
"semantic-release": "22.0.8", | ||
"prettier": "3.1.1", | ||
"semantic-release": "22.0.12", | ||
"tap": "18.6.1" | ||
} | ||
} |
124020