Skip to content

Commit

Permalink
Bump prettier from 3.0.3 to 3.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Mar 26, 2024
1 parent 8a9328e commit 2e0a9dd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0"
"prettier": "^3.2.0"
},
"resolutions": {
"eslint-plugin-import": "npm:eslint-plugin-i@^2.28.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"eslint-config-wojtekmaj": "^0.11.0",
"happy-dom": "^12.6.0",
"nodemon": "^3.0.0",
"prettier": "^3.0.0",
"prettier": "^3.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-calendar/src/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,8 @@ const Calendar = forwardRef(function Calendar(props: CalendarProps, ref) {
Array.isArray(defaultValue)
? (defaultValue.map((el) => (el !== null ? toDate(el) : null)) as Range<Date | null>)
: defaultValue !== null && defaultValue !== undefined
? toDate(defaultValue)
: null,
? toDate(defaultValue)
: null,
);
const [viewState, setViewState] = useState<View | undefined>(defaultView);

Expand Down Expand Up @@ -714,8 +714,8 @@ const Calendar = forwardRef(function Calendar(props: CalendarProps, ref) {
return Array.isArray(rawValue)
? (rawValue.map((el) => (el !== null ? toDate(el) : null)) as Range<Date | null>)
: rawValue !== null
? toDate(rawValue)
: null;
? toDate(rawValue)
: null;
})();

const valueType = getValueType(maxDetail);
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@vitejs/plugin-react": "^4.2.0",
"eslint": "^8.56.0",
"eslint-config-wojtekmaj": "^0.11.0",
"prettier": "^3.0.0",
"prettier": "^3.2.0",
"typescript": "^5.4.2",
"vite": "^5.0.0"
}
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3959,12 +3959,12 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^3.0.0":
version: 3.0.3
resolution: "prettier@npm:3.0.3"
"prettier@npm:^3.2.0":
version: 3.2.5
resolution: "prettier@npm:3.2.5"
bin:
prettier: bin/prettier.cjs
checksum: 10c0/f950887bc03c5b970d8c6dd129364acfbbc61e7b46aec5d5ce17f4adf6404e2ef43072c98b51c4786e0eaca949b307d362a773fd47502862d754b5a328fa2b26
checksum: 10c0/ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6
languageName: node
linkType: hard

Expand Down Expand Up @@ -4052,7 +4052,7 @@ __metadata:
dependencies:
husky: "npm:^9.0.0"
lint-staged: "npm:^15.0.0"
prettier: "npm:^3.0.0"
prettier: "npm:^3.2.0"
languageName: unknown
linkType: soft

Expand All @@ -4073,7 +4073,7 @@ __metadata:
get-user-locale: "npm:^2.2.1"
happy-dom: "npm:^12.6.0"
nodemon: "npm:^3.0.0"
prettier: "npm:^3.0.0"
prettier: "npm:^3.2.0"
prop-types: "npm:^15.6.0"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
Expand Down Expand Up @@ -4738,7 +4738,7 @@ __metadata:
eslint: "npm:^8.56.0"
eslint-config-wojtekmaj: "npm:^0.11.0"
get-user-locale: "npm:^2.2.1"
prettier: "npm:^3.0.0"
prettier: "npm:^3.2.0"
react: "npm:^18.2.0"
react-calendar: "workspace:packages/react-calendar"
react-dom: "npm:^18.2.0"
Expand Down

0 comments on commit 2e0a9dd

Please sign in to comment.