Skip to content

Bump cropperjs from 1.6.2 to 2.1.1#67

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/cropperjs-2.1.1
Open

Bump cropperjs from 1.6.2 to 2.1.1#67
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/cropperjs-2.1.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2026

Bumps cropperjs from 1.6.2 to 2.1.1.

Release notes

Sourced from cropperjs's releases.

v2.1.1

See CHANGELOG.md for details.

v2.1.0

What's Changed

New Contributors

Full Changelog: fengyuanchen/cropperjs@v2.0.1...v2.1.0

v2.0.1

What's Changed

New Contributors

Full Changelog: fengyuanchen/cropperjs@v2.0.0...v2.0.1

v2.0.0

Full Changelog: fengyuanchen/cropperjs@v2.0.0-rc.2...v2.0.0

v2.0.0-rc

Features

  • CropperImage
    • Add a new property: initial-center-size.
  • CropperSelection
    • Add a new property: linked => dynamic.

Breaking Changes

  • CropperImage
    • Change the default value of the rotatable property from true to false.
    • Change the default value of the scalable property from true to false.
    • Change the default value of the skewable property from true to false.
    • Change the default value of the translatable property from true to false.

Full Changelog: fengyuanchen/cropperjs@v2.0.0-beta.5...v2.0.0-rc

v2.0.0-rc.0

Breaking Changes

  • CropperSelection

... (truncated)

Changelog

Sourced from cropperjs's changelog.

2.1.1 (2026-04-06)

  • chore: update dependencies (d3af648)
  • fix(element-image): always center the image, even if it is neither translatable nor scalable (a03c93a), closes #1292
  • fix(element-shade): re-render the shade on window resize (26de54d)
  • fix(element-shade): use window.devicePixelRatio to calculate the correct outline width (b32a975), closes #1284
  • fix(element-viewer): fix incorrect preview size when using SVG image format in Safari (acc8771), closes #1290
  • ci: add workflow for creating release (3034097)
  • ci: add workflow for publishing package to npm (a2e2fcd)
  • ci: update GitHub Actions to use latest versions of checkout and setup-node actions (ba945ab)
  • docs: add Hello World example (a586dcb), closes #1282

2.1.0 (2025-10-19)

  • build: release v2.1.0 (268be1a)
  • docs: fix value of free aspect ratio (5b4e96f), closes #1274
  • refactor(element-shade): use selection itself when default prevented (0673f15)
  • fix(element-image): ensure the image is fully rendered (5afd8f3), closes #1168
  • fix(element-selection): get correct event target in shadow DOM (#1276) (e64d6c3), closes #1276
  • fix(element-shade): fix shade size when selection changes (98c101c)
  • fix(element): call attachShadow only if shadowRoot does not exist (75cabcf), closes #1217
  • feat(cropperjs): add destroy method (6a933e3), closes #1271

2.0.1 (2025-07-25)

  • build: add missing /dist paths (42dba8b)
  • build: release v2.0.1 (6b8e5ff)
  • fix: correct require.node.default export and explicitly export package.json (#1259) (97f8787), closes #1259
  • fix: set crossorigin attribute on cropper image element (#1253) (f11026c), closes #1253
  • fix(cropper-selection): improve selection movement logic for better user experience (e7e3510)
  • fix(cropperjs): fix container query issue when in a custom element (4fea6fd)
  • fix(cropperjs): inherit additional attributes from HTMLImageElement (cb5a341)
  • fix(element-image): add missing attributes (type declarations) (2e46715), closes #1233
  • fix(element-shade): get data from event.detail when the selection is dynamic (f6b2847)
  • fix(element-shade): get data from event.detail when there are multiple selections (09fd9ca)
  • fix(element-shade): prevent shade from "glitching" when pulling selection too far (#1242) (2dab6ff), closes #1242 #1078
  • fix(element-viewer): fix selection query issue when in a custom element (aecee79), closes #1245
  • fix(element-viewer): transform the image by the selection offset after the next DOM update cycle (04a2c8b), closes #1258
  • test(cropper): remove support for HTMLCanvasElement and improve container handling in tests (91d5ab3)
  • test(cropperjs): add container option to getCropperSelections test (69a0ab6)
  • refactor(element-shade): rename selection event handler for better readability (c960217)
  • docs: explain that jQuery Cropper only available for Cropper.js 1.0 now (3df9b20)

2.0.0 (2025-03-01)

... (truncated)

Commits
  • 0bbb4de build: release 2.1.1
  • 268be1a build: release v2.1.0
  • 6a933e3 feat(cropperjs): add destroy method
  • 6b8e5ff build: release v2.0.1
  • 42dba8b build: add missing /dist paths
  • 97f8787 fix: correct require.node.default export and explicitly export package.json (...
  • 91d5ab3 test(cropper): remove support for HTMLCanvasElement and improve container han...
  • 69a0ab6 test(cropperjs): add container option to getCropperSelections test
  • cb5a341 fix(cropperjs): inherit additional attributes from HTMLImageElement
  • f11026c fix: set crossorigin attribute on cropper image element (#1253)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for cropperjs since your current version.


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 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 [cropperjs](https://github.com/fengyuanchen/cropperjs/tree/HEAD/packages/cropperjs) from 1.6.2 to 2.1.1.
- [Release notes](https://github.com/fengyuanchen/cropperjs/releases)
- [Changelog](https://github.com/fengyuanchen/cropperjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fengyuanchen/cropperjs/commits/v2.1.1/packages/cropperjs)

---
updated-dependencies:
- dependency-name: cropperjs
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 7, 2026
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants