mirror of
https://github.com/evroon/bracket.git
synced 2026-03-23 01:41:06 -04:00
Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.2.0 to 3.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/date-fns/date-fns/releases">date-fns's releases</a>.</em></p> <blockquote> <h2>v3.3.1</h2> <p>Kudos to <a href="https://github.com/kossnocorp"><code>@kossnocorp</code></a> and <a href="https://github.com/fturmel"><code>@fturmel</code></a> for working on the release.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed DST issue in <code>getOverlappingDaysInIntervals</code>, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.</p> </li> <li> <p>Fixed functions incorrectly using <code>trunc</code> instead of <code>round</code>. The bug was introduced in v3.3.0. The affected functions: <code>differenceInCalendarDays</code>, <code>differenceInCalendarISOWeeks</code>, <code>differenceInCalendarWeeks</code>, <code>getISOWeek</code>, <code>getWeek</code>, and <code>getISOWeeksInYear</code>.</p> </li> </ul> <h2>v3.3.0</h2> <p>On this release worked <a href="https://github.com/kossnocorp"><code>@kossnocorp</code></a>, <a href="https://github.com/TheKvikk"><code>@TheKvikk</code></a>, <a href="https://github.com/fturmel"><code>@fturmel</code></a> and <a href="https://github.com/ckcherry23"><code>@ckcherry23</code></a>.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed the bug in <code>getOverlappingDaysInIntervals</code> caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.</p> </li> <li> <p>Fixed bugs when working with negative numbers caused by using <code>Math.floor</code> (<code>-1.1</code> → <code>-2</code>) instead of <code>Math.trunc</code> (<code>-1.1</code> → <code>-1</code>). Most of the conversion functions (i.e., <code>hoursToMinutes</code>) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.</p> <p>The functions that were affected: <code>format</code>, <code>parse</code>, <code>getUnixTime</code>, <code>daysToWeeks</code>, <code>hoursToMilliseconds</code>, <code>hoursToMinutes</code>, <code>hoursToSeconds</code>, <code>milliseconds</code>, <code>minutesToMilliseconds</code>, <code>millisecondsToMinutes</code>, <code>monthsToYears</code>, <code>millisecondsToHours</code>, <code>millisecondsToSeconds</code>, <code>minutesToHours</code>, <code>minutesToSeconds</code>, <code>yearsToQuarters</code>, <code>yearsToMonths</code>, <code>yearsToDays</code>, <code>weeksToDays</code>, <code>secondsToMinutes</code>, <code>secondsToHours</code>, <code>quartersToYears</code>, <code>quartersToMonths</code> and <code>monthsToQuarters</code>.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3269">Fixed the Czech locale's <code>formatDistance</code> to include <code>1</code> in <code>formatDistance</code>.</a></p> </li> <li> <p>Fixed <code>differenceInSeconds</code> and other functions relying on rounding options that can produce a negative 0.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3662">Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale.</a> (<a href="https://redirect.github.com/date-fns/date-fns/issues/1391">#1391</a>)</p> </li> <li> <p>Added missing <code>yearsToDays</code> to the FP submodule.</p> </li> <li> <p>Made functions using rounding methods always return <code>0</code> instead of <code>-0</code>.</p> </li> </ul> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/date-fns/date-fns/pull/3653">Added <code>format</code> alias <code>formatDate</code> with corresponding <code>FormatDateOptions</code> interface</a>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md">date-fns's changelog</a>.</em></p> <blockquote> <h2>v3.3.1 - 2024-01-22</h2> <p>Kudos to <a href="https://github.com/kossnocorp"><code>@kossnocorp</code></a> and <a href="https://github.com/fturmel"><code>@fturmel</code></a> for working on the release.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed DST issue in <code>getOverlappingDaysInIntervals</code>, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.</p> </li> <li> <p>Fixed functions incorrectly using <code>trunc</code> instead of <code>round</code>. The bug was introduced in v3.3.0. The affected functions: <code>differenceInCalendarDays</code>, <code>differenceInCalendarISOWeeks</code>, <code>differenceInCalendarWeeks</code>, <code>getISOWeek</code>, <code>getWeek</code>, and <code>getISOWeeksInYear</code>.</p> </li> </ul> <h2>v3.3.0 - 2024-01-20</h2> <p>On this release worked <a href="https://github.com/kossnocorp"><code>@kossnocorp</code></a>, <a href="https://github.com/TheKvikk"><code>@TheKvikk</code></a>, <a href="https://github.com/fturmel"><code>@fturmel</code></a> and <a href="https://github.com/ckcherry23"><code>@ckcherry23</code></a>.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed the bug in <code>getOverlappingDaysInIntervals</code> caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.</p> </li> <li> <p>Fixed bugs when working with negative numbers caused by using <code>Math.floor</code> (<code>-1.1</code> → <code>-2</code>) instead of <code>Math.trunc</code> (<code>-1.1</code> → <code>-1</code>). Most of the conversion functions (i.e., <code>hoursToMinutes</code>) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.</p> <p>The functions that were affected: <code>format</code>, <code>parse</code>, <code>getUnixTime</code>, <code>daysToWeeks</code>, <code>hoursToMilliseconds</code>, <code>hoursToMinutes</code>, <code>hoursToSeconds</code>, <code>milliseconds</code>, <code>minutesToMilliseconds</code>, <code>millisecondsToMinutes</code>, <code>monthsToYears</code>, <code>millisecondsToHours</code>, <code>millisecondsToSeconds</code>, <code>minutesToHours</code>, <code>minutesToSeconds</code>, <code>yearsToQuarters</code>, <code>yearsToMonths</code>, <code>yearsToDays</code>, <code>weeksToDays</code>, <code>secondsToMinutes</code>, <code>secondsToHours</code>, <code>quartersToYears</code>, <code>quartersToMonths</code> and <code>monthsToQuarters</code>.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3269">Fixed the Czech locale's <code>formatDistance</code> to include <code>1</code> in <code>formatDistance</code>.</a></p> </li> <li> <p>Fixed <code>differenceInSeconds</code> and other functions relying on rounding options that can produce a negative 0.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3662">Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale.</a> (<a href="https://redirect.github.com/date-fns/date-fns/issues/1391">#1391</a>)</p> </li> <li> <p>Added missing <code>yearsToDays</code> to the FP submodule.</p> </li> <li> <p>Made functions using rounding methods always return <code>0</code> instead of <code>-0</code>.</p> </li> </ul> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/date-fns/date-fns/pull/3653">Added <code>format</code> alias <code>formatDate</code> with corresponding <code>FormatDateOptions</code> interface</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="35c1858780"><code>35c1858</code></a> Upgrade Vitest</li> <li><a href="aa264e394b"><code>aa264e3</code></a> Fix DST issue in getOverlappingDaysInIntervals</li> <li><a href="a960fc2100"><code>a960fc2</code></a> Enable extended timezone tests on main</li> <li><a href="29394724f7"><code>2939472</code></a> Fix incorrect rounding introduced in v3.3.0</li> <li><a href="ff60d48298"><code>ff60d48</code></a> Fix browser tests (<a href="https://redirect.github.com/date-fns/date-fns/issues/3677">#3677</a>)</li> <li><a href="659ad02d1c"><code>659ad02</code></a> Update v3.3.0 changelog</li> <li><a href="3e4af151a9"><code>3e4af15</code></a> What's wrong with you, Lodash?</li> <li><a href="37079068ce"><code>3707906</code></a> Prepare v3.3.0</li> <li><a href="fadd58b132"><code>fadd58b</code></a> Add missing <code>yearsToDays</code> to FP</li> <li><a href="ad2c654a6a"><code>ad2c654</code></a> Fix bug in getOverlappingDaysInIntervals</li> <li>Additional commits viewable in <a href="https://github.com/date-fns/date-fns/compare/v3.2.0...v3.3.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
88 lines
2.8 KiB
JSON
88 lines
2.8 KiB
JSON
{
|
|
"name": "Bracket",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"analyze": "ANALYZE=true next build",
|
|
"start": "next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"export": "next build && next export",
|
|
"lint": "next lint",
|
|
"jest": "jest",
|
|
"jest:watch": "jest --watch",
|
|
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
|
|
"test": "tsc --noEmit && npm run prettier:write && npm run lint && npm run jest -- --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.11.1",
|
|
"@emotion/server": "^11.11.0",
|
|
"@hcaptcha/react-hcaptcha": "^1.9.3",
|
|
"@hello-pangea/dnd": "^16.5.0",
|
|
"@mantine/core": "7.4.1",
|
|
"@mantine/dates": "7.4.1",
|
|
"@mantine/dropzone": "7.4.1",
|
|
"@mantine/form": "7.4.1",
|
|
"@mantine/hooks": "7.4.1",
|
|
"@mantine/next": "^6.0.21",
|
|
"@mantine/notifications": "7.4.1",
|
|
"@mantine/spotlight": "7.4.1",
|
|
"@next/bundle-analyzer": "^14.0.3",
|
|
"@react-icons/all-files": "^4.1.0",
|
|
"@tabler/icons-react": "^2.42.0",
|
|
"@vercel/analytics": "^1.1.1",
|
|
"axios": "^1.6.2",
|
|
"clsx": "^2.0.0",
|
|
"cookies-next": "^4.1.0",
|
|
"date-fns": "^3.3.1",
|
|
"dayjs": "^1.11.10",
|
|
"i18next": "^23.7.11",
|
|
"next": "^14.0.3",
|
|
"next-i18next": "^15.1.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-ellipsis-text": "^1.2.1",
|
|
"react-i18next": "^14.0.0",
|
|
"react-icons": "^5.0.1",
|
|
"react-qr-code": "^2.0.12",
|
|
"react-redux": "^9.0.2",
|
|
"swr": "^2.2.4",
|
|
"yarn-upgrade-all": "^0.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.5",
|
|
"@next/eslint-plugin-next": "^14.0.3",
|
|
"@testing-library/dom": "^9.3.3",
|
|
"@testing-library/jest-dom": "^6.1.5",
|
|
"@testing-library/react": "^14.2.1",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^20.10.3",
|
|
"@types/react": "^18.2.42",
|
|
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
"@typescript-eslint/parser": "^6.13.2",
|
|
"babel-loader": "^9.1.3",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
"eslint-config-mantine": "^3.1.0",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-jest": "^27.6.0",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-testing-library": "^6.2.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"postcss": "^8.4.32",
|
|
"postcss-preset-mantine": "^1.11.1",
|
|
"postcss-simple-vars": "^7.0.1",
|
|
"prettier": "^3.1.0",
|
|
"ts-jest": "^29.1.1",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|