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:

My idea is to extend DependencyVersion to include an optional deprecated property typed as a string.
Right now NodeSecure flag deprecated package but do not include the message which come with the property when we detect it
scanner/workspaces/scanner/src/npmRegistry.ts
Lines 88 to 90 in d76818e
Here is an example with lodash.isequal version 4.5.0:
My idea is to extend
DependencyVersionto include an optionaldeprecatedproperty typed as a string.