Skip to content

Commit

Permalink
Merge pull request #447 from mcottontensor/fixing-deps
Browse files Browse the repository at this point in the history
A full pass over dependencies
  • Loading branch information
mcottontensor authored Feb 13, 2025
2 parents 5759a00 + 89067c8 commit ef71edf
Show file tree
Hide file tree
Showing 111 changed files with 6,968 additions and 4,227 deletions.
1 change: 0 additions & 1 deletion .github/workflows/healthcheck-libs-with-public-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ env:

jobs:
build-using-public-deps:
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure'
runs-on: ubuntu-latest
outputs:
continue: ${{ steps.set_output.outputs.continue }}
Expand Down
8 changes: 0 additions & 8 deletions Common/.eslintignore

This file was deleted.

31 changes: 0 additions & 31 deletions Common/.eslintrc.js

This file was deleted.

4 changes: 1 addition & 3 deletions Common/docs/Event/EventEmitter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

# Event/EventEmitter

## Index

### Classes
## Classes

- [EventEmitter](classes/EventEmitter.md)
50 changes: 18 additions & 32 deletions Common/docs/Event/EventEmitter/classes/EventEmitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# Class: EventEmitter

Defined in: [Event/EventEmitter.ts:63](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L63)

A feature-limited, but _mostly_ drop-in replacement for Node's EventEmitter type that is implemented using EventTarget.

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

> **new EventEmitter**(): [`EventEmitter`](EventEmitter.md)
Defined in: [Event/EventEmitter.ts:66](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L66)

#### Returns

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

`EventTarget.constructor`

#### Defined in

[Event/EventEmitter.ts:67](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L67)

## Methods

### addListener()

> **addListener**(`eventName`, `listener`): `this`
Defined in: [Event/EventEmitter.ts:96](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L96)

Alias for `emitter.on(eventName, listener)`.

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

`this`

#### Defined in

[Event/EventEmitter.ts:97](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L97)

***

### emit()

> **emit**(`eventName`, ...`args`): `boolean`
Defined in: [Event/EventEmitter.ts:262](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L262)

Synchronously calls each of the listeners registered for the event named `eventName`, in the order they were registered, passing the supplied arguments
to each.

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

`boolean`

#### Defined in

[Event/EventEmitter.ts:263](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L263)

***

### off()

> **off**(`eventName`, `listener`): `this`
Defined in: [Event/EventEmitter.ts:196](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L196)

Alias for `emitter.removeListener()`.

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

`this`

#### Defined in

[Event/EventEmitter.ts:197](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L197)

***

### on()

> **on**(`eventName`, `listener`): `this`
Defined in: [Event/EventEmitter.ts:115](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L115)

Adds the `listener` function to the end of the listeners array for the event
named `eventName`.

Expand Down Expand Up @@ -214,16 +210,14 @@ The callback function

`this`

#### Defined in

[Event/EventEmitter.ts:116](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L116)

***

### once()

> **once**(`eventName`, `listener`): `this`
Defined in: [Event/EventEmitter.ts:148](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L148)

Adds a **one-time** `listener` function for the event named `eventName`. The
next time `eventName` is triggered, this listener is removed and then invoked.

Expand Down Expand Up @@ -253,16 +247,14 @@ The callback function

`this`

#### Defined in

[Event/EventEmitter.ts:149](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L149)

***

### removeAllListeners()

> **removeAllListeners**(`eventName`): `this`
Defined in: [Event/EventEmitter.ts:204](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L204)

Removes all listeners, or those of the specified `eventName`.
Returns a reference to the `EventEmitter`, so that calls can be chained.

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

`this`

#### Defined in

[Event/EventEmitter.ts:205](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L205)

***

### removeListener()

> **removeListener**(`eventName`, `listener`): `this`
Defined in: [Event/EventEmitter.ts:188](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L188)

Removes the specified `listener` from this EventEmitter.

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

