From 40e65a4dfdac6ed9eec154e763c6669e8d6c3144 Mon Sep 17 00:00:00 2001 From: Steven Cruy Date: Thu, 7 Dec 2017 20:30:31 +0100 Subject: [PATCH] Update loader-utils dependency The original package.json depends on "loader-utils" version 0.2.x. But the last version of this series (0.2.17) emits an annoying warning for every webpack build: > DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56 > parseQuery() will be replaced with getOptions() in the next major version of loader-utils. Instead of updating this dependency to a major new version (which may require code changes), this quick-fix simply locks the dependency to 0.2.16, which is the last-but-one of the series, and which does not emit that warning. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ecd1f4..8fc250a 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "pretest" : "semistandard | snazzy", "test" : "mocha" }, - "dependencies": { "loader-utils": "0.2.x" }, + "dependencies": { "loader-utils": "0.2.16" }, "devDependencies": { "chai" : "3.5.x", "mocha" : "3.2.x",