Skip to content

Allow to use in browsers #14

Closed
Closed
@denis-sokolov

Description

@denis-sokolov

🚀 Feature Proposal

Add compatibility with a browser environment for this library.

Motivation

The core value provided by this library is environment-agnostic, it is a pure algorithm that can be applied anywhere. The security benefits of fixing prototype pollution are also valuable in the browser. Although a potential vulnerability in server-side code is more obviously a problem, in the browser it can be a privilege escalation through running code as other users.

Analysis

The code is near-compatible with the browser environment already. The biggest hurdle to adopt this feature would be to modify the test suite to add a test in a browser-like environment.

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