ioquatix / shell-environment

Provides a hook for accessing the user's login environment, e.g. PATH, etc, even when running from a non-login shell environment.
5 stars 2 forks source link

os-local version 6 uses ES6 style imports #5

Open thatcomputerguy0101 opened 2 years ago

thatcomputerguy0101 commented 2 years ago

os-locale version 6 changed from using Common-JS require syntax to using ES6 import syntax. My understanding of this change is that this and dependant modules will need changed to be ES6 compatible, or the os-local requirement needs capped at version 5.

thatcomputerguy0101 commented 2 years ago

Version 0.3.2 from NPM solves this issue, but it doesn't seem to be updated here.