Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

feat: switch buffer to native Uint8Array #24

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

erunion
Copy link
Member

@erunion erunion commented Oct 14, 2021

🧰 What's being changed?

Since our style-serializer library is forked from swagger-js this pulls a recent change they made upstream in swagger-api/swagger-js#2288 down to us.

🧬 Testing

Since TextEncoder doesn't exist in IE, Webpack will automatically polyfill that like it did with the Node buffer that we were pulling in. Main difference with this change is that that polyfill, and the resulting Webpack generated dist, will be much smaller now.

That said, if tests still pass here we're good.

@erunion erunion added the enhancement New feature or request label Oct 14, 2021
@erunion erunion requested review from a team, Dashron and julshotal and removed request for a team October 14, 2021 23:24
@erunion erunion merged commit 1b15998 into main Oct 18, 2021
@erunion erunion deleted the feat/replace-buffer-with-native-api branch October 18, 2021 18:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants