// 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":2941,"number":2948,"owner":2912,"repository":2912,"state":2935,"title":2949,"updated_at":2950,"url":2951,"score":2952},[2942,2944,2945],{"name":2943,"color":2910},"stale",{"name":2923,"color":2924},{"name":2946,"color":2947},"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":2954,"labels":2955,"number":2960,"owner":2912,"repository":2913,"state":2935,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### For what version of Nuxt UI are you asking this question?\n\nv3.0.0-alpha.x\n\n### Description\n\n\n",[2956,2959],{"name":2957,"color":2958},"question","d876e3",{"name":2906,"color":2907},2910,"How to styling change year and month buttons ?","2025-03-24T18:00:29Z","https://github.com/nuxt/ui/issues/2910",0.77192855,{"description":2966,"labels":2967,"number":2972,"owner":2912,"repository":2912,"state":2935,"title":2973,"updated_at":2974,"url":2975,"score":2976},"### 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_",[2968,2969],{"name":2903,"color":2904},{"name":2970,"color":2971},"🔨 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.77854353,{"description":2978,"labels":2979,"number":2984,"owner":2912,"repository":2912,"state":2935,"title":2985,"updated_at":2986,"url":2987,"score":2988},"### 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",[2980,2983],{"name":2981,"color":2982},"3.x","29bc7f",{"name":2923,"color":2924},27448,"Passing date from frontend to server","2024-06-04T23:07:56Z","https://github.com/nuxt/nuxt/issues/27448",0.78013057,{"description":2990,"labels":2991,"number":2994,"owner":2912,"repository":2913,"state":2935,"title":2995,"updated_at":2996,"url":2997,"score":2998},"### 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```",[2992,2993],{"name":2903,"color":2904},{"name":2906,"color":2907},3326,"Toast: Cannot handle `Infinity` duration correctly","2025-02-15T17:45:08Z","https://github.com/nuxt/ui/issues/3326",0.7825072,{"description":3000,"labels":3001,"number":3008,"owner":2912,"repository":2913,"state":2935,"title":3009,"updated_at":3010,"url":3011,"score":3012},"### 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?",[3002,3003,3004,3007],{"name":2957,"color":2958},{"name":2906,"color":2907},{"name":3005,"color":3006},"closed-by-bot","ededed",{"name":2943,"color":3006},3413,"UCalendar custom selecting dates","2025-06-18T09:01:49Z","https://github.com/nuxt/ui/issues/3413",0.78503144,{"description":3014,"labels":3015,"number":3020,"owner":2912,"repository":2912,"state":2935,"title":3021,"updated_at":3022,"url":3023,"score":3024},"### 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_",[3016,3017,3018],{"name":2981,"color":2982},{"name":2923,"color":2924},{"name":3019,"color":2971},"needs reproduction",19023,"useCookie update problem","2023-04-25T22:24:46Z","https://github.com/nuxt/nuxt/issues/19023",0.7873988,["Reactive",3026],{},["Set"],["ShallowReactive",3029],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fsJwKxnqaksb7eaBKgOzDh4xmp8Dji9Jqsi5EQkevXps":-1},"/nuxt/scripts/54"]