Skip to content

Commit

Permalink
NPM update to resolve dependabot warnings (#524)
Browse files Browse the repository at this point in the history
- npm update to address Dependabot warnings about "axios" and "follow-redirects"
- this broke the docs, so update typedoc to latest version supporting Node 14.x, and fix new warnings
  • Loading branch information
graebm committed Jan 16, 2024
1 parent 6fa0c53 commit 7dc8379
Show file tree
Hide file tree
Showing 9 changed files with 182 additions and 106 deletions.
1 change: 1 addition & 0 deletions docsrc/typedoc-browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"invalidLink" : true
},
"treatWarningsAsErrors" : true,
"plugin": ["typedoc-plugin-merge-modules"],
"mergeModulesMergeMode": "module"
}

1 change: 1 addition & 0 deletions docsrc/typedoc-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"invalidLink" : true
},
"treatWarningsAsErrors" : true,
"plugin": ["typedoc-plugin-merge-modules"],
"mergeModulesMergeMode": "module"
}

2 changes: 1 addition & 1 deletion lib/browser/aws_iot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import { CredentialsProvider, StaticCredentialProvider} from "./auth"
import { SocketOptions } from "./io";
import { MqttConnectionConfig, MqttWill } from "./mqtt";
import { MqttClientConnection, MqttConnectionConfig, MqttWill } from "./mqtt";
import * as platform from "../common/platform";
import * as iot_shared from "../common/aws_iot_shared"

Expand Down
4 changes: 2 additions & 2 deletions lib/browser/aws_iot_mqtt5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export interface WebsocketSigv4Config {
}

/**
* Builder pattern class to create an {@link Mqtt5ClientConfig} which can then be used to create
* an {@link Mqtt5Client}, configured for use with AWS IoT.
* Builder pattern class to create an {@link mqtt5.Mqtt5ClientConfig} which can then be used to create
* an {@link mqtt5.Mqtt5Client}, configured for use with AWS IoT.
*
* [MQTT5 Client User Guide](https://www.github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md)
*
Expand Down
2 changes: 1 addition & 1 deletion lib/native/aws_iot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @packageDocumentation
*/

import { MqttConnectionConfig, MqttWill} from "./mqtt";
import { MqttClientConnection, MqttConnectionConfig, MqttWill} from "./mqtt";
import { DEFAULT_RECONNECT_MIN_SEC, DEFAULT_RECONNECT_MAX_SEC} from "../common/mqtt"
import * as io from "./io";
import { TlsContextOptions } from "./io";
Expand Down
4 changes: 2 additions & 2 deletions lib/native/aws_iot_mqtt5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export interface WebsocketSigv4Config {
}

/**
* Builder pattern class to create an {@link Mqtt5ClientConfig} which can then be used to create
* an {@link Mqtt5Client}, configured for use with AWS IoT.
* Builder pattern class to create an {@link mqtt5.Mqtt5ClientConfig} which can then be used to create
* an {@link mqtt5.Mqtt5Client}, configured for use with AWS IoT.
*
* [MQTT5 Client User Guide](https://www.github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md)
*
Expand Down
2 changes: 1 addition & 1 deletion lib/native/mqtt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export type MqttConnectionClosed = (callback_data: OnConnectionClosedResult) =>
*/
export class MqttClient extends NativeResource {
/**
* @param bootstrap The {@link ClientBootstrap} to use for socket connections. Leave undefined to use the
* @param bootstrap The {@link io.ClientBootstrap} to use for socket connections. Leave undefined to use the
* default system-wide bootstrap (recommended).
*/
constructor(readonly bootstrap: io.ClientBootstrap | undefined = undefined) {
Expand Down
Loading

0 comments on commit 7dc8379

Please sign in to comment.