Skip to content

Commit

Permalink
add brok as explicit package dep
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Oct 3, 2022
1 parent 3696ef6 commit bf59350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/core/http/core-http-server-internal/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUNTIME_DEPS = [
"@npm//@hapi/cookie",
"@npm//@hapi/inert",
"@npm//elastic-apm-node",
"@npm//brok",
"//packages/kbn-utils",
"//packages/kbn-std",
"//packages/kbn-config-schema",
Expand All @@ -68,6 +69,7 @@ TYPES_DEPS = [
"@npm//moment",
"@npm//@elastic/numeral",
"@npm//lodash",
"@npm//brok",
"@npm//@hapi/hapi",
"@npm//@hapi/boom",
"@npm//@hapi/cookie",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import type { Duration } from 'moment';
import { firstValueFrom, Observable } from 'rxjs';
import { take } from 'rxjs/operators';
import apm from 'elastic-apm-node';
// @ts-expect-error no type definition
import Brok from 'brok';
import type { Logger, LoggerFactory } from '@kbn/logging';
import type { InternalExecutionContextSetup } from '@kbn/core-execution-context-server-internal';
import { isSafeMethod } from '@kbn/core-http-router-server-internal';
Expand All @@ -41,7 +43,6 @@ import type {
HttpAuth,
IAuthHeadersStorage,
} from '@kbn/core-http-server';
import Brok from 'brok';
import { HttpConfig } from './http_config';
import { adoptToHapiAuthFormat } from './lifecycle/auth';
import { adoptToHapiOnPreAuth } from './lifecycle/on_pre_auth';
Expand All @@ -53,7 +54,6 @@ import { AuthStateStorage } from './auth_state_storage';
import { AuthHeadersStorage } from './auth_headers_storage';
import { BasePath } from './base_path_service';
import { getEcsResponseLog } from './logging';
// @ts-expect-error

/** @internal */
export interface HttpServerSetup {
Expand Down

0 comments on commit bf59350

Please sign in to comment.