Skip to content

Commit ef71edf

Browse files
Merge pull request #447 from mcottontensor/fixing-deps
A full pass over dependencies
2 parents 5759a00 + 89067c8 commit ef71edf

File tree

111 files changed

+6968
-4227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+6968
-4227
lines changed

.github/workflows/healthcheck-libs-with-public-deps.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212

1313
jobs:
1414
build-using-public-deps:
15-
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure'
1615
runs-on: ubuntu-latest
1716
outputs:
1817
continue: ${{ steps.set_output.outputs.continue }}

Common/.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

Common/.eslintrc.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

Common/docs/Event/EventEmitter/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
# Event/EventEmitter
88

9-
## Index
10-
11-
### Classes
9+
## Classes
1210

1311
- [EventEmitter](classes/EventEmitter.md)

Common/docs/Event/EventEmitter/classes/EventEmitter.md

Lines changed: 18 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
# Class: EventEmitter
88

9+
Defined in: [Event/EventEmitter.ts:63](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L63)
10+
911
A feature-limited, but _mostly_ drop-in replacement for Node's EventEmitter type that is implemented using EventTarget.
1012

1113
For those unfamiliar with Node's EventEmitter, here is some info from the official docs:
@@ -53,6 +55,8 @@ myEmitter.emit('event');
5355

5456
> **new EventEmitter**(): [`EventEmitter`](EventEmitter.md)
5557
58+
Defined in: [Event/EventEmitter.ts:66](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L66)
59+
5660
#### Returns
5761

5862
[`EventEmitter`](EventEmitter.md)
@@ -61,16 +65,14 @@ myEmitter.emit('event');
6165

6266
`EventTarget.constructor`
6367

64-
#### Defined in
65-
66-
[Event/EventEmitter.ts:67](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L67)
67-
6868
## Methods
6969

7070
### addListener()
7171

7272
> **addListener**(`eventName`, `listener`): `this`
7373
74+
Defined in: [Event/EventEmitter.ts:96](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L96)
75+
7476
Alias for `emitter.on(eventName, listener)`.
7577

7678
#### Parameters
@@ -87,16 +89,14 @@ Alias for `emitter.on(eventName, listener)`.
8789

8890
`this`
8991

90-
#### Defined in
91-
92-
[Event/EventEmitter.ts:97](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L97)
93-
9492
***
9593

9694
### emit()
9795

9896
> **emit**(`eventName`, ...`args`): `boolean`
9997
98+
Defined in: [Event/EventEmitter.ts:262](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L262)
99+
100100
Synchronously calls each of the listeners registered for the event named `eventName`, in the order they were registered, passing the supplied arguments
101101
to each.
102102

@@ -149,16 +149,14 @@ myEmitter.emit('event', 1, 2, 3, 4, 5);
149149

150150
`boolean`
151151

152-
#### Defined in
153-
154-
[Event/EventEmitter.ts:263](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L263)
155-
156152
***
157153

158154
### off()
159155

160156
> **off**(`eventName`, `listener`): `this`
161157
158+
Defined in: [Event/EventEmitter.ts:196](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L196)
159+
162160
Alias for `emitter.removeListener()`.
163161

164162
#### Parameters
@@ -175,16 +173,14 @@ Alias for `emitter.removeListener()`.
175173

176174
`this`
177175

178-
#### Defined in
179-
180-
[Event/EventEmitter.ts:197](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L197)
181-
182176
***
183177

184178
### on()
185179

186180
> **on**(`eventName`, `listener`): `this`
187181
182+
Defined in: [Event/EventEmitter.ts:115](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L115)
183+
188184
Adds the `listener` function to the end of the listeners array for the event
189185
named `eventName`.
190186

@@ -214,16 +210,14 @@ The callback function
214210

215211
`this`
216212

217-
#### Defined in
218-
219-
[Event/EventEmitter.ts:116](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L116)
220-
221213
***
222214

223215
### once()
224216

225217
> **once**(`eventName`, `listener`): `this`
226218
219+
Defined in: [Event/EventEmitter.ts:148](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L148)
220+
227221
Adds a **one-time** `listener` function for the event named `eventName`. The
228222
next time `eventName` is triggered, this listener is removed and then invoked.
229223

@@ -253,16 +247,14 @@ The callback function
253247

254248
`this`
255249

256-
#### Defined in
257-
258-
[Event/EventEmitter.ts:149](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L149)
259-
260250
***
261251

262252
### removeAllListeners()
263253

264254
> **removeAllListeners**(`eventName`): `this`
265255
256+
Defined in: [Event/EventEmitter.ts:204](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L204)
257+
266258
Removes all listeners, or those of the specified `eventName`.
267259
Returns a reference to the `EventEmitter`, so that calls can be chained.
268260

@@ -276,16 +268,14 @@ Returns a reference to the `EventEmitter`, so that calls can be chained.
276268

277269
`this`
278270

279-
#### Defined in
280-
281-
[Event/EventEmitter.ts:205](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L205)
282-
283271
***
284272

285273
### removeListener()
286274

287275
> **removeListener**(`eventName`, `listener`): `this`
288276
277+
Defined in: [Event/EventEmitter.ts:188](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L188)
278+
289279
Removes the specified `listener` from this EventEmitter.
290280

