Skip to content

Commit

Permalink
Upgrade dependencies (opensearch-project#272)
Browse files Browse the repository at this point in the history
* Upgrading dependencies

Signed-off-by: Vacha Shah <[email protected]>

* Fixing tests

Signed-off-by: Vacha Shah <[email protected]>
  • Loading branch information
VachaShah authored and AMoo-Miki committed Jul 12, 2023
1 parent 4678ab0 commit ad2be2e
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 1,024 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"simple-statistics": "^7.7.0",
"split2": "^3.2.2",
"stoppable": "^1.1.0",
"tap": "^15.0.9",
"tsd": "^0.15.1",
"tap": "^16.3.0",
"tsd": "^0.22.0",
"workq": "^3.0.0",
"xmlbuilder2": "^2.4.1"
},
Expand All @@ -82,6 +82,9 @@
"ms": "^2.1.3",
"secure-json-parse": "^2.4.0"
},
"resolutions": {
"**/strip-ansi": "^6.0.1"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand All @@ -104,4 +107,4 @@
"coverage": false,
"jobs-auto": true
}
}
}
6 changes: 3 additions & 3 deletions test/types/client.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ client.on('resurrect', (err, meta) => {
try {
expectType<ApiResponse>(await promise);
} catch (err) {
expectType<any>(err);
expectType<unknown>(err);
}
}

Expand All @@ -133,7 +133,7 @@ client.on('resurrect', (err, meta) => {
try {
expectType<ApiResponse>(await promise);
} catch (err) {
expectType<any>(err);
expectType<unknown>(err);
}
}

Expand All @@ -144,6 +144,6 @@ client.on('resurrect', (err, meta) => {
try {
expectType<ApiResponse>(await promise);
} catch (err) {
expectType<any>(err);
expectType<unknown>(err);
}
}
Loading

0 comments on commit ad2be2e

Please sign in to comment.