@hapi/hapi
Advanced tools
Comparing version 20.0.3 to 20.1.0
@@ -39,2 +39,3 @@ 'use strict'; | ||
events: [ | ||
{ name: 'cachePolicy', spread: true }, | ||
{ name: 'log', channels: ['app', 'internal'], tags: true }, | ||
@@ -45,2 +46,3 @@ { name: 'request', channels: ['app', 'internal', 'error'], tags: true, spread: true }, | ||
'start', | ||
'closing', | ||
'stop' | ||
@@ -474,2 +476,4 @@ ], | ||
}); | ||
this.events.emit('closing'); | ||
}); | ||
@@ -616,3 +620,6 @@ } | ||
return new Catbox.Policy(options, cache.client, segment); | ||
const policy = new Catbox.Policy(options, cache.client, segment); | ||
this.events.emit('cachePolicy', [policy, options.cache, segment]); | ||
return policy; | ||
} | ||
@@ -619,0 +626,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://hapi.dev", | ||
"version": "20.0.3", | ||
"version": "20.1.0", | ||
"repository": "git://github.com/hapijs/hapi", | ||
@@ -8,0 +8,0 @@ "main": "lib/index.js", |
@@ -18,1 +18,9 @@ <img src="https://raw.githubusercontent.com/hapijs/assets/master/images/hapi.png" width="400px" /> | ||
- [Free and commercial support options](https://hapi.dev/support/) | ||
## Technical Steering Committee (TSC) Members | ||
- Devin Ivy ([@devinivy](https://github.com/devinivy)) | ||
- Jonas Pauthier ([@nargonath](https://github.com/nargonath)) | ||
- Lloyd Benson ([@lloydbenson](https://github.com/lloydbenson)) | ||
- Nathan LaFreniere ([@nlf](https://github.com/nlf)) | ||
- Wyatt Lyon Preul ([@geek](https://github.com/geek)) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181764
4577
26