jeresig / i18n-node-2

Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
MIT License
507 stars 79 forks source link

Update deprecated sprintf dependency #122

Closed richin13 closed 5 years ago

richin13 commented 6 years ago

Hello,

As the author of sprintf states:

The sprintf package is deprecated in favor of sprintf-js. https://www.npmjs.com/package/sprintf

As this package uses it, this PR removes the sprintf dependency and adds the new sprintf implementation (sprintf-js). This new library's API is fully compatible with sprintf and all tests passed.

gjuchault commented 5 years ago

Thanks :)