// not working\r\n\r\n-------------\r\n\r\nFinally, when I was writing this question, I took a look at the nuxt-icon source code and found this snippet.\r\n```\r\n if (appConfig.nuxtIcon?.iconifyApiOptions?.publicApiFallback) {\r\n addAPIProvider('custom', {\r\n resources: [appConfig.nuxtIcon?.iconifyApiOptions.url],\r\n index: 0\r\n })\r\n return\r\n }\r\n```\r\n\u003CIcon name=\"@custom:fal:house\" /> // it works fine",[],153,"icon","closed","iconifyApiOptions custom API not working","2024-05-09T12:34:33Z","https://github.com/nuxt/icon/issues/153",0.74487257,{"labels":3179,"number":3187,"owner":3162,"repository":3162,"state":3173,"title":3188,"updated_at":3189,"url":3190,"score":3191},[3180,3183,3184],{"name":3181,"color":3182},"stale","ffffff",{"name":3159,"color":3160},{"name":3185,"color":3186},"2.x","d4c5f9",5598,"import package can not get the right result","2023-01-22T15:33:04Z","https://github.com/nuxt/nuxt/issues/5598",0.77045274,{"description":3193,"labels":3194,"number":3201,"owner":3162,"repository":3202,"state":3173,"title":3203,"updated_at":3204,"url":3205,"score":3206},"### For what version of Nuxt UI are you asking this question?\n\nv3.0.0-alpha.x\n\n### Description\n\n\n",[3195,3198],{"name":3196,"color":3197},"question","d876e3",{"name":3199,"color":3200},"v3","49DCB8",2910,"ui","How to styling change year and month buttons ?","2025-03-24T18:00:29Z","https://github.com/nuxt/ui/issues/2910",0.77192855,{"description":3208,"labels":3209,"number":3216,"owner":3162,"repository":3162,"state":3173,"title":3217,"updated_at":3218,"url":3219,"score":3220},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v20.16.0`\r\n- Nuxt Version: `3.12.2`\r\n- CLI Version: `3.13.1`\r\n- Nitro Version: `2.9.6`\r\n- Package Manager: `pnpm@9.9.0`\r\n- Builder: `-`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/app-config-bug\r\n(The reproduction is in Nuxt `v3.13.0`, but the bug also occurs in `v3.12`)\r\n\r\n### Describe the bug\r\n\r\nWhen calling `updateAppConfig()` and passing a `RegExp` or a `Date`, these values doesn't work as expected:\r\n- If the value already exists, it won't be updated and always keeps the previous value.\r\n- If the value doesn't exist, it will be initialized as an empty object `{}`.\r\n\r\n```js\r\n// app.config.ts\r\nexport default defineAppConfig({\r\n regExp: /foo/i,\r\n date: new Date(1111, 11, 11),\r\n});\r\n\r\n// app.vue\r\nupdateAppConfig({\r\n // These existing values won't be updated at all\r\n regExp: /bar-updated/g,\r\n date: new Date(2222, 12, 12),\r\n\r\n // These new values will just be init as an empty object `{}`\r\n regExpNew: /bar-updated/g,\r\n dateNew: new Date(2222, 12, 12),\r\n});\r\n```\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3210,3213],{"name":3211,"color":3212},"bug","d73a4a",{"name":3214,"color":3215},"🔨 p3-minor","FBCA04",28772,"`updateAppConfig()` doesn't work as expected for values like `RegExp` and `Date`","2024-09-02T11:12:59Z","https://github.com/nuxt/nuxt/issues/28772",0.7785436,{"description":3222,"labels":3223,"number":3228,"owner":3162,"repository":3162,"state":3173,"title":3229,"updated_at":3230,"url":3231,"score":3232},"### Environment\n\n- Operating System: Darwin\r\n- Node Version: v22.0.0\r\n- Nuxt Version: 3.11.2\r\n- CLI Version: 3.11.1\r\n- Nitro Version: 2.9.6\r\n- Package Manager: npm@10.5.1\r\n- Builder: -\r\n- User Config: devtools, runtimeConfig, modules\r\n- Runtime Modules: @samk-dev/nuxt-vcalendar@1.0.3\r\n- Build Modules: -\n\n### Reproduction\n\nNot required IMO.\n\n### Describe the bug\n\nWhen I pass a date to my backend, the date that I received is now a string, which means I have to set the string to a date and after can call getDay, etc.\r\n\r\nconst response = await $fetch('/api/checkout', {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n body: JSON.stringify({\r\n startDate: new Date(range.value.start),\r\n endDate: new Date(range.value.end),\r\n }),\r\n });\r\n \r\n const { startDate, endDate }: CheckoutBody =\r\n await readBody(event);\r\n console.log(startDate.getDay());\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n[request error] [unhandled] [500] startDate.getDay is not a function\n```\n",[3224,3227],{"name":3225,"color":3226},"3.x","29bc7f",{"name":3159,"color":3160},27448,"Passing date from frontend to server","2024-06-04T23:07:56Z","https://github.com/nuxt/nuxt/issues/27448",0.78013057,{"description":3234,"labels":3235,"number":3238,"owner":3162,"repository":3202,"state":3173,"title":3239,"updated_at":3240,"url":3241,"score":3242},"### Environment\n\n```\n- Operating System: Windows_NT\n- Node Version: v22.13.1\n- Nuxt Version: 3.15.4\n- CLI Version: 3.21.1\n- Nitro Version: 2.10.4\n- Package Manager: bun@1.2.2\n- Builder: -\n- User Config: compatibilityDate, future, modules, imports, app, css, devtools, devServer, hooks, vite, nitro, supabase, site, sitemap, icon, fonts\n- Runtime Modules: @nuxt/ui@3.0.0-alpha.12, @nuxtjs/seo@2.1.1, @nuxtjs/supabase@1.4.6, @vueuse/nuxt@12.5.0 \n- Build Modules: -\n```\n\n### Is this bug related to Nuxt or Vue?\n\nNuxt\n\n### Version\n\nv3.0.0-alpha.12\n\n### Reproduction\n\njust 👉 https://ui3.nuxt.dev/components/toast#change-global-duration\n\n### Description\n\nWhen `duration` is set to `Infinity`, the toast immediately closed - expected not to close forever and hide the progress bar.\n\nWhen `duration` is set to `-Infinity`, the toast won't close, progress bar is hidden 🤔\n\n(many UI librarys behave like this, idk if it's a bug)\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3236,3237],{"name":3211,"color":3212},{"name":3199,"color":3200},3326,"Toast: Cannot handle `Infinity` duration correctly","2025-02-15T17:45:08Z","https://github.com/nuxt/ui/issues/3326",0.7825072,{"description":3244,"labels":3245,"number":3252,"owner":3162,"repository":3202,"state":3173,"title":3253,"updated_at":3254,"url":3255,"score":3256},"### Description\n\nI want to color certain dates according to a certain condition. Currently, there are two options available in the API: either unavailable or disabled. How do I implement this?",[3246,3247,3248,3251],{"name":3196,"color":3197},{"name":3199,"color":3200},{"name":3249,"color":3250},"closed-by-bot","ededed",{"name":3181,"color":3250},3413,"UCalendar custom selecting dates","2025-06-18T09:01:49Z","https://github.com/nuxt/ui/issues/3413",0.78503144,{"description":3258,"labels":3259,"number":3264,"owner":3162,"repository":3162,"state":3173,"title":3265,"updated_at":3266,"url":3267,"score":3268},"### Environment\r\n\r\n- Operating System: `Darwin`\r\n- Node Version: `v18.13.0`\r\n- Nuxt Version: `3.0.0`\r\n- Nitro Version: `1.0.0`\r\n- Package Manager: `npm@6.14.18`\r\n- Builder: `vite`\r\n- User Config: `vite`, `build`, `runtimeConfig`, `modules`\r\n- Runtime Modules: `@vueuse/nuxt@9.12.0`\r\n- Build Modules: `-`\r\n\r\n\r\n### Reproduction\r\n\r\n```\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Cdiv>\r\n \u003Cdiv>firstCookie: {{firstCookie}}\u003C/div>\r\n \u003Cdiv>secondCookie: {{secondCookie}}\u003C/div>\r\n \u003Cbutton @click=\"update\">update\u003C/button>\r\n \u003C/div>\r\n \u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript setup lang=\"ts\">\r\nimport {useCookie} from \"nuxt/app\";\r\n\r\nconst firstCookie = useCookie\u003Cany>('first')\r\nfirstCookie.value = firstCookie.value || {'1': 1}\r\n\r\nconst secondCookie = useCookie\u003Cany>('second')\r\nsecondCookie.value = secondCookie.value || {'1': 1}\r\n\r\nfunction update() {\r\n const newFirstObject = getNewObject(firstCookie.value)\r\n firstCookie.value = Object.assign(firstCookie.value, newFirstObject )\r\n\r\n const newSecondObject = getNewObject(secondCookie.value)\r\n secondCookie.value = {...secondCookie.value, ...newSecondObject }\r\n}\r\n\r\nfunction getNewObject(current: any) {\r\n const valArray :number[] = Object.values(current)\r\n const nextValue :number = Math.max(...valArray) + 1\r\n const key :string = nextValue.toString()\r\n\r\n const newObject :any = {};\r\n newObject[key] = nextValue\r\n return newObject\r\n}\r\n\r\n\u003C/script>\r\n\u003Cstyle scoped>\r\n\u003C/style>\r\n```\r\n\r\n### Describe the bug\r\n\r\nIf I use Object.assign() to update value of useCookie, then value seems to be updated, but on the page reload this update is lost.\r\nIf I use Spread operator ( {...obj, ...obj2}) , everything works fine\r\ntested in dev mode\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3260,3261,3262],{"name":3225,"color":3226},{"name":3159,"color":3160},{"name":3263,"color":3215},"needs reproduction",19023,"useCookie update problem","2023-04-25T22:24:46Z","https://github.com/nuxt/nuxt/issues/19023",0.7873988,{"description":3270,"labels":3271,"number":3274,"owner":3162,"repository":3275,"state":3173,"title":3276,"updated_at":3277,"url":3278,"score":3279},"https://volta.s3.fr-par.scw.cloud/Clean_Shot_2022_02_25_at_17_19_52_5b7648bd53.mp4\n",[3272],{"name":3211,"color":3273},"ff281a",90,"nuxt.com","(UI) USelect: placeholder put in the value","2023-02-15T12:30:37Z","https://github.com/nuxt/nuxt.com/issues/90",0.7892275,["Reactive",3281],{},["Set"],["ShallowReactive",3284],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fsJwKxnqaksb7eaBKgOzDh4xmp8Dji9Jqsi5EQkevXps":-1},"/nuxt/scripts/54"]