Skip to content

Conversation

@AllanZhengYP
Copy link
Contributor

Fixes: aws/aws-sdk-js-v3#1867, aws/aws-sdk-js-v3#1900
Related: aws/aws-sdk-js-v3#1903

Both @aws-sdk/url-parser-node and @aws-sdk/url-parser-browser use WHATWG URL()
to parse the url. In fact their code are identical. So they are deprecated and
replaced by @aws-sdk/url-parser.

However, URL() is not supported in React Native. So we need to use parse()
from "url" package. @aws-sdk/url-parser-native is used in React Native runtime.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP merged commit 588e173 into smithy-lang:main Jan 14, 2021
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
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.

"Error: not implemented" in React Native environment

3 participants