react-photo-album
Advanced tools
Comparing version 1.13.2 to 1.13.3
@@ -216,3 +216,3 @@ 'use strict'; | ||
const { src, alt, srcSet, sizes, ...rest } = imageProps; | ||
return jsxRuntime.jsx("img", { src: src, alt: alt, ...(srcSet ? { srcSet, sizes } : null), ...rest }); | ||
return jsxRuntime.jsx("img", { alt: alt, ...(srcSet ? { srcSet, sizes } : null), src: src, ...rest }); | ||
}; | ||
@@ -219,0 +219,0 @@ const PhotoRenderer = (props) => { |
@@ -212,3 +212,3 @@ import { jsx, Fragment } from 'react/jsx-runtime'; | ||
const { src, alt, srcSet, sizes, ...rest } = imageProps; | ||
return jsx("img", { src: src, alt: alt, ...(srcSet ? { srcSet, sizes } : null), ...rest }); | ||
return jsx("img", { alt: alt, ...(srcSet ? { srcSet, sizes } : null), src: src, ...rest }); | ||
}; | ||
@@ -215,0 +215,0 @@ const PhotoRenderer = (props) => { |
{ | ||
"name": "react-photo-album", | ||
"version": "1.13.2", | ||
"version": "1.13.3", | ||
"description": "Responsive photo gallery component for React", | ||
@@ -41,3 +41,3 @@ "author": "Igor Danchenko", | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.4", | ||
"@commitlint/cli": "^16.3.0", | ||
"@commitlint/config-conventional": "^16.2.4", | ||
@@ -47,10 +47,10 @@ "@rollup/plugin-node-resolve": "^13.3.0", | ||
"@semantic-release/github": "^8.0.4", | ||
"@testing-library/react": "^13.1.1", | ||
"@types/jest": "^27.5.0", | ||
"@types/react": "^18.0.8", | ||
"@types/react-dom": "^18.0.3", | ||
"@testing-library/react": "^13.2.0", | ||
"@types/jest": "^27.5.1", | ||
"@types/react": "^18.0.9", | ||
"@types/react-dom": "^18.0.4", | ||
"@types/react-test-renderer": "^18.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.22.0", | ||
"@typescript-eslint/parser": "^5.22.0", | ||
"eslint": "^8.14.0", | ||
"@typescript-eslint/eslint-plugin": "^5.23.0", | ||
"@typescript-eslint/parser": "^5.23.0", | ||
"eslint": "^8.15.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -61,5 +61,5 @@ "eslint-plugin-jsx-a11y": "^6.5.1", | ||
"eslint-plugin-react-hooks": "^4.5.0", | ||
"husky": "^7.0.4", | ||
"jest": "^28.0.3", | ||
"jest-environment-jsdom": "^28.0.2", | ||
"husky": "^8.0.1", | ||
"jest": "^28.1.0", | ||
"jest-environment-jsdom": "^28.1.0", | ||
"lint-staged": "^12.4.1", | ||
@@ -71,7 +71,7 @@ "prettier": "^2.6.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.71.1", | ||
"rollup": "^2.73.0", | ||
"rollup-plugin-dts": "^4.2.1", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-typescript2": "^0.31.2", | ||
"ts-jest": "^28.0.0", | ||
"ts-jest": "^28.0.2", | ||
"typescript": "^4.6.4" | ||
@@ -78,0 +78,0 @@ }, |