Closed mgatto closed 1 year ago
This is intentional. The package that gets shipped in npm is transpiled from the source code and both an es module and a common js module are both included in the npm package. Bundlers will typically pick the correct one based on package.json metadata.
src/currency.js
uses ES6 const and so forth while version 2.0.4 on npm reverts tovar
and other code differences. Which one is authoritative, when both have been current for 2-3 years? Should npm be updated?