Skip to content

Conversation

dangreen
Copy link
Member

@dangreen dangreen commented Nov 5, 2022

more optimizations were added, "defaults" query with allowHigherVersions is now ~30% smaller than in v3

@github-actions
Copy link

github-actions bot commented Nov 5, 2022

size-limit report 📦

Path Size
dist/index.js 7.77 KB (+9.73% 🔺)
dist/cli.js 1.4 KB (+4.45% 🔺)

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2022

Codecov Report

Base: 99.68% // Head: 97.76% // Decreases project coverage by -1.91% ⚠️

Coverage data is based on head (de28083) compared to base (b574439).
Patch coverage: 96.87% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1462      +/-   ##
==========================================
- Coverage   99.68%   97.76%   -1.92%     
==========================================
  Files          24       28       +4     
  Lines        1568     1926     +358     
  Branches      268      298      +30     
==========================================
+ Hits         1563     1883     +320     
- Misses          4       43      +39     
+ Partials        1        0       -1     
Impacted Files Coverage Δ
src/semver/index.ts 100.00% <ø> (ø)
src/useragentRegex/utils.ts 71.73% <71.73%> (ø)
src/useragentRegex/useragentRegex.ts 91.17% <84.00%> (-5.60%) ⬇️
src/regex/utils.ts 84.61% <84.12%> (-15.39%) ⬇️
src/regex/regex.ts 96.39% <96.39%> (ø)
src/regex/nodes.ts 97.68% <97.68%> (ø)
src/regex/optimize.ts 99.23% <99.11%> (-0.77%) ⬇️
src/versions/utils.ts 99.12% <99.12%> (ø)
src/browsers/browserslist.ts 100.00% <100.00%> (ø)
src/browsers/optimize.ts 99.18% <100.00%> (-0.11%) ⬇️
... and 16 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

more optimizations were added, "defaults" query with allowHigherVersions is now ~30% smaller than in v3
@dangreen dangreen force-pushed the refactor-regexp-tree branch from 2bb0978 to de28083 Compare November 5, 2022 20:36
@dangreen dangreen merged commit 0faf163 into master Nov 5, 2022
@dangreen dangreen deleted the refactor-regexp-tree branch November 5, 2022 20:59
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.

2 participants