Skip to content

Switch back to devalue mainstream #19201

@pi0

Description

@pi0

Context: Tweet shared by @atinux.

For serializing and restoring SSR state, we started using devalue in Nuxt 2. We made a fork @nuxt/devalue in order to prevent hard errors about non-serializable objects plus few security fixes. Since this issue happens less often, we might switch back to upstream. (new custom types, could be also integrated via nuxt plugins)

Note: Newer version requires runtime parser function to be added to app if we want to switch to pure JSON.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions