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
Not sure if there's backward-compatibility commitment to consider here, i.e. supporting Node < 5, where the default behavior would be different. In which case, I suppose it may be required to always pass a flag depending on the setting:
The implementation of the
save
option works by appending a--save
flag if the option is provided, otherwise just callingnpm install ...
:https://github.com/bevry/lazy-require/blob/34a804f02c011d3da6ed0685b2602085c9b49b4a/source/index.js#L249-L253
Unfortunately, this doesn't work after npm 5, which changed the default behavior of
npm install
to save by default:https://blog.npmjs.org/post/161081169345/v500
Thus, regardless if
save
option is passed astrue
orfalse
or omitted altogether, it will always effect the save behavior.The text was updated successfully, but these errors were encountered: