You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't an issue with blankie per-se, more its dependencies but I thought I'd raise it with you and that you'd be interested.
The problem comes from the dependency chain blankie -> @hapi/scooter -> useragent -> semver.
Firstly, the useragent package doesn't look like it is maintained anymore, if fact just a couple of days ago someone began a fork of it.
My problem in using blankie comes from the fact that useragent defines semver as a devDep.
In production, we run npm prune --production. This removes sermver and breaks the application.
There's an open PR for this on the useragent repo from back in 2020.
Anyway, like I say - not an issue with your excellent hapi plugin but a downstream problem but unfortunately means I can't use it.
Best wishes
The text was updated successfully, but these errors were encountered:
Hi @nlf
This isn't an issue with blankie per-se, more its dependencies but I thought I'd raise it with you and that you'd be interested.
The problem comes from the dependency chain
blankie
->@hapi/scooter
->useragent
->semver
.Firstly, the
useragent
package doesn't look like it is maintained anymore, if fact just a couple of days ago someone began a fork of it.My problem in using blankie comes from the fact that
useragent
definessemver
as a devDep.In production, we run
npm prune --production
. This removessermver
and breaks the application.There's an open PR for this on the
useragent
repo from back in 2020.Anyway, like I say - not an issue with your excellent hapi plugin but a downstream problem but unfortunately means I can't use it.
Best wishes
The text was updated successfully, but these errors were encountered: