Skip to content

Commit 356b2c1

Browse files
committed
Bump pupa from 2.0.0 to 2.0.1
1 parent 044f541 commit 356b2c1

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ process.on('SIGINT', async () => {
268268

269269
**Changes**
270270
- `name` is a new unique strategy-related option.
271-
- `apiKey.url` not longer accepts placeholders
271+
- `apiKey.url` its placeholders are replaced with plugin-related options, not the unique strategy ones.
272272
- The [option](#api) setup changed. All plugin-related options are used as defaults for [strategy-related options][strategy-options].
273273
- Even though every strategy-related option can also set via the plugin options, `apiKey` can only be set once in the plugin options.
274274

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"jwk-to-pem": "^1.2.6",
5757
"keycloak-connect": "^6.0.1",
5858
"lodash": "^4.17.15",
59-
"pupa": "^2.0.0"
59+
"pupa": "^2.0.1"
6060
},
6161
"peerDependencies": {
6262
"@hapi/hapi": "^18.3.1"

test/apiKey.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test('Get endpoint url with replaced unknown placeholder', (t) => {
3030
apiKey: { url: 'http://barfoo.com/foo/{foobar}' },
3131
clientId: 'bar',
3232
realmUrl: 'http://foobar.com/foo/bar'
33-
}), 'http://barfoo.com/foo/')
33+
}), 'http://barfoo.com/foo/undefined')
3434
})
3535

3636
test('Get no api key if there is neither header nor query', (t) => {

0 commit comments

Comments
 (0)