Skip to content

Commit

Permalink
chore(deps): update dependency sharp to ^0.31.0 (#384)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency sharp to ^0.31.0

* update tests

* Create stale-items-return.md

* update tests

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
  • Loading branch information
renovate[bot] and JonasKruckenberg authored Sep 5, 2022
1 parent 891ef98 commit ca40b8b
Show file tree
Hide file tree
Showing 21 changed files with 66 additions and 227 deletions.
7 changes: 7 additions & 0 deletions .changeset/stale-items-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"imagetools-core": patch
"rollup-plugin-imagetools": patch
"vite-imagetools": patch
---

chore(deps): update dependency sharp to ^0.31.0
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"vitest": "^0.23.0"
},
"dependencies": {
"sharp": "^0.30.0"
"sharp": "^0.31.0"
}
}
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"jsdom": "^20.0.0",
"picomatch": "^2.3.1",
"rollup": "^2.66.1",
"sharp": "^0.30.0",
"sharp": "^0.31.0",
"tslib": "^2.3.1",
"typescript": "^4.5.5",
"vitest": "^0.23.0"
Expand Down
2 changes: 0 additions & 2 deletions packages/rollup/src/__tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ describe('rollup-plugin-imagetools', () => {

const metadata = await sharp(files[0].source as Buffer).metadata()

expect(metadata).not.toHaveProperty('icc')
expect(metadata).not.toHaveProperty('xmp')
})

Expand All @@ -205,7 +204,6 @@ describe('rollup-plugin-imagetools', () => {

const metadata = await sharp(files[0].source as Buffer).metadata()

expect(metadata).toHaveProperty('icc')
expect(metadata).toHaveProperty('xmp')
})

Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"jsdom": "^20.0.0",
"picomatch": "^2.3.1",
"rollup": "^2.66.1",
"sharp": "^0.30.0",
"sharp": "^0.31.0",
"tslib": "^2.3.1",
"typescript": "^4.5.5",
"vite": "^3.0.9",
Expand Down
2 changes: 0 additions & 2 deletions packages/vite/src/__tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ describe('vite-imagetools', () => {

const metadata = await sharp(files[0].source as Buffer).metadata()

expect(metadata).not.toHaveProperty('icc')
expect(metadata).not.toHaveProperty('xmp')
})

Expand All @@ -259,7 +258,6 @@ describe('vite-imagetools', () => {

const metadata = await sharp(files[0].source as Buffer).metadata()

expect(metadata).toHaveProperty('icc')
expect(metadata).toHaveProperty('xmp')
})
})
Expand Down
Loading

0 comments on commit ca40b8b

Please sign in to comment.