Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.24 KB

CHANGELOG.md

File metadata and controls

58 lines (34 loc) · 1.24 KB

master

No changes yet.


1.0.2

Other changes

  • Fixed README to have correct examples (again).

1.0.1

Other changes

  • Fixed README to have correct examples.

1.0.0

Breaking changes

  • Minimum supported Node.js version is now 10.

    Note that this library may still work with older versions, but no effort will be made to fix this library to support those versions.

  • Support for browsers that don't support String.padStart (e.g. all IE and opera mini versions) has been removed.

    Use Babel if you need to support older browsers.

  • API rename

    • gtin.validate is now gtin.isValid

    • gtin.upce is now gtin.upcE

      Alternatively, you can also import the UPC-E functions directly: import upcE from 'gtin/lib/upc-e'

Other changes

  • Typescript support

    .d.ts declaration files are now included in the published package.


0.3.0

Initial release.