`this`

#### Defined in

[Event/EventEmitter.ts:189](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Event/EventEmitter.ts#L189)
12 changes: 5 additions & 7 deletions Common/docs/Logger/Logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,23 @@

# Logger/Logger

## Index

### Enumerations
## Enumerations

- [LogLevel](enumerations/LogLevel.md)

### Classes
## Classes

- [LoggerContext](classes/LoggerContext.md)
- [LoggerType](classes/LoggerType.md)

### Interfaces
## Interfaces

- [ILogger](interfaces/ILogger.md)

### Variables
## Variables

- [Logger](variables/Logger.md)

### Functions
## Functions

- [overrideLogger](functions/overrideLogger.md)
10 changes: 4 additions & 6 deletions Common/docs/Logger/Logger/classes/LoggerContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# Class: LoggerContext

Defined in: [Logger/Logger.ts:23](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L23)

The global context for the logger configuration.
This cannot be stored statically in the Logger class because we sometimes have multiple execution
contexts, such as stats reporting. Instead we store the logger config context on the window object
Expand All @@ -27,16 +29,12 @@ to be shared with any Logger instances.

> **includeStack**: `boolean` = `true`
#### Defined in

[Logger/Logger.ts:25](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L25)
Defined in: [Logger/Logger.ts:25](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L25)

***

### logLevel

> **logLevel**: [`LogLevel`](../enumerations/LogLevel.md) = `LogLevel.Debug`
#### Defined in

[Logger/Logger.ts:24](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L24)
Defined in: [Logger/Logger.ts:24](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L24)
36 changes: 13 additions & 23 deletions Common/docs/Logger/Logger/classes/LoggerType.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

# Class: LoggerType

Defined in: [Logger/Logger.ts:44](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L44)

A basic console logger utilized by the Pixel Streaming frontend to allow
logging to the browser console.

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

> `optional` **context**: [`LoggerContext`](LoggerContext.md)
#### Defined in

[Logger/Logger.ts:45](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L45)
Defined in: [Logger/Logger.ts:45](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L45)

## Methods

### Debug()

> **Debug**(`message`): `void`
Defined in: [Logger/Logger.ts:60](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L60)

Logging output for debugging

#### Parameters
Expand All @@ -57,16 +59,14 @@ the message to be logged

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

#### Defined in

[Logger/Logger.ts:60](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L60)

***

### Error()

> **Error**(`message`): `void`
Defined in: [Logger/Logger.ts:93](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L93)

Error logging

#### Parameters
Expand All @@ -85,16 +85,14 @@ the message to be logged

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

#### Defined in

[Logger/Logger.ts:93](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L93)

***

### Info()

> **Info**(`message`): `void`
Defined in: [Logger/Logger.ts:71](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L71)

Basic logging output for standard messages

#### Parameters
Expand All @@ -113,16 +111,14 @@ the message to be logged

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

#### Defined in

[Logger/Logger.ts:71](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L71)

***

### InitLogging()

> **InitLogging**(`logLevel`, `includeStack`): `void`
Defined in: [Logger/Logger.ts:50](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L50)

Set the log verbosity level

#### Parameters
Expand All @@ -143,16 +139,14 @@ Set the log verbosity level

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

#### Defined in

[Logger/Logger.ts:50](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L50)

***

### Warning()

> **Warning**(`message`): `void`
Defined in: [Logger/Logger.ts:82](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L82)

Logging for warnings

#### Parameters
Expand All @@ -170,7 +164,3 @@ the message to be logged
#### Implementation of

[`ILogger`](../interfaces/ILogger.md).[`Warning`](../interfaces/ILogger.md#warning)

#### Defined in

[Logger/Logger.ts:82](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/80aa060d880a8c194a04b83f18bd1ee360ab20e1/Common/src/Logger/Logger.ts#L82)
Loading

0 comments on commit ef71edf

Please sign in to comment.