Skip to content

Commit

Permalink
chore: bump deps 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa committed Sep 19, 2024
1 parent 02d4887 commit 635e7cd
Show file tree
Hide file tree
Showing 3 changed files with 1,606 additions and 1,176 deletions.
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
"@commitlint/config-angular": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@jscutlery/semver": "^2.30.1",
"@nrwl/cypress": "15.9.2",
"@nrwl/eslint-plugin-nx": "15.9.2",
"@nrwl/linter": "15.9.2",
"@nrwl/cypress": "19.7.4",
"@nrwl/linter": "19.7.4",
"@nrwl/nx-cloud": "^16.0.1",
"@nrwl/vite": "15.9.2",
"@nrwl/workspace": "^15.9.2",
"@nrwl/vite": "19.7.4",
"@nrwl/workspace": "^19.7.4",
"@types/node": "18.15.13",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
Expand All @@ -39,9 +38,9 @@
"jsdom": "~21.1.1",
"ngx-deploy-npm": "^5.2.0",
"node-fetch": "~3.3.1",
"nx": "15.9.2",
"nx": "19.7.4",
"prettier": "^2.8.7",
"qwik-nx": "^0.15.4",
"qwik-nx": "^2.3.1",
"tslib": "^2.5.3",
"undici": "^5.22.0",
"vite": "~4.3.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/qwik-image/src/lib/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export const getStyles = ({
>): Record<string, string | undefined> => {
const isRatioValid = isValid(aspectRatio);

if (height === 'auto' && width === 'auto' && isRatioValid) {
if (height as string === 'auto' && width as string === 'auto' && isRatioValid) {
console.warn(`To use the aspect ratio either set the width or the height`);
}

if (height !== 'auto' && layout !== 'fixed' && isRatioValid) {
if (height as string !== 'auto' && layout !== 'fixed' && isRatioValid) {
console.warn(`To maintain the aspect ratio we set 'height: "auto"'`);
}

Expand Down Expand Up @@ -256,7 +256,7 @@ export const Image = component$<ImageProps>((props) => {
style={style.value}
width={width.value}
height={height.value}
srcSet={srcSet.value}
srcset={srcSet.value}
sizes={sizes.value}
/>
);
Expand Down
Loading

0 comments on commit 635e7cd

Please sign in to comment.