Skip to content

Plugin is unexpectedly **writing** to our Vue app #1049

@axelcostaspena

Description

@axelcostaspena

Very unexpectedly, this morning the Vue app I was developing started failing after I've renamed a component, and then even reverting all changes it continued failing. After debugging deeper, I've found the inject keys for the component (which come from a mixin, the component references the mixin and the mixin contains "inject") weren't containing the expected value. I've used a Proxy() to catch who was writing to the "inject" arrays, and it seemed to be this plugin 🤯

This stacktrace shows the plugin source code calling Object.assign on my app data
Image

Due to restrictions I can't share codebase or an usable demo of the app, but hope those screenshots help bring context and maybe reproduce, component uses two mixins and each one of them brings an inject array which Vue combines together.
Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions