Skip to content

Commit

Permalink
chore: update axios and qs dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rossiam committed Sep 27, 2023
1 parent 4a5d13c commit 33f6476
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 74 deletions.
6 changes: 6 additions & 0 deletions .changeset/chilled-singers-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@smartthings/plugin-cli-edge": patch
"@smartthings/cli-lib": patch
---

update axios and qs dependencies
120 changes: 66 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@oclif/plugin-not-found": "^2.3.1",
"@oclif/plugin-plugins": "^2.1.0",
"@smartthings/cli-lib": "^2.2.1",
"@smartthings/core-sdk": "^7.1.1",
"@smartthings/core-sdk": "^8.0.0",
"@smartthings/plugin-cli-edge": "^3.3.0",
"inquirer": "^8.2.4",
"js-yaml": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"@log4js-node/log4js-api": "^1.0.2",
"@oclif/core": "^1.16.3",
"@smartthings/cli-lib": "^2.2.1",
"@smartthings/core-sdk": "^7.1.1",
"axios": "^0.27.2",
"@smartthings/core-sdk": "^8.0.0",
"axios": "^1.5.0",
"inquirer": "^8.2.4",
"js-yaml": "^4.1.0",
"jszip": "^3.9.1",
Expand Down
12 changes: 4 additions & 8 deletions packages/edge/src/__tests__/lib/live-logging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,9 @@ describe('live-logging', () => {
}
testClient = new LiveLogClient(bearerConfig)

const axiosResponse: AxiosResponse<DriverInfo[]> = {
const axiosResponse = {
status: 200,
statusText: 'OK',
headers: {},
config: {},
data: [
/* eslint-disable @typescript-eslint/naming-convention */
{
Expand All @@ -169,7 +167,7 @@ describe('live-logging', () => {
},
/* eslint-enable @typescript-eslint/naming-convention */
],
}
} as AxiosResponse<DriverInfo[]>

axiosRequestSpy.mockResolvedValueOnce(axiosResponse)

Expand Down Expand Up @@ -249,14 +247,12 @@ describe('live-logging', () => {
socket: new TLSSocket(new Socket()),
}

const certResponse: AxiosResponse = {
const certResponse = {
data: '',
status: 200,
statusText: 'OK',
headers: {},
config: {},
request: request,
}
} as AxiosResponse

const mockHostVerifier = jest.fn()
const verifierConfig = {
Expand Down
Loading

0 comments on commit 33f6476

Please sign in to comment.