291281
```js
@@ -311,7 +301,3 @@ Returns a reference to the `EventEmitter`, so that calls can be chained.
311301
#### Returns
312302

313303
`this`
314-
315-
#### Defined in
316-
317-
[Event/EventEmitter.ts:189](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L189)

Common/docs/Logger/Logger/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,23 @@
66

77
# Logger/Logger
88

9-
## Index
10-
11-
### Enumerations
9+
## Enumerations
1210

1311
- [LogLevel](enumerations/LogLevel.md)
1412

15-
### Classes
13+
## Classes
1614

1715
- [LoggerContext](classes/LoggerContext.md)
1816
- [LoggerType](classes/LoggerType.md)
1917

20-
### Interfaces
18+
## Interfaces
2119

2220
- [ILogger](interfaces/ILogger.md)
2321

24-
### Variables
22+
## Variables
2523

2624
- [Logger](variables/Logger.md)
2725

28-
### Functions
26+
## Functions
2927

3028
- [overrideLogger](functions/overrideLogger.md)

Common/docs/Logger/Logger/classes/LoggerContext.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
# Class: LoggerContext
88

9+
Defined in: [Logger/Logger.ts:23](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L23)
10+
911
The global context for the logger configuration.
1012
This cannot be stored statically in the Logger class because we sometimes have multiple execution
1113
contexts, such as stats reporting. Instead we store the logger config context on the window object
@@ -27,16 +29,12 @@ to be shared with any Logger instances.
2729

2830
> **includeStack**: `boolean` = `true`
2931
30-
#### Defined in
31-
32-
[Logger/Logger.ts:25](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L25)
32+
Defined in: [Logger/Logger.ts:25](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L25)
3333

3434
***
3535

3636
### logLevel
3737

3838
> **logLevel**: [`LogLevel`](../enumerations/LogLevel.md) = `LogLevel.Debug`
3939
40-
#### Defined in
41-
42-
[Logger/Logger.ts:24](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L24)
40+
Defined in: [Logger/Logger.ts:24](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L24)

Common/docs/Logger/Logger/classes/LoggerType.md

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
# Class: LoggerType
88

9+
Defined in: [Logger/Logger.ts:44](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L44)
10+
911
A basic console logger utilized by the Pixel Streaming frontend to allow
1012
logging to the browser console.
1113

@@ -29,16 +31,16 @@ logging to the browser console.
2931

3032
> `optional` **context**: [`LoggerContext`](LoggerContext.md)
3133
32-
#### Defined in
33-
34-
[Logger/Logger.ts:45](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L45)
34+
Defined in: [Logger/Logger.ts:45](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L45)
3535

3636
## Methods
3737

3838
### Debug()
3939

4040
> **Debug**(`message`): `void`
4141
42+
Defined in: [Logger/Logger.ts:60](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L60)
43+
4244
Logging output for debugging
4345

4446
#### Parameters
@@ -57,16 +59,14 @@ the message to be logged
5759

5860
[`ILogger`](../interfaces/ILogger.md).[`Debug`](../interfaces/ILogger.md#debug)
5961

60-
#### Defined in
61-
62-
[Logger/Logger.ts:60](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L60)
63-
6462
***
6563

6664
### Error()
6765

6866
> **Error**(`message`): `void`
6967
68+
Defined in: [Logger/Logger.ts:93](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L93)
69+
7070
Error logging
7171

7272
#### Parameters
@@ -85,16 +85,14 @@ the message to be logged
8585

8686
[`ILogger`](../interfaces/ILogger.md).[`Error`](../interfaces/ILogger.md#error)
8787

88-
#### Defined in
89-
90-
[Logger/Logger.ts:93](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L93)
91-
9288
***
9389

9490
### Info()
9591

9692
> **Info**(`message`): `void`
9793
94+
Defined in: [Logger/Logger.ts:71](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L71)
95+
9896
Basic logging output for standard messages
9997

10098
#### Parameters
@@ -113,16 +111,14 @@ the message to be logged
113111

114112
[`ILogger`](../interfaces/ILogger.md).[`Info`](../interfaces/ILogger.md#info)
115113

116-
#### Defined in
117-
118-
[Logger/Logger.ts:71](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L71)
119-
120114
***
121115

122116
### InitLogging()
123117

124118
> **InitLogging**(`logLevel`, `includeStack`): `void`
125119
120+
Defined in: [Logger/Logger.ts:50](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L50)
121+
126122
Set the log verbosity level
127123

128124
#### Parameters
@@ -143,16 +139,14 @@ Set the log verbosity level
143139

144140
[`ILogger`](../interfaces/ILogger.md).[`InitLogging`](../interfaces/ILogger.md#initlogging)
145141

146-
#### Defined in
147-
148-
[Logger/Logger.ts:50](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L50)
149-
150142
***
151143

152144
### Warning()
153145

154146
> **Warning**(`message`): `void`
155147
148+
Defined in: [Logger/Logger.ts:82](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L82)
149+
156150
Logging for warnings
157151

158152
#### Parameters
@@ -170,7 +164,3 @@ the message to be logged
170164
#### Implementation of
171165

172166
[`ILogger`](../interfaces/ILogger.md).[`Warning`](../interfaces/ILogger.md#warning)
173-
174-
#### Defined in
175-
176-
[Logger/Logger.ts:82](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L82)

0 commit comments

Comments
 (0)