Skip to content

Conversation

@stcruy
Copy link

@stcruy stcruy commented Dec 7, 2017

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 webpack/loader-utils#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.

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 webpack/loader-utils#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant