postcss-lazysprite icon indicating copy to clipboard operation
postcss-lazysprite copied to clipboard

Warning: Promise.defer is deprecated

Open okamoai opened this issue 5 years ago • 0 comments

Environmet:

  • Windows 10
  • Node.js 12.14.1

Running postcss-lazysprite gives a warning. Warning: Promise.defer is deprecated and will be removed in a future version. Use new Promise instead.

Promise.pending() seems to be the cause.

  • https://github.com/petkaantonov/bluebird/issues/919
  • https://github.com/petkaantonov/bluebird/commit/d8e903a4140b16a787f6b62cf1dc44c1fd894956
  • http://bluebirdjs.com/docs/anti-patterns.html#the-explicit-construction-anti-pattern

okamoai avatar Jan 19 '20 02:01 okamoai