Skip to content

Commit 7dc8379

Browse files
authored
NPM update to resolve dependabot warnings (#524)
- 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
1 parent 6fa0c53 commit 7dc8379

9 files changed

Lines changed: 182 additions & 106 deletions

File tree

docsrc/typedoc-browser.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"invalidLink" : true
2525
},
2626
"treatWarningsAsErrors" : true,
27+
"plugin": ["typedoc-plugin-merge-modules"],
2728
"mergeModulesMergeMode": "module"
2829
}
2930

docsrc/typedoc-node.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"invalidLink" : true
2828
},
2929
"treatWarningsAsErrors" : true,
30+
"plugin": ["typedoc-plugin-merge-modules"],
3031
"mergeModulesMergeMode": "module"
3132
}
3233

lib/browser/aws_iot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import { CredentialsProvider, StaticCredentialProvider} from "./auth"
1313
import { SocketOptions } from "./io";
14-
import { MqttConnectionConfig, MqttWill } from "./mqtt";
14+
import { MqttClientConnection, MqttConnectionConfig, MqttWill } from "./mqtt";
1515
import * as platform from "../common/platform";
1616
import * as iot_shared from "../common/aws_iot_shared"
1717

lib/browser/aws_iot_mqtt5.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export interface WebsocketSigv4Config {
3939
}
4040

4141
/**
42-
* Builder pattern class to create an {@link Mqtt5ClientConfig} which can then be used to create
43-
* an {@link Mqtt5Client}, configured for use with AWS IoT.
42+
* Builder pattern class to create an {@link mqtt5.Mqtt5ClientConfig} which can then be used to create
43+
* an {@link mqtt5.Mqtt5Client}, configured for use with AWS IoT.
4444
*
4545
* [MQTT5 Client User Guide](https://www.github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md)
4646
*

lib/native/aws_iot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @packageDocumentation
1010
*/
1111

12-
import { MqttConnectionConfig, MqttWill} from "./mqtt";
12+
import { MqttClientConnection, MqttConnectionConfig, MqttWill} from "./mqtt";
1313
import { DEFAULT_RECONNECT_MIN_SEC, DEFAULT_RECONNECT_MAX_SEC} from "../common/mqtt"
1414
import * as io from "./io";
1515
import { TlsContextOptions } from "./io";

lib/native/aws_iot_mqtt5.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export interface WebsocketSigv4Config {
4141
}
4242

4343
/**
44-
* Builder pattern class to create an {@link Mqtt5ClientConfig} which can then be used to create
45-
* an {@link Mqtt5Client}, configured for use with AWS IoT.
44+
* Builder pattern class to create an {@link mqtt5.Mqtt5ClientConfig} which can then be used to create
45+
* an {@link mqtt5.Mqtt5Client}, configured for use with AWS IoT.
4646
*
4747
* [MQTT5 Client User Guide](https://www.github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md)
4848
*

lib/native/mqtt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export type MqttConnectionClosed = (callback_data: OnConnectionClosedResult) =>
102102
*/
103103
export class MqttClient extends NativeResource {
104104
/**
105-
* @param bootstrap The {@link ClientBootstrap} to use for socket connections. Leave undefined to use the
105+
* @param bootstrap The {@link io.ClientBootstrap} to use for socket connections. Leave undefined to use the
106106
* default system-wide bootstrap (recommended).
107107
*/
108108
constructor(readonly bootstrap: io.ClientBootstrap | undefined = undefined) {

0 commit comments

Comments
 (0)