1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-26 01:17:00 +02:00

chore(deps): update dependency date-fns-tz to v2 (#3177)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [date-fns-tz](https://togithub.com/marnusw/date-fns-tz) | [`^1.3.7` ->
`^2.0.0`](https://renovatebot.com/diffs/npm/date-fns-tz/1.3.7/2.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/compatibility-slim/1.3.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/date-fns-tz/2.0.0/confidence-slim/1.3.7)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>marnusw/date-fns-tz</summary>

###
[`v2.0.0`](https://togithub.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v200-30-January-2023)

[Compare
Source](https://togithub.com/marnusw/date-fns-tz/compare/v1.3.8...v2.0.0)

- \[BREAKING CHANGE] Optimize configuration for ESM exports (entry
points for cjs / esm / typescript)
([#&#8203;212](https://togithub.com/marnusw/date-fns-tz/issues/212))

**Upgrade guide:** Both CJS and ESM imports now use the default import
paths. CJS will continue working unchanged;
to fix ESM imports:

Before:

```js
import { format } from 'date-fns-tz/esm'
import utcToZonedTime from 'date-fns-tz/esm/utcToZonedTime'
```

After:

```js
import { format } from 'date-fns-tz'
import utcToZonedTime from 'date-fns-tz/utcToZonedTime'
```

###
[`v1.3.8`](https://togithub.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v138-30-January-2023)

[Compare
Source](https://togithub.com/marnusw/date-fns-tz/compare/v1.3.7...v1.3.8)

- \[TESTS] Tests documenting `zonedTimeToUtc` daylight saving jumps
([#&#8203;220](https://togithub.com/marnusw/date-fns-tz/issues/220))
- \[TYPES] Update `format` types to match date-fns
([#&#8203;199](https://togithub.com/marnusw/date-fns-tz/issues/199))
- \[BUGFIX] Fixed `undefined` timezone error
([#&#8203;214](https://togithub.com/marnusw/date-fns-tz/issues/214))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDguMCIsInVwZGF0ZWRJblZlciI6IjM0LjE0OC4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2023-02-28 15:07:34 +01:00 committed by GitHub
parent 91c940fcc9
commit 886774d89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,7 @@
"vitest": "0.28.5",
"whatwg-fetch": "3.6.2",
"countries-and-timezones": "^3.4.0",
"date-fns-tz": "^1.3.7"
"date-fns-tz": "^2.0.0"
},
"optionalDependencies": {
"orval": "^6.10.3"

View File

@ -4050,10 +4050,10 @@ data-urls@^3.0.2:
whatwg-mimetype "^3.0.0"
whatwg-url "^11.0.0"
date-fns-tz@^1.3.7:
version "1.3.7"
resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-1.3.7.tgz#e8e9d2aaceba5f1cc0e677631563081fdcb0e69a"
integrity sha512-1t1b8zyJo+UI8aR+g3iqr5fkUHWpd58VBx8J/ZSQ+w7YrGlw80Ag4sA86qkfCXRBLmMc4I2US+aPMd4uKvwj5g==
date-fns-tz@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-2.0.0.tgz#1b14c386cb8bc16fc56fe333d4fc34ae1d1099d5"
integrity sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==
date-fns@2.29.3:
version "2.29.3"