Skip to content

Commit

Permalink
chore(deps): update dependency typedoc to ^0.25.0 (#599)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben McCann <[email protected]>
  • Loading branch information
renovate[bot] and benmccann authored Aug 26, 2023
1 parent 3aa4cf0 commit 6c53aba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prettier": "^3.0.0",
"rollup": "^3.26.3",
"tslib": "^2.6.1",
"typedoc": "^0.24.8",
"typedoc": "^0.25.0",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.6"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/transforms/resize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export const resize: TransformFactory<ResizeOptions> = (config, context) => {
return function resizeTransform(image) {
const fit = getFit(config, image)
// calculate finalWidth & finalHeight
const originalWidth = getMetadata(image, 'width')
const originalHeight = getMetadata(image, 'height')
const originalWidth = getMetadata(image, 'width') as number
const originalHeight = getMetadata(image, 'height') as number
const originalAspect = originalWidth / originalHeight

let finalWidth = width,
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6c53aba

Please sign in to comment.