chore(deps): bump helmet from 4.0.0 to 4.4.1

Bumps [helmet](https://github.com/helmetjs/helmet) from 4.0.0 to 4.4.1.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.0.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
dependabot[bot]
2021-03-23 08:26:26 +00:00
committed by Fredrik Adelöw
parent 6f66776ca6
commit d367f63b53
3 changed files with 10 additions and 12 deletions
@@ -18,7 +18,7 @@ import { Config } from '@backstage/config';
import compression from 'compression';
import cors from 'cors';
import express, { Router } from 'express';
import helmet, { HelmetOptions } from 'helmet';
import helmet from 'helmet';
import * as http from 'http';
import stoppable from 'stoppable';
import { Logger } from 'winston';
@@ -195,14 +195,7 @@ export class ServiceBuilderImpl implements ServiceBuilder {
});
}
private getOptions(): {
port: number;
host: string;
logger: Logger;
corsOptions?: cors.CorsOptions;
httpsSettings?: HttpsSettings;
helmetOptions: HelmetOptions;
} {
private getOptions() {
return {
port: this.port ?? DEFAULT_PORT,
host: this.host ?? DEFAULT_HOST,