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

fix: prototype pollution #47

Merged
merged 4 commits into from
Jul 3, 2020
Merged

fix: prototype pollution #47

merged 4 commits into from
Jul 3, 2020

Conversation

janl
Copy link
Owner

@janl janl commented Jul 3, 2020

For curiousity’s sake, I checked if this has any
significant performance impact and it does not.

Based on 10 runs before and after, all values in
percent:

                         MED    AVG
get first level property 0.37	0.42
get second level property 0.40	0.61
get third level property 0.26	0.41
set first level property 2.25	2.16
set second level property 1.45	1.67
set third level property 2.05	1.98
push property into array -0.41	-0.51

2.25% slowdown as a worst case is not significant.

janl added 2 commits July 3, 2020 09:26
for curiousity’s sake, I checked if this has any
significant performance impact and it does not.

Based on 10 runs before and after, all values in
percent:

                         MED    AVG
get first level property 0.37	0.42
get second level property 0.40	0.61
get third level property 0.26	0.41
set first level property 2.25	2.16
set second level property 1.45	1.67
set third level property 2.05	1.98
push property into array -0.41	-0.51

2.25% slowdown as a worst case is not significant.
janl added 2 commits July 3, 2020 11:33
fix: update devdeps

fix: drop node 6 from test matrix, we are still copmpatbile tho, this is for standard

chore: ditch standard, so we can support older node versions in testing

chore: use older npm version so we can support older nodes

chore: master branch builds only

chore: prefer npm install to npm ci

nodejs/node#29841

chore: newer npm after all

chore: no node 6 then grmpf

chore: re-add standard
@janl janl merged commit 1935334 into master Jul 3, 2020
@janl janl deleted the fix/proto branch July 3, 2020 09:35
@janl
Copy link
Owner Author

janl commented Jul 3, 2020

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@janl janl added the released label Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant