Skip to content

npm package security issue #131

@mr-loop-1

Description

@mr-loop-1

I was trying to setup the repos for cose and fcose. Upon doing npm i on this repo, there was an error for missing package in npm archive for flatmap-stream v0.1.1.

Upon searching, I found the following discussion in the event-stream repo which indicates that it was a security vulnerability that has been removed from all versions of npm.

The packages event-stream and flatmap-stream are added as dependencies in package-lock.json and hence npm attempts to install them.

"event-stream": {
"version": "3.3.6",

"flatmap-stream": {
"version": "0.1.1",

When I removed package-lock.json and did npm i, neither were installed indicating that package.json packages have updated their dependencies to not include these.

A solution can be to remake package-lock.json using appropriate version of npm.

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