Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency date-fns-tz to v3 #3284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
date-fns-tz ^2.0.1 -> ^3.0.0 age adoption passing confidence

Release Notes

marnusw/date-fns-tz (date-fns-tz)

v3.1.3

Compare Source

  • [BUGFIX] Make getTimeZoneOffset's 2nd arg optional

v3.1.2

Compare Source

  • [BUGFIX] Fix formatInTimeZone use of timeZone string (#​280)

v3.1.1

Compare Source

  • [BUGFIX] getTimeZoneOffset's 2nd arg should be optional (#​281)

v3.1.0

Compare Source

  • [REFACTOR] Full rewrite in TypeScript (#​278) Thank you, @​brettwillis
  • [BREAKING CHANGE] OptionsWithTZ is now either FormatOptionsWithTZ or ToDateOptionsWithTZ, matching date-fns

v3.0.1

Compare Source

  • [BUGFIX] Fix named export typings (#​277)

v3.0.0

Compare Source

  • [UPGRADE] Support date-fns v3 (#​265) Thank you, @​christopherklint97
  • [BUGFIX] Correct import of date-fns@v3 format and use Babel Webpack loader for mjs files (#​271)
  • [BREAKING CHANGE] date-fns v2 is no longer supported
  • [BREAKING CHANGE] Renamed utcToZonedTime to toZonedTime to make the name less confusing, just search & replace
  • [BREAKING CHANGE] Renamed zonedTimeToUtc to fromZonedTime to make the name less confusing, just search & replace
  • [BREAKING CHANGE] All functions are now exported using named exports, this requires changing direct
    imports from import formatInTimeZone from 'date-fns-tz/formatInTimeZone' to
    import { formatInTimeZone } from 'date-fns-tz/formatInTimeZone'
  • [BREAKING CHANGE] Functions now don’t check the number of passed arguments, delegating this task to type checkers
    (This isn't fully implemented yet, but it should be the assumption moving forward, as it is in date-fns)
  • [BREAKING CHANGE] Arguments are not explicitly converted to the target types. Instead, they are passed as is,
    delegating this task to type checkers (This isn't fully implemented yet, but it should be the assumption
    moving forward, as it is in date-fns)
  • [BREAKING CHANGE] IE is no longer supported since date-fns no longer supports it
  • [BREAKING CHANGE] Removed flow support since date-fns also removed it

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Paris, 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 6, 2024
Copy link

socket-security bot commented Apr 6, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@faker-js/faker@8.4.1 None 0 10.2 MB shinigami92
npm/@fortawesome/fontawesome-common-types@6.5.2 None 0 790 kB robmadole
npm/@humanwhocodes/config-array@0.11.14 None 0 55.6 kB nzakas
npm/@opentelemetry/api@1.8.0 None 0 1.21 MB pichlermarc
npm/@popperjs/core@2.11.8 None 0 1.46 MB fezvrasta
npm/@types/eslint@8.56.10 None 0 192 kB types
npm/@types/json5@0.0.29 None 0 3 kB types
npm/@yarnpkg/lockfile@1.1.0 environment, eval, filesystem 0 280 kB arcanis
npm/abbrev@2.0.0 None 0 4.83 kB lukekarrys
npm/ajv-formats@2.1.1 None 0 52.2 kB esp
npm/arraybuffer.prototype.slice@1.0.3 None 0 20.2 kB ljharb
npm/backo2@1.0.2 None 0 3.1 kB mokesmokes
npm/batch@0.6.1 None 0 7.29 kB dougwilson
npm/browserslist@4.23.0 environment, filesystem 0 62.8 kB ai
npm/buffer-equal-constant-time@1.0.1 None 0 5.23 kB goinstant
npm/builtins@1.0.3 None 0 2.7 kB juliangruber
npm/char-regex@1.0.2 None 0 4.96 kB richienb
npm/cjs-module-lexer@1.3.1 None 0 139 kB guybedford
npm/cli-boxes@2.2.1 None 0 6.14 kB sindresorhus
npm/co@4.6.0 None 0 16 kB jongleberry
npm/collect-v8-coverage@1.0.2 unsafe 0 5.14 kB simenb
npm/deepmerge@4.3.1 None 0 31.2 kB tehshrike
npm/detect-newline@3.1.0 None 0 3.77 kB sindresorhus
npm/detect-node@2.1.0 None 0 2.76 kB iliakan
npm/dset@3.1.3 None 0 12.3 kB lukeed
npm/emittery@0.13.1 None 0 46.5 kB sindresorhus
npm/es-set-tostringtag@2.0.3 None 0 13.9 kB ljharb
npm/es-to-primitive@1.2.1 None 0 40.4 kB ljharb
npm/exec-sh@0.3.6 shell 0 23 kB tsertkov
npm/fast-safe-stringify@2.1.1 None 0 39.7 kB matteo.collina
npm/fraction.js@4.3.7 None 0 86.2 kB infusion
npm/function.prototype.name@1.1.6 None 0 25.5 kB ljharb
npm/functional-red-black-tree@1.0.1 None 0 43.5 kB mikolalysenko
npm/get-symbol-description@1.0.2 None 0 14.3 kB ljharb
npm/handle-thing@2.0.1 None 0 12.1 kB indutny
npm/has@1.0.4 None 0 3.02 kB tarruda
npm/html-escaper@2.0.2 None 0 13.1 kB webreflection
npm/http-deceiver@1.2.7 None 0 13.9 kB indutny
npm/image-size@0.5.5 filesystem 0 19.2 kB netroy
npm/immutable@4.3.6 None 0 682 kB leebyron
npm/interpret@1.4.0 None 0 14.9 kB phated
npm/ipaddr.js@2.2.0 None 0 62.3 kB whitequark
npm/is-generator-fn@2.1.0 None 0 3.28 kB sindresorhus
npm/is-negative-zero@2.0.3 None 0 27.1 kB ljharb
npm/is-typed-array@1.1.13 None 0 23.3 kB ljharb
npm/is-weakref@1.0.2 None 0 12.1 kB ljharb
npm/isexe@3.1.1 environment, filesystem 0 43 kB isaacs
npm/iterall@1.3.0 None 0 94.3 kB leebyron
npm/jackspeak@2.3.6 environment 0 253 kB isaacs
npm/leven@3.1.0 None 0 5.34 kB sindresorhus
npm/lodash.get@4.4.2 None 0 26.5 kB jdalton
npm/lodash.isequal@4.5.0 None 0 52.7 kB jdalton
npm/lodash.once@4.1.1 None 0 10.2 kB jdalton
npm/lodash.startcase@4.4.0 None 0 21.5 kB jdalton
npm/lodash.uniq@4.5.0 None 0 25 kB jdalton
npm/module-details-from-path@1.0.3 None 0 4.47 kB watson
npm/moo@0.5.2 None 0 32.7 kB tjvr
npm/node-abort-controller@3.1.1 None 0 16.9 kB ethan_arrowood
npm/node-gyp-build@4.8.1 environment, filesystem 0 13.4 kB mafintosh
npm/node-int64@0.4.0 None 0 16.3 kB broofa
npm/normalize-range@0.1.2 None 0 7.77 kB james.talmage
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/pirates@4.0.6 unsafe 0 13.5 kB danez
npm/pluralize@8.0.0 None 0 17.7 kB blakeembrey
npm/postcss-selector-parser@6.0.16 None 0 186 kB evilebottnawi
npm/prettier@2.8.8 environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/proc-log@3.0.0 None 0 5.21 kB lukekarrys
npm/prr@1.0.1 None 0 10.1 kB rvagg
npm/pure-rand@6.1.0 None 0 84 kB ndubien
npm/reflect-metadata@0.1.14 None 0 295 kB rbuckton
npm/regexpp@3.2.0 None 0 302 kB mysticatea
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/resolve.exports@2.0.2 None 0 23.9 kB lukeed
npm/rfdc@1.3.1 None 0 25.2 kB matteo.collina
npm/safe-regex-test@1.0.3 None 0 10.2 kB ljharb
npm/select-hose@2.0.0 None 0 15.4 kB indutny
npm/shimmer@1.2.1 None 0 24.7 kB othiym23
npm/sourcemap-codec@1.4.8 None 0 31.8 kB rich_harris
npm/streamsearch@1.1.0 None 0 16.6 kB mscdex
npm/supports-color@7.2.0 None +1 11.5 kB sindresorhus
npm/symbol-observable@4.0.0 eval 0 16.8 kB blesh
npm/thunky@1.1.0 None 0 7.76 kB mafintosh
npm/tlds@1.252.0 None 0 18.7 kB tlds-bot
npm/tmpl@1.0.5 None 0 2.77 kB daaku
npm/type-detect@4.0.8 None 0 42.1 kB chaijs
npm/typed-array-buffer@1.0.2 None 0 13.1 kB ljharb
npm/unicorn-magic@0.1.0 None 0 3.45 kB sindresorhus
npm/update-browserslist-db@1.0.16 environment, filesystem, shell 0 15.5 kB ai
npm/v8-compile-cache@2.4.0 environment, filesystem, unsafe 0 14.9 kB yungsters
npm/wrap-ansi@7.0.0 None 0 10.6 kB sindresorhus

🚮 Removed packages: npm/@ampproject/remapping@2.2.1, npm/@aws-crypto/crc32@3.0.0, npm/@aws-crypto/crc32c@3.0.0, npm/@aws-crypto/ie11-detection@3.0.0, npm/@aws-crypto/sha1-browser@3.0.0, npm/@aws-crypto/sha256-browser@3.0.0, npm/@aws-crypto/sha256-js@3.0.0, npm/@aws-crypto/supports-web-crypto@3.0.0, npm/@aws-crypto/util@3.0.0, npm/@aws-sdk/util-utf8-browser@3.259.0, npm/@babel/helper-compilation-targets@7.23.6, npm/@babel/helper-hoist-variables@7.22.5, npm/@babel/helper-split-export-declaration@7.22.6, npm/@babel/plugin-syntax-async-generators@7.8.4, npm/@babel/plugin-syntax-bigint@7.8.3, npm/@babel/plugin-syntax-class-properties@7.12.13, npm/@babel/plugin-syntax-import-meta@7.10.4, npm/@babel/plugin-syntax-json-strings@7.8.3, npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4, npm/@babel/plugin-syntax-nullish-coalescing-operator@7.8.3, npm/@babel/plugin-syntax-numeric-separator@7.10.4, npm/@babel/plugin-syntax-object-rest-spread@7.8.3, npm/@babel/plugin-syntax-optional-catch-binding@7.8.3, npm/@babel/plugin-syntax-optional-chaining@7.8.3, npm/@babel/plugin-syntax-top-level-await@7.14.5, npm/@babel/plugin-syntax-typescript@7.22.5, npm/@cspotcode/source-map-support@0.8.1, npm/@jest/schemas@29.6.3, npm/@jest/test-result@29.7.0, npm/@octokit/auth-token@3.0.4, npm/@octokit/core@4.2.4, npm/@octokit/endpoint@7.0.6, npm/@octokit/graphql@5.0.6, npm/@octokit/openapi-types@18.1.1, npm/@octokit/plugin-paginate-rest@6.1.2, npm/@octokit/request-error@3.0.3, npm/@octokit/request@6.2.8, npm/@octokit/tsconfig@1.0.2, npm/@octokit/types@9.3.2, npm/@protobufjs/fetch@1.1.0, npm/@smithy/util-uri-escape@2.2.0, npm/@types/body-parser@1.19.5, npm/@types/connect@3.4.38, npm/@types/express@4.17.21, npm/@types/istanbul-lib-report@3.0.3, npm/@types/istanbul-reports@3.0.4, npm/@types/minimatch@3.0.5, npm/@types/node@20.12.12, npm/@types/send@0.17.4, npm/@types/ws@8.5.10, npm/accepts@1.3.8, npm/acorn-import-assertions@1.9.0, npm/agent-base@7.1.1, npm/agentkeepalive@4.5.0, npm/aggregate-error@3.1.0, npm/ansi-escapes@4.3.2, npm/are-we-there-yet@3.0.1, npm/array-differ@3.0.0, npm/array-ify@1.0.0, npm/asn1@0.2.6, npm/babel-plugin-istanbul@6.1.1, npm/bcrypt-pbkdf@1.0.2, npm/before-after-hook@2.2.3, npm/camelcase-keys@6.2.2, npm/chalk@5.3.0, npm/chokidar@3.5.3, npm/columnify@1.6.0, npm/combined-stream@1.0.8, npm/compare-func@2.0.0, npm/content-disposition@0.5.4, npm/cosmiconfig@9.0.0, npm/cssstyle@2.3.0, npm/dashdash@1.14.1, npm/dateformat@3.0.3, npm/decamelize-keys@1.1.1, npm/defaults@1.0.4, npm/deprecation@2.3.1, npm/dom-serializer@2.0.0, npm/domexception@2.0.1, npm/domhandler@5.0.3, npm/domutils@3.1.0, npm/dot-prop@5.3.0, npm/encoding@0.1.13, npm/end-of-stream@1.4.4, npm/envinfo@7.8.1, npm/error-ex@1.3.2, npm/escodegen@2.1.0, npm/eslint-scope@5.1.1, npm/fast-glob@3.3.2, npm/fast-xml-parser@4.2.5, npm/file-entry-cache@6.0.1, npm/finalhandler@1.2.0, npm/flat@5.0.2, npm/form-data@4.0.0, npm/fs-extra@11.2.0, npm/gauge@4.0.4, npm/getpass@0.1.7, npm/handlebars@4.7.8, npm/html-encoding-sniffer@2.0.1, npm/htmlparser2@8.0.2, npm/http-errors@2.0.0, npm/humanize-ms@1.2.1, npm/iconv-lite@0.4.24, npm/ignore-walk@5.0.1, npm/import-local@3.1.0, npm/is-arguments@1.1.1, npm/is-wsl@2.2.0, npm/istanbul-lib-instrument@5.2.1, npm/jest-worker@27.5.1, npm/jsonstream@1.3.5, npm/jsprim@1.4.2, npm/loader-utils@3.2.1, npm/lodash.escaperegexp@4.1.2, npm/lodash.isboolean@3.0.3, npm/lodash.ismatch@4.4.0, npm/lodash.mergewith@4.6.2, npm/make-dir@4.0.0, npm/mime-types@2.1.35, npm/minipass-flush@1.0.5, npm/minipass-json-stream@1.0.1, npm/minipass-pipeline@1.2.4, npm/minipass-sized@1.0.3, npm/minizlib@2.1.2, npm/modify-values@1.0.1, npm/normalize-package-data@3.0.3, npm/npm-bundled@1.1.2, npm/npm-normalize-package-bin@1.0.1, npm/npm-run-path@4.0.1, npm/npmlog@6.0.2, npm/nth-check@2.1.1, npm/on-finished@2.4.1, npm/open@8.4.2, npm/p-limit@4.0.0, npm/p-locate@4.1.0, npm/p-timeout@3.2.0, npm/pidtree@0.6.0, npm/pretty-format@29.7.0, npm/randombytes@2.1.0, npm/readable-stream@3.6.2, npm/redent@3.0.0, npm/rxjs@7.8.1, npm/saxes@5.0.1, npm/selfsigned@2.4.1, npm/serve-static@1.15.0, npm/source-map-support@0.5.21, npm/spdx-correct@3.2.0, npm/spdx-expression-parse@3.0.1, npm/split2@4.2.0, npm/split@1.0.1, npm/ssri@9.0.1, npm/stack-utils@2.0.6, npm/string-argv@0.3.2, npm/string_decoder@1.3.0, npm/tsutils@3.21.0, npm/type-fest@0.18.1, npm/type-is@1.6.18, npm/universal-user-agent@6.0.1, npm/url-parse@1.5.10, npm/validate-npm-package-license@3.0.4, npm/verror@1.10.0, npm/w3c-hr-time@1.0.2, npm/w3c-xmlserializer@2.0.0, npm/whatwg-encoding@1.0.5, npm/wide-align@1.1.5

View full report↗︎

@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 5b4e562 to ae121fc Compare April 15, 2024 08:01
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from ae121fc to eefa94b Compare April 15, 2024 08:07
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from eefa94b to 28a7eaf Compare April 15, 2024 08:16
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 28a7eaf to 4d406eb Compare April 22, 2024 14:50
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 4d406eb to 8fa3111 Compare April 22, 2024 14:53
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 8fa3111 to 0de1dc5 Compare April 22, 2024 17:10
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 0de1dc5 to ab80748 Compare April 22, 2024 17:13
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from ab80748 to ac442a7 Compare April 22, 2024 20:44
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from ac442a7 to db567b8 Compare April 22, 2024 20:48
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from db567b8 to 2df517a Compare April 22, 2024 21:26
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 2df517a to 5459bdd Compare April 22, 2024 21:31
Copy link

socket-security bot commented Apr 22, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package Note
Install scripts npm/@fortawesome/fontawesome-common-types@6.5.2
  • Install script: postinstall
  • Source: node attribution.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@fortawesome/fontawesome-common-types@6.5.2

@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from ccbda6a to 31b08dd Compare May 7, 2024 17:11
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 31b08dd to 8897234 Compare May 7, 2024 17:18
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 8897234 to 4cc8135 Compare May 7, 2024 17:30
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 4cc8135 to a31eea0 Compare May 7, 2024 17:35
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from a31eea0 to 8265f51 Compare May 7, 2024 17:39
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 8265f51 to ab27d8c Compare May 7, 2024 18:18
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from ab27d8c to 397f8c7 Compare May 9, 2024 21:04
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 397f8c7 to 0ec2469 Compare May 9, 2024 21:08
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 0ec2469 to 5c28708 Compare May 10, 2024 13:52
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 5c28708 to 08fe06c Compare May 10, 2024 13:57
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from 08fe06c to eb6cf19 Compare May 14, 2024 09:48
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from eb6cf19 to ac0f4a1 Compare May 14, 2024 09:53
@renovate renovate bot force-pushed the renovate/date-fns-tz-3.x branch from ac0f4a1 to dda19d1 Compare May 15, 2024 15:03
Copy link

sonarcloud bot commented May 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants