Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Conversation

@midudev
Copy link
Contributor

@midudev midudev commented Jan 22, 2020

analytics.js library is bundling a LOT of code and impacting negatively performance to our sites of Adevinta. We would like to ship less JS code, specially when not needed.

This PR upgrade uuid to latest version in order to be able to load only the needed piece of code needed. We would like to start working on more changes like this to keep reducing the size of the library.

Is backwards compatible? Yes

@midudev midudev requested review from fathyb and jlee9595 and removed request for jlee9595 January 22, 2020 15:52
package.json Outdated
"segmentio-facade": "^3.0.2",
"spark-md5": "^2.0.2",
"uuid": "^2.0.2"
"uuid": "3.4.0"
Copy link
Contributor

@fathyb fathyb Feb 4, 2020

Choose a reason for hiding this comment

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

Could you change the range to use a caret? yarn upgrade uuid@^3.4.0
This will prevent useless duplications of uuid when ajs in included in bigger projects.

@midudev midudev closed this Feb 27, 2020
@midudev midudev deleted the feat/use-only-uuid-v4-needed branch February 27, 2020 10:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants