Skip to content

(Scanner) Implement Packument 'deprecated' property in DependencyVersion #389

@fraxken

Description

@fraxken

Right now NodeSecure flag deprecated package but do not include the message which come with the property when we detect it

if ("deprecated" in ver && !flags.includes("isDeprecated")) {
flags.push("isDeprecated");
}

Here is an example with lodash.isequal version 4.5.0:

Image

My idea is to extend DependencyVersion to include an optional deprecated property typed as a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions