Skip to content

build(deps): bump image-size from 1.2.0 to 2.0.0 #2003

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

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2025

Bumps image-size from 1.2.0 to 2.0.0.

Release notes

Sourced from image-size's releases.

v2.0.0

The release

  • Adds dual support for CJS and ESM, switches from Buffer to UInt8Array, uses DataView for reads, and can therefore now also be used in browsers
  • Removes all dependencies
  • Introduces some performance improvements
  • Drops synchronous API.

Please see the Readme for the usage examples.

Full Changelog: image-size/image-size@v1.2.0...v2.0.0

Commits
  • 1fb8f41 2.0.0
  • 7b19493 Fix for reading offset and looking up buffer at that offset without validatin...
  • 6d1fc25 Fixed url. The domain had expired. (#423)
  • 636ebd0 2.0.0-beta.4
  • da7a9e8 Update Readme.md
  • 97a20c4 Setup tsup to support both CJS and ESM
  • 21dbfe4 revert the current ESM setup
  • a3aa857 Merge remote-tracking branch 'origin/main' into 2.0
  • 262aa37 cleanup
  • 2051842 feat: Add support for multi-image HEIF and HEIF transformations (#420)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [image-size](https://github.com/image-size/image-size) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](image-size/image-size@v1.2.0...v2.0.0)

---
updated-dependencies:
- dependency-name: image-size
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 3, 2025
@github-actions github-actions bot added the pr: other Pull requests that neither add new extensions or change existing ones label Mar 3, 2025
Copy link
Member

@yuri-kiss yuri-kiss left a comment

Choose a reason for hiding this comment

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

don't merge this, it breaks the image validation system

@yuri-kiss yuri-kiss requested a review from GarboMuffin March 3, 2025 03:52
@yuri-kiss yuri-kiss merged commit 8e5bc09 into master Mar 3, 2025
3 checks passed
@yuri-kiss yuri-kiss deleted the dependabot/npm_and_yarn/image-size-2.0.0 branch March 3, 2025 04:18
jexjws pushed a commit to 40codeTeam/tw-extensions that referenced this pull request Mar 17, 2025
Bumps [image-size](https://github.com/image-size/image-size) from 1.2.0
to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/image-size/image-size/releases">image-size's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<p>The release</p>
<ul>
<li>Adds dual support for CJS and ESM, switches from <code>Buffer</code>
to <code>UInt8Array</code>, uses <code>DataView</code> for reads, and
can therefore now also be used in browsers</li>
<li>Removes all dependencies</li>
<li>Introduces some performance improvements</li>
<li><a
href="https://github.com/image-size/image-size/blob/main/Readme.md#reading-from-a-file-syncronously-not-recommended-%EF%B8%8F">Drops
synchronous API</a>.</li>
</ul>
<p>Please see the Readme for the usage examples.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/image-size/image-size/compare/v1.2.0...v2.0.0">https://github.com/image-size/image-size/compare/v1.2.0...v2.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/image-size/image-size/commit/1fb8f411593acbdb413eaf97817a8eb0b7e8af83"><code>1fb8f41</code></a>
2.0.0</li>
<li><a
href="https://github.com/image-size/image-size/commit/7b194931aa62be269d6ea471b056b0f6cddac46f"><code>7b19493</code></a>
Fix for reading offset and looking up buffer at that offset without
validatin...</li>
<li><a
href="https://github.com/image-size/image-size/commit/6d1fc2570f5890a777267f455425593dacac64f6"><code>6d1fc25</code></a>
Fixed url. The domain had expired. (<a
href="https://redirect.github.com/image-size/image-size/issues/423">#423</a>)</li>
<li><a
href="https://github.com/image-size/image-size/commit/636ebd0a5caea593174e2ff48ba374baf3239757"><code>636ebd0</code></a>
2.0.0-beta.4</li>
<li><a
href="https://github.com/image-size/image-size/commit/da7a9e870af19c54f99802eed2932727a4a5ffce"><code>da7a9e8</code></a>
Update Readme.md</li>
<li><a
href="https://github.com/image-size/image-size/commit/97a20c44b12ef0410003453bf69717ef61cc2106"><code>97a20c4</code></a>
Setup tsup to support both CJS and ESM</li>
<li><a
href="https://github.com/image-size/image-size/commit/21dbfe4e84fbe94ed14c5a34e71614a487c76992"><code>21dbfe4</code></a>
revert the current ESM setup</li>
<li><a
href="https://github.com/image-size/image-size/commit/a3aa857b6dde7b7c7bcbf2eb038f3b663b6eab88"><code>a3aa857</code></a>
Merge remote-tracking branch 'origin/main' into 2.0</li>
<li><a
href="https://github.com/image-size/image-size/commit/262aa37f2164b139955a30213d17872ce3299927"><code>262aa37</code></a>
cleanup</li>
<li><a
href="https://github.com/image-size/image-size/commit/2051842666a18f57fc669f8308fe6d8843b86822"><code>2051842</code></a>
feat: Add support for multi-image HEIF and HEIF transformations (<a
href="https://redirect.github.com/image-size/image-size/issues/420">#420</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/image-size/image-size/compare/v1.2.0...v2.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=image-size&package-manager=npm_and_yarn&previous-version=1.2.0&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Thomas Weber <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file pr: other Pull requests that neither add new extensions or change existing ones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants