diff --git a/docs/assets/func-sizes.json b/docs/assets/func-sizes.json index 16ed2ed..cd8d57d 100644 --- a/docs/assets/func-sizes.json +++ b/docs/assets/func-sizes.json @@ -5,8 +5,8 @@ "formattedSize": "524 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5399, + "formattedSize": "5.4 kB" } }, "addHour": { @@ -15,8 +15,8 @@ "formattedSize": "526 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5399, + "formattedSize": "5.4 kB" } }, "addMinute": { @@ -25,8 +25,8 @@ "formattedSize": "531 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5398, + "formattedSize": "5.4 kB" } }, "addMonth": { @@ -35,8 +35,8 @@ "formattedSize": "594 B" }, "cjs": { - "size": 5392, - "formattedSize": "5.39 kB" + "size": 5406, + "formattedSize": "5.41 kB" } }, "addSecond": { @@ -45,8 +45,8 @@ "formattedSize": "526 B" }, "cjs": { - "size": 5386, - "formattedSize": "5.39 kB" + "size": 5398, + "formattedSize": "5.4 kB" } }, "addYear": { @@ -55,8 +55,8 @@ "formattedSize": "602 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5399, + "formattedSize": "5.4 kB" } }, "ap": { @@ -65,8 +65,8 @@ "formattedSize": "457 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5404, + "formattedSize": "5.4 kB" } }, "applyOffset": { @@ -75,8 +75,8 @@ "formattedSize": "627 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "date": { @@ -85,8 +85,8 @@ "formattedSize": "504 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5404, + "formattedSize": "5.4 kB" } }, "dayEnd": { @@ -95,8 +95,8 @@ "formattedSize": "518 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5399, + "formattedSize": "5.4 kB" } }, "dayOfYear": { @@ -105,8 +105,8 @@ "formattedSize": "554 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "dayStart": { @@ -115,28 +115,28 @@ "formattedSize": "514 B" }, "cjs": { - "size": 5392, + "size": 5395, "formattedSize": "5.39 kB" } }, "format": { "esm": { - "size": 2852, - "formattedSize": "2.85 kB" + "size": 2858, + "formattedSize": "2.86 kB" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "formatStr": { "esm": { - "size": 1605, - "formattedSize": "1.6 kB" + "size": 1609, + "formattedSize": "1.61 kB" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "fourDigitYear": { @@ -145,8 +145,8 @@ "formattedSize": "286 B" }, "cjs": { - "size": 5392, - "formattedSize": "5.39 kB" + "size": 5401, + "formattedSize": "5.4 kB" } }, "hourEnd": { @@ -155,8 +155,8 @@ "formattedSize": "523 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "hourStart": { @@ -165,8 +165,8 @@ "formattedSize": "517 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "isAfter": { @@ -175,8 +175,8 @@ "formattedSize": "517 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "isBefore": { @@ -185,8 +185,8 @@ "formattedSize": "517 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "isEqual": { @@ -195,8 +195,8 @@ "formattedSize": "518 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "iso8601": { @@ -205,8 +205,8 @@ "formattedSize": "369 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5401, + "formattedSize": "5.4 kB" } }, "minuteEnd": { @@ -215,8 +215,8 @@ "formattedSize": "517 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "minuteStart": { @@ -225,8 +225,8 @@ "formattedSize": "512 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "monthDays": { @@ -235,8 +235,8 @@ "formattedSize": "540 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "monthEnd": { @@ -245,7 +245,7 @@ "formattedSize": "530 B" }, "cjs": { - "size": 5392, + "size": 5395, "formattedSize": "5.39 kB" } }, @@ -255,8 +255,8 @@ "formattedSize": "522 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "nearestDay": { @@ -265,27 +265,27 @@ "formattedSize": "768 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "offset": { "esm": { - "size": 830, - "formattedSize": "830 B" + "size": 842, + "formattedSize": "842 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5401, + "formattedSize": "5.4 kB" } }, "parse": { "esm": { - "size": 4239, - "formattedSize": "4.24 kB" + "size": 4254, + "formattedSize": "4.25 kB" }, "cjs": { - "size": 5390, + "size": 5395, "formattedSize": "5.39 kB" } }, @@ -295,27 +295,27 @@ "formattedSize": "489 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "parts": { "esm": { - "size": 1503, + "size": 1504, "formattedSize": "1.5 kB" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5405, + "formattedSize": "5.41 kB" } }, "range": { "esm": { - "size": 3157, - "formattedSize": "3.16 kB" + "size": 3173, + "formattedSize": "3.17 kB" }, "cjs": { - "size": 5390, + "size": 5395, "formattedSize": "5.39 kB" } }, @@ -325,8 +325,8 @@ "formattedSize": "659 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5399, + "formattedSize": "5.4 kB" } }, "sameDay": { @@ -335,8 +335,8 @@ "formattedSize": "547 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "sameHour": { @@ -345,7 +345,7 @@ "formattedSize": "527 B" }, "cjs": { - "size": 5392, + "size": 5395, "formattedSize": "5.39 kB" } }, @@ -355,8 +355,8 @@ "formattedSize": "531 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "sameSecond": { @@ -365,8 +365,8 @@ "formattedSize": "529 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "sameYear": { @@ -375,18 +375,18 @@ "formattedSize": "531 B" }, "cjs": { - "size": 5392, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "tzDate": { "esm": { - "size": 965, - "formattedSize": "965 B" + "size": 981, + "formattedSize": "981 B" }, "cjs": { - "size": 5393, - "formattedSize": "5.39 kB" + "size": 5403, + "formattedSize": "5.4 kB" } }, "weekEnd": { @@ -395,8 +395,8 @@ "formattedSize": "575 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "weekStart": { @@ -405,8 +405,8 @@ "formattedSize": "554 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5397, + "formattedSize": "5.4 kB" } }, "yearDays": { @@ -415,7 +415,7 @@ "formattedSize": "540 B" }, "cjs": { - "size": 5392, + "size": 5395, "formattedSize": "5.39 kB" } }, @@ -425,8 +425,8 @@ "formattedSize": "532 B" }, "cjs": { - "size": 5391, - "formattedSize": "5.39 kB" + "size": 5402, + "formattedSize": "5.4 kB" } }, "yearStart": { @@ -435,20 +435,20 @@ "formattedSize": "524 B" }, "cjs": { - "size": 5390, - "formattedSize": "5.39 kB" + "size": 5400, + "formattedSize": "5.4 kB" } }, "all esm": { "esm": { - "size": 5093, - "formattedSize": "5.09 kB" + "size": 5103, + "formattedSize": "5.1 kB" } }, "all cjs": { "cjs": { - "size": 5382, - "formattedSize": "5.38 kB" + "size": 5390, + "formattedSize": "5.39 kB" } } } \ No newline at end of file diff --git a/docs/components/GithubLinkAndSize.vue b/docs/components/GithubLinkAndSize.vue index 473377e..0c91a03 100644 --- a/docs/components/GithubLinkAndSize.vue +++ b/docs/components/GithubLinkAndSize.vue @@ -6,20 +6,19 @@ defineProps<{ diff --git a/docs/components/IconGitHub.vue b/docs/components/IconGitHub.vue index b4e844e..1a3dd3f 100644 --- a/docs/components/IconGitHub.vue +++ b/docs/components/IconGitHub.vue @@ -3,14 +3,13 @@ width="16" height="16" viewBox="0 0 15 15" - fill="none" + fill="currentColor" xmlns="http://www.w3.org/2000/svg" > diff --git a/docs/components/content/Modify.vue b/docs/components/content/Modify.vue index 43a3c1d..f88b205 100644 --- a/docs/components/content/Modify.vue +++ b/docs/components/content/Modify.vue @@ -14,7 +14,7 @@ const fns: Record< } > = { addDay: { - name: 'add-day', + name: "add-day", description: "Returns a new Date object with a positive or negative number of days applied to date argument. To subtract days, use a negative number.", return: "Date", @@ -31,7 +31,7 @@ const fns: Record< example: "addDay", }, addHour: { - name: 'add-hour', + name: "add-hour", description: "Returns a new Date object with a positive or negative number of hours applied to date argument. To subtract hours, use a negative number.", return: "Date", @@ -47,7 +47,7 @@ const fns: Record< ], }, addMinute: { - name: 'add-minute', + name: "add-minute", description: "Returns a new Date object with a positive or negative number of minutes applied to date argument. To subtract minutes, use a negative number.", return: "Date", @@ -63,7 +63,7 @@ const fns: Record< ], }, addMonth: { - name: 'add-month', + name: "add-month", description: `Returns a new Date object with a positive or negative number of months applied to date argument. To subtract months, use a negative number. Sometimes the result will "overflow" the available days of @@ -89,7 +89,7 @@ const fns: Record< ], }, addSecond: { - name: 'add-second', + name: "add-second", description: "Returns a new Date object with a positive or negative number of seconds applied to date argument. To subtract seconds, use a negative number.", return: "Date", @@ -105,7 +105,7 @@ const fns: Record< ], }, addYear: { - name: 'add-year', + name: "add-year", description: `Returns a new Date object with a positive or negative number of years applied to date argument. To subtract years, use a negative number. Sometimes the result will "overflow" the available days of @@ -131,7 +131,7 @@ const fns: Record< ], }, applyOffset: { - name: 'apply-offset', + name: "apply-offset", description: `Returns a new Date object with a timezone offset applied to date argument — this function does fundamentally change the date but can be very useful when working with timezones. Read more in the timezone section.`, @@ -150,7 +150,7 @@ const fns: Record< example: "applyOffset", }, date: { - name: 'date', + name: "date", description: `Converts an ISO 8601 like string into a Date object (noop on Date objects). ISO 8601 strings do not need to be complete to be accepted, but you need at least a year and month.`, return: "Date", arguments: [ @@ -163,7 +163,7 @@ const fns: Record< tip: 'To produce a date in a given timezone either include the offset in the date string (ex: "2021-01-01T00:00:00-0800") or use the tzDate function.', }, dayEnd: { - name: 'day-end', + name: "day-end", description: `Returns a new Date object with the time set to 23:59:59.999 (local time).`, return: "Date", arguments: [ @@ -174,7 +174,7 @@ const fns: Record< ], }, dayStart: { - name: 'day-start', + name: "day-start", description: `Returns a new Date object with the time set to 00:00:00.000 (local time).`, return: "Date", arguments: [ @@ -185,7 +185,7 @@ const fns: Record< ], }, hourEnd: { - name: 'hour-end', + name: "hour-end", description: `Returns a new Date object with the minutes part of the time set to 59:59.999 (local time).`, return: "Date", arguments: [ @@ -196,7 +196,7 @@ const fns: Record< ], }, hourStart: { - name: 'hour-start', + name: "hour-start", description: `Returns a new Date object with the minutes part of the time set to 00:00.000 (local time).`, return: "Date", arguments: [ @@ -207,7 +207,7 @@ const fns: Record< ], }, minuteEnd: { - name: 'minute-end', + name: "minute-end", description: `Returns a new Date object with the seconds part of the time set to 59.999 (local time).`, return: "Date", arguments: [ @@ -218,7 +218,7 @@ const fns: Record< ], }, minuteStart: { - name: 'minute-start', + name: "minute-start", description: `Returns a new Date object with the seconds part of the time set to 00.000 (local time).`, return: "Date", arguments: [ @@ -229,7 +229,7 @@ const fns: Record< ], }, monthEnd: { - name: 'month-end', + name: "month-end", description: `Returns a new Date object with the date set to the last day of the current month (does not modify the time).`, return: "Date", arguments: [ @@ -240,7 +240,7 @@ const fns: Record< ], }, monthStart: { - name: 'month-start', + name: "month-start", description: `Returns a new Date object with the date set to the first day of the current month and the time set to 00:00:00 (local).`, return: "Date", arguments: [ @@ -251,7 +251,7 @@ const fns: Record< ], }, removeOffset: { - name: 'remove-offset', + name: "remove-offset", description: `Returns a new Date object with the inverse of the specified offset applied. This can be helpful to normalize time information across timezones.`, return: "Date", arguments: [ @@ -267,7 +267,7 @@ const fns: Record< ], }, tzDate: { - name: 'tz-date', + name: "tz-date", description: `Converts an ISO 8601 like string into a Date object with a timezone applied. For example, tzDate('2021-01-01T00:00', 'America/Los_Angeles') will return a Date object representing 2021-01-01 00:00 in L.A.`, return: "Date", arguments: [ @@ -284,7 +284,7 @@ const fns: Record< example: "tzDate", }, weekEnd: { - name: 'week-end', + name: "week-end", description: `Returns a new Date object with the date set to the last day of the current week with the time set to 23:59:59 (local).`, return: "Date", arguments: [ @@ -300,7 +300,7 @@ const fns: Record< ], }, weekStart: { - name: 'week-start', + name: "week-start", description: `Returns a new Date object with the date set to the first day of the current week with the time set to 00:00:00 (local).`, return: "Date", arguments: [ @@ -316,8 +316,9 @@ const fns: Record< ], }, yearEnd: { - name: 'year-end', - description: "Returns a new Date object with the date set to the end of the year", + name: "year-end", + description: + "Returns a new Date object with the date set to the end of the year", return: "Date", arguments: [ { @@ -327,8 +328,9 @@ const fns: Record< ], }, yearStart: { - name: 'year-start', - description: "Returns a new Date object with the date set to the start of the year", + name: "year-start", + description: + "Returns a new Date object with the date set to the start of the year", return: "Date", arguments: [ { @@ -353,8 +355,10 @@ const fns: Record<

{{ fn }}

diff --git a/package.json b/package.json index 812ab38..2a5bf8d 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,12 @@ "author": "Justin Schroeder ", "license": "MIT", "devDependencies": { + "@size-limit/esbuild": "^11.1.1", + "@size-limit/file": "^11.1.1", "@size-limit/preset-small-lib": "^11.0.2", "@types/node": "^20.11.10", "bumpp": "^9.3.0", + "bytes-iec": "^3.1.1", "publint": "^0.2.7", "size-limit": "^11.0.2", "tsup": "^8.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6601e6..0c262c5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,12 @@ importers: .: devDependencies: + '@size-limit/esbuild': + specifier: ^11.1.1 + version: 11.1.1(size-limit@11.0.2) + '@size-limit/file': + specifier: ^11.1.1 + version: 11.1.1(size-limit@11.0.2) '@size-limit/preset-small-lib': specifier: ^11.0.2 version: 11.0.2(size-limit@11.0.2) @@ -17,6 +23,9 @@ importers: bumpp: specifier: ^9.3.0 version: 9.3.0 + bytes-iec: + specifier: ^3.1.1 + version: 3.1.1 publint: specifier: ^0.2.7 version: 0.2.7 @@ -663,6 +672,15 @@ packages: dev: true optional: true + /@esbuild/aix-ppc64@0.20.2: + resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm64@0.19.12: resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==} engines: {node: '>=12'} @@ -681,6 +699,15 @@ packages: dev: true optional: true + /@esbuild/android-arm64@0.20.2: + resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm@0.19.12: resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==} engines: {node: '>=12'} @@ -699,6 +726,15 @@ packages: dev: true optional: true + /@esbuild/android-arm@0.20.2: + resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-x64@0.19.12: resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==} engines: {node: '>=12'} @@ -717,6 +753,15 @@ packages: dev: true optional: true + /@esbuild/android-x64@0.20.2: + resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-arm64@0.19.12: resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==} engines: {node: '>=12'} @@ -735,6 +780,15 @@ packages: dev: true optional: true + /@esbuild/darwin-arm64@0.20.2: + resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-x64@0.19.12: resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==} engines: {node: '>=12'} @@ -753,6 +807,15 @@ packages: dev: true optional: true + /@esbuild/darwin-x64@0.20.2: + resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-arm64@0.19.12: resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==} engines: {node: '>=12'} @@ -771,6 +834,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-arm64@0.20.2: + resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-x64@0.19.12: resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==} engines: {node: '>=12'} @@ -789,6 +861,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-x64@0.20.2: + resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm64@0.19.12: resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==} engines: {node: '>=12'} @@ -807,6 +888,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm64@0.20.2: + resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm@0.19.12: resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==} engines: {node: '>=12'} @@ -825,6 +915,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm@0.20.2: + resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ia32@0.19.12: resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==} engines: {node: '>=12'} @@ -843,6 +942,15 @@ packages: dev: true optional: true + /@esbuild/linux-ia32@0.20.2: + resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64@0.19.12: resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==} engines: {node: '>=12'} @@ -861,6 +969,15 @@ packages: dev: true optional: true + /@esbuild/linux-loong64@0.20.2: + resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-mips64el@0.19.12: resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==} engines: {node: '>=12'} @@ -879,6 +996,15 @@ packages: dev: true optional: true + /@esbuild/linux-mips64el@0.20.2: + resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ppc64@0.19.12: resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==} engines: {node: '>=12'} @@ -897,6 +1023,15 @@ packages: dev: true optional: true + /@esbuild/linux-ppc64@0.20.2: + resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-riscv64@0.19.12: resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==} engines: {node: '>=12'} @@ -915,6 +1050,15 @@ packages: dev: true optional: true + /@esbuild/linux-riscv64@0.20.2: + resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-s390x@0.19.12: resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==} engines: {node: '>=12'} @@ -933,6 +1077,15 @@ packages: dev: true optional: true + /@esbuild/linux-s390x@0.20.2: + resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-x64@0.19.12: resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==} engines: {node: '>=12'} @@ -951,6 +1104,15 @@ packages: dev: true optional: true + /@esbuild/linux-x64@0.20.2: + resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/netbsd-x64@0.19.12: resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==} engines: {node: '>=12'} @@ -969,6 +1131,15 @@ packages: dev: true optional: true + /@esbuild/netbsd-x64@0.20.2: + resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/openbsd-x64@0.19.12: resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==} engines: {node: '>=12'} @@ -987,6 +1158,15 @@ packages: dev: true optional: true + /@esbuild/openbsd-x64@0.20.2: + resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/sunos-x64@0.19.12: resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==} engines: {node: '>=12'} @@ -1005,6 +1185,15 @@ packages: dev: true optional: true + /@esbuild/sunos-x64@0.20.2: + resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-arm64@0.19.12: resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==} engines: {node: '>=12'} @@ -1023,6 +1212,15 @@ packages: dev: true optional: true + /@esbuild/win32-arm64@0.20.2: + resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-ia32@0.19.12: resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==} engines: {node: '>=12'} @@ -1041,6 +1239,15 @@ packages: dev: true optional: true + /@esbuild/win32-ia32@0.20.2: + resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-x64@0.19.12: resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==} engines: {node: '>=12'} @@ -1059,6 +1266,15 @@ packages: dev: true optional: true + /@esbuild/win32-x64@0.20.2: + resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@fastify/busboy@2.1.0: resolution: {integrity: sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==} engines: {node: '>=14'} @@ -2037,6 +2253,17 @@ packages: size-limit: 11.0.2 dev: true + /@size-limit/esbuild@11.1.1(size-limit@11.0.2): + resolution: {integrity: sha512-+lWZbLc0X3c8uh6wdYv/5CGn58x1IgYAhCLQXvojxgn/j3TP72H2EigXLMcDXOgN3aps44yV3Qb2HIJppE+jYw==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + size-limit: 11.1.1 + dependencies: + esbuild: 0.20.2 + nanoid: 5.0.6 + size-limit: 11.0.2 + dev: true + /@size-limit/file@11.0.2(size-limit@11.0.2): resolution: {integrity: sha512-874lrMtWYRL+xb/6xzejjwD+krfHTOo+2uFGpZfJScvuNv91Ni2O7k0o09zC70VzCYBGkXquV92ln/H+/ognGg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -2046,6 +2273,15 @@ packages: size-limit: 11.0.2 dev: true + /@size-limit/file@11.1.1(size-limit@11.0.2): + resolution: {integrity: sha512-c4XXp2CLvfx2RfzAqIAlxV6OWAQSVquLMNKKD6x9urJD7knjnTesPkbMcf3SkQbjCY4PlLL6kYhaO9drCWGM6g==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + size-limit: 11.1.1 + dependencies: + size-limit: 11.0.2 + dev: true + /@size-limit/preset-small-lib@11.0.2(size-limit@11.0.2): resolution: {integrity: sha512-Yo+RRHCLz29PMmRXzq69E3LjiAivspF2XRGdpZ+QdeFOotd3hBYVMJC9GDF3tEigPtfvEJk4L8YLlUK+SE90FA==} peerDependencies: @@ -3544,6 +3780,37 @@ packages: '@esbuild/win32-x64': 0.20.0 dev: true + /esbuild@0.20.2: + resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.20.2 + '@esbuild/android-arm': 0.20.2 + '@esbuild/android-arm64': 0.20.2 + '@esbuild/android-x64': 0.20.2 + '@esbuild/darwin-arm64': 0.20.2 + '@esbuild/darwin-x64': 0.20.2 + '@esbuild/freebsd-arm64': 0.20.2 + '@esbuild/freebsd-x64': 0.20.2 + '@esbuild/linux-arm': 0.20.2 + '@esbuild/linux-arm64': 0.20.2 + '@esbuild/linux-ia32': 0.20.2 + '@esbuild/linux-loong64': 0.20.2 + '@esbuild/linux-mips64el': 0.20.2 + '@esbuild/linux-ppc64': 0.20.2 + '@esbuild/linux-riscv64': 0.20.2 + '@esbuild/linux-s390x': 0.20.2 + '@esbuild/linux-x64': 0.20.2 + '@esbuild/netbsd-x64': 0.20.2 + '@esbuild/openbsd-x64': 0.20.2 + '@esbuild/sunos-x64': 0.20.2 + '@esbuild/win32-arm64': 0.20.2 + '@esbuild/win32-ia32': 0.20.2 + '@esbuild/win32-x64': 0.20.2 + dev: true + /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} diff --git a/src/index.ts b/src/index.ts index 1a6d50e..59eec7a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,6 +42,4 @@ export { yearEnd } from "./yearEnd" export { isBefore } from "./isBefore" export { isAfter } from "./isAfter" export { isEqual } from "./isEqual" -export { yearEnd } from "./yearEnd" -export { yearStart } from "./yearStart" export * from "./types"