Skip to content

Global scope pollution in google-protobuf npm library cause conflict between sub dependencies #76

@hekike

Description

@hekike

The google-protobuf npm library pollutes the global scope through the global.proto variable.
This pollution causes conflict between different versions of google-protobuf in the same node process as they overwrites each other.

Reproduce:

If dependency B is required after A, the older version of google-protobuf owervrites the new versions global.proto in the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions