garycourt / uri-js

An RFC 3986 compliant, scheme extendable URI parsing/validating/normalizing/resolving library for JavaScript
Other
305 stars 69 forks source link

Remove `yarn.lock` from publish files #76

Open styfle opened 2 years ago

styfle commented 2 years ago

This was already ignored in .npmignore but was still published to npm due to files in package.json

lfarrel6 commented 2 years ago

Is there any timeline on when this can be merged and included in a release?

The yarn.lock being included in the released package incorrectly triggers vulnerability scanners.

styfle commented 2 years ago

cc @garycourt

MFTabriz commented 2 years ago

I have complained about this to my poor colleague without knowing it’s your package that’s shipping this. You owe him an apology! 😉

jorrit commented 1 year ago

I think the entire files section can be removed. Most files it mentions are always included in the NPM package, even when not specified. Also, as this bug demonstrates, having .npmignore and files is confusing.

prajwalmr62 commented 1 year ago

@garycourt can this be merged? We are also facing issues with vulnerability scanners due to this lock file.