Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: siddharthkp/bundlesize2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2e50c01f0cd59976734d60809656b7b56b9cb1ca
Choose a base ref
...
head repository: siddharthkp/bundlesize2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3bac0c0d34e7774063f738c5a941bff3d352e82c
Choose a head ref
  • 10 commits
  • 7 files changed
  • 3 contributors

Commits on Jan 27, 2025

  1. cli bump patch

    siddharthkp committed Jan 27, 2025
    Copy the full SHA
    f4e7c17 View commit details
  2. npm audit fix

    siddharthkp committed Jan 27, 2025
    Copy the full SHA
    3ee6711 View commit details
  3. add github actions to readme (#54)

    siddharthkp authored Jan 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    313d3ca View commit details
  4. Bump cross-spawn from 6.0.5 to 6.0.6 in /github-reporter (#46)

    Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6.
    - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md)
    - [Commits](moxystudio/node-cross-spawn@v6.0.5...v6.0.6)
    
    ---
    updated-dependencies:
    - dependency-name: cross-spawn
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    abf6edb View commit details
  5. Bump semver from 5.7.1 to 5.7.2 in /github-reporter (#52)

    Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
    - [Release notes](https://github.com/npm/node-semver/releases)
    - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
    - [Commits](npm/node-semver@v5.7.1...v5.7.2)
    
    ---
    updated-dependencies:
    - dependency-name: semver
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7fb4d30 View commit details
  6. Bump braces from 3.0.2 to 3.0.3 in /cli (#50)

    Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
    - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
    - [Commits](micromatch/braces@3.0.2...3.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: braces
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    16eb9b9 View commit details
  7. Bump node-fetch from 2.6.0 to 2.7.0 in /github-reporter (#48)

    Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.0 to 2.7.0.
    - [Release notes](https://github.com/node-fetch/node-fetch/releases)
    - [Commits](node-fetch/node-fetch@v2.6.0...v2.7.0)
    
    ---
    updated-dependencies:
    - dependency-name: node-fetch
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2f6753e View commit details
  8. lol run all tests!

    siddharthkp committed Jan 27, 2025
    Copy the full SHA
    d76c5d1 View commit details
  9. ava 3 -> 6 (#55)

    siddharthkp authored Jan 27, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3f43a42 View commit details

Commits on Mar 12, 2025

  1. Bump glob from 7.1.6 to 9.3.5 in /cli (#57)

    wysok authored Mar 12, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3bac0c0 View commit details
Showing with 1,348 additions and 1,683 deletions.
  1. +1 −1 README.md
  2. +1,307 −1,666 cli/package-lock.json
  3. +7 −3 cli/package.json
  4. +1 −1 cli/tests/index.js
  5. +3 −3 cli/tests/snapshots/index.js.md
  6. BIN cli/tests/snapshots/index.js.snap
  7. +29 −9 github-reporter/yarn.lock
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -175,7 +175,7 @@ To enable checks,
1. Run `bundlesize` with the flag `bundlesize --enable-github-checks`.
2. [authorize `bundlesize` to add checks](https://github.com/apps/bundlesize2) (Does not need access to your code)

Checks work with [Travis CI](https://travis-ci.org), [CircleCI](https://circleci.com/), [Wercker](http://www.wercker.com), and [Drone](http://readme.drone.io/).
Checks work with [GitHub Actions](https://github.com/features/actions), [Travis CI](https://travis-ci.org), [CircleCI](https://circleci.com/), [Wercker](http://www.wercker.com), and [Drone](http://readme.drone.io/).

Using a different CI? You will need to supply an additional 5 environment variables.

2,973 changes: 1,307 additions & 1,666 deletions cli/package-lock.json

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bundlesize2",
"version": "0.0.33",
"version": "0.0.34",
"description": "Keep your bundle size in check",
"license": "MIT",
"main": "index.js",
@@ -18,13 +18,17 @@
"commander": "^5.1.0",
"cosmiconfig": "5.2.1",
"figures": "^3.2.0",
"glob": "^7.1.6",
"glob": "^9.3.5",
"gzip-size": "^5.1.1",
"node-fetch": "^2.6.7",
"plur": "^4.0.0"
},
"devDependencies": {
"ava": "^3.15.0",
"ava": "^6.2.0",
"execa": "^4.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siddharthkp/bundlesize2.git"
}
}
2 changes: 1 addition & 1 deletion cli/tests/index.js
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ function run(fixture, customParams = '') {
return output
}

test.serial.only('1. pass: single file smaller than limit', t => {
test.serial('1. pass: single file smaller than limit', t => {
const { stdout, exitCode } = run(1)
t.is(exitCode, 0)
t.snapshot(stdout)
6 changes: 3 additions & 3 deletions cli/tests/snapshots/index.js.md
Original file line number Diff line number Diff line change
@@ -90,8 +90,8 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
`─ build/**/*.js␊
✔ build/chunks/chunk-ch0nk.js 269B < 300B gzip ␊
✔ build/vendor-ha5h.js 269B < 300B gzip ␊
✔ build/chunks/chunk-ch0nk.js 269B < 300B gzip ␊
2 checks passed`

@@ -112,8 +112,8 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
`─ build/**/*.js␊
─ build/chunks/chunk-ch0nk.js deduplicated ␊
✔ build/vendor-ha5h.js 168B < 250B gzip ␊
─ build/chunks/chunk-ch0nk.js deduplicated ␊
─ build/**/chunk-*.js␊
✔ build/chunks/chunk-ch0nk.js 269B < 300B gzip ␊
@@ -125,8 +125,8 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1
`─ build/**/*.js␊
─ build/chunks/chunk-ch0nk.js deduplicated ␊
✔ build/vendor-ha5h.js 168B < 250B gzip ␊
─ build/chunks/chunk-ch0nk.js deduplicated ␊
─ build/**/chunk-*.js␊
─ build/chunks/chunk-ch0nk.js deduplicated ␊
Binary file modified cli/tests/snapshots/index.js.snap
Binary file not shown.
38 changes: 29 additions & 9 deletions github-reporter/yarn.lock
Original file line number Diff line number Diff line change
@@ -140,9 +140,9 @@ buffer-equal-constant-time@1.0.1:
integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=

cross-spawn@^6.0.0:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==
version "6.0.6"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.6.tgz#30d0efa0712ddb7eb5a76e1e8721bffafa6b5d57"
integrity sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==
dependencies:
nice-try "^1.0.4"
path-key "^2.0.1"
@@ -302,9 +302,11 @@ nice-try@^1.0.4:
integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==

node-fetch@^2.3.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
version "2.7.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d"
integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
dependencies:
whatwg-url "^5.0.0"

npm-run-path@^2.0.0:
version "2.0.2"
@@ -352,9 +354,9 @@ safe-buffer@^5.0.1:
integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==

semver@^5.5.0, semver@^5.6.0:
version "5.7.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
version "5.7.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==

shebang-command@^1.2.0:
version "1.2.0"
@@ -378,6 +380,11 @@ strip-eof@^1.0.0:
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=

tr46@~0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==

universal-github-app-jwt@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/universal-github-app-jwt/-/universal-github-app-jwt-1.0.2.tgz#9a7305e44b2a0eb565d83d11682eebe5be8bde8b"
@@ -400,6 +407,19 @@ universal-user-agent@^5.0.0:
dependencies:
os-name "^3.1.0"

webidl-conversions@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==

whatwg-url@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
dependencies:
tr46 "~0.0.3"
webidl-conversions "^3.0.0"

which@^1.2.9:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"