Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant dependencies #26

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

kibertoad
Copy link
Contributor

Replaces unnecessary dependencies with native solutions

@@ -119,7 +118,7 @@ class Utils {
}

static isValidHeaderValue(value) {
return isNumber(value) || isString(value);
return typeof value === 'number' || typeof value === 'string' || types.isStringObject(value);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kibertoad
Copy link
Contributor Author

@knagy Could you please take a look?

@knagy knagy merged commit 1340d06 into emartech:master Jul 15, 2024
4 checks passed
@kibertoad kibertoad deleted the chore/redundant-deps branch July 15, 2024 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants