From e55ecef355bc2f6084b37d8ae4a56ded980f6113 Mon Sep 17 00:00:00 2001 From: Ricardo Madriz Date: Wed, 5 Sep 2018 12:12:38 -0600 Subject: [PATCH] Update deprecated sprintf dependency (#122) --- i18n.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n.js b/i18n.js index 622b11d9..dda2fab0 100644 --- a/i18n.js +++ b/i18n.js @@ -8,7 +8,7 @@ */ // dependencies -var vsprintf = require("sprintf").vsprintf, +var vsprintf = require("sprintf-js").vsprintf, fs = require("fs"), path = require("path"), debugLog = require('debug')('i18n-2:log'), diff --git a/package.json b/package.json index b7ad2d95..bf81dbba 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "debug": "^3.1.0", - "sprintf": "^0.1.5" + "sprintf-js": "^1.1.1" }, "devDependencies": { "expresso": ">=0.9.2",