Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix @types/node conflict with grpc and port type
  • Loading branch information
nikhilag committed May 8, 2021
commit 6a8ce37f8fc34efb584dd17662590c236eec093f
6 changes: 3 additions & 3 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"dependencies": {
"@firebase/database": "^0.10.0",
"@firebase/database-types": "^0.7.2",
"@types/node": "^10.10.0",
"@types/node": ">=12.12.47",
"dicer": "^0.3.0",
"jsonwebtoken": "^8.5.1",
"node-forge": "^0.10.0"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/api-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ class HttpRequestConfigImpl implements HttpRequestConfig {
public buildRequestOptions(): https.RequestOptions {
const parsed = this.buildUrl();
const protocol = parsed.protocol;
let port: string | undefined = parsed.port;
let port: string | null = parsed.port;
if (!port) {
const isHttps = protocol === 'https:';
port = isHttps ? '443' : '80';
Expand Down