From 10ec605a24d9571a5904aff2e507211b93b3c23a Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 21 Dec 2023 04:40:15 +0000 Subject: [PATCH] Build(deps): bump date-fns from 2.30.0 to 3.0.3 Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.0.3. - [Release notes](https://github.com/date-fns/date-fns/releases) - [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md) - [Commits](https://github.com/date-fns/date-fns/compare/v2.30.0...v3.0.3) --- nuxt.config.js | 3 ++- package.json | 2 +- yarn.lock | 12 +++++------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 7a77059..2ed2728 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -32,7 +32,8 @@ export default defineNuxtConfig({ vue: { prettify: false } - } + }, + transpile: ['date-fns'] }, buildModules: [ // https://go.nuxtjs.dev/eslint diff --git a/package.json b/package.json index a5c5aa3..9ea3a66 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@vue/apollo-composable": "^4.0.0-beta.12", "@vueuse/core": "^10.7.0", "core-js": "3", - "date-fns": "^2.30.0", + "date-fns": "^3.0.3", "graphql": "^16.8.1", "graphql-tag": "^2.12.6", "node-sass": "^9.0.0", diff --git a/yarn.lock b/yarn.lock index 36eda31..5dfb30b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1611,7 +1611,7 @@ core-js-pure "^3.30.2" regenerator-runtime "^0.14.0" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.21.0", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.8.4": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.6.tgz#57d64b9ae3cff1d67eb067ae117dac087f5bd438" integrity sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ== @@ -7436,12 +7436,10 @@ dataloader@^2.2.2: resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0" integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g== -date-fns@^2.30.0: - version "2.30.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" - integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== - dependencies: - "@babel/runtime" "^7.21.0" +date-fns@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-3.0.3.tgz#590d03c49d991f1f9e3d2e18dc76aa062b5d5bf1" + integrity sha512-orRh4Qc+Y5fE8RO2fG0FkggCTxgfRR71kypohBPvIlEHi+GZCy0RuaPm5i2oNVhnT96nNMj/0R+LWAjBA/3prA== dayjs@^1.10.4: version "1.11.9"